setinfowidget.qss 2.6 KB

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