summaryrefslogtreecommitdiffstats
path: root/demos/embedded/styledemo/files/khaki.qss
blob: b0d4a0fa6fe028176054c4eeee9812680accaeee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99

QWidget#StartScreen, QWidget#MainWidget {
   border: none;
}

QWidget#StartScreen, .QFrame {
   background-color: beige;
}

QPushButton, QToolButton {
    background-color: palegoldenrod;
    border-width: 2px;
    border-color: darkkhaki;
    border-style: solid;
    border-radius: 5;
    padding: 3px;
    /* min-width: 96px; */
    /* min-height: 48px; */
}

QPushButton:hover, QToolButton:hover {
   background-color: khaki;
}

QPushButton:pressed, QToolButton:pressed {
    padding-left: 5px;
    padding-top: 5px;
    background-color: #d0d67c;
}

QLabel, QAbstractButton {
    font: italic "Times New Roman";
}

QFrame, QLabel#title {
    border-width: 2px;
    padding: 1px;
    border-style: solid;
    border-color: darkkhaki;
    border-radius: 5px;
}

QFrame:focus {
    border-width: 3px;
    padding: 0px;
}


QLabel {
    border: none;
    padding: 0;
    background: none;
}

QLabel#title {
	font: 32px bold;
}

QSpinBox {
     padding-left: 24px;
     padding-right: 24px;
	 border-color: darkkhaki;
	 border-style: solid;
	 border-radius: 5;
     border-width: 3;
}

QSpinBox::up-button 
{
     subcontrol-origin: padding;
     subcontrol-position: right; /* position at the top right corner */
     width: 24px;
     height: 24px;
     border-width: 3px;
	 border-image: url(:/files/spindownpng) 1;
}

QSpinBox::up-arrow {
     image: url(:/files/add.png);
     width: 12px;
     height: 12px;
 }


QSpinBox::down-button 
{
     subcontrol-origin: border;
     subcontrol-position: left;
     width: 24px;
     height: 24px;
     border-width: 3px;
	 border-image: url(:/files/spindownpng) 1;
}

QSpinBox::down-arrow {
     image: url(:/files/remove.png);
     width: 12px;
     height: 12px;
 }