setinfowidget.qss 2.5 KB

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