-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdefault.css
More file actions
364 lines (298 loc) · 5.98 KB
/
default.css
File metadata and controls
364 lines (298 loc) · 5.98 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
html,
body,
#main {
height: 100%;
}
.prevent-select {
-webkit-user-select: none;
/* Safari */
-ms-user-select: none;
/* IE 10 and IE 11 */
user-select: none;
/* Standard syntax */
}
/* Loading React application */
.loading-application {
margin: 0 auto;
border: 1px solid #000;
width: 200px;
text-align: center;
margin-top: 50%;
}
/* Loading data from REST API into collection or model */
.loadingOverlay {
position: absolute;
top: 0;
height: 100%;
width: 100%;
font-size: 1.5em;
background-color: rgba(0, 0, 0, 0.05);
text-align: center;
border-radius: 3px;
animation: fadein 0.3s;
}
.loadingOverlay .loadingWrapper {
position: relative;
top: 50%;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadein2 {
from {
filter: blur(0px);
}
to {
filter: blur(1px);
}
}
.loadingOverlay span {
color: steelblue;
}
.backboneTableLoading tbody {
animation: fadein2 0.3s;
filter: blur(1px);
}
.invoice .title {
font-weight: bold;
font-size: 0.9em;
}
.invoice .data {
}
/* react-select */
.Select input {
border: 0 !important;
background: 0;
}
/* Key stuff */
.key-active {
color: #8f8;
}
.key-inactive {
color: #f88;
}
/* Better forms */
.meep .uk-form-width-large {
width: 100%;
}
.meep form .uk-input,
.meep form .uk-textarea {
border: none;
border-radius: 0;
border-bottom: 1px solid #aaa;
background-color: #fff;
padding: 0;
color: #000;
margin: 5px 0;
height: 25px;
}
.meep select {
margin-top: 12px !important;
}
.meep form .uk-textarea {
overflow: hidden;
resize: none;
}
.meep .form-row label {
font-size: 11px;
font-weight: bold;
color: #888;
height: 16px;
display: inline-block;
}
.meep .form-row:focus {
background-color: green;
}
.meep .uk-form-controls {
margin-top: -7px;
margin-left: 0;
}
.meep ::-webkit-input-placeholder {
font-style: italic;
}
.meep :-moz-placeholder {
font-style: italic;
}
.meep ::-moz-placeholder {
font-style: italic;
}
.meep :-ms-input-placeholder {
font-style: italic;
}
form .error .uk-input,
form .error .uk-textarea {
border-bottom: 3px solid red !important;
}
form .uk-form-help-block.error {
color: red;
margin-top: -8px;
font-size: 10px;
}
.meep .form-row + .form-row {
margin-top: 10px;
}
.meep .uk-form-icon > [class*="uk-icon-"] {
margin-left: -30px;
}
.meep .uk-form-icon .uk-input {
padding-left: 0 !important;
}
/* Hilite label and border */
.meep form .selected .uk-input,
.meep form .selected .uk-textarea {
border-bottom: 3px solid #58f !important;
padding-bottom: 2px;
margin-bottom: 3px;
color: #000;
}
.meep form .selected textarea {
margin-top: 3px !important;
margin-bottom: 5px !important;
}
.meep form .selected label {
color: #58f;
}
.meep form .selected .uk-form-controls {
margin-top: -5px;
}
/* Fany transisions for hilite */
.meep form .uk-input,
.meep form .uk-textarea,
.meep form .uk-form-controls {
transition-delay: 0s;
transition-duration: 0.2s;
transition-property: border, padding, margin;
transition-timing-function: linear;
}
.meep .changed label::before {
content: "* ";
}
span.ma-changed {
position: relative;
}
.ma-changed::after {
position: absolute;
right: 8px;
top: -0.1em;
content: "*";
}
.searchbox {
clear: both;
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px;
margin: 20px 0;
}
/* Other stuff */
.uk-button.uk-float-left {
margin-right: 1em;
}
/* Toggle rows in tables */
tr.toggle td {
padding: 0;
}
tr.toggle.show td {
border-bottom: 3px solid #ddd;
}
tr.toggle div.wrapper {
-webkit-transition: max-height 1.5s cubic-bezier(0, 1.05, 0, 1);
-moz-transition: max-height 1.5s cubic-bezier(0, 1.05, 0, 1);
transition: max-height 1.5s ease cubic-bezier(0, 1.05, 0, 1);
max-height: 0;
overflow: hidden;
}
tr.toggle div.scrolling {
overflow: auto;
}
tr.toggle.show div.wrapper {
max-height: 500px;
-webkit-transition: max-height 1s ease;
-moz-transition: max-height 1s ease;
transition: max-height 1s ease;
}
tr.toggle.show div.scrolling {
max-height: 500px;
}
/* Removing styling from <pre> when using in toggle tables */
tr.toggle pre {
margin-bottom: 0;
border: 0;
background: none;
}
.datebox {
border: 2px dotted #ddd;
margin-top: 20px;
padding: 0 10px;
border-radius: 5px;
background-color: #fff;
border-radius: 5px;
}
.datebox p {
margin: 5px 0 !important;
}
.meep .uk-section {
margin-bottom: 3em;
}
.meep p {
margin: 0;
}
.meep .uk-form-controls > .uk-form-icon {
width: 100%;
}
.multiaccess h4 {
font-size: 14px;
font-weight: bold;
}
.multiaccess h3,
.multiaccess h4,
.multiaccess ul,
.multiaccess p {
margin: 0;
}
.multiaccess .error {
margin-top: 10px;
}
/* UI-kit icons are not aligned with text for Buttons, legends, etc */
.uk-icon {
transform: translateY(-2px);
}
/* However, in the Navbar they are already aligned */
ul.uk-navbar-nav>li>a>.uk-icon,
/* As well as when inlined into an input */
.uk-inline>.uk-icon:has(+input) {
transform: translateY(0px);
}
/* Don't let the icons shrink */
.uk-icon > svg {
max-width: none;
}
/* Icons from the react-icons package also need to be bumped a bit to be aligned with text */
button > svg {
transform: translateY(-2px);
}
/* The navbar items are by default very tall (80px), which takes too much space
* when combining with the flex layout */
.uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-toggle {
min-height: 40px !important;
}
.centered-form form.uk-card {
border: 1px solid #aaa;
border-radius: 5px;
}
.changed-date {
border-color: #dbdc8d !important;
background: #fffff7 !important;
color: #9b8716 !important;
}
.date-period-templates {
margin-top: 8px;
margin-right: 30px;
font-size: 0.9em;
}