setinfowidget.qss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /* ==========================================================
  2. * QTabWidget
  3. * ========================================================== */
  4. QWidget#widget_bottom
  5. {
  6. background: #FFFFFF;
  7. }
  8. QTabWidget#tabWidget
  9. {
  10. background: #FFFFFF;
  11. }
  12. QTabWidget::tab-bar
  13. {
  14. background: #FFFFFF;
  15. }
  16. QTabBar::tab
  17. {
  18. border: none;
  19. width: 70px;
  20. height:48px;
  21. background: #FFFFFF;
  22. font-weight: 400;
  23. font-size: 14px;
  24. color: #3A3F63;
  25. }
  26. QTabBar::tab:selected, QTabBar::tab:hover
  27. {
  28. font-weight: 400;
  29. font-size: 14px;
  30. color: #4458FE;
  31. border-bottom: 2px solid #4458FE;
  32. }
  33. QTabWidget::pane
  34. {
  35. border-top: 1px solid #E9E9E9;
  36. background-color: #FFFFFF;
  37. }
  38. QTabBar QToolButton::right-arrow
  39. {
  40. }
  41. QTabBar QToolButton::left-arrow
  42. {
  43. }
  44. /* ==========================================================
  45. * QPushButton
  46. * ========================================================== */
  47. QPushButton
  48. {
  49. font-weight: 500;
  50. font-size: 14px;
  51. text-align: center;
  52. }
  53. /********* 普通椭圆按钮三种状态效果 *********/
  54. /* QPushButton#pBtn_Cancel
  55. {
  56. background: transparent;
  57. color: #3A3F63;
  58. border: 1px solid #E6E9F4;
  59. border-radius: 16px;
  60. }
  61. QPushButton#pBtn_Cancel:hover
  62. {
  63. background: transparent;
  64. color: #4458FE;
  65. border: 1px solid #4458FE;
  66. border-radius: 16px;
  67. }
  68. */
  69. /********* 带有底色椭圆按钮三种状态效果 *********/
  70. /* QPushButton#pBtn_OK
  71. {
  72. color:white;
  73. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  74. border-radius: 16px;
  75. }
  76. QPushButton#pBtn_OK:hover
  77. {
  78. color:white;
  79. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  80. border-radius: 16px;
  81. } */
  82. /* ------------------------------------------------------- */
  83. /********* 普通方框按钮三种状态效果 *********/
  84. QPushButton#pBtn_cancel
  85. {
  86. background: transparent;
  87. color: #3A3F63;
  88. border: 1px solid #E6E9F4;
  89. border-radius: 4px;
  90. }
  91. QPushButton#pBtn_cancel:hover
  92. {
  93. background: transparent;
  94. color: #4458FE;
  95. border: 1px solid #4458FE;
  96. border-radius: 4px;
  97. }
  98. /********* 带有底色方框按钮三种状态效果 *********/
  99. QPushButton#pBtn_save
  100. {
  101. color:white;
  102. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  103. border-radius: 4px;
  104. }
  105. QPushButton#pBtn_save:hover
  106. {
  107. color:white;
  108. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  109. border-radius: 4px;
  110. }