style.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. QWidget {
  2. background-color: #161616;
  3. color: #bcb;
  4. alternate-background-color: #2c2c2c;
  5. selection-background-color: #114411;
  6. }
  7. QWidget:disabled {
  8. color: #555;
  9. border-color: #222;
  10. }
  11. QWidget:focus {
  12. border: 1px solid #114411;
  13. border-radius: 0px;
  14. }
  15. QComboBox, QTextBrowser, QLineEdit,
  16. QTextEdit, QTableView, Button,
  17. QSpinBox, QCheckBox::indicator {
  18. border: 1px solid #444;
  19. border-radius: 0px;
  20. }
  21. QComboBox:hover, QTextBrowser:hover, QLineEdit:hover,
  22. QTextEdit:hover, QTableView:hover, Button:hover,
  23. QSpinBox:hover, QCheckBox::indicator:hover {
  24. border: 1px solid #337733;
  25. border-radius: 0px;
  26. }
  27. QLineEdit {
  28. selection-background-color: #ff0000;
  29. }
  30. /* Settings->Connection->User-agents */
  31. /* Search results */
  32. QTextEdit, QPlainTextEdit {
  33. background-color: #2c2c2c;
  34. }
  35. QToolTip {
  36. border: 1px solid #2f2f2f;
  37. border-radius: 3px;
  38. padding: 4px;
  39. background-color: #000;
  40. color: #9f9f9f;
  41. }
  42. QCheckBox {
  43. margin: 1px;
  44. }
  45. QCheckBox::indicator:checked {
  46. background-color: #225522;
  47. }
  48. QCheckBox::indicator {
  49. width: 16px;
  50. height: 16px;
  51. }
  52. /*Whitelist/blacklist/timeout item delete button*/
  53. UrlFilterWidget UrlFilterItem Button {
  54. border: 1px solid #2f2f2f;
  55. border-radius: 5px;
  56. background-color: #000;
  57. font-weight: bold;
  58. width: 16px;
  59. height: 16px;
  60. }
  61. UrlFilterLabel:hover {
  62. background-color: #2c2c2c;
  63. }
  64. UrlFilterLabel {
  65. qproperty-hoverColor: white;
  66. }
  67. /* Scrollbars*/
  68. QScrollBar {
  69. border: 1px solid #333;
  70. margin: 0px 0px 0px 0px;
  71. }
  72. QScrollBar::handle {
  73. border: 1px solid #000;
  74. border-radius: 0px;
  75. background-color: #444;
  76. }
  77. QScrollBar::add-line, QScrollBar::sub-line {
  78. background: none;
  79. }
  80. /*Scrollbar vertical*/
  81. QScrollBar:vertical {
  82. width: 16px;
  83. }
  84. QScrollBar::handle:vertical {
  85. min-height: 0px;
  86. }
  87. /*Scrollbar horizontal*/
  88. QScrollBar:horizontal {
  89. height: 16px;
  90. }
  91. QScrollBar::handle:horizontal {
  92. min-width: 0px;
  93. }
  94. /* Instances panel */
  95. QLabel#instancesHeader {
  96. width: 100%;
  97. color: white;
  98. background-color: #2c2c2c;
  99. padding: 3px;
  100. margin: 0px;
  101. }
  102. /*Table header*/
  103. QHeaderView {
  104. background-color: #000;
  105. font-weight: bold;
  106. }
  107. QHeaderView::section:inactive {
  108. background-color: #161616;
  109. font-weight: bold;
  110. }
  111. QHeaderView::section:checked {
  112. background-color: #111111;
  113. font-weight: italic;
  114. }
  115. QTableView {
  116. gridline-color: #222;
  117. }
  118. QTableView::item {
  119. border: 0px;
  120. }
  121. QTableView QTableCornerButton::section {
  122. border: 0px;
  123. width: 0px;
  124. }
  125. QTableView::item:selected {
  126. background: #4c4c4c;
  127. }
  128. /*QSplitter*/
  129. QSplitter {}
  130. QSplitter::handle {
  131. border: 1px dashed #888;
  132. margin: 6px;
  133. }
  134. /* QSplitter[orientation="2"] vertical splitter
  135. * QSplitter[orientation="1"] horizontal splitter
  136. * */
  137. QSplitter[orientation="2"] {
  138. height: 1px;
  139. }
  140. QSplitter[orientation="1"] {
  141. width: 1px;
  142. }
  143. /* QComboBox::indicator overrides Fusion
  144. * QComboBox QAbstractItemView::indicator overrides Breeze
  145. * */
  146. SearchLanguage::indicator,
  147. SearchLanguage QAbstractItemView::indicator {
  148. margin: 0px;
  149. padding: 0px;
  150. width: 16px;
  151. height: 16px;
  152. image: url(":/default/16_fav_unchecked.png");
  153. }
  154. SearchLanguage::indicator:checked,
  155. SearchLanguage QAbstractItemView::indicator:checked {
  156. image: url(":/default/16_fav.png");
  157. }
  158. /*QMenu*/
  159. QMenu::separator {
  160. margin: 6px;
  161. height: 1px;
  162. }
  163. FilterWidget > QLabel {
  164. font-weight: bold;
  165. }
  166. GuardEditRuleDialog > QLabel {
  167. font-weight: bold;
  168. margin: 2px;
  169. }