savetotemplate_light.qss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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-family: 思源黑体M;
  16. font-weight: bold;
  17. font-size: 18px;
  18. color: #3A3F63;
  19. line-height: 27px;
  20. text-transform: uppercase;
  21. }
  22. QLabel#label_line
  23. {
  24. background: #E6E9F4;
  25. }
  26. QLabel#label_warn
  27. {
  28. color:red;
  29. }
  30. QPushButton#pBtn_close
  31. {
  32. border-image: url(:/ICON/ICON/Dialog_close.png);
  33. }
  34. QPushButton#pBtn_close:hover
  35. {
  36. border-image: url(:/ICON/ICON/Dialog_close2.png);
  37. }
  38. /********* 普通方框按钮三种状态效果 *********/
  39. QPushButton#pBtn_cancel
  40. {
  41. border-radius: 16px;
  42. text-align: center;
  43. background: #FFFFFF;
  44. border-radius: 16px;
  45. border: 1px solid #E6E9F4;
  46. color: #3A3F63;
  47. }
  48. QPushButton#pBtn_cancel:hover
  49. {
  50. border-radius: 16px;
  51. text-align: center;
  52. background: #FFFFFF;
  53. border-radius: 16px;
  54. border: 1px solid #4458FE;
  55. color: #4458FE;
  56. }
  57. /********* 带有底色按钮三种状态效果 *********/
  58. QPushButton#pBtn_ok
  59. {
  60. border-radius: 16px;
  61. text-align: center;
  62. color:white;
  63. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  64. border-radius: 16px;
  65. }
  66. QPushButton#pBtn_ok:hover
  67. {
  68. border-radius: 16px;
  69. text-align: center;
  70. color:white;
  71. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  72. border-radius: 16px;
  73. }
  74. /**************** 报警红框 ****************/
  75. QLineEdit
  76. {
  77. background: #FFFFFF;
  78. border-radius: 4px;
  79. padding-left:12px;
  80. border: 1px solid #E6E9F4;
  81. }
  82. QLineEdit:hover
  83. {
  84. border: 1px solid #4458FE;
  85. }
  86. QLineEdit[Warn=true]
  87. {
  88. border: 1px solid #D21F21;
  89. }
  90. QLineEdit:!enabled/* 或者disable */
  91. {
  92. background: rgba(0,0,0,0.04);
  93. border: 1px solid #E6E9F4;
  94. }