warning_light.qss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. QWidget
  2. {
  3. background: #FFFFFF;
  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. 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. font-family: 思源黑体R;
  29. font-weight: 400;
  30. font-size: 18px;
  31. color: #3A3F63;
  32. line-height: 27px;
  33. }
  34. QPushButton#pBtn_close{
  35. border-image: url(:/ICON/ICON/Dialog_close.png);
  36. }
  37. QPushButton#pBtn_close:hover{
  38. border-image: url(:/ICON/ICON/Dialog_close2.png);
  39. }
  40. QPushButton
  41. {
  42. background: #FFFFFF;
  43. border: 1px solid #E6E9F4;
  44. text-align: center;
  45. }
  46. /********* 普通方框按钮三种状态效果 *********/
  47. QPushButton#pBtn_cancel
  48. {
  49. background: #FFFFFF;
  50. border-radius: 16px;
  51. border: 1px solid #E6E9F4;
  52. color: #3A3F63;
  53. }
  54. QPushButton#pBtn_cancel:hover
  55. {
  56. background: #FFFFFF;
  57. border-radius: 16px;
  58. border: 1px solid #4458FE;
  59. color: #4458FE;
  60. }
  61. /********* 带有底色按钮三种状态效果 *********/
  62. QPushButton#pBtn_ok
  63. {
  64. color:white;
  65. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  66. border-radius: 16px;
  67. }
  68. QPushButton#pBtn_ok:hover
  69. {
  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. }