fork download
  1. disabled_input_style = """
  2. QLineEdit:disabled {
  3. background-color: rgba(0, 0, 0, 0.2);
  4. border: none;
  5. opacity: 0.05;
  6. }
  7. """
  8.  
  9. style = """
  10. QWidget {
  11. background-color: #0f0f0f;
  12. color: #eaeaea;
  13. font-size: 10.5pt;
  14. font-family: 'Montserrat', 'Segoe UI', sans-serif;
  15. }
  16.  
  17. QLabel {
  18. font-weight: 500;
  19. }
  20.  
  21. QFrame {
  22. border: none;
  23. }
  24.  
  25. QLineEdit {
  26. border: 1px solid #2e2e2e;
  27. border-radius: 6px;
  28. padding: 6px 10px;
  29. background-color: #151515;
  30. color: #eaeaea;
  31. selection-background-color: #4169E1;
  32. }
  33. QLineEdit:focus {
  34. border: 1px solid #4169E1;
  35. }
  36.  
  37. QPushButton {
  38. background-color: #1c1c1c;
  39. border: 1px solid #2c2c2c;
  40. border-radius: 6px;
  41. padding: 8px 16px;
  42. font-weight: 600;
  43. color: #eaeaea;
  44. }
  45. QPushButton:hover {
  46. background-color: #242424;
  47. border-color: #3a3a3a;
  48. }
  49. QPushButton:pressed {
  50. background-color: #303030;
  51. border-color: #4169E1;
  52. }
  53.  
  54. QPushButton#colorButton {
  55. border: 2px solid #333;
  56. font-weight: bold;
  57. padding: 8px;
  58. border-radius: 6px;
  59. color: #000;
  60. }
  61. QPushButton#colorButton[styleSheet*="background-color: rgb(0, 0, 0)"] {
  62. color: white;
  63. }
  64. QPushButton#colorButton:disabled {
  65. color: #444;
  66. }
  67.  
  68. QCheckBox {
  69. background: transparent;
  70. padding: 3px;
  71. spacing: 8px;
  72. }
  73. QCheckBox::indicator {
  74. width: 16px;
  75. height: 16px;
  76. border-radius: 4px;
  77. border: 2px solid #444;
  78. }
  79. QCheckBox::indicator:checked {
  80. background-color: #4169E1;
  81. border: 2px solid #4169E1;
  82. }
  83.  
  84. QSlider {
  85. padding: 4px 0;
  86. background: transparent;
  87. border: none;
  88. }
  89. QSlider::groove:horizontal {
  90. background: #2a2a2a;
  91. border-radius: 4px;
  92. height: 6px;
  93. margin: 0px;
  94. }
  95. QSlider::sub-page:horizontal {
  96. background-color: #4169E1;
  97. border-radius: 4px;
  98. }
  99. QSlider::add-page:horizontal {
  100. background: #2c2c2c;
  101. border-radius: 4px;
  102. }
  103. QSlider::handle:horizontal {
  104. background-color: #5a7dfd;
  105. border: none;
  106. width: 14px;
  107. height: 14px;
  108. border-radius: 7px;
  109. margin: -4px 0;
  110. }
  111. QSlider::handle:horizontal:hover {
  112. background-color: #2d63ff;
  113. }
  114.  
  115. QComboBox {
  116. border: 1px solid #2e2e2e;
  117. border-radius: 6px;
  118. padding: 6px 8px;
  119. color: #eaeaea;
  120. font-weight: 500;
  121. }
  122. QComboBox:hover {
  123. border: 1px solid #4169E1;
  124. }
  125. QComboBox::drop-down {
  126. subcontrol-origin: padding;
  127. subcontrol-position: top right;
  128. width: 24px;
  129. border-left: 1px solid #2e2e2e;
  130. border-top-right-radius: 6px;
  131. border-bottom-right-radius: 6px;
  132. }
  133. QComboBox::down-arrow {
  134. image: url(lib/assets/arrow-down-light.svg);
  135. width: 12px;
  136. height: 12px;
  137. }
  138. QComboBox QAbstractItemView {
  139. background-color: #151515;
  140. border: 1px solid #2c2c2c;
  141. selection-background-color: #4169E1;
  142. selection-color: white;
  143. outline: 0;
  144. padding: 4px;
  145. }
  146.  
  147. QScrollBar:vertical {
  148. border: none;
  149. background: #0e0e0e;
  150. width: 10px;
  151. }
  152. QScrollBar::handle:vertical {
  153. background: #303030;
  154. border-radius: 6px;
  155. min-height: 20px;
  156. }
  157. QScrollBar::handle:vertical:hover {
  158. background: #555;
  159. }
  160. QScrollBar::add-line:vertical,
  161. QScrollBar::sub-line:vertical {
  162. height: 0px;
  163. background: none;
  164. border: none;
  165. }
  166.  
  167. QTabBar::tab {
  168. background: #121212;
  169. border: 1px solid #2c2c2c;
  170. padding: 6px 14px;
  171. border-top-left-radius: 6px;
  172. border-top-right-radius: 6px;
  173. color: #b0b0b0;
  174. font-weight: 600;
  175. }
  176. QTabBar::tab:selected {
  177. background: #1a1a1a;
  178. color: #ffffff;
  179. border-bottom: 2px solid #4169E1;
  180. }
  181. QTabBar::tab:hover {
  182. background: #222;
  183. color: #ffffff;
  184. }
  185. QTabWidget::pane {
  186. border: none;
  187. margin-top: -1px;
  188. }
  189.  
  190. QPushButton[selected="true"] {
  191. background-color: #222;
  192. border: 1px solid #4169E1;
  193. }
  194.  
  195. QCheckBox, QSlider, QLineEdit, QComboBox {
  196. margin-left: 10px;
  197. margin-right: 10px;
  198. }
  199.  
  200. """
  201.  
Success #stdin #stdout 0.04s 63372KB
stdin
Standard input is empty
stdout
Standard output is empty