warning_light.qss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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-size: 18px;
  17. color: #3A3F63;
  18. line-height: 27px;
  19. text-transform: uppercase;
  20. }
  21. QLabel#label_line
  22. {
  23. background: #E6E9F4;
  24. }
  25. QWidget#widget_Top
  26. {
  27. }
  28. QLabel#label_Warn
  29. {
  30. }
  31. QPushButton#pBtn_close{
  32. border-image: url(:/image/Resource/image/close_light/Dialog_close.png);
  33. }
  34. QPushButton#pBtn_close:hover{
  35. border-image: url(:/image/Resource/image/close_light/Dialog_close2.png);
  36. }
  37. QPushButton
  38. {
  39. background: #FFFFFF;
  40. border: 1px solid #E6E9F4;
  41. text-align: center;
  42. }
  43. /********* 普通方框按钮三种状态效果 *********/
  44. QPushButton#pBtn_cancel
  45. {
  46. background: #FFFFFF;
  47. border-radius: 16px;
  48. border: 1px solid #E6E9F4;
  49. color: #3A3F63;
  50. }
  51. QPushButton#pBtn_cancel:hover
  52. {
  53. background: #FFFFFF;
  54. border-radius: 16px;
  55. border: 1px solid #4458FE;
  56. color: #4458FE;
  57. }
  58. /********* 带有底色按钮三种状态效果 *********/
  59. QPushButton#pBtn_ok
  60. {
  61. color:white;
  62. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  63. border-radius: 16px;
  64. }
  65. QPushButton#pBtn_ok:hover
  66. {
  67. color:white;
  68. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  69. border-radius: 16px;
  70. }