FreeCAD

Форк
0
/
FreeCAD Light.qss 
2803 строки · 73.0 Кб
1
/*
2
ABOUT
3
============================================================================================================
4
Revised stylesheet based on the original from Pablo Gil Fernández made by MisterMaker
5

6
KNOWN BUGS and TO DO
7
============================================================================================================
8
Please, follow the link to get updated information:
9
https://forum.freecad.org/viewtopic.php?t=78431
10

11
INSTALLATION WHEN NECESSARY
12
============================================================================================================
13
1) Place the .qss files and /images/ folder in the path that fits your OS:
14
    OSX = /Users/[YOUR_USER_NAME]/Library/Preferences/FreeCAD/Gui/Stylesheets/
15
    WINDOWS = C:/[INSTALLATION_PATH]/FreeCAD/data/Gui/Stylesheets/
16
    LINUX = /home/[YOUR_USER_NAME]/.FreeCAD/Gui/Stylesheets/
17

18
============================================================================================================
19
FOLLOWING CODES ARE CHANGED IN THE SETTINGS:
20
  @ThemeAccentColor1
21
  @ThemeAccentColor2
22
  @ThemeAccentColor3
23
See Qt documentation:
24

25
  - https://doc.qt.io/qt-5/stylesheet.html
26
  - https://doc.qt.io/qt-5/stylesheet-reference.html
27
  - https://doc.qt.io/qt-5/stylesheet-examples.html
28

29
--------------------------------------------------------------------------- */
30

31

32
/* Reset elements ------------------------------------------------------------
33

34
Resetting everything helps to unify styles across different operating systems
35

36
--------------------------------------------------------------------------- */
37
* {
38
  padding: 0px;
39
  margin: 0px;
40
  border: 0px;
41
  border-style: none;
42
  border-image: none;
43
  outline: 0;
44
  color: black;
45
  selection-background-color: @ThemeAccentColor1;
46
  selection-color: black;
47
}
48

49
/* specific reset for elements inside QToolBar */
50
QToolBar * {
51
  margin: 0px;
52
  padding: 0px;
53
}
54

55
/*hacks */
56

57
Gui--PropertyEditor--PropertyEditor QLineEdit:read-only,
58
Gui--PropertyEditor--PropertyEditor QLineEdit:disabled,
59
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:read-only,
60
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox:disabled {
61
    color: transparent;
62
    border-color: transparent;
63
    background-color: #ababab;
64
    selection-color: transparent;
65
    selection-background-color: transparent;
66
    border-radius: 2px;
67
}
68

69
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel,
70
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel:disabled {
71
    color: transparent;
72
    background-color: transparent;
73
    border: none;
74
    border-radius: 2px;
75
    margin: 0px;
76
    padding: 0px;
77
}
78

79
Gui--PropertyEditor--PropertyEditor QSpinBox,
80
Gui--PropertyEditor--PropertyEditor QDoubleSpinBox,
81
Gui--PropertyEditor--PropertyEditor QAbstractSpinBox,
82
Gui--PropertyEditor--PropertyEditor QLineEdit,
83
Gui--PropertyEditor--PropertyEditor QComboBox {
84
    margin-left: 0px;
85
    margin-right: 0px;
86
    padding: 0 2px;
87
    border-radius: 2px;
88
}
89

90
/* fix for column items background when a link is present */
91
Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus {
92
  background-color: @ThemeAccentColor2; /* same as focused background color */
93
}
94

95
/* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */
96
Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel {
97
	color: #000000;
98
	background-color: #ACC8E5; /* same as focused background color */
99
  border-radius: 2px;
100
}
101

102
/*==================================================================================================
103
Main window
104
==================================================================================================*/
105
QMainWindow,
106
QDialog,
107
QDockWidget,
108
QToolBar  {
109
    background-color: #f0f0f0; /* main background color */
110
}
111

112
QMdiArea {
113
  /* background-image: url(qss:images_classic/background_freecad_light.png);
114
  background-position: center center;
115
  background-repeat: no-repeat; */
116
}
117
/*navgation src/Mod/Tux/NavigationIndicatorGui.py */
118
Gui--NavigationIndicatorGui--BlenderNavigationStyle {
119
/*QAction#a4 {*/
120
  qproperty-icon: url(:/icons/icons/NavigationBlender_dark.svg);
121
}
122

123
/* QWidget ----------------------------------------------------------------
124
This causes much load time.
125
--------------------------------------------------------------------------- */
126
/* QWidget { */
127
  /* background-color: #d8d8d8; */
128
  /* border: 0px solid #ababab;
129
  padding: 0px; */
130
  /* color: black; */
131
  /* selection-background-color: @ThemeAccentColor1; */
132
  /* selection-color: black; */
133
/* } */
134

135
/* QWidget:disabled {
136
  color: #646464;
137
  selection-background-color: @ThemeAccentColor1;
138
  selection-color: #cccccc;
139
} */
140

141
QWidget::item:selected {
142
  background-color: @ThemeAccentColor1;
143
}
144

145
QColorDialog QWidget {
146
  background-color: #f0f0f0;
147
  color: black;
148
  selection-background-color: @ThemeAccentColor1;
149
  selection-color: white;
150
}
151

152
  /* Causes issue with colorselector.
153
  QWidget::item:hover:!selected {
154
    background-color: @ThemeAccentColor1;
155
  }*/
156

157
/* QMainWindow ------------------------------------------------------------
158

159
This adjusts the splitter in the dock widget, not qsplitter
160
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmainwindow
161

162
--------------------------------------------------------------------------- */
163
QMainWindow::separator {
164
  border: 0px solid #ababab;
165
  spacing: 0px;
166
  padding: 1px;
167
}
168

169
QMainWindow::separator:vertical:hover {
170
  image: url(qss:images_classic/splitter_vertical-lightgray.png);
171
}
172

173
QMainWindow::separator:horizontal:hover {
174
  image: url(qss:images_classic/splitter_horizontal-lightgray.png);
175
}
176

177
QMainWindow::separator:horizontal {
178
  width: 4px;
179
  margin-top: 0.1px;
180
  margin-bottom: 0.1px;
181
}
182

183
QMainWindow::separator:vertical {
184
  height: 4px;
185
  margin-left: 0.1px;
186
  margin-right: 0.1px;
187
}
188

189
/* QToolTip ---------------------------------------------------------------
190

191
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtooltip
192

193
--------------------------------------------------------------------------- */
194
QToolTip {
195
  background-color: #FFFFE1;
196
  color: black;
197
  /* If you remove the border property, background stops working on Windows */
198
  border: none;
199
  font-weight:bolder;
200
  border-top-width: 1px;
201
  border-left-width: 1px;
202
  border-right-width: 1.5px;
203
  border-bottom-width: 1.5px;
204
  border-style: solid;
205
  border-color: #e6e6e6;
206
  /* Remove padding, for fix combo box tooltip */
207
  padding: 0px;
208
  /* Remove opacity, fix #174 - may need to use RGBA */
209
  /* border-radius: 4px; */
210
}
211

212
/* QStatusBar -------------------------------------------------------------
213

214
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qstatusbar
215

216
--------------------------------------------------------------------------- */
217
QStatusBar {
218
  border: 0px solid #ededed;
219
  /* Fixes Spyder #9120, #9121 */
220
  background-color: #f0f0f0;
221
  /* Fixes #205, white vertical borders separating items */
222
}
223

224
QStatusBar::item {
225
  border: none;
226
}
227

228
QStatusBar QToolTip {
229
  background-color: #f0f0f0;
230
  border: 1px solid #ababab;
231
  color: #000000;
232
  /* Remove padding, for fix combo box tooltip */
233
  padding: 0px;
234
  /* Reducing transparency to read better */
235
  opacity: 230;
236
}
237

238
QStatusBar QLabel {
239
  /* Fixes Spyder #9120, #9121 */
240
  background-color: transparent;
241
}
242

243
/* QCheckBox --------------------------------------------------------------
244

245
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox
246

247
--------------------------------------------------------------------------- */
248
QCheckBox {
249
  color: black;
250
  padding: 1px;
251
  outline: none;
252
  border: 1px solid transparent;
253
  background-color: transparent;
254
  spacing: 8px;
255
}
256

257
QCheckBox:focus {
258
  border: 1px solid @ThemeAccentColor2;
259
}
260

261
QCheckBox QWidget:disabled {
262
  color: #646464;
263
}
264

265
QCheckBox::indicator {
266
  color: black;
267
  background-color: #f0f0f0;
268
  width: 12px;
269
  height: 12px;
270
  border: 1px solid #1c1c1c;
271
}
272

273
QCheckBox::indicator:unchecked {
274
  background-color: #fdfdfd;
275
  border: 1px solid #1c1c1c;
276
}
277

278
QCheckBox::indicator:unchecked:hover, QCheckBox::indicator:unchecked:focus, QCheckBox::indicator:unchecked:pressed {
279
  background-color: @ThemeAccentColor1;
280
  border: 1px solid #1c1c1c;
281
}
282

283
QCheckBox::indicator:unchecked:disabled {
284
  background-color: #d8d8d8;
285
  border: 1px solid #646464;
286
}
287

288
QCheckBox::indicator:checked {
289
  image:url(qss:images_classic/check-mark-black.png);
290
  border: 1px solid #1c1c1c;
291
  background-color: #fdfdfd;
292
}
293

294
QCheckBox::indicator:checked:hover, QCheckBox::indicator:checked:pressed {
295
  background-color: @ThemeAccentColor1;
296
  border: 1px solid #1c1c1c;
297
}
298

299
QCheckBox::indicator:checked:disabled {
300
  background-color: #d8d8d8;
301
  border: 1px solid #ababab;
302
  image: url(qss:images_classic/check-mark-lightgray.png);
303
}
304

305
QCheckBox::indicator:indeterminate {
306
  background-color: #f0f0f0;
307
  border: 1px solid #1c1c1c;
308
  image: url(qss:images_classic/indeterminate-mark-black.png);
309
}
310

311
QCheckBox::indicator:indeterminate:disabled {
312
  background-color: #d8d8d8;
313
  border: 1px solid #ababab;
314
  image: url(qss:images_classic/indeterminate-mark-lightgray.png);
315
}
316

317
QCheckBox::indicator:indeterminate:hover, QCheckBox::indicator:indeterminate:pressed {
318
  background-color: @ThemeAccentColor1;
319
  border: 1px solid #1c1c1c;
320
}
321

322
/* QGroupBox --------------------------------------------------------------
323

324
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
325

326
--------------------------------------------------------------------------- */
327
QGroupBox {
328
  background-color: #ededed;
329
  border: 1px solid #d8d8d8;
330
  border-radius: 2px;
331
  margin-top: 18px; /* leave space at the top for the title */
332
}
333

334
QGroupBox::title {
335
  top: -18px;
336
  left: 0px;
337
}
338

339
QGroupBox::indicator {
340
  background-color: #ffffff;
341
  width: 12px;
342
  height: 12px;
343
  margin: 1px;
344
  border: 1px solid #000000;
345
}
346

347
QGroupBox::indicator:unchecked {
348
  background-color: #ffffff;
349
}
350

351
QGroupBox::indicator:unchecked:hover {
352
  background-color: @ThemeAccentColor1;
353
  border: 1px solid #000000;
354
}
355

356
QGroupBox::indicator:unchecked:focus {
357
   border: 1px solid @ThemeAccentColor2;
358
}
359

360
QGroupBox::indicator:unchecked:disabled {
361
  background-color: #d8d8d8;
362
  border: 1px solid #000000;
363
  }
364

365
QGroupBox::indicator:checked {
366
  background-color: #ffffff;
367
  border: 1px solid #000000;
368
  image:url(qss:images_classic/check-mark-black.png);
369
}
370

371
QGroupBox::indicator:checked:hover {
372
  background-color: @ThemeAccentColor1;
373
  border: 1px solid #000000;
374
}
375
QGroupBox::indicator:checked:focus {
376
   border: 1px solid @ThemeAccentColor2;
377
}
378
QGroupBox::indicator:checked:disabled {
379
  background-color: #d8d8d8;
380
  image:url(qss:images_classic/check-mark-lightgray.png);
381
  border: 1px solid #000000;
382
  }
383

384
/* QRadioButton -----------------------------------------------------------
385

386
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qradiobutton
387

388
--------------------------------------------------------------------------- */
389
QRadioButton {
390
  background-color: transparent;
391
  color: black;
392
  border: none;
393
  spacing: 8px;
394
  /* padding-top: 4px;
395
  padding-bottom: 4px; */
396
  outline: none;
397
}
398

399
QRadioButton:focus {
400
  border: 1px solid @ThemeAccentColor2;
401
}
402

403
QRadioButton:disabled {
404
  /* background-color: #d8d8d8; */
405
}
406

407
QRadioButton QWidget {
408
  background-color: transparent;
409
  color: black;
410
  spacing: 0px;
411
  padding: 0px;
412
  outline: none;
413
  border: none;
414
}
415

416
QRadioButton::indicator {
417
  border-image: none;
418
  width: 14px;
419
  height: 14px;
420
  image:url(qss:images_classic/Radio-unchecked-black.png);
421
}
422

423
QRadioButton::indicator:unchecked {
424
}
425

426
QRadioButton::indicator:unchecked:hover, QRadioButton::indicator:unchecked:pressed {
427

428
}
429

430
QRadioButton::indicator:unchecked:disabled {
431
  border-image: none;
432
  width: 14px;
433
  height: 14px;
434
  image:url(qss:images_classic/Radio-unchecked-lightgray.png);
435
}
436

437
QRadioButton::indicator:checked {
438
  border-image: none;
439
  width: 14px;
440
  height: 14px;
441
  image:url(qss:images_classic/Radio-checked-black.png);
442
}
443

444
QRadioButton::indicator:checked:hover, QRadioButton::indicator:checked:pressed {
445

446
}
447

448
QRadioButton::indicator:checked:disabled {
449
  border-image: none;
450
  width: 14px;
451
  height: 14px;
452
  image:url(qss:images_classic/Radio-checked-lightgray.png);
453
}
454

455
/* QMenuBar ---------------------------------------------------------------
456

457
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenubar
458

459
--------------------------------------------------------------------------- */
460
QMenuBar {
461
  background-color: #f0f0f0;
462
  color: black;
463
  selection-background-color: @ThemeAccentColor1;
464
}
465

466
QMenuBar:focus {
467
  border: 1px solid @ThemeAccentColor2;
468
}
469

470
QMenuBar::item {
471
  background-color: transparent;
472
}
473

474
QMenuBar::item:selected {
475
  background-color: transparent;
476
  border: 0px solid #ababab;
477
  background-color: @ThemeAccentColor1;
478
}
479

480
QMenuBar::item:pressed {
481
  border: 0px solid #ababab;
482
  background-color: @ThemeAccentColor1;
483
  color: black;
484
}
485

486
/* QMenu ------------------------------------------------------------------
487

488
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qmenu
489

490
--------------------------------------------------------------------------- */
491
QMenu {
492
  border: 1px solid #ababab;
493
  color: black;
494
  margin: 0px;
495
  background-color: #f0f0f0;
496
  selection-background-color: @ThemeAccentColor1;
497
}
498

499
QMenu::separator {
500
  height: 2px;
501
  background-color: #ededed;
502
  margin-left: 10%;
503
  margin-right: 10%;
504
}
505

506
QMenu::item {
507
  background-color: transparent;
508
  padding-left: 5px;
509
  padding-top: 4px;
510
  padding-bottom: 4px;
511
  padding-right: 50px;
512
  /* Reserve space for selection border */
513
  border: 0px transparent #ababab;
514
}
515

516
QMenu::item:selected {
517
  color: black;
518
  background-color: @ThemeAccentColor1;
519
}
520

521
QMenu::item:pressed {
522
  background-color: @ThemeAccentColor1;
523
}
524

525
QMenu::icon {
526
  margin-left: 5px;
527
  width: 14px;
528
  height: 14px;
529
}
530

531
QMenu::indicator {
532
  margin-left: 2px;
533
  margin-right: 2px;
534
  padding: 0px;
535
  width: 12px;
536
  height: 12px;
537
  /* non-exclusive indicator = check box style indicator (see QActionGroup::setExclusive) */
538
  /* exclusive indicator = radio button style indicator (see QActionGroup::setExclusive) */
539
}
540

541
QMenu::icon:checked { /* appearance of a 'checked' icon */
542
  background-color: @ThemeAccentColor2;
543
  margin-left: -5px;
544
  border: 5px solid @ThemeAccentColor2;
545
  position: absolute;
546
  border-radius: 0px;
547
}
548
QMenu::indicator:non-exclusive:unchecked {
549
  image: url(qss:images_classic/checkbox-Empty-black.png);
550
}
551

552
QMenu::indicator:non-exclusive:unchecked:hover, QMenu::indicator:non-exclusive:unchecked:focus, QMenu::indicator:non-exclusive:unchecked:pressed {
553
  border: none;
554
  background-color: @ThemeAccentColor1;
555
}
556

557
QMenu::indicator:non-exclusive:unchecked:disabled {
558
  image: url(qss:images_classic/checkbox-Empty-lightgray.png);
559
}
560

561
QMenu::indicator:non-exclusive:checked {
562
  image:url(qss:images_classic/checkbox-checked-black.png);
563
}
564

565
QMenu::indicator:non-exclusive:checked:hover, QMenu::indicator:non-exclusive:checked:focus, QMenu::indicator:non-exclusive:checked:pressed {
566
  border: none;
567
  background-color: @ThemeAccentColor1;
568
}
569

570
QMenu::indicator:non-exclusive:checked:disabled {
571
image:url(qss:images_classic/checkbox-checked-lightgray.png);
572
}
573

574
QMenu::indicator:non-exclusive:indeterminate {
575
  image: url(qss:images_classic/checkbox-indeterminate-black.png);
576
}
577

578
QMenu::indicator:non-exclusive:indeterminate:disabled {
579
  image: url(qss:images_classic/checkbox-indeterminate-black.png);
580
}
581

582
QMenu::indicator:non-exclusive:indeterminate:focus, QMenu::indicator:non-exclusive:indeterminate:hover, QMenu::indicator:non-exclusive:indeterminate:pressed {
583
  image: url(qss:images_classic/checkbox-indeterminate-black.png);
584
}
585

586
QMenu::indicator:exclusive:unchecked {
587
  image: url(qss:images_classic/transparent.png);
588
}
589

590
QMenu::indicator:exclusive:unchecked:hover, QMenu::indicator:exclusive:unchecked:focus, QMenu::indicator:exclusive:unchecked:pressed {
591
  border: none;
592
  outline: none;
593
  background-color: @ThemeAccentColor1;
594
  image: url(qss:images_classic/checkbox-Empty-black.png);
595
}
596

597
QMenu::indicator:exclusive:unchecked:disabled {
598
  image: url(qss:images_classic/checkbox-Empty-black.png);
599
}
600

601
QMenu::indicator:exclusive:checked {
602
  border: none;
603
  outline: none;
604
  image: url(qss:images_classic/Radio-checked-black.png);
605
}
606

607
QMenu::indicator:exclusive:checked:hover, QMenu::indicator:exclusive:checked:focus, QMenu::indicator:exclusive:checked:pressed {
608
  border: none;
609
  outline: none;
610
  background-color: @ThemeAccentColor1;
611
  image: url(qss:images_classic/checkbox-Empty-black.png);
612
}
613

614
QMenu::indicator:exclusive:checked:disabled {
615
  outline: none;
616
  image: url(qss:images_classic/Radio-checked-black.png);
617
}
618

619
QMenu::right-arrow {
620
  margin: 5px;
621
  padding-left: 12px;
622
  image:url(qss:images_classic/Arrow-right-black.png);
623
  height: 8px;
624
  width: 8px;
625
  background-color: transparent;
626
}
627

628
/* QAbstractItemView ------------------------------------------------------
629

630
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
631

632
--------------------------------------------------------------------------- */
633
QAbstractItemView {
634
  alternate-background-color: #f0f0f0;
635
  color: black;
636
  border: 1px solid #ababab;
637
  border-radius: 3px;
638
}
639

640
QAbstractItemView QLineEdit {
641
  padding: 0 2px;
642
}
643

644
/* QAbstractScrollArea ----------------------------------------------------
645

646
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
647

648
--------------------------------------------------------------------------- */
649
QAbstractScrollArea {
650
  background-color: transparent;
651
  border: 0px solid #ababab;
652
  border-radius: 3px;
653
  /* fix #159 */
654
  padding: 0px;
655
  /* remove min-height to fix #244 */
656
  color: black;
657
}
658

659
QAbstractScrollArea:disabled {
660
  color: #646464;
661
  /* background-color: #d8d8d8; */
662
}
663

664
/* QScrollArea ------------------------------------------------------------
665

666
---------------------------------------------------------------------------
667
text input field disabled!!!!*/
668
QScrollArea QWidget:disabled {
669
  /* background-color: #d8d8d8; */
670
  color: #646464;
671
}
672

673
/* QScrollBar -------------------------------------------------------------
674

675
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qscrollbar
676

677
--------------------------------------------------------------------------- */
678

679
QScrollBar:horizontal {
680
  height: 14px;
681
  border-right: 14px solid qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #ababab, stop:0.1 #f9f9f9, stop:0.9 #fafafa, stop:1 #ababab);
682
  border-left: 14px solid qlineargradient(x1:1, y1:0, x2:0, y2:0, stop:0 #ababab, stop:0.1 #f9f9f9, stop:0.9 #fafafa, stop:1 #ababab);
683
  border-top: 1px solid #ababab;
684
  border-bottom: 1px solid #ababab;
685
  background-color: #e6e6e6;
686
}
687

688
QScrollBar:vertical {
689
  background-color: #222222;
690
  width: 14px;
691
  border-top: 14px solid qlineargradient(x1:0, y1:1, x2:0, y2:0, stop:0 #ababab, stop:0.1 #f9f9f9, stop:0.9 #fafafa, stop:1 #ababab);
692
  border-bottom: 14px solid qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ababab, stop:0.1 #f9f9f9, stop:0.9 #fafafa, stop:1 #ababab);
693
  border-left: 1px solid #ababab;
694
  border-right: 1px solid #ababab;
695
  background-color: #e6e6e6;
696
}
697

698
QScrollBar::handle:horizontal {
699
  border-left: 1px solid #ababab;
700
  border-right: 1px solid #ababab;
701
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:1 #f2f2f2);
702
}
703

704
QScrollBar::handle:horizontal:hover {
705
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f2f2f2, stop:1 #fefefe);
706
  /* border: 1px #e6e6e6; */
707
}
708

709
QScrollBar::handle:horizontal:focus {
710
  border: 1px solid @ThemeAccentColor2;
711
}
712

713
QScrollBar::handle:vertical {
714
  border-top: 1px solid #ababab;
715
  border-bottom: 1px solid #ababab;
716
  min-height: 8px;
717
  border-radius: 0px;
718
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #fefefe, stop:1 #f2f2f2);
719
}
720

721
QScrollBar::handle:vertical:hover {
722
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f2f2f2, stop:1 #fefefe);
723
  /* border: solid 1px #e6e6e6; */
724
  border-radius: 0px;
725
  min-height: 8px;
726
}
727

728
QScrollBar::handle:vertical:focus {
729
  border: 1px solid @ThemeAccentColor2;
730
}
731

732
QScrollBar::add-line:horizontal {
733
  margin: 6px 6px;
734
  image: url(qss:images_classic/Arrow-right-lightgray.png);
735
  height: 8px;
736
  width: 4px;
737
  subcontrol-position: right;
738
  subcontrol-origin: margin;
739
}
740

741
QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on {
742
  image: url(qss:images_classic/Arrow-right-black.png);
743
  height: 8px;
744
  width: 4px;
745
  subcontrol-position: right;
746
  subcontrol-origin: margin;
747
}
748

749
QScrollBar::add-line:vertical {
750
  margin: 6px 6px;
751
  image: url(qss:images_classic/Arrow-down-lightgray.png);
752
  height: 4px;
753
  width: 8px;
754
  subcontrol-position: bottom;
755
  subcontrol-origin: margin;
756
}
757

758
QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
759
  image: url(qss:images_classic/Arrow-down-black.png);
760
  height: 4px;
761
  width: 8px;
762
  subcontrol-position: bottom;
763
  subcontrol-origin: margin;
764
}
765

766
QScrollBar::sub-line:horizontal {
767
  margin: 6px 6px;
768
  image: url(qss:images_classic/Arrow-left-lightgray.png);
769
  height: 8px;
770
  width: 4px;
771
  subcontrol-position: left;
772
  subcontrol-origin: margin;
773
}
774

775
QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
776
  image: url(qss:images_classic/Arrow-left-black.png);
777
  height: 8px;
778
  width: 4px;
779
  subcontrol-position: left;
780
  subcontrol-origin: margin;
781
}
782

783
QScrollBar::sub-line:vertical {
784
  margin: 6px 6px;
785
  image: url(qss:images_classic/Arrow-up-lightgray.png);
786
  height: 4px;
787
  width: 8px;
788
  subcontrol-position: top;
789
  subcontrol-origin: margin;
790
}
791

792
QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
793
  image: url(qss:images_classic/Arrow-up-black.png);
794
  height: 4px;
795
  width: 8px;
796
  subcontrol-position: top;
797
  subcontrol-origin: margin;
798
}
799

800
QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
801
  background-color: none;
802
}
803

804
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
805
  background-color: none;
806
}
807

808
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
809
  background-color: none;
810
}
811

812
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
813
  background-color: none;
814
}
815

816
/* QTextEdit --------------------------------------------------------------
817

818
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-specific-widgets
819

820

821
report view
822
--------------------------------------------------------------------------- */
823
QTextEdit {
824
  background-color: #ffffff;
825
  color: black;
826
  border-radius: 2px;
827
  border: 0px solid #ababab;
828
}
829

830
QTextEdit:focus {
831
  border: 1px solid @ThemeAccentColor2;
832
}
833

834
QTextEdit:selected {
835
  background-color: #346792;
836
  color: black;
837
}
838

839
/* QPlainTextEdit ---------------------------------------------------------
840
Python
841
--------------------------------------------------------------------------- */
842
QPlainTextEdit {
843
  background-color: #ffffff;
844
  color: black;
845
  border-radius: 2px;
846
  border: 0px solid #ababab;
847
}
848

849
QPlainTextEdit:focus {
850
  border: 1px solid @ThemeAccentColor2;
851
}
852

853
QPlainTextEdit:selected {
854
  background-color: @ThemeAccentColor1;
855
  color: black;
856
}
857

858
/* QSizeGrip --------------------------------------------------------------
859

860
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsizegrip
861

862
--------------------------------------------------------------------------- */
863
QSizeGrip {
864
  background-color: transparent;
865
  width: 12px;
866
  height: 12px;
867
  image:url(qss:images_classic/sizegrip-lightgray.png);
868
}
869

870
/* QStackedWidget ---------------------------------------------------------
871

872
--------------------------------------------------------------------------- */
873
QStackedWidget {
874
  padding: 0px;
875
  border: 0px solid #ababab;
876
}
877

878
/* QToolBar ---------------------------------------------------------------
879

880
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbar
881

882
--------------------------------------------------------------------------- */
883
QToolBar {
884
  background-color: #f0f0f0;
885
  /* border: 1px solid #ababab; */
886
  /* font-weight: bold; */
887
}
888

889
QToolBar:horizontal {
890
  border-bottom: 1px solid #ababab;
891
  padding-top: 3px;
892
  padding-left: 4px;
893
}
894

895
QToolBar:vertical {
896
  border-left: 1px solid #ababab;
897
  border-right: 1px solid #ababab;
898
  padding-top: 4px;
899
  padding-left: 3px;
900
}
901

902
QToolBar:disabled {
903
}
904

905
QToolBar::handle:horizontal {
906
  width: 8px;
907
  image: url(qss:images_classic/Hmovetoolbar-lightgray.png);
908
}
909

910
QToolBar::handle:vertical {
911
  height: 8px;
912
  image: url(qss:images_classic/Vmovetoolbar-lightgray.png);
913
}
914

915
QToolBar::handle:horizontal:hover {
916
  width: 8px;
917
  image: url(qss:images_classic/Hmovetoolbar-darkgray.png);
918
}
919

920
QToolBar::handle:vertical:hover {
921
  height: 8px;
922
  image: url(qss:images_classic/Vmovetoolbar-darkgray.png);
923
}
924

925
QToolBar::separator:horizontal {
926
  width: 2px;
927
  padding: 0px 3px;
928
  image: url(qss:images_classic/Hsepartoolbar-lightgray.png);
929
}
930

931
QToolBar::separator:vertical {
932
  height: 2px;
933
  padding: 3px 0px;
934
  image: url(qss:images_classic/Vsepartoolbar-lightgray.png);
935
}
936

937
/*The "show more" button  (it can also be stylable with "QToolBarExtension"  icon is not working Qproperty works but breaks when you move the toolbar see also */
938
QToolButton#qt_toolbar_ext_button {
939
background-repeat: none;
940
background-position: center center;
941
}
942

943
QToolButton#qt_toolbar_ext_button:hover {
944
  background-color: transparent;
945
}
946

947
QToolButton#qt_toolbar_ext_button:on {
948
  background-color: transparent;
949
}
950

951

952
/* QAbstractSpinBox -------------------------------------------------------
953

954
--------------------------------------------------------------------------- */
955
QAbstractSpinBox,
956
QSpinBox {
957
  background-color: #ffffff;
958
  border: 1px solid #ababab;
959
  color: black;
960
  border-radius: 2px;
961
  min-height: 24px;
962
  padding-left: 4px;
963
  padding-right: 4px;
964
}
965

966
QAbstractSpinBox:up-button {
967
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
968
  subcontrol-origin: border;
969
  subcontrol-position: top right;
970
  border-top: 1px solid transparent;
971
  border-right: 1px solid transparent;
972
  border-bottom: 1px solid #b0b0b0;
973
  border-top-right-radius: 2px;
974
  border-left: 1px solid #b0b0b0;
975
  margin:1px;
976
  margin-bottom:-1px;
977
}
978

979
QAbstractSpinBox::up-arrow, QAbstractSpinBox::up-arrow:disabled, QAbstractSpinBox::up-arrow:off {
980
  image: url(qss:images_classic/Arrow-up-lightgray.png);
981
  height: 8px;
982
  width: 8px;
983
}
984

985
QAbstractSpinBox::up-arrow:hover {
986
  image: url(qss:images_classic/Arrow-up-black.png);
987
  height: 8px;
988
  width: 8px;
989
}
990

991
QAbstractSpinBox:down-button {
992
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fdfdfd, stop:1 #f0f0f0);
993
  subcontrol-origin: border;
994
  subcontrol-position: bottom right;
995
  border-bottom: 1px solid transparent;
996
  border-right: 1px solid transparent;
997
  border-top: 1px solid #b0b0b0;
998
  border-bottom-right-radius: 2px;
999
  border-left: 1px solid #b0b0b0;
1000
  margin:1px;
1001
  margin-top:-1px;
1002
}
1003

1004
QAbstractSpinBox::down-arrow, QAbstractSpinBox::down-arrow:disabled, QAbstractSpinBox::down-arrow:off {
1005
  image: url(qss:images_classic/Arrow-down-lightgray.png);
1006
  height: 8px;
1007
  width: 8px;
1008
}
1009

1010
QAbstractSpinBox::down-arrow:hover {
1011
  image: url(qss:images_classic/Arrow-down-black.png);
1012
  height: 8px;
1013
  width: 8px;
1014
}
1015

1016
QAbstractSpinBox:hover {
1017
}
1018

1019
QAbstractSpinBox:focus {
1020
  border: 1px solid @ThemeAccentColor2;
1021
}
1022

1023
QAbstractSpinBox:selected {
1024
  background-color: @ThemeAccentColor1;
1025
}
1026

1027
/* ------------------------------------------------------------------------ */
1028
/* DISPLAYS --------------------------------------------------------------- */
1029
/* ------------------------------------------------------------------------ */
1030
/* QLabel -----------------------------------------------------------------
1031

1032
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
1033

1034
--------------------------------------------------------------------------- */
1035
QLabel {
1036
  /* background-color: transparent;
1037
  border: 0px solid #ababab;
1038
  padding: 2px;
1039
  margin: 0px;
1040
  color: black;
1041
  spacing:8px; */
1042
}
1043

1044
QLabel:disabled {
1045
  /* background-color: transparent;
1046
  border: 0px solid #ababab; */
1047
  color: #646464;
1048
}
1049

1050
QLabel[haslink="true"] {
1051
  color: #003e7d;
1052
}
1053

1054

1055
/* QTextBrowser -----------------------------------------------------------
1056

1057
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qabstractscrollarea
1058

1059
--------------------------------------------------------------------------- */
1060
QTextBrowser {
1061
  background-color: #ffffff;
1062
  border: 1px solid #ababab;
1063
  color: black;
1064
  border-radius: 2px;
1065
}
1066

1067
QTextBrowser:disabled {
1068
  background-color: #d8d8d8;
1069
  border: 1px solid #ababab;
1070
  color: #646464;
1071
  border-radius: 2px;
1072
}
1073

1074
QTextBrowser:hover, QTextBrowser:!hover, QTextBrowser:selected, QTextBrowser:pressed {
1075
}
1076

1077
/* QGraphicsView ----------------------------------------------------------
1078

1079
--------------------------------------------------------------------------- */
1080
QGraphicsView {
1081
  background-color: transparent;
1082
  border: 0px solid @ThemeAccentColor1;
1083
  color: black;
1084
  border-radius: 0px;
1085
}
1086

1087
QGraphicsView:disabled {
1088
  background-color: #fdfdfd;
1089
  border: 0px solid #ababab;
1090
  color: #646464;
1091
  border-radius: 0px;
1092
}
1093

1094
QGraphicsView:hover, QGraphicsView:!hover, QGraphicsView:selected, QGraphicsView:pressed {
1095
  border: 0px solid #ff00f7;
1096
}
1097

1098
/* QCalendarWidget --------------------------------------------------------
1099

1100
--------------------------------------------------------------------------- */
1101
QCalendarWidget {
1102
  border: 1px solid #ababab;
1103
  border-radius: 2px;
1104
}
1105

1106
QCalendarWidget:disabled {
1107
  background-color: #f0f0f0;
1108
  color: #646464;
1109
}
1110

1111
/* QLCDNumber -------------------------------------------------------------
1112

1113
--------------------------------------------------------------------------- */
1114
QLCDNumber {
1115
  background-color: #1aff00;
1116
  color: black;
1117
}
1118

1119
QLCDNumber:disabled {
1120
  background-color: #d8d8d8;
1121
  color: #646464;
1122
}
1123

1124
/* QProgressBar -----------------------------------------------------------
1125

1126
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qprogressbar
1127

1128
--------------------------------------------------------------------------- */
1129
QProgressBar {
1130
  background-color: #cccccc;
1131
  border: 1px solid #ababab;
1132
  color: black;
1133
  border-radius: 2px;
1134
  text-align: center;
1135
}
1136

1137
QProgressBar:disabled {
1138
  background-color: #d8d8d8;
1139
  border: 1px solid #ababab;
1140
  color: #696969;
1141
  border-radius: 2px;
1142
  text-align: center;
1143
}
1144

1145
QProgressBar::chunk {
1146
  background-color: @ThemeAccentColor1;
1147
  color: #d8d8d8;
1148
  border-radius: 2px;
1149
}
1150

1151
QProgressBar::chunk:disabled {
1152
  background-color: #d8d8d8;
1153
  color: #646464;
1154
  border-radius: 2px;
1155
}
1156

1157
/* ------------------------------------------------------------------------ */
1158
/* BUTTONS ---------------------------------------------------------------- */
1159
/* ------------------------------------------------------------------------ */
1160
/* QPushButton ------------------------------------------------------------
1161

1162
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qpushbutton
1163

1164
--------------------------------------------------------------------------- */
1165
QPushButton {
1166
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
1167
  color: black;
1168
  border: 1px solid #ababab;
1169
  /* border-bottom-color: #1e1e1e; simulates shadow under the button */
1170
  border-radius: 3px;
1171
  padding: 4px;
1172
  min-width: 80px;
1173
}
1174

1175
#CreateNewRow > QPushButton {
1176
  /* Reset min width to default */
1177
  min-width: -1;
1178
}
1179

1180
QPushButton:disabled {
1181
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #e2e2e2, stop:1 #fdfdfd);
1182
  color: #646464;
1183
  border: 1px solid #ababab;
1184
}
1185

1186
QPushButton:checked {
1187
  border: 1px solid  @ThemeAccentColor1;
1188
  outline: none;
1189
}
1190

1191
QPushButton:focus {
1192
  border: 1px solid  @ThemeAccentColor2;
1193
}
1194

1195

1196
QPushButton:checked:disabled {
1197
  border: 1px solid  @ThemeAccentColor1;
1198
  color: #646464;
1199
  outline: none;
1200
}
1201

1202
QPushButton:checked:selected {
1203
  border: 1px solid  @ThemeAccentColor1;
1204
}
1205

1206
QPushButton:hover {
1207
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:1 #f8f8f8);
1208
  color: black;
1209
}
1210

1211
QPushButton:pressed {
1212
  border: 1px solid  @ThemeAccentColor1;
1213
}
1214

1215
QPushButton:selected {
1216
  border: 1px solid  @ThemeAccentColor1;
1217
  color: black;
1218
}
1219

1220
QPushButton::menu-indicator {
1221
  subcontrol-origin: padding;
1222
  subcontrol-position: bottom right;
1223
  bottom: 4px;
1224
}
1225

1226
QDialogButtonBox QPushButton {
1227
  /* Issue # 194 # 248 - Special case of QPushButton inside dialogs, for better UI */
1228
  min-width: 80px;
1229
}
1230

1231
/* QToolButton ------------------------------------------------------------
1232

1233
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbutton
1234

1235
--------------------------------------------------------------------------- */
1236
QToolButton {
1237
  background-color: transparent;
1238
  color: black;
1239
  /* border-radius: 1px; */
1240
  padding: 2px;
1241
  outline: none;
1242
  border: none;
1243
  border-radius: 3px;
1244
  /* The subcontrols below are used only in the DelayedPopup mode */
1245
  /* The subcontrols below are used only in the MenuButtonPopup mode */
1246
  /* The subcontrol below is used only in the InstantPopup or DelayedPopup mode */
1247
}
1248

1249
QToolButton:disabled {
1250
  padding: 2px;
1251
}
1252

1253
QToolButton:checked {
1254
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #efefef, stop:0.7 #d8d8d8, stop:1 #d8d8d8);
1255
  border-radius: 3px;
1256
  border-left: 1px solid #ababab;
1257
  border-top: 1px solid #ababab;
1258
  border-right: 1px solid #e1e1e1;
1259
  border-bottom: 1px solid #e1e1e1;
1260
}
1261

1262
QToolButton:checked:disabled {
1263
  background-color: transparent;
1264
}
1265

1266
QToolButton:checked:hover {
1267
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #efefef, stop:0.7 #d8d8d8, stop:1 #d8d8d8);
1268
  border: 1px solid #ababab;
1269
}
1270

1271
QToolButton:checked:pressed {
1272
  border: 1px solid @ThemeAccentColor2;
1273
}
1274

1275
QToolButton:checked:selected {
1276
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:0.7 #ffffff, stop:1 #ffffff);
1277
  border: 1px solid @ThemeAccentColor1;
1278
  }
1279

1280
QToolButton:hover {
1281
  color: black;
1282
  border: 1px solid #ababab;
1283
}
1284

1285
QToolButton:pressed {
1286
}
1287

1288
QToolButton:selected {
1289
  border: 1px solid @ThemeAccentColor1;
1290
  color: black;
1291
}
1292

1293
QToolButton#qt_toolbutton_menubutton {
1294
  padding-right: 15px; /*Hack to add more width to buttons with menu */
1295
  border-radius: 3px;
1296
 }
1297

1298
QToolButton::menu-button {
1299
  border: 1px solid transparent;
1300
  /* 16px width + 4px for border = 20px allocated above */
1301
  width: 15px;
1302
  border-radius: 3px;
1303
}
1304

1305
QToolButton::menu-button:hover {
1306
  border: 1px solid transparent;
1307

1308
}
1309

1310
QToolButton::menu-button:pressed {
1311
  border: 1px solid transparent;
1312
}
1313

1314
QToolButton::menu-button:checked:hover {
1315
  border: 1px solid #ababab;
1316
  background-color: @ThemeAccentColor2;
1317
}
1318

1319
QToolButton::menu-indicator {
1320
  /* Exclude a shift for better image */
1321
  subcontrol-position: right center;
1322
  /* Shift it a bit */
1323
}
1324

1325
QToolButton::menu-arrow {
1326
  image: url(qss:images_classic/Arrow-down-lightgray.png);
1327
  width: 18px;
1328
  height: 18px;
1329
  /* background-color: transparent; */
1330
}
1331
QToolButton::menu-arrow:open {
1332
  image: url(qss:images_classic/Arrow-Down-black.png);
1333
  width: 18px;
1334
  height: 18px;
1335
}
1336
QToolButton::menu-arrow:hover {
1337
  image: url(qss:images_classic/Arrow-Down-black.png);
1338
  width: 18px;
1339
  height: 18px;
1340
}
1341

1342
/* QCommandLinkButton -----------------------------------------------------
1343

1344
--------------------------------------------------------------------------- */
1345
QCommandLinkButton {
1346
  background-color: transparent;
1347
  border: 1px solid #ababab;
1348
  color: black;
1349
  border-radius: 2px;
1350
  padding: 0px;
1351
  margin: 0px;
1352
}
1353

1354
QCommandLinkButton:disabled {
1355
  background-color: transparent;
1356
  color: #646464;
1357
}
1358

1359
/* ------------------------------------------------------------------------ */
1360
/* INPUTS - NO FIELDS ----------------------------------------------------- */
1361
/* ------------------------------------------------------------------------ */
1362
/* QComboBox --------------------------------------------------------------
1363

1364
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
1365

1366
--------------------------------------------------------------------------- */
1367
QComboBox {
1368
  border: 1px solid #ababab;
1369
  border-radius: 2px;
1370
  background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
1371
  selection-background-color: @ThemeAccentColor1;
1372
  padding-left: 4px;
1373
  padding-right: 2px;
1374
  /* padding-right = 36; 4 + 16*2 See scrollbar size */
1375
  /* changed to 4px to fix #239 */
1376
  /* Fixes #103, #111 */
1377
  min-height: 23px;
1378
  /*margin: 0px -1px 0px 0px;  hack for Mac... try it on Windows and Linux */
1379
  /* padding-top: 2px;     removed to fix #132 */
1380
  /* padding-bottom: 2px;  removed to fix #132 */
1381
  /* min-width: 75px;      removed to fix #109 */
1382
  /* Needed to remove indicator - fix #132 */
1383
}
1384
QComboBox:editable {
1385
  background-color: #fdfdfd;
1386
}
1387
QComboBox QAbstractItemView {
1388
  border: 1px solid #ababab;
1389
  border-radius: 2px;
1390
  background-color: #fdfdfd;
1391
  selection-background-color: @ThemeAccentColor1;
1392
}
1393

1394
QComboBox QAbstractItemView:hover {
1395
  background-color:#fdfdfd;
1396
  color: black;
1397
}
1398

1399
QComboBox QAbstractItemView:selected {
1400
  background-color: @ThemeAccentColor1;
1401
  color: black;
1402
}
1403

1404
QComboBox QAbstractItemView:alternate {
1405
  background-color: #fdfdfd;
1406
}
1407

1408
QComboBox:checked {
1409
  color: #000000;
1410
}
1411

1412
QComboBox:disabled {
1413
  background-color: #d8d8d8;
1414
  color: #646464;
1415
}
1416

1417
QComboBox:hover {
1418
  background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f8f8f8, stop:1 #fefefe);
1419
  /* border: 1px solid @ThemeAccentColor1; */
1420
}
1421

1422
QComboBox:focus {
1423
  border: 1px solid #ababab;
1424
  border-radius: 2px;
1425
  /* border: 1px solid @ThemeAccentColor2; */
1426
}
1427

1428
QComboBox:on {
1429
  selection-background-color: @ThemeAccentColor1;
1430
}
1431

1432
QComboBox::indicator {
1433
  padding-left: 8px;
1434
  background-color: transparent;
1435
}
1436

1437
QComboBox::indicator:checked {
1438
  width: 10px;
1439
  height: 10px;
1440
  image: url(qss:images_classic/check-mark-black.png);
1441
}
1442

1443
QComboBox::item {
1444
  /* Remove to fix #282, #285 and MR #288*/
1445
  /*&:checked {
1446
            font-weight: bold;
1447
        }
1448

1449
        &:selected {
1450
            border: 0px solid transparent;
1451
        }
1452
        */
1453
}
1454
/* Background color of popup-list.*/
1455

1456
/* Needed to complete the rule set. */
1457
QComboBox::item:alternate {
1458
  background-color: #ededed;
1459
}
1460
/* Color of the selected list item. */
1461
QComboBox::item:selected {
1462
  border: 1px solid #ababab;
1463
  background-color: @ThemeAccentColor1;
1464
}
1465

1466
QComboBox::drop-down {
1467
  subcontrol-origin: padding;
1468
  /* background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #ababab); */
1469
  subcontrol-position: top right;
1470
  width: 20px;
1471
  border-right: 1px solid transparent;
1472
  padding-right: 2px;
1473
  /* border-radius: 2px; */
1474
}
1475
QComboBox::drop-down:hover {
1476
  /* background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 @ThemeAccentColor1, stop:1 @ThemeAccentColor3); */
1477
}
1478

1479
QComboBox::down-arrow {
1480
  image: url(qss:images_classic/Arrow-down-lightgray.png);
1481
  /* height: 10px; */
1482
  width: 8px;
1483
}
1484

1485
QComboBox::down-arrow:on, QComboBox::down-arrow:hover, QComboBox::down-arrow:focus {
1486
  image: url(qss:images_classic/Arrow-down-black.png);
1487
}
1488

1489

1490
/*==================================================================================================
1491
Tasks panel (custom FreeCAD class)
1492
==================================================================================================*/
1493
Gui--PropertyEditor--PropertyEditor {
1494
  qproperty-groupTextColor: black;
1495
  qproperty-groupBackground: #ededed;
1496
  border: 0px solid #ababab;
1497
}
1498

1499
/* Action group */
1500
QFrame[class="panel"] {
1501
background-color: rgba(237, 237, 237, 0.5);
1502
}
1503

1504
QSint--ActionGroup {
1505
padding: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
1506
margin: 0px; /* if not reset, it might create problems with QPushButtons and other elements */
1507
}
1508

1509
QSint--ActionGroup QGroupBox {
1510
  border: 1px solid #696969;
1511
  background-color: transparent;
1512
  padding-bottom: 3px;
1513
}
1514

1515
QSint--ActionGroup QGroupBox::title {
1516
    top: -8px;
1517
    left: 13px;
1518
}
1519

1520
/* Separator line */
1521
QSint--ActionGroup QFrame[height="1"],
1522
QSint--ActionGroup QFrame[height="1"],
1523
QSint--ActionGroup QFrame[height="1"],
1524
QSint--ActionGroup QFrame[width="1"],
1525
QSint--ActionGroup QFrame[width="1"],
1526
QSint--ActionGroup QFrame[width="1"] {
1527
border-color: rgba(0,0,0,60);
1528
}
1529

1530
/* Panel header */
1531
QSint--ActionGroup QFrame[class="header"] {
1532
border-top: 1px solid #ffffff;
1533
border-left: 1px solid #ffffff;
1534
border-right: 1px solid #ffffff;
1535
/*background-color: #d4d4d4; /* Task Panel Header background color */
1536
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0 #ffffff, stop:1 @ThemeAccentColor3);
1537
border-top-left-radius: 3px;
1538
border-top-right-radius: 3px;
1539
border-bottom-left-radius: 0px;
1540
border-bottom-right-radius: 0px;
1541
margin: 0px;
1542
padding: 0px;
1543
color: #215dc6;
1544
}
1545

1546
QSint--ActionGroup QFrame[class="header"]:hover {
1547
  /* background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,stop:0 #ffffff stop:1 #313d61); */
1548
  color: #418FDE;
1549
}
1550

1551
QSint--ActionGroup QToolButton[class="header"] {
1552
color: black; /* Task Panel Header text color */
1553
text-align: left;
1554
font-weight: bold;
1555
border: none;
1556
margin: 0px;
1557
padding: 0px;
1558
}
1559

1560
QSint--ActionGroup QFrame[class="header"] QLabel[fold="false"] {
1561
  width: 30px;
1562
  height: 30px;
1563
  image: url(qss:images_classic/Qsint_header_unfold_lightgray.png);
1564
}
1565

1566
QSint--ActionGroup QFrame[class="header"] QLabel:hover[fold="false"] {
1567
  width: 30px;
1568
  height: 30px;
1569
  image: url(qss:images_classic/Qsint_header_unfold_black.png);
1570
}
1571

1572
QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"] {
1573
  width: 30px;
1574
  height: 30px;
1575
  image: url(qss:images_classic/Qsint_header_fold_lightgray.png);
1576
}
1577

1578
QSint--ActionGroup QFrame[class="header"] QLabel[fold="true"]:hover {
1579
  width: 30px;
1580
  height: 30px;
1581
  image: url(qss:images_classic/Qsint_header_fold_black.png);
1582
}
1583

1584
QSint--ActionGroup QFrame[class="content"] {
1585
background-color: @ThemeAccentColor3; /* Task Panel background color */
1586
margin: 0px;
1587
padding: 0px;
1588
border-bottom: 1px solid #ffffff;
1589
border-left: 1px solid #ffffff;
1590
border-right: 1px solid #ffffff;
1591
border-top-left-radius: 0px;
1592
border-top-right-radius: 0px;
1593
border-bottom-left-radius: 3px;
1594
border-bottom-right-radius: 3px;
1595
}
1596

1597

1598
/* Fixs for tabs inside Task Panel */
1599
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:top:selected {
1600
border-bottom-color: @ThemeAccentColor1; /* same as Task Panel background color */
1601
}
1602

1603
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:bottom:selected {
1604
border-top-color: @ThemeAccentColor1; /* same as Task Panel background color */
1605
}
1606

1607
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:right:selected {
1608
border-right-color: @ThemeAccentColor1; /* same as Task Panel background color */
1609
}
1610

1611
QSint--ActionGroup QFrame[class="content"] QTabBar::tab:left:selected {
1612
border-left-color: @ThemeAccentColor1; /* same as Task Panel background color */
1613
}
1614

1615
/* Fix for buttons with icons that showed cropped (still not happy with result) */
1616
QSint--ActionGroup QFrame[class="content"] > QWidget > QPushButton {
1617
padding: 2px; /* bigger padding crops text and icons... */
1618
margin: 0px;
1619
border-radius: 3px;
1620
}
1621

1622
/* Fix for lists inside task panels */ /* sketcher constraints list */
1623
QSint--ActionGroup QFrame[class="content"] QTreeView,
1624
QSint--ActionGroup QFrame[class="content"] QListView,
1625
QSint--ActionGroup QFrame[class="content"] QTableView {
1626
color: black;
1627
background-color: #f0f0f0;
1628
}
1629

1630

1631
/* found inside Part Design Workbench and "make a draft on a face" Task panel options */
1632
QSint--ActionGroup QFrame[class="content"] QToolButton {
1633
  color: black;
1634
  text-align: center;
1635
  background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
1636
  border: 0px solid #adadad;
1637
  padding: 1px 1px; /* different than regular QPushButton */
1638
  margin: 0px; /* different than regular QPushButton */
1639
  min-height: 16px; /* same as QTabBar QPushButton min-width */
1640
  border-radius: 3px;
1641
}
1642

1643
/* QToolButtons with a menu found in Sketcher task panel*/
1644
QSint--ActionGroup QToolButton::menu-button {
1645
  border-left: 1px solid #adadad;
1646
  border-top-right-radius: 3px;
1647
  border-bottom-right-radius: 3px;
1648
  padding: 0px;
1649
  width: 19px; /* 16px width + 4px for border = 20px allocated above */
1650
  outline: none;
1651
  background-color: transparent;
1652
  /* margin: 10px; */
1653
}
1654

1655
QSint--ActionGroup QToolButton#settingsButton,
1656
QSint--ActionGroup QToolButton#filterButton,
1657
QSint--ActionGroup QToolButton#manualUpdate {
1658
    padding-right: 20px; /* make way for the popup button */
1659
}
1660

1661
/* to give widget inside the menu same look as regular menu */
1662
QSint--ActionGroup QToolButton#filterButton QListWidget {
1663
    color: #000000;
1664
    background-color: #ffffff;
1665
    border: 1px solid #adadad;
1666
}
1667

1668

1669
QSint--ActionGroup QFrame[class="content"] QToolButton:hover{
1670
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:1 #f8f8f8);
1671
}
1672
QSint--ActionGroup QFrame[class="content"] QToolButton:focus {
1673
  border: 1px solid @ThemeAccentColor2;
1674
}
1675

1676
QSint--ActionGroup QFrame[class="content"] QToolButton:disabled,
1677
QSint--ActionGroup QFrame[class="content"] QToolButton:disabled:checked {
1678
  color: #646464;
1679
    /* background-color: #fdfdfd; */
1680
}
1681

1682
QSint--ActionGroup QFrame[class="content"] QToolButton:pressed {
1683
  border: 1px solid  @ThemeAccentColor1;
1684
}
1685

1686
/* QSlider ----------------------------------------------------------------
1687

1688
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qslider
1689

1690
--------------------------------------------------------------------------- */
1691
QSlider:disabled {
1692
  background-color: #d8d8d8;
1693
}
1694

1695
QSlider:focus {
1696
  /*border: 1px solid @ThemeAccentColor2;*/
1697
}
1698

1699
QSlider::groove:horizontal {
1700
  background-color: #d8d8d8;
1701
  border: 1px solid #ababab;
1702
  height: 4px;
1703
  margin: 0px;
1704
  border-radius: 2px;
1705
}
1706

1707
QSlider::groove:vertical {
1708
  background-color: @ThemeAccentColor1;
1709
  border: 1px solid #ababab;
1710
  width: 4px;
1711
  margin: 0px;
1712
  border-radius: 2px;
1713
}
1714

1715
QSlider::add-page:vertical {
1716
  background-color: @ThemeAccentColor1;
1717
  border: 1px solid #ababab;
1718
  width: 4px;
1719
  margin: 0px;
1720
  border-radius: 2px;
1721
}
1722

1723
QSlider::add-page:vertical :disabled {
1724
  background-color: #d8d8d8;
1725
}
1726

1727
QSlider::sub-page:horizontal {
1728
  background-color: @ThemeAccentColor1;
1729
  border: 1px solid #ababab;
1730
  height: 4px;
1731
  margin: 0px;
1732
  border-radius: 2px;
1733
}
1734

1735
QSlider::sub-page:horizontal:disabled {
1736
  background-color: @ThemeAccentColor1;
1737
}
1738

1739
QSlider::handle:horizontal {
1740
  background-color: #f0f0f0;
1741
  border: 1px solid #ababab;
1742
  width: 10px;
1743
  height: 8px;
1744
  margin: -4px 0px;
1745
  border-radius: 6px;
1746
}
1747

1748
QSlider::handle:horizontal:hover {
1749
  background-color: @ThemeAccentColor1;
1750
  border: 1px solid #ababab;
1751
}
1752

1753
QSlider::handle:horizontal:focus {
1754
  background-color: @ThemeAccentColor2;
1755
  border: 1px solid @ThemeAccentColor2;
1756
}
1757

1758
QSlider::handle:vertical {
1759
  background-color: #f0f0f0;
1760
  border: 1px solid #ababab;
1761
  width: 10px;
1762
  height: 8px;
1763
  margin: 0px -4px;
1764
  border-radius: 6px;
1765
}
1766

1767
QSlider::handle:vertical:hover {
1768
  background-color: @ThemeAccentColor1;
1769
  border: 1px solid #ababab;
1770
}
1771

1772
QSlider::handle:vertical:focus {
1773
  border: 1px solid @ThemeAccentColor2;
1774
}
1775

1776
/* QLineEdit --------------------------------------------------------------
1777

1778
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlineedit
1779

1780
--------------------------------------------------------------------------- */
1781
QLineEdit {
1782
  background-color: #ffffff;
1783
  padding-top: 2px;
1784
  /* This QLineEdit fix  103, 111 */
1785
  padding-bottom: 2px;
1786
  /* This QLineEdit fix  103, 111 */
1787
  padding-left: 4px;
1788
  padding-right: 4px;
1789
  border-style: solid;
1790
  border: 1px solid #ababab;
1791
  border-radius: 2px;
1792
  color: black;
1793
}
1794

1795
QLineEdit:disabled {
1796
  background-color: #d8d8d8;
1797
  color: #646464;
1798
}
1799

1800
QLineEdit:hover {
1801
  /* border: 1px solid @ThemeAccentColor1; */
1802
  color: black;
1803
}
1804

1805
QLineEdit:focus {
1806
  border: 2px solid @ThemeAccentColor2;
1807
}
1808

1809
QLineEdit:selected {
1810
  background-color: @ThemeAccentColor1;
1811
  color: black;
1812
}
1813

1814
/* QTabWiget --------------------------------------------------------------
1815

1816
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
1817

1818
--------------------------------------------------------------------------- */
1819
QTabWidget {
1820
  padding: 2px;
1821
  selection-background-color: @ThemeAccentColor1;
1822
}
1823

1824
QTabWidget QWidget {
1825
  /* Fixes #189 */
1826
  border-radius: 0px;
1827
}
1828

1829
QTabWidget::pane {
1830
  margin: 0px;
1831
  /* Fixes double border inside pane with pyqt5 */
1832
  padding: 0px;
1833
  background-color: rgba(227, 227, 227, 84);
1834
  border: 1px solid #d8d8d8;
1835
}
1836

1837
QTabWidget::pane:selected {
1838
  background-color: @ThemeAccentColor1;
1839
  border: 1px solid #fdfdfd;
1840
}
1841

1842
QTabWidget::pane:selected {
1843
  background-color: #557bb6;
1844
  border: 1px solid #346792;
1845
}
1846

1847
QTabWidget::pane:top {
1848
  top: -1px;
1849
  border-top: 1px solid #fdfdfd;
1850
}
1851

1852
QTabWidget::pane:bottom {
1853
  bottom: -1px;
1854
  border-bottom: 1px solid #fdfdfd;
1855
}
1856

1857
QTabWidget::pane:left {
1858
  right: -1px;
1859
  border-right: 1px solid #fdfdfd;
1860
}
1861

1862
QTabWidget::pane:right {
1863
  left: -1px;
1864
  border-left: 1px solid #fdfdfd;
1865
}
1866
/* QTabBar ----------------------------------------------------------------
1867

1868
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
1869

1870
--------------------------------------------------------------------------- */
1871
QTabBar, QDockWidget QTabBar {
1872
  qproperty-drawBase: 0;
1873
  background-color: #f0f0f0;
1874
  /* left: 5px; move to the right by 5px - removed for fix */
1875
}
1876

1877
QTabBar[style="icon-only"]::tab:top {
1878
  min-width: 16px;
1879
  padding-right: -2px;
1880
  padding-left: 10px;
1881
}
1882

1883
QTabBar[style="text-only"]::tab:top {
1884
  min-width: 16px;
1885
  /* padding-right: -2px;
1886
  padding-left: 10px; */
1887
}
1888

1889
QTabBar[style="icon-only"]::tab:bottom {
1890
  min-width: 16px;
1891
  padding-right: -2px;
1892
  padding-left: 10px;
1893
}
1894

1895
QTabBar[style="text-only"]::tab:bottom {
1896
  min-width: 16px;
1897
  padding-left: 4px;
1898
}
1899

1900
QTabBar[style="icon-only"]::tab:right {
1901
  min-height: 16px;
1902
  padding-bottom: -2px;
1903
  padding-top: 10px;
1904
}
1905

1906
QTabBar[style="text-only"]::tab:right {
1907
  min-height: 16px;
1908
  /* padding-right: -2px;
1909
  padding-left: 10px; */
1910
}
1911

1912
QTabBar[style="icon-only"]::tab:left {
1913
  min-height: 16px;
1914
  padding-top: -2px;
1915
  padding-bottom: 10px;
1916
}
1917

1918
QTabBar[style="text-only"]::tab:left {
1919
  min-height: 16px;
1920
  padding-bottom: 4px;
1921
}
1922

1923
QTabBar::close-button, QDockWidget QTabBar::close-button {
1924
  border: 0;
1925
  margin: 3px;
1926
  padding: 0px;
1927
  image: url(qss:images_classic/Close-lightgray.png);
1928
}
1929

1930
QTabBar::close-button:hover, QDockWidget QTabBar::close-button:hover {
1931
  image: url(qss:images_classic/close-red.png);
1932
  /*background-color: rgba(255, 0, 0, 0.3);*/
1933
}
1934

1935
QTabBar::close-button:pressed, QDockWidget QTabBar::close-button:pressed {
1936
  image: url(qss:images_classic/close-lightRed.png);
1937
}
1938

1939
QTabBar::tab, QDockWidget QTabBar::tab {
1940
  /* !selected and disabled ----------------------------------------- */
1941
  /* selected ------------------------------------------------------- */
1942
  padding: 4px;
1943
  background-color: #f0f0f0;
1944
}
1945

1946
QTabBar::tab:top, QDockWidget QTabBar::tab:top {
1947
  color: #646464;
1948
  margin-left: 0px;
1949
  margin-right: 0px;
1950
  min-width: 5px;
1951
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dddddd, stop:0.6 #e2e2e2, stop:1 #cccccc);
1952
  margin-top: 3px;
1953
  border-top: 1px solid #ababab; /* selection color */
1954
  border-bottom: 1px solid #ababab;
1955
  border-left: 1px solid #ababab;
1956
  border-right: 1px solid #ababab;
1957
  border-top-left-radius: 2px;
1958
  border-top-right-radius: 2px;
1959
}
1960

1961
QTabBar::tab:top:selected, QDockWidget QTabBar::tab:top:selected {
1962
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
1963
  color: black;
1964
  border-top: 1px solid #ababab; /* selection color */
1965
  border-bottom: 1px solid #f0f0f0;
1966
  border-left: 1px solid #ababab;
1967
  border-right: 1px solid #ababab;
1968
  margin-top: 0px;
1969
  border-top-left-radius: 2px;
1970
  border-top-right-radius: 2px;
1971
}
1972

1973
QTabBar::tab:top:!selected:hover, QDockWidget QTabBar::tab:top:!selected:hover {
1974
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #d8d8d8);
1975
  margin-top: 0px;
1976
}
1977

1978
QTabBar::tab:bottom, QDockWidget QTabBar::tab:bottom {
1979
  color: #646464;
1980
  min-width: 5px;
1981
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #dddddd, stop:0.6 #e2e2e2, stop:1 #cccccc);
1982
  margin-bottom: 3px;
1983
  border-bottom: 1px solid #ababab; /* selection color */
1984
  border-top: 1px solid #ababab;
1985
  border-left: 1px solid #ababab;
1986
  border-right: 1px solid #ababab;
1987
  border-bottom-left-radius: 2px;
1988
  border-bottom-right-radius: 2px;
1989
}
1990

1991
QTabBar::tab:bottom:selected, QDockWidget QTabBar::tab:bottom:selected {
1992
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
1993
  color: black;
1994
  border-bottom: 1px solid #ababab; /* selection color */
1995
  border-top: 1px solid #f0f0f0;
1996
  border-left: 1px solid #ababab;
1997
  border-right: 1px solid #ababab;
1998
  margin-bottom: 0px;
1999
  border-bottom-left-radius: 2px;
2000
  border-bottom-right-radius: 2px;
2001
}
2002

2003
QTabBar::tab:bottom:!selected:hover, QDockWidget QTabBar::tab:bottom:!selected:hover {
2004
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #d8d8d8, stop:1 #f0f0f0);
2005
  margin-bottom: 0px;
2006
}
2007

2008
QTabBar::tab:left, QDockWidget QTabBar::tab:left {
2009
  color: #646464;
2010
  min-height: 5px;
2011
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #dddddd, stop:0.6 #e2e2e2, stop:1 #cccccc);
2012
  margin-left: 3px;
2013
  border-bottom: 1px solid #ababab; /* selection color */
2014
  border-right: 1px solid #ababab;
2015
  border-left: 1px solid #ababab;
2016
  border-top: 1px solid #ababab;
2017
  border-top-left-radius: 2px;
2018
  border-bottom-left-radius: 2px;
2019
}
2020

2021
QTabBar::tab:left:selected, QDockWidget QTabBar::tab:left:selected {
2022
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
2023
  color: black;
2024
  border-bottom: 1px solid #ababab; /* selection color */
2025
  border-right: 1px solid #f0f0f0;
2026
  border-left: 1px solid #ababab;
2027
  border-top: 1px solid #ababab;
2028
  margin-left: 0px;
2029
  border-top-left-radius: 2px;
2030
  border-bottom-left-radius: 2px;
2031
}
2032

2033
QTabBar::tab:left:!selected:hover, QDockWidget QTabBar::tab:left:!selected:hover {
2034
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #d8d8d8, stop:1 #f0f0f0);
2035
  margin-left: 0px;
2036
}
2037

2038
QTabBar::tab:right, QDockWidget QTabBar::tab:right {
2039
  color: black;
2040
  min-height: 5px;
2041
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #dddddd, stop:0.6 #e2e2e2, stop:1 #cccccc);
2042
  margin-right: 3px;
2043
  border-bottom: 1px solid #ababab; /* selection color */
2044
  border-left: 1px solid #ababab;
2045
  border-right: 1px solid #ababab;
2046
  border-top: 1px solid #ababab;
2047
  border-top-right-radius: 2px;
2048
  border-bottom-right-radius: 2px;
2049
}
2050

2051
QTabBar::tab:right:selected, QDockWidget QTabBar::tab:right:selected {
2052
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
2053
  color: black;
2054
  border-bottom: 1px solid #ababab; /* selection color */
2055
  border-left: 1px solid #f0f0f0;
2056
  border-left: 1px solid #ababab;
2057
  border-top: 1px solid #ababab;
2058
  margin-right: 0px;
2059
  border-top-right-radius: 2px;
2060
  border-bottom-right-radius: 2px;
2061
}
2062

2063
QTabBar::tab:right:!selected:hover, QDockWidget QTabBar::tab:right:!selected:hover {
2064
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:1 #d8d8d8);
2065
  margin-right: 0px;
2066
}
2067

2068
QTabBar QToolButton, QDockWidget QTabBar QToolButton {
2069
  /* Fixes #136 */
2070
  /* background-color: #444444; */
2071
  border: 1px solid #ababab;;
2072
  margin: 1px;
2073
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:1 #d8d8d8);
2074

2075
}
2076

2077
QTabBar QToolButton:pressed, QDockWidget QTabBar QToolButton:pressed {
2078
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
2079
}
2080

2081
QTabBar QToolButton:pressed:hover, QDockWidget QTabBar QToolButton:pressed:hover {
2082
  background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #f0f0f0, stop:0.6 #fdfdfd stop:1 #f0f0f0);
2083
}
2084

2085
QTabBar QToolButton::left-arrow:enabled, QDockWidget QTabBar QToolButton::left-arrow:enabled {
2086
  image: url(qss:images_classic/Arrow-left-darkgray.png);
2087
}
2088

2089
QTabBar QToolButton::left-arrow:disabled, QDockWidget QTabBar QToolButton::left-arrow:disabled {
2090
  image: url(qss:images_classic/Arrow-left-lightgray.png);
2091
}
2092

2093
QTabBar QToolButton::right-arrow:enabled, QDockWidget QTabBar QToolButton::right-arrow:enabled {
2094
  image: url(qss:images_classic/Arrow-right-darkgray.png);
2095
}
2096

2097
QTabBar QToolButton::right-arrow:disabled, QDockWidget QTabBar QToolButton::right-arrow:disabled {
2098
  image: url(qss:images_classic/Arrow-right-lightgray.png);
2099
}
2100

2101
/* QDockWiget -------------------------------------------------------------
2102

2103
--------------------------------------------------------------------------- */
2104
QDockWidget {
2105
  background-color: #f0f0f0;
2106
  border: 1px solid #ababab;
2107
  border-radius: 2px;
2108
  titlebar-close-icon: url(qss:images_classic/transparent.png);
2109
  titlebar-normal-icon: url(qss:images_classic/transparent.png);
2110
}
2111

2112
QDockWidget::title {
2113
  /* Better size for title bar */
2114
  padding: 3px;
2115
  spacing: 4px;
2116
  border: none;
2117
  background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
2118
  text-align: center;
2119
  font-weight: bold;
2120
}
2121

2122
QDockWidget::close-button {
2123
  icon-size: 10px;
2124
  border: none;
2125
  background-color: transparent;
2126
  background-image: none;
2127
  border: 0;
2128
  margin: 0;
2129
  padding: 0;
2130
  image: url(qss:images_classic/close-black.png);
2131
}
2132

2133
QDockWidget::close-button:hover {
2134
  image: url(qss:images_classic/close-red.png);
2135
}
2136

2137
QDockWidget::close-button:pressed {
2138
  image: url(qss:images_classic/close-black.png);
2139
}
2140

2141
QDockWidget::float-button {
2142
  icon-size: 12px;
2143
  border: none;
2144
  background-color: transparent;
2145
  background-image: none;
2146
  border: 0;
2147
  margin: 0;
2148
  padding: 0;
2149
  image: url(qss:images_classic/undock-black.png);
2150
}
2151

2152
QDockWidget::float-button:hover {
2153
  /*background-color: @ThemeAccentColor1;*/
2154
  image: url(qss:images_classic/undock-blue.png);
2155
}
2156

2157
QDockWidget::float-button:pressed {
2158
  image: url(qss:images_classic/undock-black.png);
2159
}
2160

2161
/* QTreeView QListView QTableView -----------------------------------------
2162

2163
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview
2164
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qlistview
2165
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtableview
2166

2167
--------------------------------------------------------------------------- */
2168
QTreeView::branch  {
2169
  background-color: transparent;
2170
  selection-background-color: transparent;
2171
}
2172

2173
QTreeView::branch:has-siblings:!adjoins-item  {
2174
}
2175

2176
QTreeView::branch:has-siblings:adjoins-item  {
2177

2178
}
2179

2180
QTreeView::branch:!has-children:!has-siblings:adjoins-item  {
2181

2182
}
2183

2184
QTreeView::branch:closed:has-children:has-siblings  {
2185
  border-image: none;
2186
  image: url(qss:images_classic/Arrow-right-black.png);
2187
}
2188

2189
QTreeView::branch:has-children:!has-siblings:closed  {
2190
  border-image: none;
2191
  image: url(qss:images_classic/Arrow-right-black.png);
2192
}
2193

2194
QTreeView::branch:open:has-children:has-siblings  {
2195
  border-image: none;
2196
  image: url(qss:images_classic/Arrow-down-black.png);
2197
}
2198

2199
QTreeView::branch:open:has-children:!has-siblings  {
2200
  border-image: none;
2201
  image: url(qss:images_classic/Arrow-down-black.png) ;
2202
}
2203

2204
QTreeView::indicator,
2205
QListView::indicator,
2206
QTableView::indicator,
2207
QColumnView::indicator {
2208
  border: 1px solid #1c1c1c;
2209
}
2210

2211
QTreeView::indicator:unchecked:disabled,
2212
QListView::indicator:unchecked:disabled,
2213
QTableView::indicator:unchecked:disabled,
2214
QColumnView::indicator:unchecked:disabled {
2215
  border: 1px solid #696969;
2216
}
2217

2218
QTreeView::indicator:checked,
2219
QListView::indicator:checked,
2220
QTableView::indicator:checked,
2221
QColumnView::indicator:checked {
2222
  image: url(qss:images_classic/check-mark-black.png);
2223
}
2224

2225
QTreeView::indicator:checked:disabled ,
2226
QListView::indicator:checked:disabled ,
2227
QTableView::indicator:checked:disabled ,
2228
QColumnView::indicator:checked:disabled  {
2229
  image: url(qss:images_classic/check-mark-lightgray.png);
2230
  border: 1px solid #696969;
2231
}
2232

2233
QTreeView::indicator:checked:hover, QTreeView::indicator:checked:focus, QTreeView::indicator:checked:pressed,
2234
QListView::indicator:checked:hover,
2235
QListView::indicator:checked:focus,
2236
QListView::indicator:checked:pressed,
2237
QTableView::indicator:checked:hover,
2238
QTableView::indicator:checked:focus,
2239
QTableView::indicator:checked:pressed,
2240
QColumnView::indicator:checked:hover,
2241
QColumnView::indicator:checked:focus,
2242
QColumnView::indicator:checked:pressed {
2243
  /* image: url(qss:images_classic/checkbox-checked-blue.png); */
2244
  /* background-color: @ThemeAccentColor1;
2245
  border: 1px solid #1c1c1c; */
2246
}
2247

2248
/* QTreeView::indicator:unchecked,
2249
QListView::indicator:unchecked,
2250
QTableView::indicator:unchecked,
2251
QColumnView::indicator:unchecked {
2252
  image: url(qss:images_classic/checkbox-Empty-black.png);
2253
} */
2254

2255
QTreeView::indicator:unchecked:hover, QTreeView::indicator:unchecked:focus, QTreeView::indicator:unchecked:pressed,
2256
QListView::indicator:unchecked:hover,
2257
QListView::indicator:unchecked:focus,
2258
QListView::indicator:unchecked:pressed,
2259
QTableView::indicator:unchecked:hover,
2260
QTableView::indicator:unchecked:focus,
2261
QTableView::indicator:unchecked:pressed,
2262
QColumnView::indicator:unchecked:hover,
2263
QColumnView::indicator:unchecked:focus,
2264
QColumnView::indicator:unchecked:pressed {
2265
  /* image: url(qss:images_classic/checkbox-Empty-blue.png); */
2266
  /* background-color: @ThemeAccentColor1;
2267
  border: 1px solid #1c1c1c; */
2268
}
2269

2270
QTreeView::indicator:indeterminate,
2271
QListView::indicator:indeterminate,
2272
QTableView::indicator:indeterminate,
2273
QColumnView::indicator:indeterminate {
2274
  image: url(qss:images_classic/indeterminate-mark-black.png);
2275
}
2276

2277
QTreeView::indicator:indeterminate:hover, QTreeView::indicator:indeterminate:focus, QTreeView::indicator:indeterminate:pressed,
2278
QListView::indicator:indeterminate:hover,
2279
QListView::indicator:indeterminate:focus,
2280
QListView::indicator:indeterminate:pressed,
2281
QTableView::indicator:indeterminate:hover,
2282
QTableView::indicator:indeterminate:focus,
2283
QTableView::indicator:indeterminate:pressed,
2284
QColumnView::indicator:indeterminate:hover,
2285
QColumnView::indicator:indeterminate:focus,
2286
QColumnView::indicator:indeterminate:pressed {
2287
  /* image: url(qss:images_classic/indeterminate-mark-black.png);
2288
  background-color: @ThemeAccentColor1;
2289
  border: 1px solid #1c1c1c; */
2290
}
2291

2292
QTreeView,
2293
QListView,
2294
QTableView,
2295
QColumnView {
2296
  background-color: #f0f0f0;  /* background of a lot of stuff including spreadsheets.*/
2297
  color: black;
2298
  gridline-color: #ababab;
2299
  border-radius: 0px;
2300
  selection-background-color: @ThemeAccentColor1;
2301
}
2302

2303
QTableView,
2304
QListView  {
2305
  background-color: #ffffff;  /* background of a lot of stuff including spreadsheets.*/
2306
}
2307

2308
QTreeView:disabled,
2309
QListView:disabled,
2310
QTableView:disabled,
2311
QColumnView:disabled {
2312
  background-color: #d8d8d8;
2313
  color: #646464;
2314
}
2315

2316
QTreeView:selected,
2317
QListView:selected,
2318
QTableView:selected,
2319
QColumnView:selected {
2320
  background-color: #f0f0f0;
2321
  color: black;
2322
}
2323

2324
QTreeView:focus,
2325
QListView:focus,
2326
QTableView:focus,
2327
QColumnView:focus {
2328
  /* background-color: @ThemeAccentColor2; */
2329
}
2330

2331
QTreeView::item:pressed,
2332
QListView::item:pressed,
2333
QTableView::item:pressed,
2334
QColumnView::item:pressed {
2335
  background-color: @ThemeAccentColor1;
2336
}
2337

2338
QTreeView::item:selected:active,
2339
QListView::item:selected:active,
2340
QTableView::item:selected:active,
2341
QColumnView::item:selected:active {
2342
  background-color: @ThemeAccentColor1;
2343
}
2344

2345
QTreeView::item:selected:!active,
2346
QListView::item:selected:!active,
2347
QTableView::item:selected:!active,
2348
QColumnView::item:selected:!active {
2349
  background-color: @ThemeAccentColor1;
2350
}
2351

2352
QTreeView::item:!selected:hover,
2353
QListView::item:!selected:hover,
2354
QTableView::item:!selected:hover,
2355
QColumnView::item:!selected:hover {
2356
  outline: 0;
2357
  color: black;
2358
  background-color: @ThemeAccentColor1;
2359
}
2360

2361
QTableCornerButton::section {
2362
  background-color: #d8d8d8;
2363
  border: 1px transparent #ababab;
2364
  border-radius: 0px;
2365
}
2366

2367
QTableView::item {
2368
    color: black;
2369
}
2370
QTableView {
2371
  /*qproperty-AliasedCellBackgroundColor: #f700ff;*/
2372
  /*qproperty-aliasBgColor: #f700ff;*/
2373
}
2374

2375
/* QHeaderView ------------------------------------------------------------
2376

2377
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qheaderview
2378

2379
--------------------------------------------------------------------------- */
2380
QHeaderView {
2381
  background-color: transparent;
2382
  /* text-align: bottom; */
2383
}
2384

2385
QHeaderView:disabled {
2386
  /* background-color: #d8d8d8; */
2387
  color: #646464;
2388
}
2389

2390
QHeaderView::section {
2391
  background-color: qlineargradient(x1:0, y1:0.3, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
2392
  color: black;
2393
  border-bottom: 1px solid #ababab;
2394
  border-right: 1px solid #ababab;
2395
  border-top: 1px solid #ababab;
2396
  border-left: 1px solid transparent;
2397
}
2398

2399
QHeaderView::section::horizontal {
2400
  /* padding-top: 1px;
2401
  padding-bottom: 1px;
2402
  padding-left: 5px;
2403
  padding-right: 0px; */
2404
}
2405

2406
QHeaderView::section::horizontal::first, QHeaderView::section::horizontal::only-one {
2407
  /* border-left: 0px solid #ababab; */
2408
}
2409

2410
QHeaderView::section::horizontal:disabled {
2411
  color: #646464;
2412
}
2413

2414
QHeaderView::section::vertical {
2415
  border-top: 1px solid #ababab;
2416
}
2417

2418
QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
2419
  border-top: 2px solid #ababab;
2420
}
2421

2422
QHeaderView::section::vertical:disabled {
2423
  border-top: 2px solid #ababab;
2424
}
2425

2426
QHeaderView::down-arrow {
2427
  /* Those settings (border/width/height/background-color) solve bug */
2428
  /* transparent arrow background and size */
2429
  background-color: transparent;
2430
  border: none;
2431
  height: 12px;
2432
  width: 12px;
2433
  padding-left: 2px;
2434
  padding-right: 2px;
2435
  image: url(qss:images_classic/Arrow-down-lightgray.png);
2436
}
2437

2438
QHeaderView::up-arrow {
2439
  background-color: transparent;
2440
  border: none;
2441
  height: 12px;
2442
  width: 12px;
2443
  padding-left: 2px;
2444
  padding-right: 2px;
2445
  image: url(qss:images_classic/Arrow-up-lightgray.png);
2446
}
2447

2448
/* QToolBox --------------------------------------------------------------
2449

2450
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtoolbox
2451
used in PATH
2452

2453
--------------------------------------------------------------------------- */
2454
QToolBox {
2455
  padding: 0px;
2456
  border: 0px solid transparent;
2457
  border-radius: 4px;
2458
  background-color: transparent;
2459
  color: black;
2460
}
2461

2462
QToolBox:selected {
2463
  padding: 0px;
2464
  border: 1px solid @ThemeAccentColor1;
2465
}
2466

2467
QToolBox::tab {
2468
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
2469
  color: black;
2470
  border-radius: 4px;
2471
  border: 1px solid #ababab;
2472
  image: none;
2473
  background-image: none;
2474
  padding-left: 0px;
2475
}
2476

2477
QToolBox::tab:disabled {
2478
  color: #646464;
2479
}
2480

2481
QToolBox::tab:selected {
2482
 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:1 #f8f8f8);
2483
}
2484

2485
QToolBox::tab:selected:disabled {
2486
  background-color: #696969;
2487
  border-bottom: 0px solid #cccccc;
2488
  color: #646464;
2489
}
2490

2491
QToolBox::tab:!selected {
2492
  color: black;
2493
}
2494

2495
QToolBox::tab:!selected:disabled {
2496
  background-color: #d8d8d8;
2497
}
2498

2499
QToolBox::tab:hover {
2500
 background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fefefe, stop:1 #f8f8f8);
2501
  }
2502

2503
QToolBox > QScrollArea > QWidget > QWidget {
2504
  padding: 0px;
2505
  border: 0px;
2506
  background-color: #f0f0f0;
2507
  border-radius: 4px;
2508
}
2509

2510
/* QFrame -----------------------------------------------------------------
2511

2512
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qframe
2513
https://doc.qt.io/qt-5/qframe.html#-prop
2514
https://doc.qt.io/qt-5/qframe.html#details
2515
https://stackoverflow.com/questions/14581498/qt-stylesheet-for-hline-vline-color
2516

2517
--------------------------------------------------------------------------- */
2518
/* (dot) .QFrame  fix #141, #126, #123 */
2519
.QFrame {
2520
  border-radius: 0px;
2521
  border: 0px solid #ababab;
2522
  background-color: #f0f0f0;
2523
  /* No frame */
2524
  /* HLine */
2525
  /* HLine */
2526
}
2527

2528
.QFrame[frameShape="0"] {
2529
  border-radius: 2px;
2530
  border: 1px solid #ababab;
2531
}
2532

2533
.QFrame[frameShape="4"] {
2534
  max-height: 1px;
2535
  border: none;
2536
  background-color: #ababab;
2537
}
2538

2539
.QFrame[frameShape="5"] {
2540
  max-width: 1px;
2541
  border: none;
2542
  background-color: #f0f0f0;
2543
}
2544

2545
/* QSplitter --------------------------------------------------------------
2546

2547
https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qsplitter
2548

2549
---------------------------------------------------------------------------*/
2550
QSplitterHandle:hover { /* to fix bug about hovering on splitters https://bugreports.qt.io/browse/QTBUG-13768 */
2551

2552
}
2553

2554
QSplitter::handle {
2555
  margin: 0px 0px;
2556
  padding: 0px;
2557
}
2558

2559
QSplitter::handle:horizontal {
2560
  background-image: none;
2561
  background-position: center center;
2562
  background-repeat: none;
2563
  margin: 2px 2px 2px 2px;
2564
  width: 1px;
2565
}
2566

2567
QSplitter::handle:vertical {
2568
  background-image: none;
2569
  background-position: center center;
2570
  background-repeat: none;
2571
  margin: 2px 2px 2px 2px;
2572
  height: 1px;
2573
}
2574
QSplitter::handle:vertical:hover {
2575
  image: url(qss:images_classic/splitter_horizontal-lightgray.png);
2576
}
2577

2578
QSplitter::handle:horizontal:hover {
2579
  image: url(qss:images_classic/splitter_vertical-lightgray.png);
2580
}
2581

2582
/* QDateEdit, QDateTimeEdit -----------------------------------------------
2583

2584
--------------------------------------------------------------------------- */
2585
QDateEdit, QDateTimeEdit {
2586
  selection-background-color: @ThemeAccentColor1;
2587
  border-style: solid;
2588
  border: 1px solid #ababab;
2589
  border-radius: 2px;
2590
  /* This fixes 103, 111 */
2591
  padding-top: 2px;
2592
  /* This fixes 103, 111 */
2593
  padding-bottom: 2px;
2594
  padding-left: 4px;
2595
  padding-right: 4px;
2596
  min-width: 10px;
2597
}
2598

2599
QDateEdit:on, QDateTimeEdit:on {
2600
  selection-background-color: @ThemeAccentColor1;
2601
}
2602

2603
QDateEdit::drop-down, QDateTimeEdit::drop-down {
2604
  subcontrol-origin: padding;
2605
  subcontrol-position: top right;
2606
  width: 12px;
2607
  border-left: 1px solid #ababab;
2608
}
2609

2610
QDateEdit::down-arrow, QDateTimeEdit::down-arrow {
2611
  image: url(qss:images_classic/Arrow-down-lightgray.png);
2612
  height: 8px;
2613
  width: 8px;
2614
}
2615

2616
QDateEdit::down-arrow:on, QDateEdit::down-arrow:hover, QDateEdit::down-arrow:focus, QDateTimeEdit::down-arrow:on, QDateTimeEdit::down-arrow:hover, QDateTimeEdit::down-arrow:focus {
2617
  image: url(qss:images_classic/Arrow-down-black.png);
2618
}
2619

2620
QDateEdit QAbstractItemView, QDateTimeEdit QAbstractItemView {
2621
  background-color: #ffffff;
2622
  border-radius: 2px;
2623
  border: 1px solid #ababab;
2624
  selection-background-color: @ThemeAccentColor1;
2625
}
2626

2627
/* QAbstractView ----------------------------------------------------------
2628

2629
--------------------------------------------------------------------------- */
2630
QAbstractView:hover {
2631
  border: 1px solid @ThemeAccentColor1;
2632
  color: black;
2633
}
2634

2635
QAbstractView:selected {
2636
  background-color: @ThemeAccentColor1;
2637
  color: black;
2638
}
2639

2640
/* PlotWidget -------------------------------------------------------------
2641

2642
--------------------------------------------------------------------------- */
2643
PlotWidget {
2644
  /* Fix cut labels in plots #134 */
2645
  padding: 0px;
2646
  color: rgba(253, 253, 253, 0.614);
2647
}
2648

2649
/*==================================================================================================
2650
SKETCHER
2651
==================================================================================================*/
2652

2653
Gui--StatefulLabel[state="empty_sketch"] {
2654
  color : #393939; /* 50% opacity white */
2655
}
2656
Gui--StatefulLabel[state="under_constrained"] {
2657
  color : #000000;
2658
}
2659
Gui--StatefulLabel[state="conflicting_constraints"] {
2660
  color : #9d0000; /* Red */
2661
  font-weight: bold;
2662
}
2663
Gui--StatefulLabel[state="malformed_constraints"] {
2664
  color : #9d0000; /* Red */
2665
  font-weight: bold;
2666
}
2667
Gui--StatefulLabel[state="redundant_constraints"] {
2668
  color : #ab4d00; /* Orange red */
2669
}
2670
Gui--StatefulLabel[state="partially_redundant_constraints"] {
2671
  color : #005991; /* Royal blue */
2672
}
2673
Gui--StatefulLabel[state="solver_failed"] {
2674
  color : #9d0000; /* Red */
2675
  font-weight: bold;
2676
}
2677
Gui--StatefulLabel[state="fully_constrained"] {
2678
  color : #278100; /* Green */
2679
  font-weight: bold;
2680
}
2681
Gui--UrlLabel {
2682
  color : #0061a7; /* Deep sky blue */
2683
  text-decoration : underline;
2684
}
2685

2686
Gui--NotificationLabel {
2687
  background-color: #ffffff;
2688
  border: 1px solid #ababab;
2689
  border-radius: 2px;
2690
}
2691
/* overlay */
2692
Gui--OverlayToolButton{
2693
  image: url(qss:images_classic/close-lightgray.png);
2694
}
2695

2696
Gui--OverlayToolButton:hover {
2697
  image: url(qss:images_classic/close-red.png);
2698
}
2699

2700
Gui--OverlayToolButton[objectName="OBTN Float"] {
2701
  image: url(qss:images_classic/float-lightgray.png);
2702
}
2703

2704
Gui--OverlayToolButton[objectName="OBTN Float"]:hover {
2705
  image: url(qss:images_classic/float-black.png);
2706
}
2707

2708
Gui--OverlayToolButton[objectName="OBTN Overlay"] {
2709
  image: url(qss:images_classic/overlay-lightgray.png);
2710
}
2711

2712
Gui--OverlayToolButton[objectName="OBTN Overlay"]:hover {
2713
  image: url(qss:images_classic/overlay-black.png);
2714
}
2715

2716
/*==================================================================================================
2717
Forming windows below are the border settings. See also https://forum.freecad.org/viewtopic.php?p=439797#p439797
2718
==================================================================================================*/
2719
QMdiSubWindow {
2720
  border:2px solid #f0f0f0;
2721
  border-radius: 2px;
2722
  border-top-right-radius: 7px;
2723
  border-top-left-radius: 7px;
2724
  background-color: #f0f0f0;
2725
}
2726

2727
QMdiSubWindow:hover {
2728
  border:2px solid #ababab;
2729
}
2730

2731
QMdiSubWindow:active {
2732
  border:2px solid @ThemeAccentColor1;
2733
}
2734

2735
/*==================================================================================================
2736
Settings menu #groupsTreeView:
2737
==================================================================================================*/
2738

2739
QTreeView::branch#groupsTreeView:closed:has-children:has-siblings  {
2740
  border-image: none;
2741
  image: url(qss:images_classic/Arrow-right-black.png);
2742
}
2743

2744
QTreeView::branch#groupsTreeView:open:has-children:has-siblings  {
2745
  border-image: none;
2746
  image: url(qss:images_classic/Arrow-down-black.png);
2747
}
2748

2749
QTreeView::branch#groupsTreeView:open:has-children:!has-siblings  {
2750
  border-image: none;
2751
  image: url(qss:images_classic/Arrow-down-black.png);
2752
}
2753

2754
QTreeView::branch#groupsTreeView:has-children:!has-siblings:closed  {
2755
  border-image: none;
2756
  image: url(qss:images_classic/Arrow-right-black.png);
2757
}
2758

2759
QTreeView::branch#groupsTreeView:has-siblings:!adjoins-item  {
2760
  border-image: none;
2761
}
2762

2763
/*==================================================================================================
2764
Start page
2765
==================================================================================================*/
2766
QWidget#thumbnailWidget {
2767
  background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #f0f0f0, stop:1 #fdfdfd);
2768
  border-radius: 8px;
2769
  border: 1px solid #ababab;
2770
}
2771

2772
QWidget#thumbnailWidget[state="hovered"] {
2773
  border: 1px solid @ThemeAccentColor1;
2774
}
2775

2776
QWidget#thumbnailWidget[state="pressed"] {
2777
  border: 1px solid @ThemeAccentColor1;
2778
}
2779

2780
/**
2781
 * Special handling for WB Tab Bar
2782
 */
2783
 #WbTabBar #WbTabBarMore {
2784
  padding-right: 12px;
2785
 }
2786

2787
/* Below is a fix for indentation in properties, but this is a QT 6 bug only and so is disabled since Windows is as I write this still on QT 5. */
2788
/* QTreeView::item:selected:active#groupsTreeView {
2789
  background-color: @ThemeAccentColor1;
2790
    margin-left:-8px;
2791
}
2792

2793
QTreeView::item:selected#groupsTreeView{
2794
  background-color: @ThemeAccentColor1;
2795
    margin-left:-8px;
2796
}
2797

2798
QTreeView::item:!selected:hover#groupsTreeView {
2799
  outline: 0;
2800
  color: white;
2801
  background-color: @ThemeAccentColor1;
2802
  margin-left:-8px;
2803
} */

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.