importtemplate.qss 2.9 KB

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