uikit-sass-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.md +155 -0
- data/README.md +78 -0
- data/lib/uikit-sass-rails.rb +1 -0
- data/lib/uikit/sass/rails.rb +2 -0
- data/lib/uikit/sass/rails/engine.rb +12 -0
- data/lib/uikit/sass/rails/version.rb +7 -0
- data/uikit-sass-rails.gemspec +24 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +504 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/javascripts/uikit.js +14 -0
- data/vendor/assets/javascripts/uikit/addons/autocomplete.js +306 -0
- data/vendor/assets/javascripts/uikit/addons/datepicker.js +365 -0
- data/vendor/assets/javascripts/uikit/addons/form-password.js +62 -0
- data/vendor/assets/javascripts/uikit/addons/form-select.js +62 -0
- data/vendor/assets/javascripts/uikit/addons/htmleditor.js +594 -0
- data/vendor/assets/javascripts/uikit/addons/nestable.js +574 -0
- data/vendor/assets/javascripts/uikit/addons/notify.js +177 -0
- data/vendor/assets/javascripts/uikit/addons/pagination.js +146 -0
- data/vendor/assets/javascripts/uikit/addons/search.js +90 -0
- data/vendor/assets/javascripts/uikit/addons/sortable.js +494 -0
- data/vendor/assets/javascripts/uikit/addons/sticky.js +130 -0
- data/vendor/assets/javascripts/uikit/addons/timepicker.js +163 -0
- data/vendor/assets/javascripts/uikit/addons/upload.js +239 -0
- data/vendor/assets/javascripts/uikit/uikit.js +2573 -0
- data/vendor/assets/stylesheets/extra/font-awesome.scss +16 -0
- data/vendor/assets/stylesheets/uikit.scss +5 -0
- data/vendor/assets/stylesheets/uikit/addons/uikit.addons.scss +1326 -0
- data/vendor/assets/stylesheets/uikit/addons/uikit.almost-flat.addons.scss +1423 -0
- data/vendor/assets/stylesheets/uikit/addons/uikit.gradient.addons.scss +1445 -0
- data/vendor/assets/stylesheets/uikit/almost-flat.scss +5 -0
- data/vendor/assets/stylesheets/uikit/gradient.scss +5 -0
- data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +8207 -0
- data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +8264 -0
- data/vendor/assets/stylesheets/uikit/uikit.scss +7874 -0
- metadata +100 -0
@@ -0,0 +1,1445 @@
|
|
1
|
+
/*! UIkit 2.8.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
|
3
|
+
/* ========================================================================
|
4
|
+
Component: Dotnav
|
5
|
+
========================================================================== */
|
6
|
+
/*
|
7
|
+
* 1. Remove default list style
|
8
|
+
* 2. Remove whitespace between child elements when using `inline-block`
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-dotnav {
|
12
|
+
/* 1 */
|
13
|
+
padding: 0;
|
14
|
+
list-style: none;
|
15
|
+
/* 2 */
|
16
|
+
font-size: 0.001px;
|
17
|
+
> li {
|
18
|
+
display: inline-block;
|
19
|
+
/* 1 */
|
20
|
+
font-size: 1rem;
|
21
|
+
/* 2 */
|
22
|
+
vertical-align: top;
|
23
|
+
&:nth-child(n+2) {
|
24
|
+
margin-left: 15px;
|
25
|
+
}
|
26
|
+
> a {
|
27
|
+
display: inline-block;
|
28
|
+
-moz-box-sizing: content-box;
|
29
|
+
box-sizing: content-box;
|
30
|
+
width: 20px;
|
31
|
+
height: 20px;
|
32
|
+
border-radius: 50%;
|
33
|
+
background: rgba(50, 50, 50, 0.1);
|
34
|
+
/* 1 */
|
35
|
+
vertical-align: top;
|
36
|
+
/* 2 */
|
37
|
+
overflow: hidden;
|
38
|
+
text-indent: -999%;
|
39
|
+
-webkit-transition: all 0.2s ease-in-out;
|
40
|
+
transition: all 0.2s ease-in-out;
|
41
|
+
&:hover, &:focus {
|
42
|
+
background: rgba(50, 50, 50, 0.4);
|
43
|
+
/* 2 */
|
44
|
+
outline: none;
|
45
|
+
}
|
46
|
+
&:active {
|
47
|
+
background: rgba(50, 50, 50, 0.6);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
&.uk-active > a {
|
51
|
+
background: rgba(50, 50, 50, 0.4);
|
52
|
+
-webkit-transform: scale(1.3);
|
53
|
+
transform: scale(1.3);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
/* Items
|
59
|
+
========================================================================== */
|
60
|
+
/*
|
61
|
+
* 1. Reset whitespace hack
|
62
|
+
* 2. Remove the gap at the bottom of it container
|
63
|
+
*/
|
64
|
+
|
65
|
+
/*
|
66
|
+
* Items
|
67
|
+
* 1. Remove the gap at the bottom of it container
|
68
|
+
* 2. Hide text if present
|
69
|
+
*/
|
70
|
+
|
71
|
+
/*
|
72
|
+
* Hover
|
73
|
+
* 1. Apply hover style also to focus state
|
74
|
+
* 2. Remove default focus style
|
75
|
+
*/
|
76
|
+
|
77
|
+
/* OnClick */
|
78
|
+
|
79
|
+
/* Active */
|
80
|
+
|
81
|
+
/* Modifier: 'dotnav-vertical'
|
82
|
+
========================================================================== */
|
83
|
+
|
84
|
+
.uk-dotnav-vertical > li {
|
85
|
+
display: block;
|
86
|
+
&:nth-child(n+2) {
|
87
|
+
margin-left: 0;
|
88
|
+
margin-top: 15px;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
/* ========================================================================
|
93
|
+
Component: Slidenav
|
94
|
+
========================================================================== */
|
95
|
+
/*
|
96
|
+
* 1. Required for `a` elements
|
97
|
+
* 2. Dimension
|
98
|
+
* 3. Style
|
99
|
+
*/
|
100
|
+
|
101
|
+
.uk-slidenav {
|
102
|
+
/* 1 */
|
103
|
+
display: inline-block;
|
104
|
+
/* 2 */
|
105
|
+
-moz-box-sizing: border-box;
|
106
|
+
box-sizing: border-box;
|
107
|
+
width: 60px;
|
108
|
+
height: 60px;
|
109
|
+
/* 3 */
|
110
|
+
line-height: 60px;
|
111
|
+
color: rgba(50, 50, 50, 0.4);
|
112
|
+
font-size: 60px;
|
113
|
+
text-align: center;
|
114
|
+
&:hover, &:focus {
|
115
|
+
/* 2 */
|
116
|
+
outline: none;
|
117
|
+
/* 3 */
|
118
|
+
text-decoration: none;
|
119
|
+
/* 4 */
|
120
|
+
color: rgba(50, 50, 50, 0.7);
|
121
|
+
cursor: pointer;
|
122
|
+
}
|
123
|
+
&:active {
|
124
|
+
color: rgba(50, 50, 50, 0.9);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
/*
|
129
|
+
* Hover
|
130
|
+
* 1. Apply hover style also to focus state
|
131
|
+
* 2. Remove default focus style
|
132
|
+
* 3. Required for `a` elements
|
133
|
+
* 4. Style
|
134
|
+
*/
|
135
|
+
|
136
|
+
/* Active */
|
137
|
+
|
138
|
+
/*
|
139
|
+
* Icons
|
140
|
+
*/
|
141
|
+
|
142
|
+
.uk-slidenav-previous:before {
|
143
|
+
content: "\f104";
|
144
|
+
font-family: FontAwesome;
|
145
|
+
}
|
146
|
+
|
147
|
+
.uk-slidenav-next:before {
|
148
|
+
content: "\f105";
|
149
|
+
font-family: FontAwesome;
|
150
|
+
}
|
151
|
+
|
152
|
+
/* Sub-object: `uk-slidenav-position`
|
153
|
+
========================================================================== */
|
154
|
+
/*
|
155
|
+
* 1. Container width fits its content
|
156
|
+
* 2. Corrects max-width behavior (3.) if padding and border are used
|
157
|
+
* 3. Responsive behavior
|
158
|
+
* 4. Create position context for dropdowns
|
159
|
+
*/
|
160
|
+
|
161
|
+
.uk-slidenav-position {
|
162
|
+
/* 1 */
|
163
|
+
display: inline-block;
|
164
|
+
/* 2 */
|
165
|
+
-moz-box-sizing: border-box;
|
166
|
+
box-sizing: border-box;
|
167
|
+
/* 3 */
|
168
|
+
max-width: 100%;
|
169
|
+
/* 4 */
|
170
|
+
position: relative;
|
171
|
+
.uk-slidenav {
|
172
|
+
display: none;
|
173
|
+
position: absolute;
|
174
|
+
top: 50%;
|
175
|
+
margin-top: -30px;
|
176
|
+
}
|
177
|
+
&:hover .uk-slidenav {
|
178
|
+
display: block;
|
179
|
+
}
|
180
|
+
.uk-slidenav-previous {
|
181
|
+
left: 20px;
|
182
|
+
}
|
183
|
+
.uk-slidenav-next {
|
184
|
+
right: 20px;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
/*
|
189
|
+
* Center vertically
|
190
|
+
*/
|
191
|
+
|
192
|
+
/* ========================================================================
|
193
|
+
Component: Form advanced
|
194
|
+
Note: Only works in Webkit at the moment
|
195
|
+
========================================================================== */
|
196
|
+
/*
|
197
|
+
* 1. Style
|
198
|
+
* 2. Makes box more robust so it clips the child element
|
199
|
+
* 3. Vertical alignment
|
200
|
+
* 4. Remove default style
|
201
|
+
* 5. Fix black background on iOS
|
202
|
+
*/
|
203
|
+
|
204
|
+
.uk-form input {
|
205
|
+
&[type="radio"], &[type="checkbox"] {
|
206
|
+
/* 1 */
|
207
|
+
display: inline-block;
|
208
|
+
height: 14px;
|
209
|
+
width: 14px;
|
210
|
+
border: 1px solid #aaaaaa;
|
211
|
+
/* 2 */
|
212
|
+
overflow: hidden;
|
213
|
+
/* 3 */
|
214
|
+
margin-top: -4px;
|
215
|
+
vertical-align: middle;
|
216
|
+
/* 4 */
|
217
|
+
-webkit-appearance: none;
|
218
|
+
outline: 0;
|
219
|
+
/* 5 */
|
220
|
+
background: transparent;
|
221
|
+
}
|
222
|
+
&[type="radio"] {
|
223
|
+
border-radius: 50%;
|
224
|
+
}
|
225
|
+
&[type=checkbox]:checked:before {
|
226
|
+
display: block;
|
227
|
+
}
|
228
|
+
&[type=radio]:checked:before {
|
229
|
+
display: block;
|
230
|
+
content: '';
|
231
|
+
width: 8px;
|
232
|
+
height: 8px;
|
233
|
+
margin: 2px auto 0;
|
234
|
+
border-radius: 50%;
|
235
|
+
background: #00a8e6;
|
236
|
+
}
|
237
|
+
&[type=checkbox]:checked:before {
|
238
|
+
content: "\f00c";
|
239
|
+
font-family: FontAwesome;
|
240
|
+
font-size: 12px;
|
241
|
+
-webkit-font-smoothing: antialiased;
|
242
|
+
text-align: center;
|
243
|
+
line-height: 12px;
|
244
|
+
color: #00a8e6;
|
245
|
+
}
|
246
|
+
&[type=radio]:disabled, &[type=checkbox]:disabled {
|
247
|
+
border-color: #dddddd;
|
248
|
+
}
|
249
|
+
&[type=radio]:disabled:checked:before {
|
250
|
+
background-color: #aaaaaa;
|
251
|
+
}
|
252
|
+
&[type=checkbox]:disabled:checked:before {
|
253
|
+
color: #aaaaaa;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
/* Radio */
|
258
|
+
|
259
|
+
/*
|
260
|
+
* Checked
|
261
|
+
*/
|
262
|
+
|
263
|
+
/* Radio */
|
264
|
+
|
265
|
+
/* Checkbox */
|
266
|
+
|
267
|
+
/*
|
268
|
+
* Disabled
|
269
|
+
*/
|
270
|
+
|
271
|
+
/* ========================================================================
|
272
|
+
Component: Form file
|
273
|
+
========================================================================== */
|
274
|
+
/*
|
275
|
+
* 1. Behave like form elements
|
276
|
+
* 2. Create position context for dropdowns
|
277
|
+
* 3. Clip content
|
278
|
+
*/
|
279
|
+
|
280
|
+
.uk-form-file {
|
281
|
+
/* 1 */
|
282
|
+
display: inline-block;
|
283
|
+
vertical-align: middle;
|
284
|
+
/* 2 */
|
285
|
+
position: relative;
|
286
|
+
/* 3 */
|
287
|
+
overflow: hidden;
|
288
|
+
input[type="file"] {
|
289
|
+
position: absolute;
|
290
|
+
top: 0;
|
291
|
+
z-index: 1;
|
292
|
+
width: 100%;
|
293
|
+
opacity: 0;
|
294
|
+
cursor: pointer;
|
295
|
+
/* 1 */
|
296
|
+
left: 0;
|
297
|
+
/* 2 */
|
298
|
+
font-size: 500px;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
/*
|
303
|
+
* 1. Required for Firefox
|
304
|
+
* 2. Expand height and required for the cursor
|
305
|
+
*/
|
306
|
+
|
307
|
+
/* ========================================================================
|
308
|
+
Component: Form password
|
309
|
+
========================================================================== */
|
310
|
+
|
311
|
+
.uk-form-password {
|
312
|
+
position: relative;
|
313
|
+
display: inline-block;
|
314
|
+
max-width: 100%;
|
315
|
+
}
|
316
|
+
|
317
|
+
.uk-form-password-toggle {
|
318
|
+
display: block;
|
319
|
+
position: absolute;
|
320
|
+
top: 50%;
|
321
|
+
right: 10px;
|
322
|
+
margin-top: -6px;
|
323
|
+
font-size: 13px;
|
324
|
+
line-height: 13px;
|
325
|
+
color: #999999;
|
326
|
+
&:hover {
|
327
|
+
color: #999999;
|
328
|
+
text-decoration: none;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
|
332
|
+
.uk-form-password > input {
|
333
|
+
padding-right: 50px !important;
|
334
|
+
}
|
335
|
+
|
336
|
+
/* ========================================================================
|
337
|
+
Component: Form select
|
338
|
+
========================================================================== */
|
339
|
+
/*
|
340
|
+
* 1. Behave like form elements
|
341
|
+
* 2. Create position context for dropdowns
|
342
|
+
* 3. Clip content
|
343
|
+
*/
|
344
|
+
|
345
|
+
.uk-form-select {
|
346
|
+
/* 1 */
|
347
|
+
display: inline-block;
|
348
|
+
vertical-align: middle;
|
349
|
+
/* 2 */
|
350
|
+
position: relative;
|
351
|
+
/* 3 */
|
352
|
+
overflow: hidden;
|
353
|
+
select {
|
354
|
+
position: absolute;
|
355
|
+
top: 0;
|
356
|
+
z-index: 1;
|
357
|
+
width: 100%;
|
358
|
+
height: 100%;
|
359
|
+
opacity: 0;
|
360
|
+
cursor: pointer;
|
361
|
+
/* 1 */
|
362
|
+
left: 0;
|
363
|
+
/* 2 */
|
364
|
+
-webkit-appearance: none;
|
365
|
+
}
|
366
|
+
}
|
367
|
+
|
368
|
+
/*
|
369
|
+
* 1. Required for Firefox
|
370
|
+
* 1. Required for Webkit to make `height` work
|
371
|
+
*/
|
372
|
+
|
373
|
+
/* ========================================================================
|
374
|
+
Component: Placeholder
|
375
|
+
========================================================================== */
|
376
|
+
|
377
|
+
.uk-placeholder {
|
378
|
+
margin-bottom: 15px;
|
379
|
+
padding: 20px;
|
380
|
+
border: 1px dashed #dddddd;
|
381
|
+
background: #fafafa;
|
382
|
+
color: #444444;
|
383
|
+
}
|
384
|
+
|
385
|
+
/*
|
386
|
+
* Add margin if adjacent element
|
387
|
+
*/
|
388
|
+
|
389
|
+
* + .uk-placeholder {
|
390
|
+
margin-top: 15px;
|
391
|
+
}
|
392
|
+
|
393
|
+
/*
|
394
|
+
* Remove margin from the last-child
|
395
|
+
*/
|
396
|
+
|
397
|
+
.uk-placeholder > :last-child {
|
398
|
+
margin-bottom: 0;
|
399
|
+
}
|
400
|
+
|
401
|
+
/* Modifier: `uk-placeholder-large`
|
402
|
+
========================================================================== */
|
403
|
+
|
404
|
+
.uk-placeholder-large {
|
405
|
+
padding-top: 80px;
|
406
|
+
padding-bottom: 80px;
|
407
|
+
}
|
408
|
+
|
409
|
+
/* ========================================================================
|
410
|
+
Component: Autocomplete
|
411
|
+
========================================================================== */
|
412
|
+
/*
|
413
|
+
* 1. Behave like form elements
|
414
|
+
* 2. Create position context for dropdowns
|
415
|
+
*/
|
416
|
+
|
417
|
+
.uk-autocomplete {
|
418
|
+
/* 1 */
|
419
|
+
display: inline-block;
|
420
|
+
vertical-align: middle;
|
421
|
+
/* 2 */
|
422
|
+
position: relative;
|
423
|
+
}
|
424
|
+
|
425
|
+
/* Nav modifier `uk-nav-autocomplete`
|
426
|
+
========================================================================== */
|
427
|
+
/*
|
428
|
+
* Items
|
429
|
+
*/
|
430
|
+
|
431
|
+
.uk-nav-autocomplete {
|
432
|
+
> li {
|
433
|
+
> a {
|
434
|
+
color: #444444;
|
435
|
+
}
|
436
|
+
&.uk-active > a {
|
437
|
+
background: #009dd8;
|
438
|
+
color: #ffffff;
|
439
|
+
/* 1 */
|
440
|
+
outline: none;
|
441
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
|
442
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
443
|
+
}
|
444
|
+
}
|
445
|
+
.uk-nav-header {
|
446
|
+
color: #999999;
|
447
|
+
}
|
448
|
+
.uk-nav-divider {
|
449
|
+
border-top: 1px solid #dddddd;
|
450
|
+
}
|
451
|
+
}
|
452
|
+
|
453
|
+
/*
|
454
|
+
* Active
|
455
|
+
* 1. Remove default focus style
|
456
|
+
*/
|
457
|
+
|
458
|
+
/*
|
459
|
+
* Sub-object: `uk-nav-header`
|
460
|
+
*/
|
461
|
+
|
462
|
+
/*
|
463
|
+
* Sub-object: `uk-nav-divider`
|
464
|
+
*/
|
465
|
+
|
466
|
+
/* ========================================================================
|
467
|
+
Component: Datepicker
|
468
|
+
========================================================================== */
|
469
|
+
/*
|
470
|
+
* Reset dropdown width
|
471
|
+
*/
|
472
|
+
|
473
|
+
.uk-datepicker {
|
474
|
+
width: auto;
|
475
|
+
}
|
476
|
+
|
477
|
+
/* Sub-object: `uk-datepicker-nav`
|
478
|
+
========================================================================== */
|
479
|
+
|
480
|
+
.uk-datepicker-nav {
|
481
|
+
margin-bottom: 15px;
|
482
|
+
text-align: center;
|
483
|
+
line-height: 20px;
|
484
|
+
&:before {
|
485
|
+
content: " ";
|
486
|
+
display: table;
|
487
|
+
}
|
488
|
+
&:after {
|
489
|
+
content: " ";
|
490
|
+
display: table;
|
491
|
+
clear: both;
|
492
|
+
}
|
493
|
+
a {
|
494
|
+
color: #444444;
|
495
|
+
text-decoration: none;
|
496
|
+
&:hover {
|
497
|
+
color: #444444;
|
498
|
+
}
|
499
|
+
}
|
500
|
+
}
|
501
|
+
|
502
|
+
/*
|
503
|
+
* Micro clearfix
|
504
|
+
*/
|
505
|
+
|
506
|
+
/*
|
507
|
+
* Previous and next navigation
|
508
|
+
*/
|
509
|
+
|
510
|
+
.uk-datepicker-previous {
|
511
|
+
float: left;
|
512
|
+
}
|
513
|
+
|
514
|
+
.uk-datepicker-next {
|
515
|
+
float: right;
|
516
|
+
}
|
517
|
+
|
518
|
+
.uk-datepicker-previous:after, .uk-datepicker-next:after {
|
519
|
+
width: 20px;
|
520
|
+
font-family: FontAwesome;
|
521
|
+
}
|
522
|
+
|
523
|
+
.uk-datepicker-previous:after {
|
524
|
+
content: "\f053";
|
525
|
+
}
|
526
|
+
|
527
|
+
.uk-datepicker-next:after {
|
528
|
+
content: "\f054";
|
529
|
+
}
|
530
|
+
|
531
|
+
/* Sub-object: `uk-datepicker-heading`
|
532
|
+
========================================================================== */
|
533
|
+
/* Sub-object: `uk-datepicker-table`
|
534
|
+
========================================================================== */
|
535
|
+
/* Block element behavior */
|
536
|
+
|
537
|
+
.uk-datepicker-table {
|
538
|
+
width: 100%;
|
539
|
+
th, td {
|
540
|
+
padding: 2px;
|
541
|
+
}
|
542
|
+
th {
|
543
|
+
font-size: 12px;
|
544
|
+
}
|
545
|
+
a {
|
546
|
+
display: block;
|
547
|
+
width: 26px;
|
548
|
+
line-height: 24px;
|
549
|
+
text-align: center;
|
550
|
+
color: #444444;
|
551
|
+
text-decoration: none;
|
552
|
+
border: 1px solid transparent;
|
553
|
+
border-radius: 4px;
|
554
|
+
background-origin: border-box;
|
555
|
+
}
|
556
|
+
}
|
557
|
+
|
558
|
+
/*
|
559
|
+
* Item
|
560
|
+
*/
|
561
|
+
|
562
|
+
/*
|
563
|
+
* Sub-object: `uk-datepicker-table-muted`
|
564
|
+
*/
|
565
|
+
|
566
|
+
a.uk-datepicker-table-muted {
|
567
|
+
color: #999999;
|
568
|
+
}
|
569
|
+
|
570
|
+
/*
|
571
|
+
* Hover
|
572
|
+
* 1. Apply hover style also to focus state
|
573
|
+
* 2. Remove default focus style
|
574
|
+
*/
|
575
|
+
|
576
|
+
.uk-datepicker-table a {
|
577
|
+
&:hover, &:focus {
|
578
|
+
background-color: #fafafa;
|
579
|
+
color: #444444;
|
580
|
+
/* 2 */
|
581
|
+
outline: none;
|
582
|
+
border-color: rgba(0, 0, 0, 0.2);
|
583
|
+
border-bottom-color: rgba(0, 0, 0, 0.3);
|
584
|
+
text-shadow: 0 1px 0 #ffffff;
|
585
|
+
}
|
586
|
+
&:active {
|
587
|
+
background-color: #f5f5f5;
|
588
|
+
color: #444444;
|
589
|
+
border-color: rgba(0, 0, 0, 0.2);
|
590
|
+
border-top-color: rgba(0, 0, 0, 0.3);
|
591
|
+
background-image: none;
|
592
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
593
|
+
}
|
594
|
+
&.uk-active {
|
595
|
+
background: #009dd8;
|
596
|
+
color: #ffffff;
|
597
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
598
|
+
border-bottom-color: rgba(0, 0, 0, 0.4);
|
599
|
+
background-origin: border-box;
|
600
|
+
background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5);
|
601
|
+
background-image: linear-gradient(to bottom, #00b4f5, #008dc5);
|
602
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
603
|
+
}
|
604
|
+
}
|
605
|
+
|
606
|
+
/* OnClick */
|
607
|
+
|
608
|
+
/*
|
609
|
+
* Active
|
610
|
+
*/
|
611
|
+
|
612
|
+
/* ========================================================================
|
613
|
+
Component: HTML editor
|
614
|
+
========================================================================== */
|
615
|
+
/* Sub-object `uk-htmleditor-navbar`
|
616
|
+
========================================================================== */
|
617
|
+
|
618
|
+
.uk-htmleditor-navbar {
|
619
|
+
background: #f7f7f7;
|
620
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
621
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
622
|
+
border-top-left-radius: 4px;
|
623
|
+
border-top-right-radius: 4px;
|
624
|
+
background-origin: border-box;
|
625
|
+
background-image: -webkit-linear-gradient(top, white, #eeeeee);
|
626
|
+
background-image: linear-gradient(to bottom, white, #eeeeee);
|
627
|
+
&:before {
|
628
|
+
content: " ";
|
629
|
+
display: table;
|
630
|
+
}
|
631
|
+
&:after {
|
632
|
+
content: " ";
|
633
|
+
display: table;
|
634
|
+
clear: both;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
|
638
|
+
/*
|
639
|
+
* Micro clearfix
|
640
|
+
*/
|
641
|
+
|
642
|
+
/* Sub-object `uk-htmleditor-navbar-nav`
|
643
|
+
========================================================================== */
|
644
|
+
|
645
|
+
.uk-htmleditor-navbar-nav {
|
646
|
+
margin: 0;
|
647
|
+
padding: 0;
|
648
|
+
list-style: none;
|
649
|
+
float: left;
|
650
|
+
> li {
|
651
|
+
float: left;
|
652
|
+
> a {
|
653
|
+
display: block;
|
654
|
+
-moz-box-sizing: border-box;
|
655
|
+
box-sizing: border-box;
|
656
|
+
text-decoration: none;
|
657
|
+
/* 1 */
|
658
|
+
height: 41px;
|
659
|
+
padding: 0 15px;
|
660
|
+
line-height: 40px;
|
661
|
+
/* 2 */
|
662
|
+
color: #444444;
|
663
|
+
font-size: 11px;
|
664
|
+
cursor: pointer;
|
665
|
+
margin-top: -1px;
|
666
|
+
margin-left: -1px;
|
667
|
+
border: 1px solid transparent;
|
668
|
+
border-bottom-width: 0;
|
669
|
+
text-shadow: 0 1px 0 #ffffff;
|
670
|
+
}
|
671
|
+
&:hover > a {
|
672
|
+
background-color: transparent;
|
673
|
+
color: #444444;
|
674
|
+
outline: none;
|
675
|
+
/* 2 */
|
676
|
+
position: relative;
|
677
|
+
z-index: 1;
|
678
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
679
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
680
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
681
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
682
|
+
}
|
683
|
+
> a {
|
684
|
+
&:focus {
|
685
|
+
background-color: transparent;
|
686
|
+
color: #444444;
|
687
|
+
outline: none;
|
688
|
+
/* 2 */
|
689
|
+
position: relative;
|
690
|
+
z-index: 1;
|
691
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
692
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
693
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
694
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
695
|
+
}
|
696
|
+
&:active {
|
697
|
+
background-color: #f5f5f5;
|
698
|
+
color: #444444;
|
699
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
700
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
701
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
702
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
703
|
+
}
|
704
|
+
}
|
705
|
+
&.uk-active > a {
|
706
|
+
background-color: #fafafa;
|
707
|
+
color: #444444;
|
708
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
709
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
710
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
711
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
712
|
+
}
|
713
|
+
}
|
714
|
+
}
|
715
|
+
|
716
|
+
/*
|
717
|
+
* 1. Dimensions
|
718
|
+
* 2. Style
|
719
|
+
*/
|
720
|
+
|
721
|
+
/*
|
722
|
+
* Hover
|
723
|
+
* 1. Apply hover style also to focus state
|
724
|
+
* 2. Remove default focus style
|
725
|
+
*/
|
726
|
+
|
727
|
+
/* OnClick */
|
728
|
+
|
729
|
+
/* Active */
|
730
|
+
|
731
|
+
/* Sub-object: `uk-htmleditor-navbar-flip`
|
732
|
+
========================================================================== */
|
733
|
+
|
734
|
+
.uk-htmleditor-navbar-flip {
|
735
|
+
float: right;
|
736
|
+
}
|
737
|
+
|
738
|
+
/* Sub-object for special buttons
|
739
|
+
========================================================================== */
|
740
|
+
|
741
|
+
[data-mode='split'] {
|
742
|
+
.uk-htmleditor-button-code, .uk-htmleditor-button-preview {
|
743
|
+
display: none;
|
744
|
+
}
|
745
|
+
}
|
746
|
+
|
747
|
+
/* Sub-object `uk-htmleditor-content`
|
748
|
+
========================================================================== */
|
749
|
+
|
750
|
+
.uk-htmleditor-content {
|
751
|
+
border-left: 1px solid #dddddd;
|
752
|
+
border-right: 1px solid #dddddd;
|
753
|
+
border-bottom: 1px solid #dddddd;
|
754
|
+
background: #ffffff;
|
755
|
+
border-bottom-left-radius: 4px;
|
756
|
+
border-bottom-right-radius: 4px;
|
757
|
+
&:before {
|
758
|
+
content: " ";
|
759
|
+
display: table;
|
760
|
+
}
|
761
|
+
&:after {
|
762
|
+
content: " ";
|
763
|
+
display: table;
|
764
|
+
clear: both;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
|
768
|
+
/*
|
769
|
+
* Micro clearfix
|
770
|
+
*/
|
771
|
+
|
772
|
+
/* Modifier `uk-htmleditor-fullscreen`
|
773
|
+
========================================================================== */
|
774
|
+
|
775
|
+
.uk-htmleditor-fullscreen {
|
776
|
+
position: fixed;
|
777
|
+
top: 0;
|
778
|
+
left: 0;
|
779
|
+
right: 0;
|
780
|
+
bottom: 0;
|
781
|
+
z-index: 990;
|
782
|
+
.uk-htmleditor-content {
|
783
|
+
position: absolute;
|
784
|
+
top: 41px;
|
785
|
+
left: 0;
|
786
|
+
right: 0;
|
787
|
+
bottom: 0;
|
788
|
+
}
|
789
|
+
.uk-icon-expand:before {
|
790
|
+
content: "\f066";
|
791
|
+
}
|
792
|
+
}
|
793
|
+
|
794
|
+
/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview`
|
795
|
+
========================================================================== */
|
796
|
+
|
797
|
+
.uk-htmleditor-code {
|
798
|
+
-moz-box-sizing: border-box;
|
799
|
+
box-sizing: border-box;
|
800
|
+
}
|
801
|
+
|
802
|
+
.uk-htmleditor-preview {
|
803
|
+
-moz-box-sizing: border-box;
|
804
|
+
box-sizing: border-box;
|
805
|
+
padding: 20px;
|
806
|
+
overflow-y: scroll;
|
807
|
+
}
|
808
|
+
|
809
|
+
/*
|
810
|
+
* Tab view
|
811
|
+
*/
|
812
|
+
|
813
|
+
[data-mode='tab'] {
|
814
|
+
&[data-active-tab='code'] .uk-htmleditor-preview, &[data-active-tab='preview'] .uk-htmleditor-code {
|
815
|
+
display: none;
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
/*
|
820
|
+
* Split view
|
821
|
+
*/
|
822
|
+
|
823
|
+
[data-mode='split'] {
|
824
|
+
.uk-htmleditor-code, .uk-htmleditor-preview {
|
825
|
+
float: left;
|
826
|
+
width: 50%;
|
827
|
+
}
|
828
|
+
.uk-htmleditor-code {
|
829
|
+
border-right: 1px solid #eeeeee;
|
830
|
+
}
|
831
|
+
}
|
832
|
+
|
833
|
+
/* CodeMirror modifications
|
834
|
+
========================================================================== */
|
835
|
+
|
836
|
+
.uk-htmleditor .CodeMirror {
|
837
|
+
padding: 10px;
|
838
|
+
-moz-box-sizing: border-box;
|
839
|
+
box-sizing: border-box;
|
840
|
+
}
|
841
|
+
|
842
|
+
/*
|
843
|
+
* Apply same `border-radius` as `uk-htmleditor-navbar`
|
844
|
+
*/
|
845
|
+
|
846
|
+
.uk-htmleditor-navbar-nav:first-child > li:first-child > a {
|
847
|
+
border-top-left-radius: 4px;
|
848
|
+
}
|
849
|
+
|
850
|
+
/*
|
851
|
+
* Sub-modifier `uk-htmleditor-navbar-flip`
|
852
|
+
*/
|
853
|
+
/* Collapse border */
|
854
|
+
|
855
|
+
.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav {
|
856
|
+
> li > a {
|
857
|
+
margin-left: 0;
|
858
|
+
margin-right: -1px;
|
859
|
+
}
|
860
|
+
&:first-child > li:first-child > a {
|
861
|
+
border-top-left-radius: 0;
|
862
|
+
}
|
863
|
+
&:last-child > li:last-child > a {
|
864
|
+
border-top-right-radius: 4px;
|
865
|
+
}
|
866
|
+
}
|
867
|
+
|
868
|
+
/* Apply same `border-radius` as `uk-htmleditor-navbar` */
|
869
|
+
|
870
|
+
/*
|
871
|
+
* Sub-modifier `uk-htmleditor-fullscreen`
|
872
|
+
*/
|
873
|
+
|
874
|
+
.uk-htmleditor-fullscreen {
|
875
|
+
.uk-htmleditor-navbar {
|
876
|
+
border-top: none;
|
877
|
+
border-left: none;
|
878
|
+
border-right: none;
|
879
|
+
border-radius: 0;
|
880
|
+
}
|
881
|
+
.uk-htmleditor-content {
|
882
|
+
border: none;
|
883
|
+
border-radius: 0;
|
884
|
+
}
|
885
|
+
.uk-htmleditor-navbar-nav > li > a {
|
886
|
+
border-radius: 0 !important;
|
887
|
+
}
|
888
|
+
}
|
889
|
+
|
890
|
+
/* ========================================================================
|
891
|
+
Component: Nestable
|
892
|
+
========================================================================== */
|
893
|
+
|
894
|
+
.uk-nestable {
|
895
|
+
padding: 0;
|
896
|
+
list-style: none;
|
897
|
+
}
|
898
|
+
|
899
|
+
/* Sub-object `uk-nestable-list`
|
900
|
+
========================================================================== */
|
901
|
+
|
902
|
+
.uk-nestable-list {
|
903
|
+
margin: 0;
|
904
|
+
padding-left: 40px;
|
905
|
+
list-style: none;
|
906
|
+
}
|
907
|
+
|
908
|
+
/* Sub-modifier `uk-nestable-list-dragged`
|
909
|
+
========================================================================== */
|
910
|
+
|
911
|
+
.uk-nestable-list-dragged {
|
912
|
+
position: absolute;
|
913
|
+
z-index: 1050;
|
914
|
+
padding-left: 0;
|
915
|
+
pointer-events: none;
|
916
|
+
}
|
917
|
+
|
918
|
+
/* Sub-object `uk-nestable-item`
|
919
|
+
========================================================================== */
|
920
|
+
|
921
|
+
.uk-nestable-item {
|
922
|
+
margin-bottom: 10px;
|
923
|
+
padding: 5px;
|
924
|
+
background: #f7f7f7;
|
925
|
+
border-radius: 4px;
|
926
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
927
|
+
border-bottom-color: rgba(0, 0, 0, 0.3);
|
928
|
+
background-origin: border-box;
|
929
|
+
background-image: -webkit-linear-gradient(top, white, #eeeeee);
|
930
|
+
background-image: linear-gradient(to bottom, white, #eeeeee);
|
931
|
+
text-shadow: 0 1px 0 #ffffff;
|
932
|
+
}
|
933
|
+
|
934
|
+
/* Sub-object `uk-nestable-placeholder`
|
935
|
+
* The placeholder which marks the drop area
|
936
|
+
========================================================================== */
|
937
|
+
|
938
|
+
.uk-nestable-placeholder {
|
939
|
+
-moz-box-sizing: border-box;
|
940
|
+
box-sizing: border-box;
|
941
|
+
margin-bottom: 10px;
|
942
|
+
border: 1px dashed #dddddd;
|
943
|
+
}
|
944
|
+
|
945
|
+
/* Sub-object `uk-nestable-empty`
|
946
|
+
* The style of an empty list
|
947
|
+
========================================================================== */
|
948
|
+
|
949
|
+
.uk-nestable-empty {
|
950
|
+
min-height: 40px;
|
951
|
+
}
|
952
|
+
|
953
|
+
/* Sub-object `uk-nestable-handle`
|
954
|
+
========================================================================== */
|
955
|
+
|
956
|
+
.uk-nestable-handle {
|
957
|
+
display: inline-block;
|
958
|
+
font-size: 18px;
|
959
|
+
color: #dddddd;
|
960
|
+
&:hover {
|
961
|
+
cursor: move;
|
962
|
+
}
|
963
|
+
&:after {
|
964
|
+
content: "\f0c9";
|
965
|
+
font-family: FontAwesome;
|
966
|
+
}
|
967
|
+
}
|
968
|
+
|
969
|
+
/* Hover */
|
970
|
+
|
971
|
+
/* Icon */
|
972
|
+
|
973
|
+
/* Sub-object `uk-nestable-moving`
|
974
|
+
========================================================================== */
|
975
|
+
|
976
|
+
.uk-nestable-moving {
|
977
|
+
cursor: move;
|
978
|
+
* {
|
979
|
+
cursor: move;
|
980
|
+
}
|
981
|
+
}
|
982
|
+
|
983
|
+
/* Sub-object `[data-action='toggle']`
|
984
|
+
========================================================================== */
|
985
|
+
/* Hidden by default */
|
986
|
+
|
987
|
+
[data-nestable-action='toggle'] {
|
988
|
+
display: inline-block;
|
989
|
+
color: #999999;
|
990
|
+
visibility: hidden;
|
991
|
+
&:hover {
|
992
|
+
color: #444444;
|
993
|
+
cursor: pointer;
|
994
|
+
}
|
995
|
+
&:after {
|
996
|
+
content: "\f147";
|
997
|
+
font-family: FontAwesome;
|
998
|
+
}
|
999
|
+
}
|
1000
|
+
|
1001
|
+
/* Hover */
|
1002
|
+
|
1003
|
+
/* Icon */
|
1004
|
+
|
1005
|
+
/*
|
1006
|
+
* Show if nested
|
1007
|
+
*/
|
1008
|
+
|
1009
|
+
.uk-parent > .uk-nestable-item [data-nestable-action='toggle'] {
|
1010
|
+
visibility: visible;
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
/*
|
1014
|
+
* Collapsed
|
1015
|
+
*/
|
1016
|
+
|
1017
|
+
.uk-collapsed {
|
1018
|
+
> .uk-nestable-item [data-nestable-action='toggle']:after {
|
1019
|
+
content: "\f196";
|
1020
|
+
}
|
1021
|
+
.uk-nestable-list {
|
1022
|
+
display: none;
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
/* ========================================================================
|
1027
|
+
Component: Notify
|
1028
|
+
========================================================================== */
|
1029
|
+
/*
|
1030
|
+
* Message container for positioning
|
1031
|
+
*/
|
1032
|
+
|
1033
|
+
.uk-notify {
|
1034
|
+
position: fixed;
|
1035
|
+
top: 10px;
|
1036
|
+
left: 10px;
|
1037
|
+
z-index: 1040;
|
1038
|
+
-moz-box-sizing: border-box;
|
1039
|
+
box-sizing: border-box;
|
1040
|
+
width: 350px;
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
/* Position modifiers
|
1044
|
+
========================================================================== */
|
1045
|
+
|
1046
|
+
.uk-notify-top-right, .uk-notify-bottom-right {
|
1047
|
+
left: auto;
|
1048
|
+
right: 10px;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
.uk-notify-top-center, .uk-notify-bottom-center {
|
1052
|
+
left: 50%;
|
1053
|
+
margin-left: -175px;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
.uk-notify-bottom-left, .uk-notify-bottom-right, .uk-notify-bottom-center {
|
1057
|
+
top: auto;
|
1058
|
+
bottom: 10px;
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
/* Responsiveness
|
1062
|
+
========================================================================== */
|
1063
|
+
/* Phones portrait and smaller */
|
1064
|
+
@media (max-width: 479px) {
|
1065
|
+
/*
|
1066
|
+
* Fit in small screen
|
1067
|
+
*/
|
1068
|
+
.uk-notify {
|
1069
|
+
left: 10px;
|
1070
|
+
right: 10px;
|
1071
|
+
width: auto;
|
1072
|
+
margin: 0;
|
1073
|
+
}
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
/* Sub-object: `uk-notify-message`
|
1077
|
+
========================================================================== */
|
1078
|
+
|
1079
|
+
.uk-notify-message {
|
1080
|
+
position: relative;
|
1081
|
+
margin-bottom: 10px;
|
1082
|
+
padding: 15px;
|
1083
|
+
background: #444444;
|
1084
|
+
color: #ffffff;
|
1085
|
+
font-size: 16px;
|
1086
|
+
line-height: 22px;
|
1087
|
+
cursor: pointer;
|
1088
|
+
border: 1px solid #444444;
|
1089
|
+
border-radius: 4px;
|
1090
|
+
> .uk-close {
|
1091
|
+
visibility: hidden;
|
1092
|
+
float: right;
|
1093
|
+
}
|
1094
|
+
&:hover > .uk-close {
|
1095
|
+
visibility: visible;
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
/* Close in notify
|
1100
|
+
========================================================================== */
|
1101
|
+
|
1102
|
+
/* Modifier: `uk-alert-info`
|
1103
|
+
========================================================================== */
|
1104
|
+
|
1105
|
+
.uk-notify-message-primary {
|
1106
|
+
background: #ebf7fd;
|
1107
|
+
color: #2d7091;
|
1108
|
+
border-color: rgba(45, 112, 145, 0.3);
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
/* Modifier: `uk-alert-success`
|
1112
|
+
========================================================================== */
|
1113
|
+
|
1114
|
+
.uk-notify-message-success {
|
1115
|
+
background: #f2fae3;
|
1116
|
+
color: #659f13;
|
1117
|
+
border-color: rgba(101, 159, 19, 0.3);
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
/* Modifier: `uk-notify-message-warning`
|
1121
|
+
========================================================================== */
|
1122
|
+
|
1123
|
+
.uk-notify-message-warning {
|
1124
|
+
background: #fffceb;
|
1125
|
+
color: #e28327;
|
1126
|
+
border-color: rgba(226, 131, 39, 0.3);
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
/* Modifier: `uk-notify-message-danger`
|
1130
|
+
========================================================================== */
|
1131
|
+
|
1132
|
+
.uk-notify-message-danger {
|
1133
|
+
background: #fff1f0;
|
1134
|
+
color: #d85030;
|
1135
|
+
border-color: rgba(216, 80, 48, 0.3);
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
/* ========================================================================
|
1139
|
+
Component: Search
|
1140
|
+
========================================================================== */
|
1141
|
+
/*
|
1142
|
+
* 1. Create position context for dropdowns
|
1143
|
+
* 2. Needed for `form` element
|
1144
|
+
*/
|
1145
|
+
|
1146
|
+
.uk-search {
|
1147
|
+
display: inline-block;
|
1148
|
+
/* 1 */
|
1149
|
+
position: relative;
|
1150
|
+
/* 2 */
|
1151
|
+
margin: 0;
|
1152
|
+
&:before {
|
1153
|
+
content: "\f002";
|
1154
|
+
position: absolute;
|
1155
|
+
top: 0;
|
1156
|
+
left: 0;
|
1157
|
+
width: 30px;
|
1158
|
+
line-height: 30px;
|
1159
|
+
text-align: center;
|
1160
|
+
font-family: FontAwesome;
|
1161
|
+
font-size: 14px;
|
1162
|
+
color: rgba(0, 0, 0, 0.2);
|
1163
|
+
}
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
/*
|
1167
|
+
* Icon
|
1168
|
+
*/
|
1169
|
+
|
1170
|
+
/* Sub-object `uk-search-field`
|
1171
|
+
========================================================================== */
|
1172
|
+
/*
|
1173
|
+
* 1. Needed to reset iOS `input[type="search"]` appearance
|
1174
|
+
*/
|
1175
|
+
|
1176
|
+
.uk-search-field {
|
1177
|
+
width: 120px;
|
1178
|
+
height: 30px;
|
1179
|
+
padding: 0 30px;
|
1180
|
+
border: 1px solid rgba(0, 0, 0, 0);
|
1181
|
+
background: rgba(0, 0, 0, 0);
|
1182
|
+
color: #444444;
|
1183
|
+
-webkit-transition: all linear 0.2s;
|
1184
|
+
transition: all linear 0.2s;
|
1185
|
+
/* 1 */
|
1186
|
+
border-radius: 0;
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
/*
|
1190
|
+
* Needed to reset iOS `input[type="search"]` appearance
|
1191
|
+
* Higher specificity to override appearance set by normalize.less
|
1192
|
+
*/
|
1193
|
+
|
1194
|
+
input.uk-search-field {
|
1195
|
+
-webkit-appearance: none;
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
/* Placeholder */
|
1199
|
+
|
1200
|
+
.uk-search-field {
|
1201
|
+
&:-ms-input-placeholder, &::-moz-placeholder, &::-webkit-input-placeholder {
|
1202
|
+
color: #999999;
|
1203
|
+
}
|
1204
|
+
&::-ms-clear {
|
1205
|
+
display: none;
|
1206
|
+
}
|
1207
|
+
&:focus {
|
1208
|
+
outline: 0;
|
1209
|
+
width: 180px;
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
|
1213
|
+
/* Removes cancel button in IE10 */
|
1214
|
+
|
1215
|
+
/* Focus */
|
1216
|
+
|
1217
|
+
/* Focus + active */
|
1218
|
+
|
1219
|
+
.uk-search.uk-active .uk-search-field {
|
1220
|
+
width: 180px;
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
/* Sub-object `uk-search-close`
|
1224
|
+
========================================================================== */
|
1225
|
+
/*
|
1226
|
+
* 1. Required for `button` elements
|
1227
|
+
* 2. Needed for Safari
|
1228
|
+
*/
|
1229
|
+
|
1230
|
+
.uk-search-close {
|
1231
|
+
display: none;
|
1232
|
+
position: absolute;
|
1233
|
+
top: 0;
|
1234
|
+
right: 0;
|
1235
|
+
width: 30px;
|
1236
|
+
line-height: 30px;
|
1237
|
+
text-align: center;
|
1238
|
+
font-size: 14px;
|
1239
|
+
color: rgba(0, 0, 0, 0.2);
|
1240
|
+
/* 1. */
|
1241
|
+
padding: 0;
|
1242
|
+
border: 0;
|
1243
|
+
-webkit-appearance: none;
|
1244
|
+
/* 2. */
|
1245
|
+
background: transparent;
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
.uk-loading > .uk-search-close, .uk-active > .uk-search-close {
|
1249
|
+
display: block;
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
/*
|
1253
|
+
* Icon
|
1254
|
+
*/
|
1255
|
+
|
1256
|
+
.uk-search-close:after {
|
1257
|
+
display: block;
|
1258
|
+
content: "\f00d";
|
1259
|
+
font-family: FontAwesome;
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
/* Loading icon */
|
1263
|
+
|
1264
|
+
.uk-loading > .uk-search-close:after {
|
1265
|
+
content: "\f110";
|
1266
|
+
-webkit-animation: uk-spin 2s infinite linear;
|
1267
|
+
animation: uk-spin 2s infinite linear;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
/* Dropdown modifier: `uk-dropdown-search`
|
1271
|
+
========================================================================== */
|
1272
|
+
|
1273
|
+
.uk-dropdown-search {
|
1274
|
+
width: 300px;
|
1275
|
+
margin-top: 0;
|
1276
|
+
background: #ffffff;
|
1277
|
+
color: #444444;
|
1278
|
+
}
|
1279
|
+
|
1280
|
+
.uk-open > .uk-dropdown-search {
|
1281
|
+
-webkit-animation: uk-slide-top-fixed 0.2s ease-in-out;
|
1282
|
+
animation: uk-slide-top-fixed 0.2s ease-in-out;
|
1283
|
+
}
|
1284
|
+
|
1285
|
+
/*
|
1286
|
+
* Dependency `uk-navbar-flip`
|
1287
|
+
*/
|
1288
|
+
|
1289
|
+
.uk-navbar-flip .uk-dropdown-search {
|
1290
|
+
margin-top: 12px;
|
1291
|
+
margin-right: -16px;
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
/* Nav modifier `uk-nav-search`
|
1295
|
+
========================================================================== */
|
1296
|
+
/*
|
1297
|
+
* Items
|
1298
|
+
*/
|
1299
|
+
|
1300
|
+
.uk-nav-search {
|
1301
|
+
> li {
|
1302
|
+
> a {
|
1303
|
+
color: #444444;
|
1304
|
+
}
|
1305
|
+
&.uk-active > a {
|
1306
|
+
background: #009dd8;
|
1307
|
+
color: #ffffff;
|
1308
|
+
/* 1 */
|
1309
|
+
outline: none;
|
1310
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
|
1311
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
1312
|
+
}
|
1313
|
+
}
|
1314
|
+
.uk-nav-header {
|
1315
|
+
color: #999999;
|
1316
|
+
}
|
1317
|
+
.uk-nav-divider {
|
1318
|
+
border-top: 1px solid #dddddd;
|
1319
|
+
}
|
1320
|
+
ul a {
|
1321
|
+
color: #0077dd;
|
1322
|
+
&:hover {
|
1323
|
+
color: #005599;
|
1324
|
+
}
|
1325
|
+
}
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
/*
|
1329
|
+
* Active
|
1330
|
+
* 1. Remove default focus style
|
1331
|
+
*/
|
1332
|
+
|
1333
|
+
/*
|
1334
|
+
* Sub-object: `uk-nav-header`
|
1335
|
+
*/
|
1336
|
+
|
1337
|
+
/*
|
1338
|
+
* Sub-object: `uk-nav-divider`
|
1339
|
+
*/
|
1340
|
+
|
1341
|
+
/*
|
1342
|
+
* Nested items
|
1343
|
+
*/
|
1344
|
+
|
1345
|
+
/* Search in offcanvas
|
1346
|
+
========================================================================== */
|
1347
|
+
|
1348
|
+
.uk-offcanvas {
|
1349
|
+
.uk-search {
|
1350
|
+
display: block;
|
1351
|
+
margin: 20px 15px;
|
1352
|
+
&:before {
|
1353
|
+
color: #777777;
|
1354
|
+
}
|
1355
|
+
}
|
1356
|
+
.uk-search-field {
|
1357
|
+
width: 100%;
|
1358
|
+
border-color: rgba(0, 0, 0, 0);
|
1359
|
+
background: #1a1a1a;
|
1360
|
+
color: #cccccc;
|
1361
|
+
&:-ms-input-placeholder, &::-moz-placeholder, &::-webkit-input-placeholder {
|
1362
|
+
color: #777777;
|
1363
|
+
}
|
1364
|
+
}
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
/* ========================================================================
|
1368
|
+
Component: Sortable
|
1369
|
+
========================================================================== */
|
1370
|
+
|
1371
|
+
.uk-sortable {
|
1372
|
+
position: relative;
|
1373
|
+
> * {
|
1374
|
+
-moz-user-select: none;
|
1375
|
+
-webkit-user-select: none;
|
1376
|
+
-ms-user-select: none;
|
1377
|
+
user-select: none;
|
1378
|
+
* {
|
1379
|
+
-webkit-user-drag: none;
|
1380
|
+
user-drag: none;
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
/*
|
1386
|
+
* Makes text unselectable
|
1387
|
+
*/
|
1388
|
+
|
1389
|
+
/*
|
1390
|
+
* Prevents images and links from being dragged (default browser behavior)
|
1391
|
+
* Currently only works in Webkit
|
1392
|
+
*/
|
1393
|
+
|
1394
|
+
/* Sub-modifier `uk-sortable-dragged`
|
1395
|
+
========================================================================== */
|
1396
|
+
|
1397
|
+
.uk-sortable-dragged {
|
1398
|
+
position: absolute;
|
1399
|
+
z-index: 1050;
|
1400
|
+
pointer-events: none;
|
1401
|
+
}
|
1402
|
+
|
1403
|
+
/* Sub-modifier `uk-sortable-placeholder`
|
1404
|
+
========================================================================== */
|
1405
|
+
|
1406
|
+
.uk-sortable-placeholder {
|
1407
|
+
opacity: 0;
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
/* Sub-modifier `uk-sortable-over`
|
1411
|
+
* Only if `warp:true`
|
1412
|
+
========================================================================== */
|
1413
|
+
|
1414
|
+
.uk-sortable-over {
|
1415
|
+
opacity: 0.3;
|
1416
|
+
}
|
1417
|
+
|
1418
|
+
/* Sub-object `uk-nestable-moving`
|
1419
|
+
========================================================================== */
|
1420
|
+
|
1421
|
+
.uk-sortable-moving {
|
1422
|
+
cursor: move;
|
1423
|
+
* {
|
1424
|
+
cursor: move;
|
1425
|
+
}
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
/* ========================================================================
|
1429
|
+
Component: Sticky
|
1430
|
+
========================================================================== */
|
1431
|
+
|
1432
|
+
.uk-sticky {
|
1433
|
+
z-index: 980;
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
/* ========================================================================
|
1437
|
+
Component: Upload
|
1438
|
+
========================================================================== */
|
1439
|
+
/*
|
1440
|
+
* Create a box-shadow when dragging a file over the upload area
|
1441
|
+
*/
|
1442
|
+
|
1443
|
+
.uk-dragover {
|
1444
|
+
box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
|
1445
|
+
}
|