style_sheet.qss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. MainWindow {
  2. background-color: #1E1E1E;
  3. }
  4. CustomTitleBar {
  5. margin-bottom: 15px;
  6. }
  7. CustomTitleBar QLabel#IconLabel {
  8. min-width: 28px;
  9. min-height: 28px;
  10. background-repeat: no-repeat;
  11. }
  12. CustomTitleBar QLabel#TitleLabel {
  13. font: "黑体";
  14. font-size: 28px;
  15. font-weight: bold;
  16. color: #e0ffff;
  17. }
  18. CustomTitleBar QToolButton {
  19. min-width: 20px;
  20. max-width: 20px;
  21. min-height: 18px;
  22. max-height: 18px;
  23. border: none;
  24. background-color: transparent;
  25. }
  26. CustomTitleBar QToolButton#SettingButton {
  27. background-color: transparent;
  28. }
  29. CustomTitleBar QToolButton#CloseButton {
  30. background-color: #921010;
  31. }
  32. CustomTitleBar QToolButton#CloseButton:hover {
  33. background-color: #F10000;
  34. }
  35. CustomTitleBar QToolButton#CloseButton:pressed {
  36. background-color: #BF0000;
  37. }
  38. PagePanel {
  39. border: none;
  40. }
  41. PagePanel QTabBar {
  42. background-color: transparent;
  43. border-bottom: 1px solid #e0ffff;
  44. }
  45. PagePanel QTabBar::tab {
  46. width: 60px;
  47. height: 30px;
  48. font-weight: bold;
  49. color: #e0ffff;
  50. background-color: #0085ff;
  51. border-bottom: 1px solid #e0ffff;
  52. }
  53. PagePanel QTabBar::tab:selected {
  54. background-color: #006fff;
  55. }
  56. PagePanel QTabBar::tab:hover {
  57. background-color: #69b4ff;
  58. }
  59. PagePanel QTabBar::tab:pressed {
  60. background-color: #006fff;
  61. }
  62. PagePanel QSplitter {
  63. border: none;
  64. }
  65. PagePanel QSplitter::handle {
  66. width: 1px;
  67. }
  68. PagePanel QSplitter::handle:horizontal {
  69. width: 1px;
  70. }
  71. PagePanel QListWidget {
  72. min-width: 60px;
  73. max-width: 300px;
  74. color: #e0ffff;
  75. background-color: transparent;
  76. outline: 0;
  77. border: none;
  78. }
  79. PagePanel QListWidget::item {
  80. border: none;
  81. height: 30px;
  82. }
  83. PagePanel QListWidget::item:hover{
  84. background-color: #69b4ff;
  85. }
  86. PagePanel QListWidget::item:selected {
  87. border: none;
  88. }
  89. PagePanel QListWidget::item:selected:!active,
  90. PagePanel QListWidget::item:selected:active {
  91. color: #e0ffff;
  92. border: none;
  93. background-color: #006fff;
  94. }
  95. IconPanel {
  96. border: none;
  97. background-color: transparent;
  98. }
  99. KMenu {
  100. menu-scrollable: 1;
  101. color: #DDDDDD;
  102. Qproperty-hoverColor: #FFFFFF;
  103. }
  104. KMenu:disabled {
  105. color: #666666;
  106. }