warning.qss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. QWidget
  2. {
  3. background: transparent;
  4. border-radius: 8px;
  5. /* font-family: 思源黑体R; */
  6. /* font-weight: 400; */
  7. font-size: 18px;
  8. color: #3A3F63;
  9. line-height: 21px;
  10. text-align: left;
  11. font-style: normal;
  12. }
  13. QWidget#widget
  14. {
  15. background: #FFFFFF;
  16. }
  17. QWidget#widget_Top
  18. {
  19. background: #FFFFFF;
  20. border-top-left-radius: 8px;
  21. border-top-right-radius: 8px;
  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-family: 思源黑体M; */
  29. /* font-weight: normal; */
  30. font-size: 18px;
  31. color: #3A3F63;
  32. line-height: 27px;
  33. text-transform: uppercase;
  34. }
  35. QLabel#label_line
  36. {
  37. background: #E6E9F4;
  38. }
  39. /* 设置图标 */
  40. QLabel#label_warnIcon
  41. {
  42. border-image: url(:/ICON/Tip/Tips2x.png);
  43. }
  44. QLabel#label_Warn
  45. {
  46. /* font-family: 思源黑体R; */
  47. /* font-weight: 400; */
  48. font-size: 18px;
  49. color: #3A3F63;
  50. line-height: 27px;
  51. }
  52. QPushButton#pBtn_close{
  53. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  54. background: transparent;
  55. border-radius: 4px;
  56. qproperty-icon: url(:/ICON/ICON/Close_Light.png);
  57. qproperty-iconSize: 20px 20px;
  58. padding-left: 0px;
  59. border: 0px solid #E6E9F4;
  60. }
  61. QPushButton#pBtn_close[Hover = true]
  62. {
  63. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  64. background: transparent;
  65. border-radius: 4px;
  66. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  67. qproperty-iconSize: 20px 20px;
  68. padding-left: 0px;
  69. border: 1px solid #438EFF;
  70. }
  71. QPushButton
  72. {
  73. background: #FFFFFF;
  74. border: 1px solid #E6E9F4;
  75. text-align: center;
  76. }
  77. /********* 普通方框按钮三种状态效果 *********/
  78. QPushButton#pBtn_cancel
  79. {
  80. background: #FFFFFF;
  81. border-radius: 16px;
  82. border: 1px solid #E6E9F4;
  83. color: #3A3F63;
  84. }
  85. QPushButton#pBtn_cancel:hover
  86. {
  87. background: #FFFFFF;
  88. border-radius: 16px;
  89. border: 1px solid #4458FE;
  90. color: #4458FE;
  91. }
  92. /********* 带有底色按钮三种状态效果 *********/
  93. QPushButton#pBtn_ok
  94. {
  95. color:white;
  96. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  97. border-radius: 16px;
  98. }
  99. QPushButton#pBtn_ok:hover
  100. {
  101. color:white;
  102. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  103. border-radius: 16px;
  104. }