-
Notifications
You must be signed in to change notification settings - Fork 20
/
style.qss
269 lines (208 loc) · 5.76 KB
/
style.qss
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
/*
Copyright (c) 2015 Shotgun Software Inc.
CONFIDENTIAL AND PROPRIETARY
This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
Source Code License included in this distribution package. See LICENSE.
By accessing, using, copying or modifying this work you indicate your
agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
not expressly granted therein are reserved by Shotgun Software Inc.
*/
/* Use open sans font across the app if core supports it */
QWidget {
font-family: "Open Sans";
font-style: "Regular";
}
/* Get rid of borders for main Listing Views */
QListView, QTableView, QTreeView, QScrollArea, QMenu {
border: none;
}
QMenu::item {
border: none;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
QMenu::item:selected {
background-color: rgba(24, 167, 227, 75);
border: 1px solid {{SG_HIGHLIGHT_COLOR}};
}
QMenu::separator {
height: 2px;
background: #888;
margin: 4px;
padding-right: 4px;
padding-left: 4px;
}
/****************************************************************/
/* Main tab section */
QTabWidget::pane {
border-top: 1px solid rgba(255, 255, 255, 20);
padding-top: 8px;
}
/* Style the tab using the tab sub-control. */
QTabBar::tab {
padding-left: 12px;
padding-right: 12px;
padding-bottom: 12px;
padding-top: 0px;
border-bottom: 2px solid rgba(255, 255, 255, 5);
}
QTabBar::tab:hover {
color: {{SG_HIGHLIGHT_COLOR}};
}
QTabBar::tab:selected {
color: {{SG_HIGHLIGHT_COLOR}};
border-bottom: 2px solid {{SG_HIGHLIGHT_COLOR}};
}
/* helper text below labels */
#entity_note_label, #entity_version_label, #entity_publish_label,
#entity_task_label, #publish_history_label, #publish_upstream_label,
#publish_downstream_label, #version_note_label, #version_publish_label
{
font-size: 10px;
font-weight: 100;
font-style: italic;
}
#button, #action_button {
border: 1px solid rgba(50, 50, 50, 50%);
background-color: rgba(50, 50, 50, 15%);
border-radius: 2px;
}
QPushButton#action_button:hover {
background-color: rgba(200, 200, 200, 18%);
}
QPushButton#button:hover {
background-color: rgba(200, 200, 200, 18%);
}
/****************************************************************/
/* Info tab showing all shotgun fields */
FieldNameLabel {
padding: 8px;
/* there seems to be an odd bug where border-bottom isn't evaluated
unless there is a border top, so add a transparent line... */
border-top: 1px dotted rgba(0,0,0,0%);
color: rgba(200, 200, 200, 40%);
border-bottom: 1px dotted rgba(200, 200, 200, 18%);
}
FieldValueLabel {
padding: 8px;
/* there seems to be an odd bug where border-bottom isn't evaluated
unless there is a border top, so add a transparent line... */
border-top: 1px dotted rgba(0,0,0,0%);
border-bottom: 1px dotted rgba(200, 200, 200, 18%);
}
/****************************************************************/
/* Navigation: Home, previous, next */
QToolButton {
border: none;
}
QToolButton:hover {
border: none;
border-radius: 2px;
background-color: rgba(200, 200, 200, 18%);
}
QToolButton:pressed {
border: none;
border-radius: 2px;
background-color: rgba(200, 200, 200, 35%);
}
/****************************************************************/
/* Work area buttons in header */
WorkAreaButton[is_expanded="true"] {
background-color: rgba(200, 200, 200, 18%);
border-radius: 2px;
border: none;
}
WorkAreaButton[is_expanded="true"]:pressed {
background-color: rgba(200, 200, 200, 35%);
border-radius: 2px;
border: none;
}
/****************************************************************/
/* Work area buttons in listings */
FloatingWorkAreaButton {
background-color: rgba(20, 20, 20, 35%);
border-radius: 2px;
border: none;
}
FloatingWorkAreaButton[is_expanded="true"] {
background-color: rgba(20, 20, 20, 50%);
border-radius: 2px;
border: none;
}
FloatingWorkAreaButton[is_expanded="true"]:pressed {
background-color: rgba(20, 20, 20, 70%);
border-radius: 2px;
border: none;
}
/****************************************************************/
/* Top details area */
#details_text_header {
padding-left: 2px;
font-size: 16px;
font-weight: 100;
color: white;
}
#details_text_middle {
padding-left: 0px;
padding-left: 8px;
}
QWidget#top_group {
background-color: rgba(255, 255, 255, 10%);
border-radius: 3px;
}
QFrame#line {
border-top: 1px dotted #888;
}
#list_item_top_right {
color: rgba(200, 200, 200, 40%);
}
/****************************************************************/
/* Styling for the nav tree. */
#hierarchy_label {
font-size: 18px;
font-weight: 100;
}
QTreeView::item {
padding: 6px;
}
QTreeView {
font-size: 11px;
font-weight: 100;
}
/****************************************************************/
/* Styling for the choose work area dialog. */
WorkAreaDialog #top_text {
font-size: 18px;
font-weight: 100;
color: #fff;
margin-left: 10px;
}
WorkAreaDialog #top_frame {
border-radius: 3px;
background-color: {{SG_HIGHLIGHT_COLOR}};
}
WorkAreaDialog #task_list {
font-size: 14px;
font-weight: 100;
}
WorkAreaDialog #task_list::item {
padding: 10px;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
background-color: rgba(255, 255, 255, 10%);
}
WorkAreaDialog #task_list::item:selected {
background-color: {{SG_HIGHLIGHT_COLOR}};
}
WorkAreaDialog #task_name {
font-size: 14px;
font-weight: 100;
border: none;
}
WorkAreaDialog #step_combo {
font-size: 14px;
font-weight: 100;
}