-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault2.css
More file actions
367 lines (347 loc) · 6.88 KB
/
default2.css
File metadata and controls
367 lines (347 loc) · 6.88 KB
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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
body {
background-color: #ECEFF1;
font-family: Arial;
font-size: 12pt;
}
select {
font-size: 12pt;
}
.sidebar {
height: 100%;
width: 180px;
position: fixed;
z-index: 1;
top: 0;
right: 0;
background-color: #4c9de9;
overflow-x: hidden;
padding: 10px;
box-shadow: -2px 0px 2px #aaa;
}
.sidebar input[type='checkbox'] {
margin-left: -1.4em;
}
.sidebar label {
display: inline-block;
margin-left: 1.4em;
}
.setting {
background-color: #fff;
border: 1px solid #eee;
border-radius: 6px;
box-shadow: 2px 2px 2px #68a;
margin: 2px;
margin-bottom: 10px;
padding: 10px;
}
.setting button.minus,
.setting button.apply,
.setting button {
font-size: 10pt;
font-weight: normal;
margin: 2px;
width: 97%;
}
.setting select {
margin-top: 5px;
width: 100%;
}
.checked, .error {
background-color: #FFA726;
border: 1px solid #EF6C00;
}
button.plus, button.minus {
font-weight: bold;
}
button {
border-radius: 4px;
border-width: 1px;
border-style: solid;
font-size: 12pt;
padding: 3px 8px;
}
button.plus {
border-color: #3b933f;
background: linear-gradient(to bottom, #60ef67, #3b933f);
box-shadow: #59dd5f 0px 0px 2px 1px;
text-shadow: #255c28 1px 1px 1px;
color: #000000;
margin-left: 10px;
margin-right: 2px;
}
button.plus:hover {
box-shadow: #59dd5f 0px 0px 3px 2px;
}
button.plus:active {
background: linear-gradient(to top, #60ef67, #3b933f);
}
button.minus {
border-color: #bf4240;
background: linear-gradient(to bottom, #ff6b68, #bf4240);
box-shadow: #ff6260 0px 0px 2px 1px;
text-shadow: #782928 1px 1px 1px;
color: #000000;
}
button.minus:hover {
box-shadow: #ff6260 0px 0px 3px 2px;
}
button.minus:active {
background: linear-gradient(to top, #ff6b68, #bf4240);
}
button.edit {
border-color: #cf9b21;
background: linear-gradient(to bottom, #ffee58, #cf9b21);
box-shadow: #ffff1e 0px 0px 2px 1px;
text-shadow: #ffff21 1px 1px 1px;
color: #000000;
}
button.edit:hover {
box-shadow: #ffff1e 0px 0px 4px 2px;
}
button.edit:active {
background: linear-gradient(to top, #ffee58, #cf9b21);
}
button.add, button.apply {
border-color: #1a4283;
background: linear-gradient(to bottom, #307df6, #1a4283);
box-shadow: #3a96ff 0px 0px 2px 1px;
text-shadow: #0f274d 1px 1px 1px;
color: #ffffff;
}
button.add:hover, button.apply:hover {
box-shadow: #3a96ff 0px 0px 3px 2px;
}
button.add:active, button.apply:active {
background: linear-gradient(to top, #307df6, #1a4283);
}
button.apply {
margin-left: 10px;
}
button.generic {
border-color: #9faeb3;
background: linear-gradient(to bottom, #f5fdff, #9faeb3);
box-shadow: #c0e9f0 0px 0px 2px 1px;
text-shadow: #ffffff 1px 1px 1px;
color: #000000;
}
button.generic:hover {
box-shadow: #c0e9f0 0px 0px 3px 2px;
}
button.generic:active {
background: linear-gradient(to top, #f5fdff, #9faeb3);
}
button.ellipsis {
position: relative;
top: -0.3em;
height: 1em;
margin-left: 0.5em;
display: inline-flex;
align-items: flex-end;
border-radius: 0.5em;
border: 1px solid/* #9faeb3*/;
/*background: linear-gradient(to bottom, #f5fdff, #9faeb3);
box-shadow: #c0e9f0 0px 0px 2px 1px;
text-shadow: #ffffff 1px 1px 1px;*/
font-weight: bold;
}
.winelistcontainer, .loglistcontainer {
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 6px;
box-shadow: 2px 2px 2px #aaa;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
padding: 20px;
width: fit-content;
}
.winelist, .loglist {
border-collapse: collapse;
}
.winelist > tbody > tr > td,
.loglist > tbody > tr > td {
border-bottom: 1px solid #e0e0e0;
border-top: 1px solid #e0e0e0;
}
.handcursor {
cursor: hand;
}
.winelist > thead > tr > td {
cursor: hand;
font-weight: bold;
padding: 6px 3px 10px 3px;
}
.winelist > tbody > tr > td,
.winelist > tfoot > tr > td {
max-width: 300px;
padding: 3px;
}
.winelist > tfoot > tr > td {
padding-top: 10px;
}
.winelist > tfoot > tr > td:first-child {
padding-left: 6px;
}
.winelist .count {
padding-right: 10px;
text-align: right;
}
.winelist .centered {
text-align: center;
}
.winelist .editable {
margin: 1px; /* instead of border */
padding: 4px; /* same as input.edit below */
}
input.edit, textarea.edit {
background-color: #ffffe0;
border: 1px solid #FFED85;
font-family: Arial;
font-size: 12pt;
padding: 4px;
width: 100%;
}
input.edit:invalid {
background-color: #ffaaaa;
border: 1px solid #ed8585;
}
td.highlight, .dirty {
background-color: #d9e6ff;
}
.winelist tr td.price {
text-align: right;
}
input.count {
width: 6rem;
}
input.price {
text-align: right;
width: 4rem;
}
input.year {
appearance: textfield; /* for Firefox */
width: 4rem;
}
input.year::-webkit-inner-spin-button { /* for Chrome */
-webkit-appearance: none;
}
.logheader {
margin-bottom: 20px;
}
.loglist td {
padding: 5px 10px;
}
.loglist > thead td {
font-weight: bold;
}
select.reason {
background-color: white;
border: 0px;
margin-left: 2px;
width: 16px;
}
/* Vineyard / Wine edit dialogs */
div.edit_background {
background: rgba(0, 0, 0, 0.3);
cursor: pointer;
display: none;
height: 100%;
left: 0;
position: fixed;
text-align: center;
top: 0;
width: 100%;
z-index: 10000;
}
div.edit_container {
background-color: #4c9de9; /* same as Sidebar */
border: 2px solid #254d73;
border-radius: 8px;
box-shadow: 10px 10px 60px #555;
cursor: default;
display: inline-block;
height: auto;
max-width: 50%;
padding: 2%;
position: relative;
vertical-align: middle;
}
table.edit_table > tr > td {
padding: 4px;
vertical-align: top;
}
table.edit_table > tr > td > button {
font-size: 10pt;
margin: 15px 3px;
padding: 5px 15px;
}
table.edit_table > tr > td > input.edit {
margin-top: -5px;
}
table.edit_table {
background: white;
border: 2px solid #336a9e;
border-radius: 6px;
display: inline-block;
padding: 10px;
}
.edit_helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
td.label {
text-align: right;
vertical-align: top;
width: 50%;
}
/* Five-star ratings */
fieldset.rating {
border: none;
display: inline-block;
margin: 0;
padding: 0;
}
fieldset.rating > input {
display: none;
}
fieldset.rating > span {
color: #f0f0f0;
cursor: default;
float: right;
font-size: 18pt;
margin: -2px;
}
fieldset.rating:not(:hover) > input:checked ~ span {
color: #FFD700;
}
fieldset.rating:not(:hover) > input.fivestar:checked ~ span {
text-shadow: 0px 0px 3px #FFED85;
}
fieldset.rating:not(:checked) > span:hover,
fieldset.rating:not(:checked) > span:hover ~ span {
color: #FFED85;
}
/* Connection UI */
.connectionui > div:first-child {
font-weight: bold;
margin-bottom: 10px;
text-align: center;
}
.connectionui, .connectionui button {
font-size: 10pt;
}
.table {
width: 100%;
}
.table > div {
display: table-row;
width: 100%;
}
.table > div > span {
display: table-cell;
width: 50%;
}
.connectionui button {
margin-top: 10px;
}