System.qss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. /* Intentionnally 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. /* We need to set back the icons, or the preview wont stick. */
  10. * [themeID="addIconSmall"] {
  11. qproperty-icon: url(:/res/images/plus.svg);
  12. }
  13. * [themeID="removeIconSmall"] {
  14. qproperty-icon: url(:/res/images/minus.svg);
  15. }
  16. * [themeID="propertiesIconSmall"] {
  17. qproperty-icon: url(:/settings/images/settings/general.svg);
  18. }
  19. * [themeID="configIconSmall"] {
  20. qproperty-icon: url(:/settings/images/settings/general.svg);
  21. }
  22. * [themeID="upArrowIconSmall"] {
  23. qproperty-icon: url(:/res/images/up.svg);
  24. }
  25. * [themeID="refreshIconSmall"] {
  26. qproperty-icon: url(:/res/images/refresh.svg);
  27. }
  28. * [themeID="downArrowIconSmall"] {
  29. qproperty-icon: url(:/res/images/down.svg);
  30. }
  31. MuteCheckBox {
  32. outline: none;
  33. }
  34. MuteCheckBox::indicator:checked {
  35. image: url(:/res/images/mute.svg);
  36. }
  37. MuteCheckBox::indicator:unchecked {
  38. image: url(:/settings/images/settings/audio.svg);
  39. }
  40. SourceTreeSubItemCheckBox {
  41. background: transparent;
  42. outline: none;
  43. }
  44. SourceTreeSubItemCheckBox::indicator {
  45. width: 10px;
  46. height: 10px;
  47. }
  48. SourceTreeSubItemCheckBox::indicator:checked {
  49. image: url(:/res/images/expand.svg);
  50. }
  51. SourceTreeSubItemCheckBox::indicator:unchecked {
  52. image: url(:/res/images/down.svg);
  53. }
  54. OBSHotkeyLabel[hotkeyPairHover=true] {
  55. color: red;
  56. }
  57. /* Volume Control */
  58. VolumeMeter {
  59. qproperty-backgroundNominalColor: rgb(15, 100, 15);
  60. qproperty-backgroundWarningColor: rgb(100, 100, 15);
  61. qproperty-backgroundErrorColor: rgb(100, 15, 15);
  62. qproperty-foregroundNominalColor: rgb(50, 200, 50);
  63. qproperty-foregroundWarningColor: rgb(255, 200, 50);
  64. qproperty-foregroundErrorColor: rgb(200, 50, 50);
  65. qproperty-magnitudeColor: rgb(0, 0, 0);
  66. qproperty-majorTickColor: rgb(0, 0, 0);
  67. qproperty-minorTickColor: rgb(50, 50, 50);
  68. }
  69. /* Label warning/error */
  70. QLabel#warningLabel {
  71. color: rgb(192, 128, 0);
  72. font-weight: bold;
  73. }
  74. QLabel#errorLabel {
  75. color: rgb(192, 0, 0);
  76. font-weight: bold;
  77. }
  78. * [themeID="warning"] {
  79. color: rgb(192, 128, 0);
  80. font-weight: bold;
  81. }
  82. * [themeID="error"] {
  83. color: rgb(192, 0, 0);
  84. font-weight: bold;
  85. }
  86. * [themeID="good"] {
  87. color: rgb(0, 128, 0);
  88. font-weight: bold;
  89. }
  90. /* About dialog */
  91. * [themeID="aboutName"] {
  92. font-size: 36px;
  93. font-weight: bold;
  94. }
  95. * [themeID="aboutVersion"] {
  96. font-size: 16px;
  97. margin-bottom: 20px;
  98. }
  99. * [themeID="aboutInfo"] {
  100. margin-bottom: 20px;
  101. }
  102. * [themeID="aboutHLayout"] {
  103. background-color: #DCD9D7;
  104. }
  105. /* Preview background color */
  106. OBSQTDisplay {
  107. qproperty-displayBackgroundColor: rgb(76, 76, 76);
  108. }
  109. /* Preview/Program labels */
  110. * [themeID="previewProgramLabels"] {
  111. font-size: 18px;
  112. font-weight: bold;
  113. color: rgb(122,121,122);
  114. }
  115. /* Settings Icons */
  116. OBSBasicSettings {
  117. qproperty-generalIcon: url(:settings/images/settings/general.svg);
  118. qproperty-streamIcon: url(:settings/images/settings/stream.svg);
  119. qproperty-outputIcon: url(:settings/images/settings/output.svg);
  120. qproperty-audioIcon: url(:settings/images/settings/audio.svg);
  121. qproperty-videoIcon: url(:settings/images/settings/video.svg);
  122. qproperty-hotkeysIcon: url(:settings/images/settings/hotkeys.svg);
  123. qproperty-advancedIcon: url(:settings/images/settings/advanced.svg);
  124. }
  125. /* Locked CheckBox */
  126. LockedCheckBox {
  127. outline: none;
  128. background: transparent;
  129. }
  130. LockedCheckBox::indicator:checked {
  131. image: url(:res/images/locked.svg);
  132. }
  133. LockedCheckBox::indicator:unchecked {
  134. image: url(:res/images/unlocked.svg);
  135. }
  136. /* Visibilty CheckBox */
  137. VisibilityCheckBox {
  138. outline: none;
  139. background: transparent;
  140. }
  141. VisibilityCheckBox::indicator:checked {
  142. image: url(:res/images/visible.svg);
  143. }
  144. VisibilityCheckBox::indicator:unchecked {
  145. image: url(:res/images/invisible.svg);
  146. }