setinfowidget.qss 2.3 KB

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