warning_dark.qss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. QWidget
  2. {
  3. background: transparent;
  4. /* font-family: 思源黑体R; */
  5. /* font-weight: 400; */
  6. font-size: 18px;
  7. color: #D2D2D2;
  8. line-height: 21px;
  9. text-align: left;
  10. font-style: normal;
  11. }
  12. QWidget#widget
  13. {
  14. background: #464649;
  15. border-radius: 8px 8px 8px 8px;
  16. }
  17. QWidget#widget_Top
  18. {
  19. background: transparent;
  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 rgba(255,255,255,0.15);
  25. }
  26. QLabel#label_title
  27. {
  28. /* font-family: 思源黑体M; */
  29. /* font-weight: normal; */
  30. font-size: 18px;
  31. color: #D2D2D2;
  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: #D2D2D2;
  50. line-height: 27px;
  51. }
  52. /*设置图片居中 */
  53. QPushButton#pBtn_close
  54. {
  55. background: transparent;
  56. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  57. background: transparent;
  58. border-radius: 4px;
  59. qproperty-icon: url(:/ICON/ICON/Close_Dark.png);
  60. qproperty-iconSize: 20px 20px;
  61. padding-left: 0px;
  62. }
  63. QPushButton#pBtn_close[Hover = true]
  64. {
  65. background: transparent;
  66. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  67. background: transparent;
  68. border-radius: 4px;
  69. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  70. qproperty-iconSize: 20px 20px;
  71. padding-left: 0px;
  72. border: 1px solid #438EFF;
  73. }
  74. QPushButton
  75. {
  76. background: #FFFFFF;
  77. /* border: 1px solid #E6E9F4; */
  78. text-align: center;
  79. }
  80. /********* 普通方框按钮三种状态效果 *********/
  81. QPushButton#pBtn_cancel:enabled
  82. {
  83. color: #EBEBEB;
  84. border: 1px solid rgba(255,255,255,0.25);
  85. border-radius: 16px;
  86. background: transparent;
  87. }
  88. QPushButton#pBtn_cancel:hover
  89. {
  90. color: #EBEBEB;
  91. border: 1px solid rgba(255,255,255,0.25);
  92. border-radius: 16px;
  93. background: rgba(0,0,0,0.15);
  94. }
  95. /********* 带有底色按钮三种状态效果 *********/
  96. QPushButton#pBtn_ok
  97. {
  98. color:white;
  99. background: #438EFF;
  100. border-radius: 16px;
  101. }
  102. QPushButton#pBtn_ok:hover
  103. {
  104. color:white;
  105. background: #5F9EFF;
  106. border-radius: 16px;
  107. }