style_drvinsttool.qss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*DrvInstTool styleSheet*/
  2. *{
  3. font-family: "Arial";
  4. font-size: 12px;
  5. }
  6. DrvInstTool {
  7. background-color: #292a2b;
  8. border: 1px solid #171717;
  9. }
  10. DrvInstTool CCommonTitleBar QWidget#widGlobol {
  11. background-color: #2f2f30;
  12. border-radius: 2px 2px 0px 0px;
  13. }
  14. DrvInstTool CCommonTitleBar QLabel#lbTitle {
  15. color: #ffffff;
  16. background-color: #2f2f30;
  17. }
  18. DrvInstTool QToolButton#btnClose {
  19. min-width: 24px;
  20. min-height: 24px;
  21. max-width: 24px;
  22. max-height: 24px;
  23. border-image: url("Skins/Default/CamClient/Btn_Common_WinClose_Normal.png");
  24. background-color: #2f2f30;
  25. }
  26. DrvInstTool QToolButton#btnClose:hover {
  27. border-image: url("Skins/Default/CamClient/Btn_Common_WinClose_Hover.png");
  28. }
  29. DrvInstTool QToolButton#btnClose:pressed {
  30. border-image: url("Skins/Default/CamClient/Btn_Common_WinClose_Pressed.png");
  31. }
  32. DrvInstTool QPushButton[highlight="1"] {
  33. min-width: 100px;
  34. min-height: 32px;
  35. max-width: 100px;
  36. max-height: 32px;
  37. border-radius: 1px;
  38. color: #e2e2e2;
  39. background-color: #4c4d4e;
  40. }
  41. DrvInstTool QPushButton[highlight="1"]:hover {
  42. color: #ffffff ;
  43. background-color: #545557;
  44. }
  45. DrvInstTool QPushButton[highlight="1"]:pressed {
  46. color: #ffffff;
  47. background-color: #48494a ;
  48. }
  49. DrvInstTool QPushButton[highlight="1"]:disabled {
  50. color: #7a7d7f;
  51. background-color: #48494a;
  52. }
  53. DrvInstTool QPushButton[highlight="0"] {
  54. min-width: 100px;
  55. min-height: 30px;
  56. max-width: 100px;
  57. max-height: 30px;
  58. border-radius: 1px;
  59. color: #979797;
  60. background-color: #292a2b;
  61. border: 1px solid #555555;
  62. }
  63. DrvInstTool QPushButton[highlight="0"]:hover {
  64. color: #ffffff ;
  65. background-color: #545557;
  66. border: 1px solid #555555;
  67. }
  68. DrvInstTool QPushButton[highlight="0"]:pressed {
  69. color: #ffffff;
  70. background-color: #48494a ;
  71. border: 1px solid #555555;
  72. }
  73. DrvInstTool QPushButton[highlight="0"]:disabled {
  74. color: #515253;
  75. background-color: #292a2b;
  76. border: 1px solid #48494a;
  77. }
  78. DrvInstTool QFrame#line1 {
  79. background-color: #121213;
  80. }
  81. DrvInstTool QFrame#line2,
  82. DrvInstTool QFrame#line3 {
  83. border: 2px dotted rgba(0, 0, 0, 30%);
  84. }
  85. DrvInstTool QLabel#label_GigEIcon, QLabel#label_UsbIcon, QLabel#label_DsIcon{
  86. min-width: 14px;
  87. max-width: 14px;
  88. min-height: 14px;
  89. max-height: 14px;
  90. }
  91. DrvInstTool QLabel#label_GigEIcon{
  92. image: url("Skins/Default/DrvInstTool/Icon_Dialog_Type_GigE.png");
  93. }
  94. DrvInstTool QLabel#label_UsbIcon{
  95. image: url("Skins/Default/DrvInstTool/Icon_Dialog_Type_U3V.png");
  96. }
  97. DrvInstTool QLabel#label_DsIcon{
  98. image: url("Skins/Default/DrvInstTool/Icon_Dialog_Type_DShow.png");
  99. }
  100. DrvInstTool QLabel#label_GigEDesc, QLabel#label_UsbDesc, QLabel#label_DsDesc{
  101. color: #e5e5e5;
  102. }
  103. DrvInstTool QLabel#label_GigEStateIcon, QLabel#label_UsbStateIcon, QLabel#label_DsStateIcon{
  104. min-width: 16px;
  105. max-width: 16px;
  106. min-height: 16px;
  107. max-height: 16px;
  108. }
  109. DrvInstTool QLabel#label_GigEStateIcon:disabled, QLabel#label_UsbStateIcon:disabled, QLabel#label_DsStateIcon:disabled{
  110. image: url("Skins/Default/DrvInstTool/Icon_Dialog_Driver_Not_Installed.png");
  111. color: #a95a55;
  112. }
  113. DrvInstTool QLabel#label_GigEStateIcon:enabled, QLabel#label_UsbStateIcon:enabled, QLabel#label_DsStateIcon:enabled{
  114. image: url("Skins/Default/DrvInstTool/Icon_Dialog_Driver_Installed.png");
  115. color: #61a747;
  116. }
  117. DrvInstTool QLabel#label_GigEStateDesc:disabled, QLabel#label_UsbStateDesc:disabled, QLabel#label_DsStateDesc:disabled{
  118. color: #ff2d2d;
  119. }
  120. DrvInstTool QLabel#label_GigEStateDesc:enabled, QLabel#label_UsbStateDesc:enabled, QLabel#label_DsStateDesc:enabled{
  121. color: #07d153;
  122. }
  123. DrvInstTool QToolButton#btnClose{
  124. padding: 0 0 0 0;
  125. }