1QToolTip 2{ 3 /* explicit border width is required https://bugreports.qt.io/browse/QTBUG-41313 */ 4 border: 0px; 5 color: black; 6 background: #ffffdc; 7} 8 9QDialog 10{ 11 background: white; 12} 13 14QWidget#contentWidget 15{ 16 background: white; 17} 18 19QTabWidget 20{ 21 background-color: white; 22} 23 24QTabBar::tab:selected 25{ 26 background: #2d3136; 27 color: #f1f1f1; 28} 29 30QTabBar::tab:!selected 31{ 32 background: #d0d1d1; 33 color: #5e5e5e; 34} 35 36QLabel 37{ 38 color: @mainText; 39} 40 41QListView 42{ 43 color: @mainText; 44} 45 46QTextEdit, QPlainTextEdit 47{ 48 border-color: @groundExtra; 49 border-style: solid; 50 border-width: 1px 0 1px 1px; 51 background: white; 52 color: @mainText; 53} 54 55QListWidget 56{ 57 background-color: white; 58} 59 60QMessageBox 61{ 62 background-color: white; 63} 64 65QCheckBox 66{ 67 color: black; 68} 69 70QCheckBox:disabled 71{ 72 color: grey; 73} 74 75QSpinBox, QDoubleSpinBox 76{ 77 color: @mainText; 78 background-color: white; 79} 80 81QSpinBox:disabled, QDoubleSpinBox:disabled 82{ 83 color: @mainText; 84 background-color: lightGrey; 85} 86 87QGroupBox 88{ 89 color: black; 90 background-color: white; 91 font: @bigBold; 92} 93 94QComboBox 95{ 96 color: black; 97 background-color: white; 98} 99 100QComboBox QAbstractItemView { 101 background-color: white; 102} 103 104QLineEdit 105{ 106 color: @mainText; 107 background-color: white; 108} 109 110QLineEdit:disabled 111{ 112 color: @mainText; 113 background-color: lightGrey; 114} 115 116QScrollArea 117{ 118 background-color: white; 119} 120 121QScrollArea > QWidget > QWidget 122{ 123 background: transparent; 124} 125 126QScrollArea::corner 127{ 128 background-color: white; 129 border: none; 130} 131 132QScrollBar:vertical 133{ 134 background: transparent; 135 width: 12px; 136 margin-top: 2px; 137 margin-bottom: 2px; 138} 139 140/* using last is a bit of a hack, but QTabBar otherwise doesn't allow selecting single tabs */ 141QTabBar::tab:last:!selected[update-available=true] 142{ 143 background-color: #80c580; 144} 145 146QPushButton#updateAvailableButton 147{ 148 background-color: #21da21; 149} 150 151QScrollBar::handle:vertical 152{ 153 background-color: #d1d1d1; 154 min-height: 20px; 155 border-radius: 3px; 156 margin-left: 2px; 157} 158 159QScrollBar::handle:vertical:hover 160{ 161 background-color: #e3e3e3; 162} 163 164QScrollBar::handle:vertical:pressed 165{ 166 background-color: #b1b1b1; 167} 168 169QScrollBar::add-line:vertical 170{ 171 background-color: white; 172 height: 0px; 173 subcontrol-position: bottom; 174 subcontrol-origin: margin; 175} 176 177QScrollBar::sub-line:vertical 178{ 179 background-color: white; 180 height: 0px; 181 subcontrol-position: top; 182 subcontrol-origin: margin; 183} 184 185QScrollBar:QScrollBar::down-arrow:vertical 186{ 187 width: 10; 188 height: 10px; 189 background-color: white; 190} 191 192QScrollBar:QScrollBar::up-arrow:vertical 193{ 194 width: 10px; 195 height: 10px; 196 background-color: white; 197} 198 199QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical 200{ 201 background: none; 202} 203 204QScrollBar:horizontal 205{ 206 background-color: white; 207 height: 10px; 208 margin: 0 2px 0 2px; 209} 210 211QScrollBar::handle:horizontal 212{ 213 background-color: #d1d1d1; 214 min-width: 20px; 215 border-radius: 2px; 216} 217 218QScrollBar::handle:horizontal:hover 219{ 220 background-color: #e3e3e3; 221} 222 223QScrollBar::handle:horizontal:pressed 224{ 225 background-color: #b1b1b1; 226} 227 228QScrollBar::add-line:horizontal 229{ 230 background-color: white; 231 width: 0px; 232 subcontrol-position: right; 233 subcontrol-origin: margin; 234} 235 236QScrollBar::sub-line:horizontal 237{ 238 background-color: white; 239 width: 0px; 240 subcontrol-position: left; 241 subcontrol-origin: margin; 242} 243 244QScrollBar:QScrollBar::down-arrow:horizontal 245{ 246 width: 10; 247 height: 10px; 248 background-color: white; 249} 250 251QScrollBar:QScrollBar::up-arrow:horizontal 252{ 253 width: 10px; 254 height: 10px; 255 background-color: white; 256} 257 258QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal 259{ 260 background: none; 261} 262 263QRadioButton 264{ 265 background: white; 266 color: black; 267} 268 269QPushButton 270{ 271 background: #ebebeb; 272 color: @mainText; 273} 274 275QSplitter:handle 276{ 277 color: white; 278 background-color: white; 279} 280