importtemplate.qss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. QWidget
  2. {
  3. background: transparent;
  4. border-radius: 8px;
  5. /* font-family: 思源黑体R; */
  6. /* font-weight: 400; */
  7. font-size: 14px;
  8. color: #D2D2D2;
  9. line-height: 21px;
  10. text-align: left;
  11. font-style: normal;
  12. }
  13. QWidget#widget
  14. {
  15. background-color: #313539;
  16. }
  17. QWidget#widget_Top
  18. {
  19. background: rgba(108,105,124,0.2);
  20. border-top-left-radius: 10px;
  21. border-top-right-radius: 10px;
  22. border-bottom-left-radius: 0px;
  23. border-bottom-right-radius: 0px;
  24. }
  25. QLabel#label_title
  26. {
  27. /* font-weight: normal; */
  28. font-size: 18px;
  29. color: #D2D2D2;
  30. line-height: 27px;
  31. text-align: left;
  32. font-style: normal;
  33. text-transform: uppercase;
  34. }
  35. QLabel#label_warning
  36. {
  37. color:red;
  38. }
  39. QPushButton#pBtn_close
  40. {
  41. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  42. background: transparent;
  43. border-radius: 4px;
  44. qproperty-icon: url(:/ICON/ICON/Close_Dark.png);
  45. qproperty-iconSize: 20px 20px;
  46. text-align: center;
  47. }
  48. QPushButton#pBtn_close[Hover = true]
  49. {
  50. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  51. background: transparent;
  52. border-radius: 4px;
  53. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  54. qproperty-iconSize: 20px 20px;
  55. text-align: center;
  56. border: 1px solid #438EFF;
  57. }
  58. /********* 普通方框按钮三种状态效果 *********/
  59. QPushButton#pBtn_cancel:enabled
  60. {
  61. text-align: center;
  62. color: #EBEBEB;
  63. border: 1px solid rgba(255,255,255,0.25);
  64. border-radius: 16px;
  65. background: transparent;
  66. }
  67. QPushButton#pBtn_cancel:hover
  68. {
  69. text-align: center;
  70. color: #EBEBEB;
  71. border: 1px solid rgba(255,255,255,0.25);
  72. border-radius: 16px;
  73. background: rgba(0,0,0,0.15);
  74. }
  75. /********* 带有底色按钮三种状态效果 *********/
  76. QPushButton#pBtn_ok
  77. {
  78. border-radius: 16px;
  79. text-align: center;
  80. color:white;
  81. background: #438EFF;
  82. border-radius: 16px;
  83. }
  84. QPushButton#pBtn_ok:hover
  85. {
  86. border-radius: 16px;
  87. text-align: center;
  88. color:white;
  89. background: #5F9EFF;
  90. border-radius: 16px;
  91. }
  92. /* ==========================================================
  93. * QTabelWidget
  94. * ========================================================== */
  95. /* 标题栏 */
  96. QLabel#label_NC2, #label_NC3, #label_NC4
  97. {
  98. /* font-weight: 400; */
  99. font-size: 14px;
  100. color: #D2D2D2;
  101. line-height: 21px;
  102. text-align: left;
  103. font-style: normal;
  104. }
  105. QLabel#label_line2, #label_line3
  106. {
  107. background: #E6E9F4;
  108. }
  109. QTableWidget
  110. {
  111. background: transparent;
  112. padding-left: 0px;
  113. border: 0px solid #E6E9F4;
  114. text-align: left;
  115. }
  116. QTableWidget::item
  117. {
  118. padding-left: 12px;
  119. padding-right: 0px;
  120. padding-top: 0px;
  121. padding-bottom: 0px;
  122. margin: 0px;
  123. text-align: left;
  124. border: 0px solid #E6E9F4;
  125. }
  126. QTableWidget::item:selected
  127. {
  128. color: #EBEBEB;
  129. /* background: rgba(231,236,255,0.5); */
  130. background: #438EFF;
  131. }