source: trunk/demos/embedded/styledemo/files/khaki.qss@ 561

Last change on this file since 561 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1
2QWidget#StartScreen, QWidget#MainWidget {
3 border: none;
4}
5
6QWidget#StartScreen, .QFrame {
7 background-color: beige;
8}
9
10QPushButton, QToolButton {
11 background-color: palegoldenrod;
12 border-width: 2px;
13 border-color: darkkhaki;
14 border-style: solid;
15 border-radius: 5;
16 padding: 3px;
17 /* min-width: 96px; */
18 /* min-height: 48px; */
19}
20
21QPushButton:hover, QToolButton:hover {
22 background-color: khaki;
23}
24
25QPushButton:pressed, QToolButton:pressed {
26 padding-left: 5px;
27 padding-top: 5px;
28 background-color: #d0d67c;
29}
30
31QLabel, QAbstractButton {
32 font: italic "Times New Roman";
33}
34
35QFrame, QLabel#title {
36 border-width: 2px;
37 padding: 1px;
38 border-style: solid;
39 border-color: darkkhaki;
40 border-radius: 5px;
41}
42
43QFrame:focus {
44 border-width: 3px;
45 padding: 0px;
46}
47
48
49QLabel {
50 border: none;
51 padding: 0;
52 background: none;
53}
54
55QLabel#title {
56 font: 32px bold;
57}
58
59QSpinBox {
60 padding-left: 24px;
61 padding-right: 24px;
62 border-color: darkkhaki;
63 border-style: solid;
64 border-radius: 5;
65 border-width: 3;
66}
67
68QSpinBox::up-button
69{
70 subcontrol-origin: padding;
71 subcontrol-position: right; /* position at the top right corner */
72 width: 24px;
73 height: 24px;
74 border-width: 3px;
75 border-image: url(:/files/spindownpng) 1;
76}
77
78QSpinBox::up-arrow {
79 image: url(:/files/add.png);
80 width: 12px;
81 height: 12px;
82 }
83
84
85QSpinBox::down-button
86{
87 subcontrol-origin: border;
88 subcontrol-position: left;
89 width: 24px;
90 height: 24px;
91 border-width: 3px;
92 border-image: url(:/files/spindownpng) 1;
93}
94
95QSpinBox::down-arrow {
96 image: url(:/files/remove.png);
97 width: 12px;
98 height: 12px;
99 }
Note: See TracBrowser for help on using the repository browser.