Default.qss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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/add.png);
  12. }
  13. * [themeID="removeIconSmall"] {
  14. qproperty-icon: url(:/res/images/list_remove.png);
  15. }
  16. * [themeID="propertiesIconSmall"] {
  17. qproperty-icon: url(:/res/images/properties.png);
  18. }
  19. * [themeID="configIconSmall"] {
  20. qproperty-icon: url(:/res/images/configuration21_16.png);
  21. }
  22. * [themeID="upArrowIconSmall"] {
  23. qproperty-icon: url(:/res/images/up.png);
  24. }
  25. * [themeID="refreshIconSmall"] {
  26. qproperty-icon: url(:/res/images/refresh.png);
  27. }
  28. * [themeID="downArrowIconSmall"] {
  29. qproperty-icon: url(:/res/images/down.png);
  30. }
  31. MuteCheckBox {
  32. outline: none;
  33. }
  34. MuteCheckBox::indicator:checked {
  35. image: url(:/res/images/mute.png);
  36. }
  37. MuteCheckBox::indicator:unchecked {
  38. image: url(:/res/images/unmute.png);
  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.png);
  50. }
  51. SourceTreeSubItemCheckBox::indicator:unchecked {
  52. image: url(:/res/images/collapse.png);
  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: rgb(169, 169, 169);
  104. }