style.qss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. /* Dark Theme for Tape Recorder Pro */
  2. QMainWindow {
  3. background-color: #1a1a2e;
  4. color: #e0e0e0;
  5. }
  6. QWidget {
  7. background-color: #1a1a2e;
  8. color: #e0e0e0;
  9. font-family: "Segoe UI", Arial, sans-serif;
  10. font-size: 10pt;
  11. }
  12. QTabWidget::pane {
  13. border: 1px solid #30304a;
  14. background-color: #161625;
  15. border-radius: 4px;
  16. }
  17. QTabBar::tab {
  18. background-color: #252538;
  19. color: #a0a0b0;
  20. padding: 8px 16px;
  21. border: 1px solid #30304a;
  22. border-bottom: none;
  23. border-top-left-radius: 4px;
  24. border-top-right-radius: 4px;
  25. margin-right: 2px;
  26. }
  27. QTabBar::tab:selected {
  28. background-color: #161625;
  29. color: #ffffff;
  30. border-bottom: 2px solid #ff7b00; /* Analog amber accent */
  31. }
  32. QTabBar::tab:hover:!selected {
  33. background-color: #2a2a40;
  34. }
  35. QPushButton {
  36. background-color: #30304a;
  37. color: #ffffff;
  38. border: 1px solid #4a4a6a;
  39. border-radius: 4px;
  40. padding: 6px 12px;
  41. }
  42. QPushButton:hover {
  43. background-color: #3d3d5c;
  44. border: 1px solid #ff7b00;
  45. }
  46. QPushButton:pressed {
  47. background-color: #ff7b00;
  48. color: #1a1a2e;
  49. }
  50. QPushButton:disabled {
  51. background-color: #202030;
  52. color: #606070;
  53. border: 1px solid #303040;
  54. }
  55. /* Accent Buttons (Primary Actions) */
  56. QPushButton#primaryButton {
  57. background-color: #ff7b00;
  58. color: #1a1a2e;
  59. border: 1px solid #ff9933;
  60. font-weight: bold;
  61. }
  62. QPushButton#primaryButton:hover {
  63. background-color: #ff9933;
  64. }
  65. QComboBox {
  66. background-color: #252538;
  67. color: #ffffff;
  68. border: 1px solid #4a4a6a;
  69. border-radius: 4px;
  70. padding: 4px 8px;
  71. }
  72. QComboBox:hover {
  73. border: 1px solid #ff7b00;
  74. }
  75. QComboBox::drop-down {
  76. border: none;
  77. width: 24px;
  78. }
  79. QGroupBox {
  80. border: 1px solid #30304a;
  81. border-radius: 6px;
  82. margin-top: 12px;
  83. padding-top: 10px;
  84. font-weight: bold;
  85. color: #a0a0b0;
  86. }
  87. QGroupBox::title {
  88. subcontrol-origin: margin;
  89. subcontrol-position: top left;
  90. padding: 0 5px;
  91. left: 10px;
  92. }
  93. QSlider::groove:horizontal {
  94. border: 1px solid #30304a;
  95. height: 6px;
  96. background: #161625;
  97. border-radius: 3px;
  98. }
  99. QSlider::handle:horizontal {
  100. background: #ff7b00;
  101. border: 1px solid #ff9933;
  102. width: 14px;
  103. height: 14px;
  104. margin: -4px 0;
  105. border-radius: 7px;
  106. }
  107. QSlider::handle:horizontal:hover {
  108. background: #ff9933;
  109. }
  110. /* Vertical Sliders (for EQ) */
  111. QSlider::groove:vertical {
  112. border: 1px solid #30304a;
  113. width: 6px;
  114. background: #161625;
  115. border-radius: 3px;
  116. }
  117. QSlider::handle:vertical {
  118. background: #a0a0b0;
  119. border: 1px solid #d0d0d0;
  120. height: 18px;
  121. width: 18px;
  122. margin: 0 -6px;
  123. border-radius: 2px; /* Rectangular for EQ faders */
  124. }
  125. QSlider::handle:vertical:hover {
  126. background: #ff7b00;
  127. border: 1px solid #ff9933;
  128. }
  129. QLabel {
  130. color: #d0d0d0;
  131. }
  132. QStatusBar {
  133. background-color: #12121c;
  134. color: #808090;
  135. border-top: 1px solid #30304a;
  136. }