warning_light.qss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. QWidget{
  2. background: #FFFFFF;
  3. border-radius: 8px;
  4. font-family: 思源黑体R;
  5. font-weight: 400;
  6. font-size: 18px;
  7. color: #3A3F63;
  8. line-height: 21px;
  9. text-align: left;
  10. font-style: normal;
  11. }
  12. QLabel#label_NC1
  13. {
  14. font-family: 思源黑体M;
  15. font-size: 18px;
  16. color: #3A3F63;
  17. line-height: 27px;
  18. text-transform: uppercase;
  19. }
  20. QLabel#label_line
  21. {
  22. background: #E6E9F4;
  23. }
  24. QLabel#label_Warn
  25. {
  26. }
  27. QPushButton#pBtn_close{
  28. border-image: url(:/image/Resource/image/close_light/Dialog_close.png);
  29. }
  30. QPushButton#pBtn_close:hover{
  31. border-image: url(:/image/Resource/image/close_light/Dialog_close2.png);
  32. }
  33. QPushButton
  34. {
  35. background: #FFFFFF;
  36. border: 1px solid #E6E9F4;
  37. text-align: center;
  38. }
  39. /********* 普通方框按钮三种状态效果 *********/
  40. QPushButton#pBtn_cancel
  41. {
  42. background: #FFFFFF;
  43. border-radius: 16px;
  44. border: 1px solid #E6E9F4;
  45. color: #3A3F63;
  46. }
  47. QPushButton#pBtn_cancel:hover
  48. {
  49. background: #FFFFFF;
  50. border-radius: 16px;
  51. border: 1px solid #4458FE;
  52. color: #4458FE;
  53. }
  54. /********* 带有底色按钮三种状态效果 *********/
  55. QPushButton#pBtn_ok
  56. {
  57. color:white;
  58. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  59. border-radius: 16px;
  60. }
  61. QPushButton#pBtn_ok:hover
  62. {
  63. color:white;
  64. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  65. border-radius: 16px;
  66. }