importtemplate.qss 2.9 KB

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