importtemplate.qss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. QLabel#label_NC1
  14. {
  15. font-weight: bold;
  16. font-size: 18px;
  17. color: #3A3F63;
  18. line-height: 27px;
  19. text-align: left;
  20. font-style: normal;
  21. text-transform: uppercase;
  22. }
  23. QLabel#label_NC2,QLabel#label_NC3,QLabel#label_NC4
  24. {
  25. font-weight: 400;
  26. font-size: 14px;
  27. color: #5A607F;
  28. line-height: 21px;
  29. text-align: left;
  30. font-style: normal;
  31. }
  32. QLabel#label_line1,QLabel#label_line2,QLabel#label_line3
  33. {
  34. background: #E6E9F4;
  35. }
  36. QLabel#label_warning
  37. {
  38. color:red;
  39. }
  40. QPushButton#pBtn_close
  41. {
  42. border-image: url(:/ICON/ICON/Dialog_close.png);
  43. }
  44. QPushButton#pBtn_close:hover
  45. {
  46. border-image: url(:/ICON/ICON/Dialog_close2.png);
  47. }
  48. /********* 普通方框按钮三种状态效果 *********/
  49. QPushButton#pBtn_cancel
  50. {
  51. border-radius: 16px;
  52. text-align: center;
  53. background: #FFFFFF;
  54. border-radius: 16px;
  55. border: 1px solid #E6E9F4;
  56. color: #3A3F63;
  57. }
  58. QPushButton#pBtn_cancel:hover
  59. {
  60. border-radius: 16px;
  61. text-align: center;
  62. background: #FFFFFF;
  63. border-radius: 16px;
  64. border: 1px solid #4458FE;
  65. color: #4458FE;
  66. }
  67. /********* 带有底色按钮三种状态效果 *********/
  68. QPushButton#pBtn_ok
  69. {
  70. border-radius: 16px;
  71. text-align: center;
  72. color:white;
  73. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  74. border-radius: 16px;
  75. }
  76. QPushButton#pBtn_ok:hover
  77. {
  78. border-radius: 16px;
  79. text-align: center;
  80. color:white;
  81. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  82. border-radius: 16px;
  83. }
  84. /* ==========================================================
  85. * QTabelWidget
  86. * ========================================================== */
  87. QTableWidget
  88. {
  89. background: #FFFFFF;
  90. padding-left: 0px;
  91. border: 0px solid #E6E9F4;
  92. text-align: left;
  93. }
  94. QTableWidget::item
  95. {
  96. padding-left: 12px;
  97. padding-right: 0px;
  98. padding-top: 0px;
  99. padding-bottom: 0px;
  100. margin: 0px;
  101. text-align: left;
  102. border: 0px solid #E6E9F4;
  103. }
  104. QTableWidget::item:selected
  105. {
  106. background: rgba(231,236,255,0.5);
  107. }