Acri.qss 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290
  1. /* OBSTheme, main QApplication palette and QML values */
  2. OBSTheme {
  3. window: rgb(24,24,25);
  4. windowText: rgb(225,224,225);
  5. base: rgb(18,18,21);
  6. alternateBase: rgb(0,0,0);
  7. text: rgb(225,224,225);
  8. button: rgb(22,36,88);
  9. buttonText: rgb(225,224,225);
  10. brightText: rgb(72,72,72);
  11. light: rgb(22,36,88);
  12. mid: rgb(24,24,25);
  13. dark: rgb(18,18,21);
  14. shadow: rgb(0,0,0);
  15. highlight: rgb(37,36,88);
  16. highlightedText: rgb(255,255,255);
  17. link: rgb(96,94,230);
  18. linkVisited: rgb(96,94,230);
  19. }
  20. OBSTheme::disabled {
  21. text: rgb(72,72,72);
  22. buttonText: rgb(72,72,72);
  23. brightText: rgb(72,72,72);
  24. }
  25. OBSTheme::inactive {
  26. highlight: rgb(48,47,48);
  27. highlightedText: rgb(255,255,255);
  28. }
  29. /* General style, we override only what is needed. */
  30. QWidget {
  31. background-color: palette(window);
  32. alternate-background-color: palette(base);
  33. color: palette(text);
  34. selection-background-color: palette(highlight);
  35. selection-color: palette(highlighted-text);
  36. outline: none;
  37. font-family: "Open Sans", "Tahoma", "Arial", sans-serif;
  38. font-size: 12px;
  39. }
  40. #menubar {
  41. padding: 2px 8px 0px;
  42. }
  43. QLabel:link {
  44. color: rgb(42,58,117);
  45. }
  46. QMenu {
  47. border: 1px solid rgb(51,51,54);
  48. padding: 4px;
  49. }
  50. * [frameShape="1"], * [frameShape="2"], * [frameShape="3"], * [frameShape="4"], * [frameShape="5"], * [frameShape="6"] {
  51. /*border: 1px solid rgb(231,30,31); */
  52. border: none;
  53. }
  54. * [frameShape="2"],
  55. * [frameShape="4"] {
  56. border: 1px solid rgb(51,51,54);
  57. }
  58. QSizeGrip {
  59. background-color: transparent;
  60. image: url(./Acri/sizegrip.png);
  61. }
  62. /* Misc */
  63. QWidget::disabled {
  64. color: palette(bright-text);
  65. }
  66. * [themeID="error"] {
  67. color: rgb(217,23,64);
  68. }
  69. * [themeID="warning"] {
  70. color: rgb(217,175,23);
  71. }
  72. /* Dropdown menus, Scenes box, Sources box */
  73. QAbstractItemView {
  74. background-color: palette(window);
  75. border: 1px solid rgb(51,51,54);
  76. }
  77. /* Group Box */
  78. QGroupBox {
  79. border: 2px solid rgb(47,47,47);
  80. margin-bottom: 8px;
  81. padding-top: 32px;
  82. font-weight: bold;
  83. font-size: 14px;
  84. }
  85. QGroupBox::title {
  86. left: 4px;
  87. right: 0;
  88. top: 8px;
  89. font-weight: bold;
  90. padding-left: 8px;
  91. padding-right: 8px;
  92. padding-bottom: 8px;
  93. font-size: 16px;
  94. }
  95. /* --- */
  96. /* Tooltips */
  97. QToolTip {
  98. background-color: rgb(33,33,33);
  99. color: rgb(205,205,205);
  100. border: 1px solid rgb(52,51,53);
  101. border-radius: 4px;
  102. }
  103. /* Top Menu Bar Items */
  104. QMenuBar::item {
  105. background-color: palette(window);
  106. padding: 6px;
  107. }
  108. QMenuBar::item:selected {
  109. background: rgb(42,58,117);
  110. }
  111. /* Listbox item */
  112. QListWidget::item,
  113. SourceTree::item {
  114. padding: 4px 2px;
  115. margin-bottom: 2px;
  116. margin-top: 0px;
  117. border: 1px solid transparent;
  118. }
  119. QListWidget QLineEdit {
  120. padding-top: 0px;
  121. padding-bottom: 0px;
  122. padding-right: 0;
  123. padding-left: 2px;
  124. border: none;
  125. border-radius: none;
  126. }
  127. /* Dock stuff */
  128. QDockWidget {
  129. titlebar-close-icon: url('./Dark/close.svg');
  130. titlebar-normal-icon: url('./Dark/popout.svg');
  131. }
  132. QDockWidget {
  133. background: palette(window);
  134. border: none;
  135. font-size: 14px;
  136. font-weight: bold;
  137. border-bottom: 2px solid rgb(47,47,47);
  138. }
  139. QDockWidget::title {
  140. border-bottom: 2px solid rgb(47,47,47);
  141. margin-left: 5px;
  142. margin-right: 5px;
  143. padding-top: 0px;
  144. padding-bottom: 6px;
  145. text-align: left;
  146. background-image: url(./Acri/top_hook.png);
  147. background-origin: padding;
  148. background-clip: padding;
  149. background-position: bottom left;
  150. background-repeat: none;
  151. }
  152. QDockWidget::close-button,
  153. QDockWidget::float-button {
  154. icon-size: 20px;
  155. subcontrol-position: top right;
  156. subcontrol-origin: padding;
  157. right: 0px;
  158. margin: 0px;
  159. }
  160. QDockWidget::float-button {
  161. right: 20px;
  162. }
  163. QListWidget#scenes,
  164. SourceListWidget {
  165. border: none;
  166. border-bottom: 2px solid rgb(47,47,47);
  167. }
  168. SourceTree {
  169. border: none;
  170. border-bottom: 1px solid rgb(47,47,47);
  171. }
  172. SourceTree QLineEdit {
  173. background-color: rgb(12,16,30);
  174. padding: 2px;
  175. margin: -2px 6px -2px 3px;
  176. font-size: 12px;
  177. }
  178. #scenesFrame,
  179. #sourcesFrame {
  180. margin-left: -7px;
  181. margin-right: -7px;
  182. margin-top: -8px;
  183. margin-bottom: -12px;
  184. }
  185. #scenesToolbar,
  186. #sourcesToolbar{
  187. background-image: url(./Acri/bot_hook2.png);
  188. background-origin: margin;
  189. background-clip: margin;
  190. background-position: top left;
  191. background-repeat: none;
  192. }
  193. #sourcesToolbar {
  194. background-image: url(./Acri/bot_hook.png);
  195. }
  196. /* Listbox item selected, unfocused */
  197. QListWidget::item:hover,
  198. SourceTree::item:hover {
  199. background-color: rgb(33,33,33);
  200. border: 1px solid rgb(51,51,54);
  201. }
  202. /* Listbox item selected */
  203. QListWidget::item:selected,
  204. SourceTree::item:selected {
  205. background-color: rgb(19,26,48);
  206. border: 1px solid rgb(37,42,69);
  207. }
  208. /* ScrollBars */
  209. QScrollBar::corner {
  210. background-color: transparent;
  211. border: none;
  212. }
  213. QScrollBar:vertical {
  214. background-color: transparent;
  215. width: 20px;
  216. margin-top: -3px;
  217. margin-bottom: -3px;
  218. padding: 4px;
  219. }
  220. QScrollBar::handle:vertical {
  221. background-color: rgb(47,47,47);
  222. min-height: 20px;
  223. margin: 0px 3px;
  224. border-radius: 0px;
  225. border: none;
  226. }
  227. QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
  228. border: none;
  229. background: none;
  230. height: 0;
  231. }
  232. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical, QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  233. border: none;
  234. background: none;
  235. color: none;
  236. }
  237. QScrollBar:horizontal {
  238. background-color: transparent;
  239. height: 20px;
  240. margin-left: -3px;
  241. margin-right: -3px;
  242. padding: 4px;
  243. }
  244. QScrollBar::handle:horizontal {
  245. background-color: rgb(47,47,47);
  246. min-width: 20px;
  247. margin: 3px 0px;
  248. border-radius: 0px;
  249. border: none;
  250. }
  251. QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
  252. border: none;
  253. background: none;
  254. width: 0;
  255. }
  256. QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal, QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
  257. border: none;
  258. background: none;
  259. color: none;
  260. }
  261. /* Source Context */
  262. #contextContainer {
  263. min-height: 40px;
  264. max-height: 40px;
  265. }
  266. #contextContainer QPushButton {
  267. padding: 0px 12px;
  268. }
  269. QPushButton#sourcePropertiesButton {
  270. qproperty-icon: url(./Dark/settings/general.svg);
  271. }
  272. QPushButton#sourceFiltersButton {
  273. qproperty-icon: url(./Dark/filter.svg);
  274. }
  275. /* Scenes and Sources toolbar */
  276. QToolBar {
  277. background-color: palette(window);
  278. margin-top: 4px;
  279. }
  280. QToolButton:hover {
  281. background-color: rgb(42,58,117);
  282. border: 1px solid rgb(35,49,102);
  283. border-radius: none;
  284. }
  285. QToolButton:pressed {
  286. background-color: rgb(22,31,65);
  287. border-radius: none;
  288. }
  289. * [themeID="addIconSmall"] {
  290. qproperty-icon: url(./Dark/plus.svg);
  291. }
  292. * [themeID="removeIconSmall"] {
  293. qproperty-icon: url(./Dark/minus.svg);
  294. }
  295. * [themeID="propertiesIconSmall"] {
  296. qproperty-icon: url(./Dark/settings/general.svg);
  297. }
  298. * [themeID="configIconSmall"] {
  299. qproperty-icon: url(./Dark/settings/general.svg);
  300. }
  301. * [themeID="refreshIconSmall"] {
  302. qproperty-icon: url(./Dark/refresh.svg);
  303. }
  304. * [themeID="upArrowIconSmall"] {
  305. qproperty-icon: url(./Dark/up.svg);
  306. }
  307. * [themeID="downArrowIconSmall"] {
  308. qproperty-icon: url(./Dark/down.svg);
  309. }
  310. * [themeID="pauseIconSmall"] {
  311. qproperty-icon: url(./Dark/media-pause.svg);
  312. }
  313. /* Tab Widget */
  314. QTabWidget::pane { /* The tab widget frame */
  315. border-top: 1px solid rgb(47,47,47);
  316. }
  317. QTabWidget::tab-bar {
  318. alignment: left;
  319. }
  320. QTabBar::tab {
  321. background-color: rgb(33,33,33);
  322. border: 1px solid rgb(51,51,54);
  323. min-width: 8ex;
  324. padding-top: 4px;
  325. padding-bottom: 4px;
  326. padding-left: 10px;
  327. padding-right: 10px;
  328. margin-right: 2px;
  329. margin-top: 1px;
  330. margin-bottom: 1px;
  331. }
  332. QTabBar::tab:selected {
  333. background-color: rgb(19,26,48);
  334. border-color: rgb(37,42,69);
  335. }
  336. QTabBar::tab:hover {
  337. background-color: rgb(35,49,102);
  338. border-color: rgb(54,70,131);
  339. }
  340. QTabBar::tab:pressed {
  341. background-color: rgb(22,31,65);
  342. }
  343. /* ComboBox */
  344. QDateTimeEdit,
  345. QComboBox {
  346. background-color: rgb(40,40,42);
  347. border-style: solid;
  348. border: 1px;
  349. border-color: rgb(24,24,30);
  350. padding: 4px;
  351. padding-left: 10px;
  352. }
  353. QDateTimeEdit:hover,
  354. QComboBox:hover {
  355. background-color: rgb(61,61,63);
  356. }
  357. QDateTimeEdit::drop-down,
  358. QComboBox::drop-down {
  359. border:none;
  360. border-left: 1px solid rgba(31,30,31,155);
  361. width: 20px;
  362. }
  363. QDateTimeEdit::down-arrow,
  364. QComboBox::down-arrow {
  365. qproperty-alignment: AlignTop;
  366. image: url(./Dark/updown.svg);
  367. width: 100%;
  368. }
  369. QDateTimeEdit:on,
  370. QComboBox:on {
  371. background-color: rgb(42,58,117);
  372. }
  373. QDateTimeEdit:editable,
  374. QComboBox:editable {
  375. border-top-left-radius: 0px;
  376. border-bottom-left-radius: 0px;
  377. }
  378. QDateTimeEdit::drop-down:editable,
  379. QComboBox::drop-down:editable {
  380. border-top-right-radius: 3px;
  381. border-bottom-right-radius: 3px;
  382. }
  383. QDateTimeEdit::down-arrow:editable,
  384. QComboBox::down-arrow:editable {
  385. qproperty-alignment: AlignTop;
  386. image: url(./Dark/down.svg);
  387. width: 8%;
  388. }
  389. /* Textedits etc */
  390. QLineEdit, QTextEdit, QPlainTextEdit {
  391. background-color: rgb(8,8,11);
  392. border: none;
  393. padding: 4px;
  394. padding-left: 2px;
  395. }
  396. /* Spinbox and doubleSpinbox */
  397. QSpinBox, QDoubleSpinBox {
  398. background-color: rgb(8,8,11);
  399. border: none;
  400. padding: 4px;
  401. padding-left: 2px;
  402. padding-right: 15px;
  403. margin-right: 10px;
  404. }
  405. QSpinBox::up-button, QDoubleSpinBox::up-button {
  406. subcontrol-origin: margin;
  407. subcontrol-position: top right; /* position at the top right corner */
  408. background-color: rgb(24,24,30);
  409. border: 1px solid rgb(8,8,11);
  410. border-radius: 3px;
  411. border-width: 0;
  412. border-bottom-left-radius: 0;
  413. border-bottom-right-radius: 0;
  414. border-bottom-width: 0;
  415. }
  416. QSpinBox::down-button, QDoubleSpinBox::down-button {
  417. subcontrol-origin: margin;
  418. subcontrol-position: bottom right; /* position at the top right corner */
  419. background-color: rgb(24,24,30);
  420. border: 1px solid rgb(8,8,11);
  421. border-radius: 3px;
  422. border-width: 0;
  423. border-top-left-radius: 0;
  424. border-top-right-radius: 0;
  425. border-top-width: 0;
  426. }
  427. QSpinBox::up-button:hover, QSpinBox::down-button:hover, QDoubleSpinBox::up-button:hover, QDoubleSpinBox::down-button:hover {
  428. background-color: rgb(15,33,51);
  429. }
  430. QSpinBox::up-button:pressed, QSpinBox::down-button:pressed, QDoubleSpinBox::up-button:pressed, QDoubleSpinBox::down-button:pressed {
  431. background-color: palette(window);
  432. }
  433. QSpinBox::up-button:disabled, QSpinBox::up-button:off, QSpinBox::down-button:disabled, QSpinBox::down-button:off {
  434. background-color: palette(window);
  435. }
  436. QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::up-button:off, QDoubleSpinBox::down-button:disabled, QDoubleSpinBox::down-button:off {
  437. background-color: palette(window);
  438. }
  439. QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
  440. image: url(./Dark/up.svg);
  441. width: 100%;
  442. }
  443. QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
  444. image: url(./Dark/down.svg);
  445. width: 100%;
  446. }
  447. /* Buttons */
  448. QPushButton {
  449. color: palette(text);
  450. background-color: palette(button);
  451. border: 1px solid rgb(35,49,102);
  452. padding: 6px 20px;
  453. margin: 1px;
  454. }
  455. QPushButton::flat {
  456. background-color: palette(window);
  457. border: none;
  458. }
  459. QPushButton:checked {
  460. background-color: rgb(88,22,36);
  461. border-color: rgb(132,22,45);
  462. }
  463. QPushButton:hover {
  464. background-color: rgb(42,58,117);
  465. border: 1px solid rgb(54,70,131);
  466. }
  467. QPushButton:checked:hover {
  468. background-color: rgb(116,32,49);
  469. border-color: rgb(176,12,47);
  470. }
  471. QPushButton:pressed {
  472. background-color: rgb(22,31,65);
  473. }
  474. QPushButton:checked:pressed {
  475. background-color: rgb(63,21,30);
  476. border-color: rgb(132,22,45);
  477. }
  478. QPushButton:disabled {
  479. border: 1px solid rgb(35,36,38);
  480. background-color: rgb(26,26,27);
  481. }
  482. QPushButton::flat:hover,
  483. QPushButton::flat:disabled {
  484. border: none;
  485. }
  486. /* Progress Bar */
  487. QProgressBar {
  488. background: rgb(16,16,16);
  489. border: 2px solid rgb(54,54,54);
  490. border-radius: 0px;
  491. text-align: center;
  492. }
  493. QProgressBar::chunk {
  494. background-color: rgb(42,58,117);
  495. }
  496. /* Sliders */
  497. QSlider::groove:horizontal {
  498. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  499. stop: 0 rgb(31,30,31),
  500. stop: 0.75 rgb(50,49,50));
  501. height: 4px;
  502. border: none;
  503. border-radius: 2px;
  504. }
  505. QSlider::handle:horizontal {
  506. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  507. stop: 0 rgb(240,239,240),
  508. stop: 0.25 rgb(200,199,200),
  509. stop: 1 rgb(162,161,162));
  510. border: 1px solid palette(window);
  511. border-radius: 3px;
  512. height: 10px;
  513. width: 18px;
  514. margin: -3px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
  515. }
  516. QSlider::handle:horizontal:pressed {
  517. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  518. stop: 0 rgb(240,239,240),
  519. stop: 0.25 rgb(200,199,200),
  520. stop: 1 rgb(162,161,162));
  521. }
  522. QSlider::sub-page:horizontal {
  523. background-color: rgb(42,58,117);
  524. }
  525. QSlider::sub-page:horizontal:disabled {
  526. background-color: QLinearGradient(x1: 0, y1: 1, x2: 0, y2: 0,
  527. stop: 0 rgb(26,25,26),
  528. stop: 0.75 rgb(10,10,10));
  529. border-radius: 2px;
  530. }
  531. QSlider::groove:vertical {
  532. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  533. stop: 0 rgb(31,30,31),
  534. stop: 0.75 rgb(50,49,50));
  535. width: 4px;
  536. border: none;
  537. border-radius: 2px;
  538. }
  539. QSlider::handle:vertical {
  540. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  541. stop: 0 rgb(240,239,240),
  542. stop: 0.25 rgb(200,199,200),
  543. stop: 1 rgb(162,161,162));
  544. border: 1px solid palette(window);
  545. border-radius: 3px;
  546. width: 10px;
  547. height: 18px;
  548. margin: 0 -3px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
  549. }
  550. QSlider::handle:vertical:pressed {
  551. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  552. stop: 0 rgb(240,239,240),
  553. stop: 0.25 rgb(200,199,200),
  554. stop: 1 rgb(162,161,162));
  555. }
  556. QSlider::add-page:vertical {
  557. background-color: rgb(42,58,117);
  558. }
  559. QSlider::add-page:vertical:disabled {
  560. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  561. stop: 0 rgb(26,25,26),
  562. stop: 0.75 rgb(10,10,10));
  563. border-radius: 2px;
  564. }
  565. QSlider::handle:hover {
  566. background-color: rgb(200,199,200);
  567. }
  568. QSlider::handle:disabled {
  569. background-color: rgb(15,15,16);
  570. }
  571. /* Volume Control */
  572. VolumeMeter {
  573. qproperty-backgroundNominalColor: rgb(66,116,12);
  574. qproperty-backgroundWarningColor: rgb(152,143,15);
  575. qproperty-backgroundErrorColor: rgb(128,32,4);
  576. qproperty-foregroundNominalColor: rgb(132,216,43);
  577. qproperty-foregroundWarningColor: rgb(228,215,23);
  578. qproperty-foregroundErrorColor: rgb(215,65,22);
  579. qproperty-magnitudeColor: rgb(49,54,59); /* Blue-gray */
  580. qproperty-majorTickColor: rgb(239,240,241); /* White */
  581. qproperty-minorTickColor: rgb(118,121,124); /* Light Gray */
  582. qproperty-peakDecayRate: 23.4; /* Override of the standard PPM Type I rate. */
  583. }
  584. /* Status Bar */
  585. QStatusBar::item {
  586. border: none;
  587. }
  588. /* Checkboxes */
  589. QCheckBox {
  590. padding: 4px;
  591. }
  592. QCheckBox::indicator,
  593. QGroupBox::indicator {
  594. width: 20px;
  595. height: 20px;
  596. }
  597. QGroupBox::indicator {
  598. margin-left: 2px;
  599. }
  600. QCheckBox::indicator:unchecked {
  601. image: url(./Acri/checkbox_unchecked.png);
  602. }
  603. QCheckBox::indicator:unchecked:hover,
  604. QGroupBox::indicator:unchecked:hover {
  605. border: none;
  606. image: url(./Acri/checkbox_unchecked_focus.png);
  607. }
  608. QCheckBox::indicator:checked {
  609. image: url(./Acri/checkbox_checked.png);
  610. }
  611. QCheckBox::indicator:checked:hover,
  612. QGroupBox::indicator:checked:hover {
  613. border: none;
  614. image: url(./Acri/checkbox_checked_focus.png);
  615. }
  616. QCheckBox::indicator:checked:disabled,
  617. QGroupBox::indicator:checked:disabled {
  618. image: url(./Acri/checkbox_checked_disabled.png);
  619. }
  620. QCheckBox::indicator:unchecked:disabled,
  621. QGroupBox::indicator:unchecked:disabled {
  622. image: url(./Acri/checkbox_unchecked_disabled.png);
  623. }
  624. /* Radio Buttons */
  625. QRadioButton::indicator {
  626. width: 19px;
  627. height: 19px;
  628. }
  629. QRadioButton::indicator:unchecked {
  630. image: url(./Acri/radio_unchecked.png);
  631. }
  632. QRadioButton::indicator:unchecked:hover,
  633. QRadioButton::indicator:unchecked:focus,
  634. QRadioButton::indicator:unchecked:pressed {
  635. border: none;
  636. outline: none;
  637. image: url(./Acri/radio_unchecked_focus.png);
  638. }
  639. QRadioButton::indicator:checked {
  640. border: none;
  641. outline: none;
  642. image: url(./Acri/radio_checked.png);
  643. }
  644. QRadioButton::indicator:checked:hover,
  645. QRadioButton::indicator:checked:focus,
  646. QRadioButton::indicator:checked:pressed {
  647. border: none;
  648. outline: none;
  649. image: url(./Acri/radio_checked_focus.png);
  650. }
  651. QRadioButton::indicator:checked:disabled {
  652. outline: none;
  653. image: url(./Acri/radio_checked_disabled.png);
  654. }
  655. QRadioButton::indicator:unchecked:disabled {
  656. image: url(./Acri/radio_unchecked_disabled.png);
  657. }
  658. /* Mute CheckBox */
  659. MuteCheckBox {
  660. outline: none;
  661. }
  662. MuteCheckBox::indicator:checked {
  663. image: url(./Dark/mute.svg);
  664. }
  665. MuteCheckBox::indicator:unchecked {
  666. image: url(./Dark/settings/audio.svg);
  667. }
  668. MuteCheckBox::indicator:unchecked:hover {
  669. image: url(./Dark/settings/audio.svg);
  670. }
  671. MuteCheckBox::indicator:unchecked:focus {
  672. image: url(./Dark/settings/audio.svg);
  673. }
  674. MuteCheckBox::indicator:checked:hover {
  675. image: url(./Dark/mute.svg);
  676. }
  677. MuteCheckBox::indicator:checked:focus {
  678. image: url(./Dark/mute.svg);
  679. }
  680. MuteCheckBox::indicator:checked:disabled {
  681. image: url(./Dark/mute.svg);
  682. }
  683. MuteCheckBox::indicator:unchecked:disabled {
  684. image: url(./Dark/settings/audio.svg);
  685. }
  686. OBSHotkeyLabel[hotkeyPairHover=true] {
  687. color: rgba(27, 96, 166);
  688. }
  689. /* Group Collapse Checkbox */
  690. SourceTreeSubItemCheckBox {
  691. background: transparent;
  692. outline: none;
  693. padding: 0px;
  694. }
  695. SourceTreeSubItemCheckBox::indicator {
  696. width: 12px;
  697. height: 12px;
  698. }
  699. SourceTreeSubItemCheckBox::indicator:checked,
  700. SourceTreeSubItemCheckBox::indicator:checked:hover {
  701. image: url(./Dark/expand.svg);
  702. }
  703. SourceTreeSubItemCheckBox::indicator:unchecked,
  704. SourceTreeSubItemCheckBox::indicator:unchecked:hover {
  705. image: url(./Dark/down.svg);
  706. }
  707. /* Label warning/error */
  708. QLabel#warningLabel {
  709. color: rgb(192,128,0);
  710. font-weight: bold;
  711. }
  712. QLabel#errorLabel {
  713. color: rgb(192,0,0);
  714. font-weight: bold;
  715. }
  716. /* Settings Menu */
  717. #buttonBox {
  718. border-top: 2px solid grey;
  719. }
  720. /* Special Fixes */
  721. OBSBasicProperties,
  722. #OBSBasicSettings,
  723. #OBSBasicFilters {
  724. background: rgb(16,16,16);
  725. }
  726. FocusList::item {
  727. padding: 0px 2px;
  728. }
  729. #fpsTypes {
  730. padding: 0px;
  731. }
  732. #finishPage QLabel {
  733. padding: -2px 0px;
  734. background: transparent;
  735. min-height: 26px;
  736. }
  737. /* About dialog */
  738. #OBSAbout #icon {
  739. padding: 0;
  740. }
  741. #OBSAbout QTextBrowser {
  742. background: transparent;
  743. padding: 2px 0;
  744. }
  745. * [themeID="aboutName"] {
  746. font-size: 36px;
  747. font-weight: bold;
  748. padding: 0;
  749. }
  750. * [themeID="aboutVersion"] {
  751. font-size: 16px;
  752. margin-bottom: 20px;
  753. padding: 0;
  754. }
  755. * [themeID="aboutInfo"] {
  756. margin-bottom: 20px;
  757. }
  758. * [themeID="aboutHLayout"] {
  759. background-color: rgb(8,8,11);
  760. }
  761. /* Preview background color */
  762. OBSQTDisplay {
  763. qproperty-displayBackgroundColor: rgb(40,40,42);
  764. }
  765. /* Preview/Program labels */
  766. * [themeID="previewProgramLabels"] {
  767. font-size: 18px;
  768. font-weight: bold;
  769. color: rgb(122,121,122);
  770. }
  771. /* Settings Icons */
  772. OBSBasicSettings {
  773. qproperty-generalIcon: url(./Dark/settings/general.svg);
  774. qproperty-streamIcon: url(./Dark/settings/stream.svg);
  775. qproperty-outputIcon: url(./Dark/settings/output.svg);
  776. qproperty-audioIcon: url(./Dark/settings/audio.svg);
  777. qproperty-videoIcon: url(./Dark/settings/video.svg);
  778. qproperty-hotkeysIcon: url(./Dark/settings/hotkeys.svg);
  779. qproperty-advancedIcon: url(./Dark/settings/advanced.svg);
  780. }
  781. OBSBasicSettings QListWidget::item {
  782. padding-top: 5px;
  783. padding-bottom: 5px;
  784. }
  785. /* Table */
  786. QTableView {
  787. gridline-color: rgb(51,51,54);
  788. }
  789. QHeaderView {
  790. border: none;
  791. }
  792. QHeaderView::section {
  793. background-color: rgb(16,16,16);
  794. border: 1px solid rgb(51,51,54);
  795. border-left: none;
  796. }
  797. *[themeID="trashIcon"] {
  798. margin: 0;
  799. }
  800. /* Locked CheckBox */
  801. LockedCheckBox {
  802. outline: none;
  803. background: transparent;
  804. padding: 0px;
  805. }
  806. LockedCheckBox::indicator {
  807. width: 16px;
  808. height: 16px;
  809. }
  810. LockedCheckBox::indicator:checked {
  811. image: url(./Dark/locked.svg);
  812. }
  813. LockedCheckBox::indicator:unchecked {
  814. image: url(:res/images/unlocked.svg);
  815. }
  816. LockedCheckBox::indicator:checked:hover {
  817. image: url(./Dark/locked.svg);
  818. }
  819. LockedCheckBox::indicator:unchecked:hover {
  820. image: url(:res/images/unlocked.svg);
  821. }
  822. /* Visibility CheckBox */
  823. VisibilityCheckBox {
  824. outline: none;
  825. background: transparent;
  826. padding: 0px;
  827. }
  828. VisibilityCheckBox::indicator {
  829. width: 16px;
  830. height: 16px;
  831. }
  832. VisibilityCheckBox::indicator:checked {
  833. image: url(./Dark/visible.svg);
  834. }
  835. VisibilityCheckBox::indicator:unchecked {
  836. image: url(:res/images/invisible.svg);
  837. }
  838. VisibilityCheckBox::indicator:checked:hover {
  839. image: url(./Dark/visible.svg);
  840. }
  841. VisibilityCheckBox::indicator:unchecked:hover {
  842. image: url(:res/images/invisible.svg);
  843. }
  844. * [themeID="trashIcon"] {
  845. qproperty-icon: url(./Dark/trash.svg);
  846. }
  847. * [themeID="revertIcon"] {
  848. qproperty-icon: url(./Dark/revert.svg);
  849. }
  850. QPushButton#extraPanelDelete {
  851. background: transparent;
  852. border: none;
  853. }
  854. QPushButton#extraPanelDelete:hover {
  855. background-color: rgb(42,58,117);
  856. }
  857. QPushButton#extraPanelDelete:pressed {
  858. background-color: rgb(22,31,65);
  859. }
  860. OBSMissingFiles {
  861. qproperty-warningIcon: url(./Dark/alert.svg);
  862. }
  863. /* Source Icons */
  864. OBSBasic {
  865. qproperty-imageIcon: url(./Dark/sources/image.svg);
  866. qproperty-colorIcon: url(./Dark/sources/brush.svg);
  867. qproperty-slideshowIcon: url(./Dark/sources/slideshow.svg);
  868. qproperty-audioInputIcon: url(./Dark/sources/microphone.svg);
  869. qproperty-audioOutputIcon: url(./Dark/settings/audio.svg);
  870. qproperty-desktopCapIcon: url(./Dark/settings/video.svg);
  871. qproperty-windowCapIcon: url(./Dark/sources/window.svg);
  872. qproperty-gameCapIcon: url(./Dark/sources/gamepad.svg);
  873. qproperty-cameraIcon: url(./Dark/sources/camera.svg);
  874. qproperty-textIcon: url(./Dark/sources/text.svg);
  875. qproperty-mediaIcon: url(./Dark/sources/media.svg);
  876. qproperty-browserIcon: url(./Dark/sources/globe.svg);
  877. qproperty-groupIcon: url(./Dark/sources/group.svg);
  878. qproperty-sceneIcon: url(./Dark/sources/scene.svg);
  879. qproperty-defaultIcon: url(./Dark/sources/default.svg);
  880. }
  881. /* Scene Tree */
  882. SceneTree#scenes {
  883. qproperty-gridItemWidth: 180;
  884. qproperty-gridItemHeight: 35;
  885. }
  886. *[gridMode="true"] SceneTree#scenes {
  887. border-bottom: none;
  888. }
  889. *[gridMode="false"] SceneTree#scenes {
  890. border-bottom: 2px solid rgb(47,47,47);
  891. }
  892. *[gridMode="true"] SceneTree::item {
  893. padding: 4px;
  894. padding-left: 10px;
  895. padding-right: 10px;
  896. margin: 0px;
  897. }
  898. /* Save replay icon */
  899. * [themeID="replayIconSmall"] {
  900. qproperty-icon: url(./Dark/save.svg);
  901. }
  902. /* Studio Mode T-Bar */
  903. QSlider[themeID="tBarSlider"] {
  904. height: 28px;
  905. }
  906. QSlider::groove:horizontal[themeID="tBarSlider"] {
  907. height: 5px;
  908. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  909. stop: 0 rgb(31,30,31),
  910. stop: 0.75 rgb(50,49,50));
  911. border: none;
  912. border-radius: 2px;
  913. }
  914. QSlider::sub-page:horizontal[themeID="tBarSlider"] {
  915. height: 5px;
  916. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  917. stop: 0 rgb(31,30,31),
  918. stop: 0.75 rgb(50,49,50));
  919. border: none;
  920. border-radius: 2px;
  921. }
  922. QSlider::handle:horizontal[themeID="tBarSlider"] {
  923. background-color: rgb(210,210,210);
  924. width: 14px;
  925. height: 28px;
  926. margin: -28px 0px;
  927. }
  928. /* Media icons */
  929. * [themeID="playIcon"] {
  930. qproperty-icon: url(./Dark/media/media_play.svg);
  931. }
  932. * [themeID="pauseIcon"] {
  933. qproperty-icon: url(./Dark/media/media_pause.svg);
  934. }
  935. * [themeID="restartIcon"] {
  936. qproperty-icon: url(./Dark/media/media_restart.svg);
  937. }
  938. * [themeID="stopIcon"] {
  939. qproperty-icon: url(./Dark/media/media_stop.svg);
  940. }
  941. * [themeID="nextIcon"] {
  942. qproperty-icon: url(./Dark/media/media_next.svg);
  943. }
  944. * [themeID="previousIcon"] {
  945. qproperty-icon: url(./Dark/media/media_previous.svg);
  946. }
  947. /* YouTube Integration */
  948. OBSYoutubeActions {
  949. qproperty-thumbPlaceholder: url(./Dark/sources/image.svg);
  950. }
  951. #thumbnailPreview {
  952. background-color: rgb(40,40,42);
  953. }
  954. #ytEventList QLabel {
  955. color: rgb(225,224,225);
  956. background-color: #162458;
  957. border: 1px solid #233166;
  958. padding: 6px 20px;
  959. margin: 1px;
  960. }
  961. #ytEventList QLabel:hover {
  962. background-color: #2a3a75;
  963. border: 1px solid #364683;
  964. }
  965. #ytEventList QLabel[isSelectedEvent=true] {
  966. background-color: #581624;
  967. border-color: #84162d;
  968. }
  969. /* Calendar Widget */
  970. QDateTimeEdit::down-arrow {
  971. qproperty-alignment: AlignTop;
  972. image: url(./Dark/down.svg);
  973. width: 100%;
  974. }
  975. /* Calendar Top Bar */
  976. QCalendarWidget QWidget#qt_calendar_navigationbar {
  977. background-color: rgb(58,57,58);
  978. padding: 4px 8px;
  979. }
  980. /* Calendar Top Bar Buttons */
  981. QCalendarWidget QToolButton {
  982. color: rgb(225,224,225);
  983. background-color: #162458;
  984. border: 1px solid #233166;
  985. padding: 6px 20px;
  986. margin: 1px;
  987. }
  988. #qt_calendar_monthbutton::menu-indicator {
  989. image: url(./Dark/down.svg);
  990. subcontrol-position: right;
  991. padding-top: 2px;
  992. padding-right: 8px;
  993. height: 10px;
  994. width: 10px;
  995. }
  996. QCalendarWidget #qt_calendar_prevmonth {
  997. padding: 6px;
  998. qproperty-icon: url(./Dark/left.svg);
  999. icon-size: 16px, 16px;
  1000. }
  1001. QCalendarWidget #qt_calendar_nextmonth {
  1002. padding: 6px;
  1003. qproperty-icon: url(./Dark/expand.svg);
  1004. icon-size: 16px, 16px;
  1005. }
  1006. QCalendarWidget QToolButton:hover {
  1007. background-color: #2a3a75;
  1008. border: 1px solid #364683;
  1009. }
  1010. QCalendarWidget QToolButton:pressed {
  1011. background-color: #161f41;
  1012. }
  1013. /* Month Dropdown Menu */
  1014. QCalendarWidget QMenu {
  1015. }
  1016. /* Year spinbox */
  1017. QCalendarWidget QSpinBox {
  1018. background-color: rgb(8,8,11);
  1019. border: none;
  1020. margin: 0px 3px 0px 0px;
  1021. padding: 4px 16px;
  1022. }
  1023. QCalendarWidget QSpinBox::up-button { subcontrol-origin: border; subcontrol-position: top right; width: 16px; }
  1024. QCalendarWidget QSpinBox::down-button {subcontrol-origin: border; subcontrol-position: bottom right; width: 16px;}
  1025. QCalendarWidget QSpinBox::up-arrow { width: 10px; height: 10px; }
  1026. QCalendarWidget QSpinBox::down-arrow { width: 10px; height: 10px; }
  1027. /* Days of the Week Bar */
  1028. QCalendarWidget QWidget { alternate-background-color: #131a30; }
  1029. QCalendarWidget QAbstractItemView:enabled {
  1030. background-color: rgb(31,30,31);
  1031. color: rgb(225,224,225);
  1032. selection-background-color: rgb(25,51,75);
  1033. selection-color: rgb(225,224,225);
  1034. }
  1035. QCalendarWidget QAbstractItemView:disabled {
  1036. color: rgb(122,121,122);
  1037. }