System.obt 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. /* Intentionally left blank */
  2. /* Themes are created using Qt CSS, you can visit */
  3. /* http://doc.qt.io/qt-5/stylesheet-reference.html and */
  4. /* http://doc.qt.io/qt-5/stylesheet-examples.html for examples. */
  5. /* OBS will use the theme filename for the settings. */
  6. /* You can ship images using relative paths in qss. */
  7. /* Dark Theme is a good place to start if you need */
  8. /* a template. */
  9. @OBSThemeMeta {
  10. name: 'System';
  11. id: 'com.obsproject.System';
  12. author: 'Warchamp7';
  13. }
  14. .bg-base {
  15. background-color: #DCD9D7;
  16. }
  17. .text-heading {
  18. font-size: 36px;
  19. font-weight: bold;
  20. }
  21. .text-large {
  22. font-size: 16px;
  23. }
  24. .text-bright {
  25. color: var(--primary_light);
  26. }
  27. /* We need to set back the icons, or the preview wont stick. */
  28. .icon-plus {
  29. qproperty-icon: url(:/res/images/plus.svg);
  30. }
  31. .icon-minus {
  32. qproperty-icon: url(:/res/images/minus.svg);
  33. }
  34. .icon-trash {
  35. qproperty-icon: url(:/res/images/trash.svg);
  36. }
  37. .icon-clear {
  38. qproperty-icon: url(:/res/images/entry-clear.svg);
  39. }
  40. .icon-gear {
  41. qproperty-icon: url(:/res/images/settings/general.svg);
  42. }
  43. .icon-dots-vert {
  44. qproperty-icon: url(:/res/images/dots-vert.svg);
  45. }
  46. .icon-refresh {
  47. qproperty-icon: url(:/res/images/refresh.svg);
  48. }
  49. .icon-cogs {
  50. qproperty-icon: url(:/res/images/cogs.svg);
  51. }
  52. .icon-touch {
  53. qproperty-icon: url(:/res/images/interact.svg);
  54. }
  55. .icon-up {
  56. qproperty-icon: url(:/res/images/up.svg);
  57. }
  58. .icon-down {
  59. qproperty-icon: url(:/res/images/down.svg);
  60. }
  61. .icon-filter {
  62. qproperty-icon: url(:/res/images/filter.svg);
  63. }
  64. .icon-revert {
  65. qproperty-icon: url(:res/images/revert.svg);
  66. }
  67. .indicator-expand {
  68. background: transparent;
  69. outline: none;
  70. }
  71. .indicator-expand::indicator {
  72. width: 10px;
  73. height: 10px;
  74. }
  75. .indicator-expand::indicator:checked {
  76. image: url(:/res/images/expand.svg);
  77. }
  78. .indicator-expand::indicator:unchecked {
  79. image: url(:/res/images/collapse.svg);
  80. }
  81. /* Volume Control */
  82. VolumeMeter {
  83. qproperty-backgroundNominalColor: rgb(15, 100, 15);
  84. qproperty-backgroundWarningColor: rgb(100, 100, 15);
  85. qproperty-backgroundErrorColor: rgb(100, 15, 15);
  86. qproperty-foregroundNominalColor: rgb(50, 200, 50);
  87. qproperty-foregroundWarningColor: rgb(255, 200, 50);
  88. qproperty-foregroundErrorColor: rgb(200, 50, 50);
  89. qproperty-magnitudeColor: rgb(0, 0, 0);
  90. qproperty-majorTickColor: rgb(0, 0, 0);
  91. qproperty-minorTickColor: rgb(50, 50, 50);
  92. }
  93. /* Label warning/error */
  94. .text-warning {
  95. color: rgb(192, 128, 0);
  96. }
  97. .text-danger {
  98. color: rgb(192, 0, 0);
  99. }
  100. .text-success {
  101. color: rgb(0, 128, 0);
  102. }
  103. /* macOS Separator Fix */
  104. QMainWindow::separator {
  105. background: transparent;
  106. width: 4px;
  107. height: 4px;
  108. }
  109. /* Preview background color */
  110. OBSQTDisplay {
  111. qproperty-displayBackgroundColor: rgb(76, 76, 76);
  112. }
  113. /* Preview/Program labels */
  114. .label-preview-title {
  115. font-size: 18px;
  116. font-weight: bold;
  117. color: rgb(122,121,122);
  118. }
  119. /* Settings Icons */
  120. OBSBasicSettings {
  121. qproperty-generalIcon: url(:settings/images/settings/general.svg);
  122. qproperty-appearanceIcon: url(:settings/images/settings/appearance.svg);
  123. qproperty-streamIcon: url(:settings/images/settings/stream.svg);
  124. qproperty-outputIcon: url(:settings/images/settings/output.svg);
  125. qproperty-audioIcon: url(:settings/images/settings/audio.svg);
  126. qproperty-videoIcon: url(:settings/images/settings/video.svg);
  127. qproperty-hotkeysIcon: url(:settings/images/settings/hotkeys.svg);
  128. qproperty-accessibilityIcon: url(:settings/images/settings/accessibility.svg);
  129. qproperty-advancedIcon: url(:settings/images/settings/advanced.svg);
  130. }
  131. OBSBasicSettings QListWidget::item {
  132. padding-top: 5px;
  133. padding-bottom: 5px;
  134. }
  135. .checkbox-icon {
  136. outline: none;
  137. background: transparent;
  138. }
  139. /* Locked CheckBox */
  140. .indicator-lock::indicator:checked {
  141. image: url(:res/images/locked.svg);
  142. }
  143. .indicator-lock::indicator:unchecked {
  144. image: url(:res/images/unlocked.svg);
  145. }
  146. /* Visibility CheckBox */
  147. .indicator-visibility::indicator:checked {
  148. image: url(:res/images/visible.svg);
  149. }
  150. .indicator-visibility::indicator:unchecked {
  151. image: url(:res/images/invisible.svg);
  152. }
  153. OBSMissingFiles {
  154. qproperty-warningIcon: url(:res/images/alert.svg);
  155. }
  156. /* Source Icons */
  157. OBSBasic {
  158. qproperty-imageIcon: url(:res/images/sources/image.svg);
  159. qproperty-colorIcon: url(:res/images/sources/brush.svg);
  160. qproperty-slideshowIcon: url(:res/images/sources/slideshow.svg);
  161. qproperty-audioInputIcon: url(:res/images/sources/microphone.svg);
  162. qproperty-audioOutputIcon: url(:settings/images/settings/audio.svg);
  163. qproperty-desktopCapIcon: url(:settings/images/settings/video.svg);
  164. qproperty-windowCapIcon: url(:res/images/sources/window.svg);
  165. qproperty-gameCapIcon: url(:res/images/sources/gamepad.svg);
  166. qproperty-cameraIcon: url(:res/images/sources/camera.svg);
  167. qproperty-textIcon: url(:res/images/sources/text.svg);
  168. qproperty-mediaIcon: url(:res/images/sources/media.svg);
  169. qproperty-browserIcon: url(:res/images/sources/globe.svg);
  170. qproperty-groupIcon: url(:res/images/sources/group.svg);
  171. qproperty-sceneIcon: url(:res/images/sources/scene.svg);
  172. qproperty-defaultIcon: url(:res/images/sources/default.svg);
  173. qproperty-audioProcessOutputIcon: url(:res/images/sources/windowaudio.svg);
  174. }
  175. /* Scene Tree */
  176. SceneTree {
  177. qproperty-gridItemWidth: 150;
  178. qproperty-gridItemHeight: 24;
  179. }
  180. /* Save icon */
  181. .icon-save {
  182. qproperty-icon: url(:res/images/save.svg);
  183. }
  184. /* Studio Mode T-Bar */
  185. .slider-tbar {
  186. height: 24px;
  187. }
  188. .slider-tbar::groove:horizontal {
  189. border: 1px solid #4c4c4c;
  190. height: 5px;
  191. background: #DCD9D7;
  192. }
  193. .slider-tbar::sub-page:horizontal {
  194. background: #DCD9D7;
  195. border: 1px solid #4c4c4c;
  196. }
  197. .slider-tbar::handle:horizontal {
  198. background-color: #4c4c4c;
  199. width: 12px;
  200. height: 24px;
  201. margin: -24px 0px;
  202. }
  203. /* Source Context */
  204. #contextContainer QPushButton {
  205. padding: 3px 10px;
  206. }
  207. #contextContainer QPushButton#sourcePropertiesButton {
  208. qproperty-icon: url(:/settings/images/settings/general.svg);
  209. }
  210. #contextContainer QPushButton#sourceFiltersButton {
  211. qproperty-icon: url(:/res/images/filter.svg);
  212. }
  213. #contextContainer QPushButton#sourceInteractButton {
  214. qproperty-icon: url(:/res/images/interact.svg);
  215. }
  216. /* Media icons */
  217. .icon-media-play {
  218. qproperty-icon: url(:res/images/media/media_play.svg);
  219. }
  220. .icon-media-pause {
  221. qproperty-icon: url(:res/images/media/media_pause.svg);
  222. }
  223. .icon-media-restart {
  224. qproperty-icon: url(:res/images/media/media_restart.svg);
  225. }
  226. .icon-media-stop {
  227. qproperty-icon: url(:res/images/media/media_stop.svg);
  228. }
  229. .icon-media-next {
  230. qproperty-icon: url(:res/images/media/media_next.svg);
  231. }
  232. .icon-media-prev {
  233. qproperty-icon: url(:res/images/media/media_previous.svg);
  234. }
  235. /* YouTube Integration */
  236. OBSYoutubeActions {
  237. qproperty-thumbPlaceholder: url(:res/images/sources/image.svg);
  238. }
  239. #ytEventList QLabel {
  240. background-color: #e1e1e1;
  241. border: 1px solid #ddd;
  242. }
  243. #ytEventList QLabel:hover {
  244. background-color: #eee;
  245. border: 1px solid #777;
  246. }
  247. #ytEventList .row-selected {
  248. background-color: #ccc;
  249. border: 1px solid #444;
  250. }
  251. /* Calendar Widget */
  252. QCalendarWidget QToolButton {
  253. padding: 0px 12px;
  254. }
  255. #qt_calendar_monthbutton::menu-indicator {
  256. image: url(:/res/images/down.svg);
  257. subcontrol-position: right;
  258. padding-top: 2px;
  259. padding-right: 2px;
  260. height: 8px;
  261. width: 8px;
  262. }
  263. #qt_calendar_monthbutton::menu-indicator:hover {
  264. image: url(:/res/images/down.svg);
  265. color: red;
  266. }
  267. QCalendarWidget #qt_calendar_prevmonth {
  268. padding: 2px;
  269. qproperty-icon: url(:/res/images/left.svg);
  270. icon-size: 16px;
  271. }
  272. QCalendarWidget #qt_calendar_nextmonth {
  273. padding: 2px;
  274. qproperty-icon: url(:/res/images/right.svg);
  275. icon-size: 16px;
  276. }
  277. /* Status Bar */
  278. StatusBarWidget > QFrame {
  279. padding: 0px 12px 8px;
  280. }
  281. idian--ToggleSwitch {
  282. qproperty-handle: rgb(255, 255, 255);
  283. qproperty-backgroundActive: #284cb8;
  284. qproperty-backgroundInactive: #3c404b;
  285. }
  286. idian--Group {
  287. border-radius: 4px;
  288. font-weight: bold;
  289. }
  290. idian--Group > QLabel.title {
  291. font-weight: bold;
  292. }
  293. idian--Group > QLabel.subtitle {
  294. color: palette(button-text);
  295. }
  296. idian--PropertiesList {
  297. background: palette(base);
  298. border-radius: 4px;
  299. border-width: 0px;
  300. padding: 0px;
  301. margin: 0px;
  302. }
  303. idian--GenericRow {
  304. margin: 0;
  305. padding: 0;
  306. border-left: 3px solid transparent;
  307. min-height: 48px;
  308. background: transparent;
  309. }
  310. idian--GenericRow:hover {
  311. background: palette(highlight);
  312. border-left: 0;
  313. }
  314. idian--GenericRow[last="true"]:hover {
  315. border-bottom-left-radius: 4px;
  316. border-bottom-right-radius: 4px;
  317. }
  318. idian--GenericRow[first="true"]:hover {
  319. border-top-left-radius: 4px;
  320. border-top-right-radius: 4px;
  321. }
  322. idian--GenericRow > QLabel {
  323. font-weight: 500;
  324. }
  325. idian--GenericRow > QLabel.subtitle {
  326. font-size: 9pt;
  327. color: palette(button-text);
  328. }
  329. idian--GenericRow QComboBox,
  330. idian--GenericRow QPushButton {
  331. margin: 0;
  332. }
  333. idian--GenericRow QComboBox,
  334. idian--GenericRow QComboBox:hover,
  335. idian--GenericRow QComboBox:selected,
  336. idian--GenericRow QComboBox::on {
  337. background: transparent;
  338. }
  339. idian--GenericRow QComboBox::drop-down {
  340. border: none;
  341. }
  342. idian--GenericRow QComboBox::down-arrow {
  343. image: url(./Light/collapse.svg);
  344. }
  345. idian--PropertiesListSpacer {
  346. max-height: 1px;
  347. min-height: 1px;
  348. background-color: palette(midlight);
  349. }
  350. idian--CollapsibleRow {
  351. margin: 0;
  352. padding: 0;
  353. border: none;
  354. }
  355. idian--CollapsibleRow idian--PropertiesList {
  356. border-radius: 0;
  357. background: palette(mid);
  358. }
  359. IdianPlayground QVBoxLayout {
  360. background: palette(midlight);
  361. border-radius: 4px;
  362. padding-top: 32px;
  363. padding-bottom: 8px;
  364. font-weight: bold;
  365. margin-bottom: 6px;
  366. }