@@ -36,7 +36,7 @@ QMenuBar::item:selected
36
36
{
37
37
/*
38
38
background: transparent;
39
- border: 1px solid #ffaa00 ;
39
+ border: 1px solid @hover ;
40
40
*/
41
41
background: #444;
42
42
}
@@ -118,10 +118,9 @@ QLineEdit
118
118
color: #111;
119
119
}
120
120
121
- QPushButton
121
+ QPushButton
122
122
{
123
123
color: #b1b1b1;
124
- /* background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);*/
125
124
border-width: 1px;
126
125
border-color: #1e1e1e;
127
126
border-style: solid;
@@ -131,17 +130,49 @@ QPushButton
131
130
padding-right: 5px;
132
131
}
133
132
134
- QPushButton:pressed
133
+ QToolButton
135
134
{
136
- /* background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);*/
135
+ color: #b1b1b1;
136
+ padding: 3px 5px 3px 5px;
137
+ font-size: 12px;
138
+ border-width: 1px;
139
+ border-color: #1e1e1e;
140
+ border-style: solid;
141
+ background-color:@itembackground;
142
+ }
143
+ QToolButton[popupMode="1"]
144
+ {
145
+ padding-right: 18px;
146
+ }
147
+ QToolButton::menu-button {
148
+ width: 14px;
149
+ border-width: 1px;
150
+ border-color: none;
151
+ background: none;
152
+ }
153
+ QToolButton::hover, QToolButton::menu-button::hover
154
+ {
155
+ border-width: 1px;
156
+ border-color: #1e1e1e;
157
+ border-style: solid;
158
+ background-color:@itembackground;
159
+ }
160
+ QToolButton::menu-arrow
161
+ {
162
+ image: url(icons/down_arrow.png);
163
+ }
164
+ QToolBar QToolButton, QToolButton::menu-button
165
+ {
166
+ border:0;
167
+ background-color: none;
137
168
}
138
169
139
170
/* ==================================================================================== */
140
171
/* COMBO BOX */
141
172
/* ==================================================================================== */
142
173
143
174
QComboBox {
144
- selection-background-color: #ffaa00 ;
175
+ selection-background-color: @hover ;
145
176
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
146
177
border-style: solid;
147
178
border: 1px solid #1e1e1e;
@@ -167,7 +198,7 @@ QComboBox:on {
167
198
stop: 0.5 #464646,
168
199
stop: 0.9 #414141,
169
200
stop: 1 #444);
170
- selection-background-color: #ffaa00 ;
201
+ selection-background-color: @hover ;
171
202
}
172
203
173
204
QComboBox:editable {
@@ -216,7 +247,7 @@ QScrollBar:horizontal {
216
247
217
248
QScrollBar::handle:horizontal {
218
249
border: 1px solid #111;
219
- background: #535353 ;
250
+ background: @itembackground ;
220
251
}
221
252
222
253
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal,
@@ -233,7 +264,7 @@ QScrollBar:vertical {
233
264
234
265
QScrollBar::handle:vertical {
235
266
border: 1px solid #111;
236
- background: #535353 ;
267
+ background: @itembackground ;
237
268
}
238
269
239
270
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
@@ -412,60 +443,86 @@ QTabBar::tab:selected
412
443
413
444
QTabBar::tab:!selected:hover
414
445
{
415
- /*border-top: 2px solid #ffaa00 ;
446
+ /*border-top: 2px solid @hover ;
416
447
padding-bottom: 3px;*/
417
448
/*background-color: QLinearGradient(x1:0, y1:0, x2:0, y2:1, stop:1 #212121, stop:0.4 #343434, stop:0.2 #343434, stop:0.1 #ffaa00);*/
418
449
}
419
450
451
+ QGroupBox::indicator:hover,
452
+ QCheckBox::indicator:hover,
453
+ QRadioButton::indicator:hover
454
+ {
455
+ border: 1px solid @hover;
456
+ }
457
+
420
458
/* ==================================================================================== */
421
- /* RADIO BUTTON */
459
+ /* GROUP */
422
460
/* ==================================================================================== */
423
461
424
- QGroupBox::indicator:unchecked,
425
- QGroupBox::indicator:checked,
426
- QCheckBox::indicator:checked,
427
- QCheckBox::indicator:unchecked
428
- QRadioButton::indicator:checked,
429
- QRadioButton::indicator:unchecked{
430
- color: #b1b1b1;
431
- background-color: @background;
432
- border: 1px solid #b1b1b1;
462
+ QGroupBox::title { color:#FFFFFF; }
463
+
464
+ QGroupBox::indicator:unchecked {
465
+ background-color: @toggleoff;
433
466
}
434
467
435
- QGroupBox::indicator:checked,
436
- QCheckBox::indicator:checked
437
- {
438
- background-color: qradialgradient(
439
- cx: 0.5, cy: 0.5,
440
- fx: 0.5, fy: 0.5,
441
- radius: 1.0,
442
- stop: 0.25 #ffaa00,
443
- stop: 0.3 @background
444
- ) ;
468
+ QGroupBox::indicator:checked {
469
+ background-color: @toggleon;
470
+ }
471
+ /* ==================================================================================== */
472
+ /* RADIO BUTTON */
473
+ /* ==================================================================================== */
474
+
475
+ QRadioButton::indicator:unchecked {
476
+ background-color: @toggleoff;
477
+ border-radius:10px ;
445
478
}
479
+
446
480
QRadioButton::indicator:checked {
447
- background-color: qradialgradient(
448
- cx: 0.5, cy: 0.5,
449
- fx: 0.5, fy: 0.5,
450
- radius: 1.0,
451
- stop: 0.25 #ffaa00,
452
- stop: 0.3 @background
453
- );
481
+ background-color: @toggleon;
482
+ border-radius:10px;
454
483
}
455
484
456
- QRadioButton::indicator
457
- {
485
+ /* ==================================================================================== */
486
+ /* CHECKBOX */
487
+ /* ==================================================================================== */
488
+
489
+ QCheckBox::indicator:unchecked {
490
+ background-color: @toggleoff;
458
491
}
459
492
460
- QGroupBox::indicator:hover,
461
- QCheckBox::indicator:hover,
462
- QRadioButton::indicator:hover
463
- {
464
- border: 1px solid #ffaa00;
493
+ QCheckBox::indicator:checked {
494
+ background-color: @toggleon;
465
495
}
466
496
467
497
/* ==================================================================================== */
468
- /* CHECKBOX */
498
+ /* SLIDER */
499
+ /* ==================================================================================== */
500
+
501
+ QSlider::groove:horizontal,
502
+ QSlider::groove:vertical {
503
+ border: 1px solid #262626;
504
+ height: 8px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
505
+ background-color: @itembackground;
506
+ margin: 2px 0;
507
+ }
508
+
509
+ QSlider::handle:horizontal {
510
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
511
+ border: 1px solid #5c5c5c;
512
+ width: 18px;
513
+ margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
514
+ border-radius: 3px;
515
+ }
516
+ QSlider::handle:vertical {
517
+ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
518
+ border: 1px solid #5c5c5c;
519
+ height: 18px;
520
+ margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
521
+ border-radius: 3px;
522
+ }
523
+
524
+ /* ==================================================================================== */
525
+ /* OTHER */
469
526
/* ==================================================================================== */
470
527
471
528
QAbstractItemView
@@ -497,12 +554,12 @@ QTreeView::item, QTreeView::branch {
497
554
}
498
555
499
556
QTreeView::item:hover, QTreeView::branch:hover {
500
- background-color: #507098 ;
557
+ background-color: @toggleoff ;
501
558
color: #DDD;
502
559
}
503
560
504
561
QTreeView::item:selected, QTreeView::branch:selected {
505
- background-color: #507098 ;
562
+ background-color: @selection ;
506
563
color: #DDD;
507
564
}
508
565
0 commit comments