Acri.qss 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. /* OBSTheme, main QApplication palette and QML values */
  2. OBSTheme {
  3. window: #181819;
  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: #162458;
  9. buttonText: rgb(225,224,225);
  10. brightText: #484848;
  11. light: #162458;
  12. mid: #181819;
  13. dark: rgb(18,18,21);
  14. shadow: rgb(0,0,0);
  15. highlight: #252458;
  16. highlightText: #FFFFFF;
  17. link: #605ee6;
  18. linkVisited: #605ee6;
  19. }
  20. OBSTheme::disabled {
  21. text: #484848;
  22. buttonText: #484848;
  23. brightText: #484848;
  24. }
  25. OBSTheme::inactive {
  26. highlight: rgb(48,47,48);
  27. highlightText: rgb(255, 255, 255);
  28. }
  29. /* General style, we override only what is needed. */
  30. QWidget {
  31. background-color: #181819;
  32. alternate-background-color: rgb(18,18,21);
  33. color: rgb(225,224,225);
  34. selection-background-color: #252458;
  35. selection-color: white;
  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: #2a3a75;
  45. }
  46. QMenu {
  47. border: 1px solid #333336;
  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 #333336;
  57. }
  58. QSizeGrip {
  59. background-color: transparent;
  60. image: url(./Acri/sizegrip.png);
  61. }
  62. /* Misc */
  63. QWidget::disabled {
  64. color: #484848;
  65. }
  66. * [themeID="error"] {
  67. color: #d91740;
  68. }
  69. * [themeID="warning"] {
  70. color: #d9af17;
  71. }
  72. /* Dropdown menus, Scenes box, Sources box */
  73. QAbstractItemView {
  74. background-color: #181819;
  75. border: 1px solid #333336;
  76. }
  77. /* Group Box */
  78. QGroupBox {
  79. border: 2px solid #2f2f2f;
  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: #212121;
  99. color: rgb(205,205,205);
  100. border: 1px solid #343335;
  101. border-radius: 4px;
  102. }
  103. /* Top Menu Bar Items */
  104. QMenuBar::item {
  105. background-color: rgb(24,24,25);
  106. padding: 6px;
  107. }
  108. QMenuBar::item:selected {
  109. background: #2a3a75;
  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: #181819;
  134. border: none;
  135. font-size: 14px;
  136. font-weight: bold;
  137. border-bottom: 2px solid #2f2f2f;
  138. }
  139. QDockWidget::title {
  140. border-bottom: 2px solid #2f2f2f;
  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 #2f2f2f;
  167. }
  168. SourceTree {
  169. border: none;
  170. border-bottom: 1px solid #2f2f2f;
  171. }
  172. SourceTree QLineEdit {
  173. background-color: #0c101e;
  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: #212121;
  200. border: 1px solid #333336;
  201. }
  202. /* Listbox item selected */
  203. QListWidget::item:selected,
  204. SourceTree::item:selected {
  205. background-color: #131a30;
  206. border: 1px solid #252a45;
  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: #2f2f2f;
  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: #2f2f2f;
  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: rgb(24,24,25);
  278. margin-top: 4px;
  279. }
  280. QToolButton:hover {
  281. background-color: #2a3a75;
  282. border: 1px solid #233166;
  283. border-radius: none;
  284. }
  285. QToolButton:pressed {
  286. background-color: #161f41;
  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 #2f2f2f;
  316. }
  317. QTabWidget::tab-bar {
  318. alignment: left;
  319. }
  320. QTabBar::tab {
  321. background-color: #212121;
  322. border: 1px solid #333336;
  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: #131a30;
  334. border-color: #252a45;
  335. }
  336. QTabBar::tab:hover {
  337. background-color: #233166;
  338. border-color: #364683;
  339. }
  340. QTabBar::tab:pressed {
  341. background-color: #161f41;
  342. }
  343. /* ComboBox */
  344. QComboBox {
  345. background-color: rgb(40,40,42);
  346. border-style: solid;
  347. border: 1px;
  348. border-color: rgb(24,24,30);
  349. padding: 4px;
  350. padding-left: 10px;
  351. }
  352. QComboBox::drop-down {
  353. border:none;
  354. border-left: 1px solid rgba(31,30,31,155);
  355. width: 20px;
  356. }
  357. QComboBox::down-arrow {
  358. qproperty-alignment: AlignTop;
  359. image: url(./Dark/updown.svg);
  360. width: 100%;
  361. }
  362. QComboBox:on {
  363. background-color: #2a3a75;
  364. }
  365. QComboBox:editable {
  366. border-top-left-radius: 0px;
  367. border-bottom-left-radius: 0px;
  368. }
  369. QComboBox::drop-down:editable {
  370. border-top-right-radius: 3px;
  371. border-bottom-right-radius: 3px;
  372. }
  373. QComboBox::down-arrow:editable {
  374. qproperty-alignment: AlignTop;
  375. image: url(./Dark/down.svg);
  376. width: 8%;
  377. }
  378. /* Textedits etc */
  379. QLineEdit, QTextEdit, QPlainTextEdit {
  380. background-color: rgb(8,8,11);
  381. border: none;
  382. padding: 4px;
  383. padding-left: 2px;
  384. }
  385. /* Spinbox and doubleSpinbox */
  386. QSpinBox, QDoubleSpinBox {
  387. background-color: rgb(8,8,11);
  388. border: none;
  389. padding: 4px;
  390. padding-left: 2px;
  391. padding-right: 15px;
  392. margin-right: 10px;
  393. }
  394. QSpinBox::up-button, QDoubleSpinBox::up-button {
  395. subcontrol-origin: margin;
  396. subcontrol-position: top right; /* position at the top right corner */
  397. background-color: rgb(24,24,30);
  398. border: 1px solid rgb(8,8,11);
  399. border-radius: 3px;
  400. border-width: 0;
  401. border-bottom-left-radius: 0;
  402. border-bottom-right-radius: 0;
  403. border-bottom-width: 0;
  404. }
  405. QSpinBox::down-button, QDoubleSpinBox::down-button {
  406. subcontrol-origin: margin;
  407. subcontrol-position: bottom 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-top-left-radius: 0;
  413. border-top-right-radius: 0;
  414. border-top-width: 0;
  415. }
  416. QSpinBox::up-button:hover, QSpinBox::down-button:hover, QDoubleSpinBox::up-button:hover, QDoubleSpinBox::down-button:hover {
  417. background-color: rgb(15,33,51);
  418. }
  419. QSpinBox::up-button:pressed, QSpinBox::down-button:pressed, QDoubleSpinBox::up-button:pressed, QDoubleSpinBox::down-button:pressed {
  420. background-color: rgb(24,24,25);
  421. }
  422. QSpinBox::up-button:disabled, QSpinBox::up-button:off, QSpinBox::down-button:disabled, QSpinBox::down-button:off {
  423. background-color: rgb(24,24,25);
  424. }
  425. QDoubleSpinBox::up-button:disabled, QDoubleSpinBox::up-button:off, QDoubleSpinBox::down-button:disabled, QDoubleSpinBox::down-button:off {
  426. background-color: rgb(24,24,25);
  427. }
  428. QSpinBox::up-arrow, QDoubleSpinBox::up-arrow {
  429. image: url(./Dark/up.svg);
  430. width: 100%;
  431. }
  432. QSpinBox::down-arrow, QDoubleSpinBox::down-arrow {
  433. image: url(./Dark/down.svg);
  434. width: 100%;
  435. }
  436. /* Buttons */
  437. QPushButton {
  438. color: rgb(225,224,225);
  439. background-color: #162458;
  440. border: 1px solid #233166;
  441. padding: 6px 20px;
  442. margin: 1px;
  443. }
  444. QPushButton::flat {
  445. background-color: rgb(24,24,25);
  446. border: none;
  447. }
  448. QPushButton:checked {
  449. background-color: #581624;
  450. border-color: #84162d;
  451. }
  452. QPushButton:hover {
  453. background-color: #2a3a75;
  454. border: 1px solid #364683;
  455. }
  456. QPushButton:pressed {
  457. background-color: #161f41;
  458. }
  459. QPushButton:disabled {
  460. border: 1px solid #232426;
  461. background-color: #1a1a1b;
  462. }
  463. QPushButton::flat:hover,
  464. QPushButton::flat:disabled {
  465. border: none;
  466. }
  467. /* Progress Bar */
  468. QProgressBar {
  469. background: #101010;
  470. border: 2px solid #363636;
  471. border-radius: 0px;
  472. text-align: center;
  473. }
  474. QProgressBar::chunk {
  475. background-color: #2a3a75;
  476. }
  477. /* Sliders */
  478. QSlider::groove:horizontal {
  479. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  480. stop: 0 rgb(31,30,31),
  481. stop: 0.75 rgb(50, 49, 50));
  482. height: 4px;
  483. border: none;
  484. border-radius: 2px;
  485. }
  486. QSlider::handle:horizontal {
  487. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  488. stop: 0 rgb(240,239,240),
  489. stop: 0.25 rgb(200,199,200),
  490. stop: 1 rgb(162,161,162));
  491. border: 1px solid rgb(24,24,25);
  492. border-radius: 3px;
  493. height: 10px;
  494. width: 18px;
  495. margin: -3px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
  496. }
  497. QSlider::handle:horizontal:pressed {
  498. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  499. stop: 0 rgb(240,239,240),
  500. stop: 0.25 rgb(200,199,200),
  501. stop: 1 rgb(162,161,162));
  502. }
  503. QSlider::sub-page:horizontal {
  504. background-color: #2a3a75;
  505. }
  506. QSlider::sub-page:horizontal:disabled {
  507. background-color: QLinearGradient(x1: 0, y1: 1, x2: 0, y2: 0,
  508. stop: 0 rgb(26,25,26),
  509. stop: 0.75 rgb(10, 10, 10));
  510. border-radius: 2px;
  511. }
  512. QSlider::groove:vertical {
  513. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  514. stop: 0 rgb(31,30,31),
  515. stop: 0.75 rgb(50, 49, 50));
  516. width: 4px;
  517. border: none;
  518. border-radius: 2px;
  519. }
  520. QSlider::handle:vertical {
  521. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  522. stop: 0 rgb(240,239,240),
  523. stop: 0.25 rgb(200,199,200),
  524. stop: 1 rgb(162,161,162));
  525. border: 1px solid rgb(24,24,25);
  526. border-radius: 3px;
  527. width: 10px;
  528. height: 18px;
  529. margin: 0 -3px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
  530. }
  531. QSlider::handle:vertical:pressed {
  532. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  533. stop: 0 rgb(240,239,240),
  534. stop: 0.25 rgb(200,199,200),
  535. stop: 1 rgb(162,161,162));
  536. }
  537. QSlider::add-page:vertical {
  538. background-color: #2a3a75;
  539. }
  540. QSlider::add-page:vertical:disabled {
  541. background-color: QLinearGradient(x1: 0, y1: 0, x2: 1, y2: 0,
  542. stop: 0 rgb(26,25,26),
  543. stop: 0.75 rgb(10, 10, 10));
  544. border-radius: 2px;
  545. }
  546. QSlider::handle:hover {
  547. background-color: rgb(200,199,200);
  548. }
  549. QSlider::handle:disabled {
  550. background-color: rgb(15,15,16);
  551. }
  552. /* Volume Control */
  553. VolumeMeter {
  554. qproperty-backgroundNominalColor: #42740c;
  555. qproperty-backgroundWarningColor: #988F0F;
  556. qproperty-backgroundErrorColor: #802004;
  557. qproperty-foregroundNominalColor: #84D82B;
  558. qproperty-foregroundWarningColor: #E4D717;
  559. qproperty-foregroundErrorColor: #D74116;
  560. qproperty-magnitudeColor: rgb(49, 54, 59); /* Blue-gray */
  561. qproperty-majorTickColor: rgb(239, 240, 241); /* White */
  562. qproperty-minorTickColor: rgb(118, 121, 124); /* Light Gray */
  563. qproperty-peakDecayRate: 23.4; /* Override of the standard PPM Type I rate. */
  564. }
  565. /* Status Bar */
  566. QStatusBar::item {
  567. border: none;
  568. }
  569. /* Checkboxes */
  570. QCheckBox {
  571. padding: 4px;
  572. }
  573. QCheckBox::indicator,
  574. QGroupBox::indicator {
  575. width: 20px;
  576. height: 20px;
  577. }
  578. QGroupBox::indicator {
  579. margin-left: 2px;
  580. }
  581. QCheckBox::indicator:unchecked {
  582. image: url(./Acri/checkbox_unchecked.png);
  583. }
  584. QCheckBox::indicator:unchecked:hover,
  585. QGroupBox::indicator:unchecked:hover {
  586. border: none;
  587. image: url(./Acri/checkbox_unchecked_focus.png);
  588. }
  589. QCheckBox::indicator:checked {
  590. image: url(./Acri/checkbox_checked.png);
  591. }
  592. QCheckBox::indicator:checked:hover,
  593. QGroupBox::indicator:checked:hover {
  594. border: none;
  595. image: url(./Acri/checkbox_checked_focus.png);
  596. }
  597. QCheckBox::indicator:checked:disabled,
  598. QGroupBox::indicator:checked:disabled {
  599. image: url(./Acri/checkbox_checked_disabled.png);
  600. }
  601. QCheckBox::indicator:unchecked:disabled,
  602. QGroupBox::indicator:unchecked:disabled {
  603. image: url(./Acri/checkbox_unchecked_disabled.png);
  604. }
  605. /* Radio Buttons */
  606. QRadioButton::indicator {
  607. width: 19px;
  608. height: 19px;
  609. }
  610. QRadioButton::indicator:unchecked {
  611. image: url(./Acri/radio_unchecked.png);
  612. }
  613. QRadioButton::indicator:unchecked:hover,
  614. QRadioButton::indicator:unchecked:focus,
  615. QRadioButton::indicator:unchecked:pressed {
  616. border: none;
  617. outline: none;
  618. image: url(./Acri/radio_unchecked_focus.png);
  619. }
  620. QRadioButton::indicator:checked {
  621. border: none;
  622. outline: none;
  623. image: url(./Acri/radio_checked.png);
  624. }
  625. QRadioButton::indicator:checked:hover,
  626. QRadioButton::indicator:checked:focus,
  627. QRadioButton::indicator:checked:pressed {
  628. border: none;
  629. outline: none;
  630. image: url(./Acri/radio_checked_focus.png);
  631. }
  632. QRadioButton::indicator:checked:disabled {
  633. outline: none;
  634. image: url(./Acri/radio_checked_disabled.png);
  635. }
  636. QRadioButton::indicator:unchecked:disabled {
  637. image: url(./Acri/radio_unchecked_disabled.png);
  638. }
  639. /* Mute CheckBox */
  640. MuteCheckBox {
  641. outline: none;
  642. }
  643. MuteCheckBox::indicator:checked {
  644. image: url(./Dark/mute.svg);
  645. }
  646. MuteCheckBox::indicator:unchecked {
  647. image: url(./Dark/settings/audio.svg);
  648. }
  649. MuteCheckBox::indicator:unchecked:hover {
  650. image: url(./Dark/settings/audio.svg);
  651. }
  652. MuteCheckBox::indicator:unchecked:focus {
  653. image: url(./Dark/settings/audio.svg);
  654. }
  655. MuteCheckBox::indicator:checked:hover {
  656. image: url(./Dark/mute.svg);
  657. }
  658. MuteCheckBox::indicator:checked:focus {
  659. image: url(./Dark/mute.svg);
  660. }
  661. MuteCheckBox::indicator:checked:disabled {
  662. image: url(./Dark/mute.svg);
  663. }
  664. MuteCheckBox::indicator:unchecked:disabled {
  665. image: url(./Dark/settings/audio.svg);
  666. }
  667. OBSHotkeyLabel[hotkeyPairHover=true] {
  668. color: rgba(27, 96, 166);
  669. }
  670. /* Group Collapse Checkbox */
  671. SourceTreeSubItemCheckBox {
  672. background: transparent;
  673. outline: none;
  674. padding: 0px;
  675. }
  676. SourceTreeSubItemCheckBox::indicator {
  677. width: 12px;
  678. height: 12px;
  679. }
  680. SourceTreeSubItemCheckBox::indicator:checked,
  681. SourceTreeSubItemCheckBox::indicator:checked:hover {
  682. image: url(./Dark/expand.svg);
  683. }
  684. SourceTreeSubItemCheckBox::indicator:unchecked,
  685. SourceTreeSubItemCheckBox::indicator:unchecked:hover {
  686. image: url(./Dark/down.svg);
  687. }
  688. /* Label warning/error */
  689. QLabel#warningLabel {
  690. color: rgb(192, 128, 0);
  691. font-weight: bold;
  692. }
  693. QLabel#errorLabel {
  694. color: rgb(192, 0, 0);
  695. font-weight: bold;
  696. }
  697. /* Settings Menu */
  698. #buttonBox {
  699. border-top: 2px solid grey;
  700. }
  701. /* Special Fixes */
  702. OBSBasicProperties,
  703. #OBSBasicSettings,
  704. #OBSBasicFilters {
  705. background: #101010;
  706. }
  707. FocusList::item {
  708. padding: 0px 2px;
  709. }
  710. #fpsTypes {
  711. padding: 0px;
  712. }
  713. #finishPage QLabel {
  714. padding: -2px 0px;
  715. background: transparent;
  716. min-height: 26px;
  717. }
  718. /* About dialog */
  719. #OBSAbout #icon {
  720. padding: 0;
  721. }
  722. #OBSAbout QTextBrowser {
  723. background: transparent;
  724. padding: 2px 0;
  725. }
  726. * [themeID="aboutName"] {
  727. font-size: 36px;
  728. font-weight: bold;
  729. padding: 0;
  730. }
  731. * [themeID="aboutVersion"] {
  732. font-size: 16px;
  733. margin-bottom: 20px;
  734. padding: 0;
  735. }
  736. * [themeID="aboutInfo"] {
  737. margin-bottom: 20px;
  738. }
  739. * [themeID="aboutHLayout"] {
  740. background-color: rgb(8, 8, 11);
  741. }
  742. /* Preview background color */
  743. OBSQTDisplay {
  744. qproperty-displayBackgroundColor: #28282A;
  745. }
  746. /* Preview/Program labels */
  747. * [themeID="previewProgramLabels"] {
  748. font-size: 18px;
  749. font-weight: bold;
  750. color: rgb(122,121,122);
  751. }
  752. /* Settings Icons */
  753. OBSBasicSettings {
  754. qproperty-generalIcon: url(./Dark/settings/general.svg);
  755. qproperty-streamIcon: url(./Dark/settings/stream.svg);
  756. qproperty-outputIcon: url(./Dark/settings/output.svg);
  757. qproperty-audioIcon: url(./Dark/settings/audio.svg);
  758. qproperty-videoIcon: url(./Dark/settings/video.svg);
  759. qproperty-hotkeysIcon: url(./Dark/settings/hotkeys.svg);
  760. qproperty-advancedIcon: url(./Dark/settings/advanced.svg);
  761. }
  762. OBSBasicSettings QListWidget::item {
  763. padding-top: 5px;
  764. padding-bottom: 5px;
  765. }
  766. /* Table */
  767. QTableView {
  768. gridline-color: #333336;
  769. }
  770. QHeaderView {
  771. border: none;
  772. }
  773. QHeaderView::section {
  774. background-color: #101010;
  775. border: 1px solid #333336;
  776. border-left: none;
  777. }
  778. *[themeID="trashIcon"] {
  779. margin: 0;
  780. }
  781. /* Locked CheckBox */
  782. LockedCheckBox {
  783. outline: none;
  784. background: transparent;
  785. padding: 0px;
  786. }
  787. LockedCheckBox::indicator {
  788. width: 16px;
  789. height: 16px;
  790. }
  791. LockedCheckBox::indicator:checked {
  792. image: url(./Dark/locked.svg);
  793. }
  794. LockedCheckBox::indicator:unchecked {
  795. image: url(:res/images/unlocked.svg);
  796. }
  797. LockedCheckBox::indicator:checked:hover {
  798. image: url(./Dark/locked.svg);
  799. }
  800. LockedCheckBox::indicator:unchecked:hover {
  801. image: url(:res/images/unlocked.svg);
  802. }
  803. /* Visibility CheckBox */
  804. VisibilityCheckBox {
  805. outline: none;
  806. background: transparent;
  807. padding: 0px;
  808. }
  809. VisibilityCheckBox::indicator {
  810. width: 16px;
  811. height: 16px;
  812. }
  813. VisibilityCheckBox::indicator:checked {
  814. image: url(./Dark/visible.svg);
  815. }
  816. VisibilityCheckBox::indicator:unchecked {
  817. image: url(:res/images/invisible.svg);
  818. }
  819. VisibilityCheckBox::indicator:checked:hover {
  820. image: url(./Dark/visible.svg);
  821. }
  822. VisibilityCheckBox::indicator:unchecked:hover {
  823. image: url(:res/images/invisible.svg);
  824. }
  825. * [themeID="trashIcon"] {
  826. qproperty-icon: url(./Dark/trash.svg);
  827. }
  828. * [themeID="revertIcon"] {
  829. qproperty-icon: url(./Dark/revert.svg);
  830. }
  831. QPushButton#extraPanelDelete {
  832. background: transparent;
  833. border: none;
  834. }
  835. QPushButton#extraPanelDelete:hover {
  836. background-color: #2a3a75;
  837. }
  838. QPushButton#extraPanelDelete:pressed {
  839. background-color: #161f41;
  840. }
  841. OBSMissingFiles {
  842. qproperty-warningIcon: url(./Dark/alert.svg);
  843. }
  844. /* Source Icons */
  845. OBSBasic {
  846. qproperty-imageIcon: url(./Dark/sources/image.svg);
  847. qproperty-colorIcon: url(./Dark/sources/brush.svg);
  848. qproperty-slideshowIcon: url(./Dark/sources/slideshow.svg);
  849. qproperty-audioInputIcon: url(./Dark/sources/microphone.svg);
  850. qproperty-audioOutputIcon: url(./Dark/settings/audio.svg);
  851. qproperty-desktopCapIcon: url(./Dark/settings/video.svg);
  852. qproperty-windowCapIcon: url(./Dark/sources/window.svg);
  853. qproperty-gameCapIcon: url(./Dark/sources/gamepad.svg);
  854. qproperty-cameraIcon: url(./Dark/sources/camera.svg);
  855. qproperty-textIcon: url(./Dark/sources/text.svg);
  856. qproperty-mediaIcon: url(./Dark/sources/media.svg);
  857. qproperty-browserIcon: url(./Dark/sources/globe.svg);
  858. qproperty-groupIcon: url(./Dark/sources/group.svg);
  859. qproperty-sceneIcon: url(./Dark/sources/scene.svg);
  860. qproperty-defaultIcon: url(./Dark/sources/default.svg);
  861. }
  862. /* Scene Tree */
  863. SceneTree#scenes {
  864. qproperty-gridItemWidth: 180;
  865. qproperty-gridItemHeight: 35;
  866. }
  867. *[gridMode="true"] SceneTree#scenes {
  868. border-bottom: none;
  869. }
  870. *[gridMode="false"] SceneTree#scenes {
  871. border-bottom: 2px solid #2f2f2f;
  872. }
  873. *[gridMode="true"] SceneTree::item {
  874. padding: 4px;
  875. padding-left: 10px;
  876. padding-right: 10px;
  877. margin: 0px;
  878. }
  879. /* Save replay icon */
  880. * [themeID="replayIconSmall"] {
  881. qproperty-icon: url(./Dark/save.svg);
  882. }
  883. /* Studio Mode T-Bar */
  884. QSlider[themeID="tBarSlider"] {
  885. height: 28px;
  886. }
  887. QSlider::groove:horizontal[themeID="tBarSlider"] {
  888. height: 5px;
  889. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  890. stop: 0 rgb(31,30,31),
  891. stop: 0.75 rgb(50, 49, 50));
  892. border: none;
  893. border-radius: 2px;
  894. }
  895. QSlider::sub-page:horizontal[themeID="tBarSlider"] {
  896. height: 5px;
  897. background-color: QLinearGradient(x1: 0, y1: 0, x2: 0, y2: 1,
  898. stop: 0 rgb(31,30,31),
  899. stop: 0.75 rgb(50, 49, 50));
  900. border: none;
  901. border-radius: 2px;
  902. }
  903. QSlider::handle:horizontal[themeID="tBarSlider"] {
  904. background-color: #d2d2d2;
  905. width: 14px;
  906. height: 28px;
  907. margin: -28px 0px;
  908. }
  909. /* Media icons */
  910. * [themeID="playIcon"] {
  911. qproperty-icon: url(./Dark/media/media_play.svg);
  912. }
  913. * [themeID="pauseIcon"] {
  914. qproperty-icon: url(./Dark/media/media_pause.svg);
  915. }
  916. * [themeID="restartIcon"] {
  917. qproperty-icon: url(./Dark/media/media_restart.svg);
  918. }
  919. * [themeID="stopIcon"] {
  920. qproperty-icon: url(./Dark/media/media_stop.svg);
  921. }
  922. * [themeID="nextIcon"] {
  923. qproperty-icon: url(./Dark/media/media_next.svg);
  924. }
  925. * [themeID="previousIcon"] {
  926. qproperty-icon: url(./Dark/media/media_previous.svg);
  927. }