hytos / DTI_PID / DTI_PID / coffee.qss @ 3d990830
이력 | 보기 | 이력해설 | 다운로드 (3.98 KB)
1 | 02ed19e4 | humkyung | .QWidget { |
---|---|---|---|
2 | background-color: beige; |
||
3 | } |
||
4 | |||
5 | /* Nice Windows-XP-style password character. */ |
||
6 | QLineEdit[echoMode="2"] { |
||
7 | lineedit-password-character: 9679; |
||
8 | } |
||
9 | |||
10 | /* We provide a min-width and min-height for push buttons |
||
11 | so that they look elegant regardless of the width of the text. */ |
||
12 | QPushButton { |
||
13 | background-color: palegoldenrod; |
||
14 | border-width: 2px; |
||
15 | border-color: darkkhaki; |
||
16 | border-style: solid; |
||
17 | border-radius: 5; |
||
18 | padding: 3px; |
||
19 | min-width: 9ex; |
||
20 | min-height: 2.5ex; |
||
21 | } |
||
22 | |||
23 | QPushButton:hover { |
||
24 | background-color: khaki; |
||
25 | } |
||
26 | |||
27 | /* Increase the padding, so the text is shifted when the button is |
||
28 | pressed. */ |
||
29 | QPushButton:pressed { |
||
30 | padding-left: 5px; |
||
31 | padding-top: 5px; |
||
32 | background-color: #d0d67c; |
||
33 | } |
||
34 | |||
35 | QLabel, QAbstractButton { |
||
36 | font: bold; |
||
37 | } |
||
38 | |||
39 | /* Mark mandatory fields with a brownish color. */ |
||
40 | .mandatory { |
||
41 | color: brown; |
||
42 | } |
||
43 | |||
44 | /* Bold text on status bar looks awful. */ |
||
45 | QStatusBar QLabel { |
||
46 | font: normal; |
||
47 | } |
||
48 | |||
49 | QStatusBar::item { |
||
50 | border-width: 1; |
||
51 | border-color: darkkhaki; |
||
52 | border-style: solid; |
||
53 | border-radius: 2; |
||
54 | } |
||
55 | |||
56 | bd0d156a | humkyung | QComboBox, QLineEdit, QSpinBox, QTextEdit, QListView, QTableWidget { |
57 | 02ed19e4 | humkyung | background-color: cornsilk; |
58 | selection-color: #0a214c; |
||
59 | selection-background-color: #C19A6B; |
||
60 | } |
||
61 | |||
62 | QListView { |
||
63 | show-decoration-selected: 1; |
||
64 | } |
||
65 | |||
66 | QListView::item:hover { |
||
67 | background-color: wheat; |
||
68 | } |
||
69 | |||
70 | /* We reserve 1 pixel space in padding. When we get the focus, |
||
71 | we kill the padding and enlarge the border. This makes the items |
||
72 | glow. */ |
||
73 | QLineEdit, QFrame { |
||
74 | border-width: 2px; |
||
75 | padding: 1px; |
||
76 | border-style: solid; |
||
77 | border-color: darkkhaki; |
||
78 | border-radius: 5px; |
||
79 | } |
||
80 | |||
81 | /* As mentioned above, eliminate the padding and increase the border. */ |
||
82 | QLineEdit:focus, QFrame:focus { |
||
83 | border-width: 3px; |
||
84 | padding: 0px; |
||
85 | } |
||
86 | |||
87 | /* A QLabel is a QFrame ... */ |
||
88 | QLabel { |
||
89 | border: none; |
||
90 | padding: 0; |
||
91 | background: none; |
||
92 | } |
||
93 | |||
94 | /* A QToolTip is a QLabel ... */ |
||
95 | QToolTip { |
||
96 | border: 2px solid darkkhaki; |
||
97 | padding: 5px; |
||
98 | border-radius: 3px; |
||
99 | opacity: 200; |
||
100 | } |
||
101 | |||
102 | /* Nice to have the background color change when hovered. */ |
||
103 | QRadioButton:hover, QCheckBox:hover { |
||
104 | background-color: wheat; |
||
105 | } |
||
106 | |||
107 | /* Force the dialog's buttons to follow the Windows guidelines. */ |
||
108 | QDialogButtonBox { |
||
109 | button-layout: 0; |
||
110 | bd0d156a | humkyung | } |
111 | |||
112 | QMainWindow{ |
||
113 | background-color: palegoldenrod; |
||
114 | } |
||
115 | |||
116 | QMainWindow::TitleBar{ |
||
117 | background-color: palegoldenrod; |
||
118 | } |
||
119 | |||
120 | QDialog{ |
||
121 | background-color: palegoldenrod; |
||
122 | } |
||
123 | |||
124 | QMenuBar { |
||
125 | background-color: palegoldenrod; |
||
126 | color: darkkhaki; |
||
127 | } |
||
128 | |||
129 | QMenuBar::item { |
||
130 | background-color: palegoldenrod; |
||
131 | color: rgb(0,0,0); |
||
132 | } |
||
133 | |||
134 | QMenuBar::item::selected { |
||
135 | background-color: darkkhaki; |
||
136 | } |
||
137 | |||
138 | QMenu { |
||
139 | background-color: palegoldenrod; |
||
140 | color: rgb(0,0,0); |
||
141 | border: 1px solid #000; |
||
142 | } |
||
143 | |||
144 | QMenu::item::selected { |
||
145 | background-color: darkkhaki; |
||
146 | } |
||
147 | |||
148 | QToolBar { |
||
149 | background-color: palegoldenrod; |
||
150 | e43ed486 | humkyung | } |
151 | |||
152 | QGraphicsView |
||
153 | { |
||
154 | border: transparent; |
||
155 | background: transparent; |
||
156 | 2de6e9fe | humkyung | } |
157 | e80ac39b | humkyung | |
158 | QTreeView::branch:has-siblings:!adjoins-item |
||
159 | { |
||
160 | border-image: url(:/newPrefix/vline.png) 0; |
||
161 | 2de6e9fe | humkyung | } |
162 | e80ac39b | humkyung | |
163 | QTreeView::branch:has-siblings:adjoins-item |
||
164 | { |
||
165 | border-image: url(:/newPrefix/branch-more.png) 0; |
||
166 | 2de6e9fe | humkyung | } |
167 | e80ac39b | humkyung | |
168 | QTreeView::branch:!has-children:!has-siblings:adjoins-item |
||
169 | { |
||
170 | border-image: url(:/newPrefix/branch-end.png) 0; |
||
171 | 2de6e9fe | humkyung | } |
172 | e80ac39b | humkyung | |
173 | QTreeView::branch:has-children:!has-siblings:closed,QTreeView::branch:closed:has-children:has-siblings |
||
174 | { |
||
175 | border-image:none;image:url(:/newPrefix/branch-closed.png); |
||
176 | 2de6e9fe | humkyung | } |
177 | e80ac39b | humkyung | |
178 | QTreeView::branch:open:has-children:!has-siblings,QTreeView::branch:open:has-children:has-siblings |
||
179 | { |
||
180 | border-image:none;image:url(:/newPrefix/branch-open.png); |
||
181 | ba7d75e6 | humkyung | } |
182 | |||
183 | /*TabMenuBar*/ |
||
184 | TabBar { |
||
185 | border: 0px; |
||
186 | } |
||
187 | |||
188 | TabBar:pane { |
||
189 | border: 0px; |
||
190 | background-color: #ffffff; |
||
191 | } |
||
192 | |||
193 | |||
194 | TabBar::tab { |
||
195 | min-width: 50px; |
||
196 | min-height: 30px; |
||
197 | } |
||
198 | |||
199 | TabBar::tab:selected { |
||
200 | border: 0px; |
||
201 | background-color: #ffffff; |
||
202 | } |
||
203 | |||
204 | TabBar::tab:selected:hover { |
||
205 | border: 0px; |
||
206 | background-color: #ffffff; |
||
207 | } |
||
208 | |||
209 | TabBar::tab:!selected { |
||
210 | border: 0px; |
||
211 | margin: 0px; |
||
212 | background-color: rgb(240, 240, 240); |
||
213 | } |
||
214 | |||
215 | TabBar::tab:hover { |
||
216 | border: 0px; |
||
217 | background-color: #D0D0D1; |
||
218 | 02ed19e4 | humkyung | } |