1 | 1 | | QTabWidget::pane { |
2 | | - | border-color: rgb(150,150,150); |
| 2 | + | border-color: rgba(140, 140, 140, 255); |
3 | 3 | | background-color: transparent; |
4 | 4 | | border-style: solid; |
5 | 5 | | border-top-width: 1px; |
| skipped 23 lines |
29 | 29 | | border-color: rgb(150,150,150); |
30 | 30 | | border-style: solid; |
31 | 31 | | border-bottom-width: 0px; |
32 | | - | color: rgb(101, 101, 86); |
33 | | - | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(200,200,200), stop: 0.5 rgb(200,200,200) stop:1 rgb(200, 200, 200)); |
| 32 | + | border-top-right-radius: 4px; |
| 33 | + | border-top-left-radius: 4px; |
| 34 | + | color: black; |
| 35 | + | /*background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(210,210,210), stop: 0.5 rgb(210,210,210) stop:1 rgb(230, 230, 230));*/ |
| 36 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
34 | 37 | | } |
35 | 38 | | |
36 | 39 | | QTabBar::tab:hover { |
37 | | - | color: black; |
| 40 | + | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(230,230,230), stop: 0.5 rgb(230,230,230) stop:1 rgb(250, 250, 250)); |
38 | 41 | | } |
39 | 42 | | |
40 | 43 | | QTabBar::tab:selected { |
41 | | - | background-color: white; |
42 | | - | color: rgb(141, 141, 106); |
43 | | - | } |
44 | | - | |
45 | | - | QTextEdit, |
46 | | - | QTableView, |
47 | | - | QTreeView, |
48 | | - | QListView, |
49 | | - | QPlainTextEdit { |
50 | | - | color: black; |
51 | | - | border-style: inset solid; |
52 | | - | border-color: rgb(150,150,150); |
53 | | - | border-width: 1px; |
| 44 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(127, 127, 127, 255), stop:1 rgb(170, 170, 127)); |
| 45 | + | color: white; |
54 | 46 | | } |
55 | 47 | | |
56 | 48 | | QFrame[default_frame="true"] { |
57 | 49 | | height: 45px; |
58 | 50 | | max-height: 45px; |
59 | 51 | | min-height: 45px; |
60 | | - | background: rgb(200,200,200); |
| 52 | + | background-color: rgba(170, 170, 127, 100); |
| 53 | + | border-style: solid; |
| 54 | + | border-color: rgb(150,150,150); |
| 55 | + | border-width: 1px; |
61 | 56 | | } |
62 | 57 | | |
63 | 58 | | QProgressBar { |
| skipped 2 lines |
66 | 61 | | min-height: 22px; |
67 | 62 | | text-align: center; |
68 | 63 | | color: black; |
| 64 | + | border-style: inset solid; |
| 65 | + | border-radius: 5px; |
69 | 66 | | border-width: 1px; |
70 | | - | border-color: rgb(30,30,30); |
71 | | - | border-style: solid; |
72 | | - | background-color:rgb(207,207,207); |
| 67 | + | border-color: rgb(150,150,150); |
| 68 | + | background-color:white; |
73 | 69 | | } |
74 | 70 | | |
75 | 71 | | QProgressBar::chunk { |
76 | | - | background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 white, stop: 0.3 rgb(170, 170, 127)); |
| 72 | + | border-style: inset solid; |
| 73 | + | border-radius: 5px; |
| 74 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(130, 130, 130, 255), stop:1 rgb(170, 170, 127)); |
77 | 75 | | } |
78 | 76 | | |
79 | 77 | | /****************************** ToolButton ******************************/ |
| skipped 1 lines |
81 | 79 | | min-height: 12px; |
82 | 80 | | min-width: 50px; |
83 | 81 | | padding: 1.5px; |
84 | | - | border-style: outset; |
85 | | - | border-style: solid; |
| 82 | + | border-style: inset; |
86 | 83 | | border-radius: 5px; |
| 84 | + | border-width: 1px; |
87 | 85 | | border-color: rgb(150,150,150); |
88 | | - | color: white; |
89 | | - | background: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(117, 117, 117, 255), stop:1 rgba(137, 137, 137, 255)); |
| 86 | + | border-style: solid; |
| 87 | + | color: rgb(20,20,20); |
| 88 | + | /*background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(210,210,210), stop: 0.5 rgb(210,210,210) stop:1 rgb(250, 250, 250));*/ |
| 89 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
| 90 | + | } |
| 91 | + | |
| 92 | + | QToolButton:hover { |
| 93 | + | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(220,220,220), stop: 0.5 rgb(220,220,220) stop:1 rgb(250, 250, 250)); |
| 94 | + | } |
| 95 | + | |
| 96 | + | QToolButton:pressed { |
| 97 | + | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(230,230,230), stop: 0.5 rgb(230,230,230) stop:1 rgb(250, 250, 250)); |
90 | 98 | | } |
91 | 99 | | |
92 | 100 | | QPushButton{ |
93 | | - | min-height: 20px; |
94 | | - | min-width: 73px; |
| 101 | + | min-height: 21px; |
| 102 | + | min-width: 75px; |
95 | 103 | | padding: 1px; |
96 | 104 | | border-style: inset; |
| 105 | + | border-radius: 4px; |
97 | 106 | | border-width: 1px; |
98 | 107 | | border-color: rgb(150,150,150); |
99 | 108 | | border-style: solid; |
100 | 109 | | color: rgb(20,20,20); |
101 | | - | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(200,200,200), stop: 0.5 rgb(200,200,200) stop:1 rgb(200, 200, 200)); |
| 110 | + | /*background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(210,210,210), stop: 0.5 rgb(210,210,210) stop:1 rgb(250, 250, 250));*/ |
| 111 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
102 | 112 | | } |
103 | 113 | | |
104 | | - | QAction { |
105 | | - | background: transparent; |
| 114 | + | QPushButton:disabled { |
| 115 | + | color: grey; |
| 116 | + | } |
| 117 | + | |
| 118 | + | QPushButton:hover { |
| 119 | + | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(220,220,220), stop: 0.5 rgb(220,220,220) stop:1 rgb(250, 250, 250)); |
| 120 | + | } |
| 121 | + | |
| 122 | + | QPushButton:pressed { |
| 123 | + | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(230,230,230), stop: 0.5 rgb(230,230,230) stop:1 rgb(250, 250, 250)); |
106 | 124 | | } |
107 | 125 | | |
108 | 126 | | QComboBox { |
| skipped 3 lines |
112 | 130 | | padding-right: 1px; |
113 | 131 | | padding-top: 1px; |
114 | 132 | | padding-bottom: 1px; |
| 133 | + | border-style: solid; |
| 134 | + | border-color: rgb(150,150,150); |
| 135 | + | border-width: 1px; |
| 136 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 100), stop:1 rgb(255, 255, 255)); |
| 137 | + | } |
| 138 | + | |
| 139 | + | QComboBox::drop-down { |
| 140 | + | image: url(:/img/res/icons/light_down.png); |
| 141 | + | padding-top: 3px; |
| 142 | + | padding-right: 5px; |
| 143 | + | padding-left: 5px; |
115 | 144 | | } |
116 | 145 | | |
117 | 146 | | QStatusBar { |
| skipped 12 lines |
130 | 159 | | } |
131 | 160 | | |
132 | 161 | | QMenuBar::item:disabled { |
133 | | - | color: grey; |
| 162 | + | color: rgb(220,220,220); |
134 | 163 | | } |
135 | 164 | | |
136 | 165 | | QLabel[dark="true"] { |
137 | | - | border-style: outset; |
| 166 | + | border-style: inset; |
138 | 167 | | border-style: solid; |
139 | 168 | | border-width: 1px; |
140 | 169 | | border-color: rgb(150,150,150); |
141 | | - | background-color: transparent; |
| 170 | + | background-color: rgba(170, 170, 127, 100); |
142 | 171 | | } |
143 | 172 | | |
144 | 173 | | QScrollArea { |
| skipped 3 lines |
148 | 177 | | border-color: rgb(150,150,150); |
149 | 178 | | } |
150 | 179 | | |
| 180 | + | QToolBox QWidget { |
| 181 | + | background-color: rgba(240,240,240); |
| 182 | + | } |
| 183 | + | |
151 | 184 | | QToolBox QScrollArea { |
152 | 185 | | border-style: solid; |
153 | 186 | | border-width: 1px; |
154 | | - | border-color: rgb(150,150,150); |
155 | 187 | | } |
156 | 188 | | |
157 | 189 | | QToolBox::tab { |
158 | 190 | | padding-left: 12px; |
159 | | - | color: rgb(101, 101, 86); |
160 | | - | background: qlineargradient(x1:0, y1:0, x2:0, y2:1,stop:0 rgb(250, 250, 250),stop: 0.4 rgb(200,200,200), stop: 0.5 rgb(200,200,200) stop:1 rgb(200, 200, 200)); |
| 191 | + | color: black; |
| 192 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
161 | 193 | | border-style: solid; |
162 | 194 | | border-width: 1px; |
163 | 195 | | border-color: rgb(150,150,150); |
164 | 196 | | } |
165 | 197 | | |
| 198 | + | /****************************** ScrollBar ******************************/ |
| 199 | + | QScrollBar:horizontal { |
| 200 | + | height: 18px; |
| 201 | + | margin: 4px 16px 4px 16px; |
| 202 | + | border: 0; |
| 203 | + | border-radius: 4px; |
| 204 | + | background-color: transparent; |
| 205 | + | } |
| 206 | + | |
| 207 | + | QScrollBar::handle:horizontal { |
| 208 | + | background-color: rgba(170, 170, 127, 130); |
| 209 | + | min-width: 5px; |
| 210 | + | border-radius: 4px; |
| 211 | + | } |
| 212 | + | |
| 213 | + | QScrollBar::handle:horizontal:hover { |
| 214 | + | background-color: rgba(170, 170, 127, 100); |
| 215 | + | min-width: 5px; |
| 216 | + | border-radius: 4px; |
| 217 | + | } |
| 218 | + | |
| 219 | + | QScrollBar::add-line:horizontal { |
| 220 | + | margin: 0px 3px 0px 3px; |
| 221 | + | border-image: url(:/light_theme/res/themes/light/right.png); |
| 222 | + | height: 10px; |
| 223 | + | width: 10px; |
| 224 | + | subcontrol-position: right; |
| 225 | + | subcontrol-origin: margin; |
| 226 | + | } |
| 227 | + | |
| 228 | + | QScrollBar::sub-line:horizontal { |
| 229 | + | margin: 0px 3px 0px 3px; |
| 230 | + | border-image: url(:/light_theme/res/themes/light/left.png); |
| 231 | + | height: 10px; |
| 232 | + | width: 10px; |
| 233 | + | subcontrol-position: left; |
| 234 | + | subcontrol-origin: margin; |
| 235 | + | } |
| 236 | + | |
| 237 | + | QScrollBar::add-line:horizontal:hover, |
| 238 | + | QScrollBar::add-line:horizontal:on { |
| 239 | + | border-image: url(:/light_theme/res/themes/light/right_on.png); |
| 240 | + | height: 10px; |
| 241 | + | width: 10px; |
| 242 | + | subcontrol-position: right; |
| 243 | + | subcontrol-origin: margin; |
| 244 | + | } |
| 245 | + | |
| 246 | + | QScrollBar::sub-line:horizontal:hover, |
| 247 | + | QScrollBar::sub-line:horizontal:on { |
| 248 | + | border-image: url(:/light_theme/res/themes/light/left_on.png); |
| 249 | + | height: 10px; |
| 250 | + | width: 10px; |
| 251 | + | subcontrol-position: left; |
| 252 | + | subcontrol-origin: margin; |
| 253 | + | } |
| 254 | + | |
| 255 | + | QScrollBar::up-arrow:horizontal, |
| 256 | + | QScrollBar::down-arrow:horizontal, |
| 257 | + | QScrollBar::add-page:horizontal, |
| 258 | + | QScrollBar::sub-page:horizontal { |
| 259 | + | background: none; |
| 260 | + | } |
| 261 | + | |
| 262 | + | QScrollBar:vertical { |
| 263 | + | background-color: transparent; |
| 264 | + | width: 18px; |
| 265 | + | margin: 16px 4px 16px 4px; |
| 266 | + | border-radius: 4px; |
| 267 | + | } |
| 268 | + | |
| 269 | + | QScrollBar::handle:vertical { |
| 270 | + | background-color: rgba(170, 170, 127, 130); |
| 271 | + | min-height: 24px; |
| 272 | + | border-radius: 4px; |
| 273 | + | } |
| 274 | + | |
| 275 | + | QScrollBar::handle:vertical:hover { |
| 276 | + | background-color: rgba(170, 170, 127, 100); |
| 277 | + | min-height: 24px; |
| 278 | + | border-radius: 4px; |
| 279 | + | } |
| 280 | + | |
| 281 | + | QScrollBar::sub-line:vertical { |
| 282 | + | margin: 3px 0px 3px 0px; |
| 283 | + | border-image: url(:/light_theme/res/themes/light/up.png); |
| 284 | + | height: 10px; |
| 285 | + | width: 10px; |
| 286 | + | subcontrol-position: top; |
| 287 | + | subcontrol-origin: margin; |
| 288 | + | } |
| 289 | + | |
| 290 | + | QScrollBar::add-line:vertical { |
| 291 | + | margin: 3px 0px 3px 0px; |
| 292 | + | border-image: url(:/light_theme/res/themes/light/down.png); |
| 293 | + | height: 10px; |
| 294 | + | width: 10px; |
| 295 | + | subcontrol-position: bottom; |
| 296 | + | subcontrol-origin: margin; |
| 297 | + | } |
| 298 | + | |
| 299 | + | QScrollBar::sub-line:vertical:hover, |
| 300 | + | QScrollBar::sub-line:vertical:on { |
| 301 | + | border-image: url(:/light_theme/res/themes/light/up_on.png); |
| 302 | + | height: 10px; |
| 303 | + | width: 10px; |
| 304 | + | subcontrol-position: top; |
| 305 | + | subcontrol-origin: margin; |
| 306 | + | } |
| 307 | + | |
| 308 | + | QScrollBar::add-line:vertical:hover, |
| 309 | + | QScrollBar::add-line:vertical:on { |
| 310 | + | border-image: url(:/light_theme/res/themes/light/down_on.png); |
| 311 | + | height: 10px; |
| 312 | + | width: 10px; |
| 313 | + | subcontrol-position: bottom; |
| 314 | + | subcontrol-origin: margin; |
| 315 | + | } |
| 316 | + | |
| 317 | + | QScrollBar::up-arrow:vertical, |
| 318 | + | QScrollBar::down-arrow:vertical, |
| 319 | + | QScrollBar::add-page:vertical, |
| 320 | + | QScrollBar::sub-page:vertical { |
| 321 | + | background: none; |
| 322 | + | } |
| 323 | + | |
| 324 | + | QCheckBox { |
| 325 | + | color: black; |
| 326 | + | padding: 2px; |
| 327 | + | } |
| 328 | + | |
| 329 | + | QCheckBox:disabled { |
| 330 | + | color: grey; |
| 331 | + | padding: 2px; |
| 332 | + | } |
| 333 | + | |
| 334 | + | QCheckBox::indicator:checked, |
| 335 | + | QGroupBox::indicator:checked { |
| 336 | + | border-style:solid; |
| 337 | + | border-width:1px; |
| 338 | + | border-color: rgb(150,150,150); |
| 339 | + | image: url(:/img/res/icons/checkBox.png); |
| 340 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
| 341 | + | } |
| 342 | + | |
| 343 | + | QCheckBox::indicator:unchecked, |
| 344 | + | QGroupBox::indicator:unchecked { |
| 345 | + | border-style:solid; |
| 346 | + | border-width:1px; |
| 347 | + | border-color: rgb(150,150,150); |
| 348 | + | background-color: qlineargradient(spread:pad, x1:0.5, y1:1, x2:0.5, y2:0, stop:0 rgba(170, 170, 127, 150), stop:1 rgb(255, 255, 255)); |
| 349 | + | } |
| 350 | + | |
| 351 | + | QCheckBox::indicator:disabled { |
| 352 | + | background-color: grey; |
| 353 | + | } |
| 354 | + | |
| 355 | + | QMainWindow { |
| 356 | + | background-color: rgba(240, 240, 240, 255); |
| 357 | + | } |
| 358 | + | |
| 359 | + | QDialog { |
| 360 | + | min-width: 400px; |
| 361 | + | background-color: rgba(240, 240, 240, 255); |
| 362 | + | } |
| 363 | + | |
| 364 | + | /****************************** Splitter ******************************/ |
| 365 | + | QSplitter::handle:horizontal { |
| 366 | + | background-color: transparent; |
| 367 | + | width: 8px; |
| 368 | + | } |
| 369 | + | |
| 370 | + | QSplitter::handle:vertical{ |
| 371 | + | background-color: transparent; |
| 372 | + | height: 8px; |
| 373 | + | } |
| 374 | + | |
| 375 | + | QTreeView[no_item_border="true"] { |
| 376 | + | border-style: solid; |
| 377 | + | border-width: 0px; |
| 378 | + | } |
| 379 | + | |