uikit-sass-rails 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +15 -12
- data/lib/uikit/sass/rails/engine.rb +1 -1
- data/lib/uikit/sass/rails/version.rb +1 -1
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +525 -464
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/javascripts/uikit.js +30 -3
- data/vendor/assets/javascripts/uikit/components/accordion.js +172 -0
- data/vendor/assets/javascripts/uikit/components/autocomplete.js +48 -27
- data/vendor/assets/javascripts/uikit/components/datepicker.js +2887 -97
- data/vendor/assets/javascripts/uikit/components/form-password.js +24 -19
- data/vendor/assets/javascripts/uikit/components/form-select.js +24 -18
- data/vendor/assets/javascripts/uikit/components/grid.js +524 -0
- data/vendor/assets/javascripts/uikit/components/htmleditor.js +46 -39
- data/vendor/assets/javascripts/uikit/components/lightbox.js +543 -0
- data/vendor/assets/javascripts/uikit/components/nestable.js +125 -98
- data/vendor/assets/javascripts/uikit/components/notify.js +34 -22
- data/vendor/assets/javascripts/uikit/components/pagination.js +24 -21
- data/vendor/assets/javascripts/uikit/components/parallax.js +400 -0
- data/vendor/assets/javascripts/uikit/components/search.js +19 -16
- data/vendor/assets/javascripts/uikit/components/slider.js +482 -0
- data/vendor/assets/javascripts/uikit/components/slideset.js +498 -0
- data/vendor/assets/javascripts/uikit/components/slideshow-fx.js +377 -0
- data/vendor/assets/javascripts/uikit/components/slideshow.js +540 -0
- data/vendor/assets/javascripts/uikit/components/sortable.js +392 -263
- data/vendor/assets/javascripts/uikit/components/sticky.js +127 -68
- data/vendor/assets/javascripts/uikit/components/timepicker.js +65 -42
- data/vendor/assets/javascripts/uikit/components/tooltip.js +220 -0
- data/vendor/assets/javascripts/uikit/components/upload.js +11 -10
- data/vendor/assets/javascripts/uikit/core/alert.js +66 -0
- data/vendor/assets/javascripts/uikit/core/button.js +154 -0
- data/vendor/assets/javascripts/uikit/core/core.js +717 -0
- data/vendor/assets/javascripts/uikit/{components → core}/cover.js +41 -35
- data/vendor/assets/javascripts/uikit/core/dropdown.js +296 -0
- data/vendor/assets/javascripts/uikit/core/grid.js +172 -0
- data/vendor/assets/javascripts/uikit/core/modal.js +323 -0
- data/vendor/assets/javascripts/uikit/core/nav.js +117 -0
- data/vendor/assets/javascripts/uikit/core/offcanvas.js +178 -0
- data/vendor/assets/javascripts/uikit/core/scrollspy.js +208 -0
- data/vendor/assets/javascripts/uikit/core/smooth-scroll.js +62 -0
- data/vendor/assets/javascripts/uikit/core/switcher.js +298 -0
- data/vendor/assets/javascripts/uikit/core/tab.js +159 -0
- data/vendor/assets/javascripts/uikit/core/toggle.js +117 -0
- data/vendor/assets/javascripts/uikit/core/touch.js +173 -0
- data/vendor/assets/javascripts/uikit/core/utility.js +157 -0
- data/vendor/assets/javascripts/uikit/uikit.js +1538 -871
- data/vendor/assets/stylesheets/extra/font-awesome.scss +4 -7
- data/vendor/assets/stylesheets/uikit.scss +22 -1
- data/vendor/assets/stylesheets/uikit/almost-flat.scss +22 -2
- data/vendor/assets/stylesheets/uikit/components/accordion.almost-flat.scss +45 -0
- data/vendor/assets/stylesheets/uikit/components/accordion.gradient.scss +45 -0
- data/vendor/assets/stylesheets/uikit/components/accordion.scss +43 -0
- data/vendor/assets/stylesheets/uikit/components/autocomplete.almost-flat.scss +62 -0
- data/vendor/assets/stylesheets/uikit/components/autocomplete.gradient.scss +62 -0
- data/vendor/assets/stylesheets/uikit/components/autocomplete.scss +60 -0
- data/vendor/assets/stylesheets/uikit/components/datepicker.almost-flat.scss +148 -0
- data/vendor/assets/stylesheets/uikit/components/datepicker.gradient.scss +158 -0
- data/vendor/assets/stylesheets/uikit/components/datepicker.scss +142 -0
- data/vendor/assets/stylesheets/uikit/components/dotnav.almost-flat.scss +152 -0
- data/vendor/assets/stylesheets/uikit/components/dotnav.gradient.scss +152 -0
- data/vendor/assets/stylesheets/uikit/components/dotnav.scss +148 -0
- data/vendor/assets/stylesheets/uikit/components/form-advanced.almost-flat.scss +92 -0
- data/vendor/assets/stylesheets/uikit/components/form-advanced.gradient.scss +92 -0
- data/vendor/assets/stylesheets/uikit/components/form-advanced.scss +92 -0
- data/vendor/assets/stylesheets/uikit/components/form-file.almost-flat.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/form-file.gradient.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/form-file.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/form-password.almost-flat.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/form-password.gradient.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/form-password.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/form-select.almost-flat.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/form-select.gradient.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/form-select.scss +37 -0
- data/vendor/assets/stylesheets/uikit/components/htmleditor.almost-flat.scss +282 -0
- data/vendor/assets/stylesheets/uikit/components/htmleditor.gradient.scss +290 -0
- data/vendor/assets/stylesheets/uikit/components/htmleditor.scss +208 -0
- data/vendor/assets/stylesheets/uikit/components/nestable.almost-flat.scss +137 -0
- data/vendor/assets/stylesheets/uikit/components/nestable.gradient.scss +141 -0
- data/vendor/assets/stylesheets/uikit/components/nestable.scss +134 -0
- data/vendor/assets/stylesheets/uikit/components/notify.almost-flat.scss +112 -0
- data/vendor/assets/stylesheets/uikit/components/notify.gradient.scss +112 -0
- data/vendor/assets/stylesheets/uikit/components/notify.scss +106 -0
- data/vendor/assets/stylesheets/uikit/components/placeholder.almost-flat.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/placeholder.gradient.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/placeholder.scss +36 -0
- data/vendor/assets/stylesheets/uikit/components/progress.almost-flat.scss +130 -0
- data/vendor/assets/stylesheets/uikit/components/progress.gradient.scss +138 -0
- data/vendor/assets/stylesheets/uikit/components/progress.scss +118 -0
- data/vendor/assets/stylesheets/uikit/components/search.almost-flat.scss +216 -0
- data/vendor/assets/stylesheets/uikit/components/search.gradient.scss +216 -0
- data/vendor/assets/stylesheets/uikit/components/search.scss +214 -0
- data/vendor/assets/stylesheets/uikit/components/slidenav.almost-flat.scss +110 -0
- data/vendor/assets/stylesheets/uikit/components/slidenav.gradient.scss +110 -0
- data/vendor/assets/stylesheets/uikit/components/slidenav.scss +110 -0
- data/vendor/assets/stylesheets/uikit/components/slider.almost-flat.scss +105 -0
- data/vendor/assets/stylesheets/uikit/components/slider.gradient.scss +105 -0
- data/vendor/assets/stylesheets/uikit/components/slider.scss +105 -0
- data/vendor/assets/stylesheets/uikit/components/slideshow.almost-flat.scss +166 -0
- data/vendor/assets/stylesheets/uikit/components/slideshow.gradient.scss +166 -0
- data/vendor/assets/stylesheets/uikit/components/slideshow.scss +166 -0
- data/vendor/assets/stylesheets/uikit/components/sortable.almost-flat.scss +90 -0
- data/vendor/assets/stylesheets/uikit/components/sortable.gradient.scss +90 -0
- data/vendor/assets/stylesheets/uikit/components/sortable.scss +90 -0
- data/vendor/assets/stylesheets/uikit/components/sticky.almost-flat.scss +39 -0
- data/vendor/assets/stylesheets/uikit/components/sticky.gradient.scss +39 -0
- data/vendor/assets/stylesheets/uikit/components/sticky.scss +39 -0
- data/vendor/assets/stylesheets/uikit/components/tooltip.almost-flat.scss +129 -0
- data/vendor/assets/stylesheets/uikit/components/tooltip.gradient.scss +129 -0
- data/vendor/assets/stylesheets/uikit/components/tooltip.scss +127 -0
- data/vendor/assets/stylesheets/uikit/components/upload.almost-flat.scss +11 -0
- data/vendor/assets/stylesheets/uikit/components/upload.gradient.scss +11 -0
- data/vendor/assets/stylesheets/uikit/components/upload.scss +11 -0
- data/vendor/assets/stylesheets/uikit/gradient.scss +22 -2
- data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +1768 -498
- data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +1776 -512
- data/vendor/assets/stylesheets/uikit/uikit.scss +1722 -462
- metadata +92 -7
- data/vendor/assets/stylesheets/uikit/components/uikit.components.almost-flat.scss +0 -1586
- data/vendor/assets/stylesheets/uikit/components/uikit.components.gradient.scss +0 -1608
- data/vendor/assets/stylesheets/uikit/components/uikit.components.scss +0 -1489
@@ -0,0 +1,138 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Progress
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Clearing
|
7
|
+
* 2. Vertical alignment if text is used
|
8
|
+
*/
|
9
|
+
|
10
|
+
.uk-progress {
|
11
|
+
-moz-box-sizing: border-box;
|
12
|
+
box-sizing: border-box;
|
13
|
+
height: 20px;
|
14
|
+
margin-bottom: 15px;
|
15
|
+
background: #f7f7f7;
|
16
|
+
/* 1 */
|
17
|
+
overflow: hidden;
|
18
|
+
/* 2 */
|
19
|
+
line-height: 20px;
|
20
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 2px rgba(0, 0, 0, 0.07);
|
21
|
+
border-radius: 4px;
|
22
|
+
}
|
23
|
+
|
24
|
+
/*
|
25
|
+
* Add margin if adjacent element
|
26
|
+
*/
|
27
|
+
|
28
|
+
* + .uk-progress {
|
29
|
+
margin-top: 15px;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Sub-object: `uk-progress-bar`
|
33
|
+
========================================================================== */
|
34
|
+
/*
|
35
|
+
* 1. Transition
|
36
|
+
* 2. Needed for text
|
37
|
+
*/
|
38
|
+
|
39
|
+
.uk-progress-bar {
|
40
|
+
width: 0;
|
41
|
+
height: 100%;
|
42
|
+
background: #009dd8;
|
43
|
+
float: left;
|
44
|
+
/* 1 */
|
45
|
+
-webkit-transition: width 0.6s ease;
|
46
|
+
transition: width 0.6s ease;
|
47
|
+
/* 2 */
|
48
|
+
font-size: 12px;
|
49
|
+
color: #ffffff;
|
50
|
+
text-align: center;
|
51
|
+
background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5);
|
52
|
+
background-image: linear-gradient(to bottom, #00b4f5, #008dc5);
|
53
|
+
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
54
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Size modifiers
|
58
|
+
========================================================================== */
|
59
|
+
/* Mini */
|
60
|
+
|
61
|
+
.uk-progress-mini {
|
62
|
+
height: 6px;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Small */
|
66
|
+
|
67
|
+
.uk-progress-small {
|
68
|
+
height: 12px;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* Color modifiers
|
72
|
+
========================================================================== */
|
73
|
+
|
74
|
+
.uk-progress-success .uk-progress-bar {
|
75
|
+
background-color: #82bb42;
|
76
|
+
background-image: -webkit-linear-gradient(top, #9fd256, #6fac34);
|
77
|
+
background-image: linear-gradient(to bottom, #9fd256, #6fac34);
|
78
|
+
}
|
79
|
+
|
80
|
+
.uk-progress-warning .uk-progress-bar {
|
81
|
+
background-color: #f9a124;
|
82
|
+
background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
|
83
|
+
background-image: linear-gradient(to bottom, #fbb450, #f89406);
|
84
|
+
}
|
85
|
+
|
86
|
+
.uk-progress-danger .uk-progress-bar {
|
87
|
+
background-color: #d32c46;
|
88
|
+
background-image: -webkit-linear-gradient(top, #ee465a, #c11a39);
|
89
|
+
background-image: linear-gradient(to bottom, #ee465a, #c11a39);
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Modifier: `uk-progress-striped`
|
93
|
+
========================================================================== */
|
94
|
+
|
95
|
+
.uk-progress-striped {
|
96
|
+
.uk-progress-bar {
|
97
|
+
background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
98
|
+
background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
99
|
+
background-size: 30px 30px;
|
100
|
+
}
|
101
|
+
&.uk-active .uk-progress-bar {
|
102
|
+
-webkit-animation: uk-progress-bar-stripes 2s linear infinite;
|
103
|
+
animation: uk-progress-bar-stripes 2s linear infinite;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
/*
|
108
|
+
* Animation
|
109
|
+
*/
|
110
|
+
|
111
|
+
@-webkit-keyframes uk-progress-bar-stripes {
|
112
|
+
0% {
|
113
|
+
background-position: 0 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
100% {
|
117
|
+
background-position: 30px 0;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
|
122
|
+
@keyframes uk-progress-bar-stripes {
|
123
|
+
0% {
|
124
|
+
background-position: 0 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
100% {
|
128
|
+
background-position: 30px 0;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
|
133
|
+
/* Size modifiers
|
134
|
+
========================================================================== */
|
135
|
+
|
136
|
+
.uk-progress-mini, .uk-progress-small {
|
137
|
+
border-radius: 500px;
|
138
|
+
}
|
@@ -0,0 +1,118 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Progress
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Clearing
|
7
|
+
* 2. Vertical alignment if text is used
|
8
|
+
*/
|
9
|
+
|
10
|
+
.uk-progress {
|
11
|
+
-moz-box-sizing: border-box;
|
12
|
+
box-sizing: border-box;
|
13
|
+
height: 20px;
|
14
|
+
margin-bottom: 15px;
|
15
|
+
background: #eeeeee;
|
16
|
+
/* 1 */
|
17
|
+
overflow: hidden;
|
18
|
+
/* 2 */
|
19
|
+
line-height: 20px;
|
20
|
+
}
|
21
|
+
|
22
|
+
/*
|
23
|
+
* Add margin if adjacent element
|
24
|
+
*/
|
25
|
+
|
26
|
+
* + .uk-progress {
|
27
|
+
margin-top: 15px;
|
28
|
+
}
|
29
|
+
|
30
|
+
/* Sub-object: `uk-progress-bar`
|
31
|
+
========================================================================== */
|
32
|
+
/*
|
33
|
+
* 1. Transition
|
34
|
+
* 2. Needed for text
|
35
|
+
*/
|
36
|
+
|
37
|
+
.uk-progress-bar {
|
38
|
+
width: 0;
|
39
|
+
height: 100%;
|
40
|
+
background: #00a8e6;
|
41
|
+
float: left;
|
42
|
+
/* 1 */
|
43
|
+
-webkit-transition: width 0.6s ease;
|
44
|
+
transition: width 0.6s ease;
|
45
|
+
/* 2 */
|
46
|
+
font-size: 12px;
|
47
|
+
color: #ffffff;
|
48
|
+
text-align: center;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Size modifiers
|
52
|
+
========================================================================== */
|
53
|
+
/* Mini */
|
54
|
+
|
55
|
+
.uk-progress-mini {
|
56
|
+
height: 6px;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Small */
|
60
|
+
|
61
|
+
.uk-progress-small {
|
62
|
+
height: 12px;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Color modifiers
|
66
|
+
========================================================================== */
|
67
|
+
|
68
|
+
.uk-progress-success .uk-progress-bar {
|
69
|
+
background-color: #8cc14c;
|
70
|
+
}
|
71
|
+
|
72
|
+
.uk-progress-warning .uk-progress-bar {
|
73
|
+
background-color: #faa732;
|
74
|
+
}
|
75
|
+
|
76
|
+
.uk-progress-danger .uk-progress-bar {
|
77
|
+
background-color: #da314b;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* Modifier: `uk-progress-striped`
|
81
|
+
========================================================================== */
|
82
|
+
|
83
|
+
.uk-progress-striped {
|
84
|
+
.uk-progress-bar {
|
85
|
+
background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
86
|
+
background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
87
|
+
background-size: 30px 30px;
|
88
|
+
}
|
89
|
+
&.uk-active .uk-progress-bar {
|
90
|
+
-webkit-animation: uk-progress-bar-stripes 2s linear infinite;
|
91
|
+
animation: uk-progress-bar-stripes 2s linear infinite;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
/*
|
96
|
+
* Animation
|
97
|
+
*/
|
98
|
+
|
99
|
+
@-webkit-keyframes uk-progress-bar-stripes {
|
100
|
+
0% {
|
101
|
+
background-position: 0 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
100% {
|
105
|
+
background-position: 30px 0;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
@keyframes uk-progress-bar-stripes {
|
111
|
+
0% {
|
112
|
+
background-position: 0 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
100% {
|
116
|
+
background-position: 30px 0;
|
117
|
+
}
|
118
|
+
}
|
@@ -0,0 +1,216 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Search
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Create position context for dropdowns
|
7
|
+
* 2. Needed for `form` element
|
8
|
+
*/
|
9
|
+
|
10
|
+
.uk-search {
|
11
|
+
display: inline-block;
|
12
|
+
/* 1 */
|
13
|
+
position: relative;
|
14
|
+
/* 2 */
|
15
|
+
margin: 0;
|
16
|
+
&:before {
|
17
|
+
content: "\f002";
|
18
|
+
position: absolute;
|
19
|
+
top: 0;
|
20
|
+
left: 0;
|
21
|
+
width: 30px;
|
22
|
+
line-height: 30px;
|
23
|
+
text-align: center;
|
24
|
+
font-family: FontAwesome;
|
25
|
+
font-size: 14px;
|
26
|
+
color: rgba(0, 0, 0, 0.2);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
/*
|
31
|
+
* Icon
|
32
|
+
*/
|
33
|
+
|
34
|
+
/* Sub-object `uk-search-field`
|
35
|
+
========================================================================== */
|
36
|
+
/*
|
37
|
+
* Removes inner padding and border in Firefox 4+.
|
38
|
+
*/
|
39
|
+
|
40
|
+
.uk-search-field {
|
41
|
+
&::-moz-focus-inner {
|
42
|
+
border: 0;
|
43
|
+
padding: 0;
|
44
|
+
}
|
45
|
+
&::-webkit-search-cancel-button, &::-webkit-search-decoration {
|
46
|
+
-webkit-appearance: none;
|
47
|
+
}
|
48
|
+
&::-ms-clear {
|
49
|
+
display: none;
|
50
|
+
}
|
51
|
+
&::-moz-placeholder {
|
52
|
+
opacity: 1;
|
53
|
+
}
|
54
|
+
/* 1 */
|
55
|
+
-moz-box-sizing: border-box;
|
56
|
+
box-sizing: border-box;
|
57
|
+
/* 2 */
|
58
|
+
margin: 0;
|
59
|
+
/* 3 */
|
60
|
+
border-radius: 0;
|
61
|
+
/* 4 */
|
62
|
+
font: inherit;
|
63
|
+
color: #444444;
|
64
|
+
/* 5 */
|
65
|
+
-webkit-appearance: none;
|
66
|
+
/* 6 */
|
67
|
+
width: 120px;
|
68
|
+
height: 30px;
|
69
|
+
padding: 0 0 0 30px;
|
70
|
+
border: 1px solid rgba(0, 0, 0, 0);
|
71
|
+
background: rgba(0, 0, 0, 0);
|
72
|
+
-webkit-transition: all linear 0.2s;
|
73
|
+
transition: all linear 0.2s;
|
74
|
+
vertical-align: middle;
|
75
|
+
&:-ms-input-placeholder {
|
76
|
+
color: #999999 !important;
|
77
|
+
}
|
78
|
+
&::-moz-placeholder, &::-webkit-input-placeholder {
|
79
|
+
color: #999999;
|
80
|
+
}
|
81
|
+
&:focus {
|
82
|
+
outline: 0;
|
83
|
+
width: 180px;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
/*
|
88
|
+
* Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
|
89
|
+
*/
|
90
|
+
|
91
|
+
/*
|
92
|
+
* Removes cancel button in IE10
|
93
|
+
*/
|
94
|
+
|
95
|
+
/*
|
96
|
+
* Removes placeholder transparency in Firefox.
|
97
|
+
*/
|
98
|
+
|
99
|
+
/*
|
100
|
+
* 1. Define consistent box sizing.
|
101
|
+
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
|
102
|
+
* 3. Remove `border-radius` in iOS.
|
103
|
+
* 4. Correct `font` properties and `color` not being inherited.
|
104
|
+
* 5. Remove default style in iOS.
|
105
|
+
* 6. Style
|
106
|
+
*/
|
107
|
+
|
108
|
+
/* Placeholder */
|
109
|
+
|
110
|
+
/* Focus */
|
111
|
+
|
112
|
+
/* Focus + Active */
|
113
|
+
|
114
|
+
.uk-search.uk-active .uk-search-field {
|
115
|
+
width: 180px;
|
116
|
+
}
|
117
|
+
|
118
|
+
/* Dropdown modifier: `uk-dropdown-search`
|
119
|
+
========================================================================== */
|
120
|
+
|
121
|
+
.uk-dropdown-search {
|
122
|
+
width: 300px;
|
123
|
+
margin-top: 0;
|
124
|
+
background: #ffffff;
|
125
|
+
color: #444444;
|
126
|
+
}
|
127
|
+
|
128
|
+
.uk-open > .uk-dropdown-search {
|
129
|
+
-webkit-animation: uk-slide-top-fixed 0.2s ease-in-out;
|
130
|
+
animation: uk-slide-top-fixed 0.2s ease-in-out;
|
131
|
+
}
|
132
|
+
|
133
|
+
/*
|
134
|
+
* Dependency `uk-navbar-flip`
|
135
|
+
*/
|
136
|
+
|
137
|
+
.uk-navbar-flip .uk-dropdown-search {
|
138
|
+
margin-top: 12px;
|
139
|
+
margin-right: -16px;
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Nav modifier `uk-nav-search`
|
143
|
+
========================================================================== */
|
144
|
+
/*
|
145
|
+
* Items
|
146
|
+
*/
|
147
|
+
|
148
|
+
.uk-nav-search {
|
149
|
+
> li {
|
150
|
+
> a {
|
151
|
+
color: #444444;
|
152
|
+
}
|
153
|
+
&.uk-active > a {
|
154
|
+
background: #00a8e6;
|
155
|
+
color: #ffffff;
|
156
|
+
/* 1 */
|
157
|
+
outline: none;
|
158
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
159
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
|
160
|
+
}
|
161
|
+
}
|
162
|
+
.uk-nav-header {
|
163
|
+
color: #999999;
|
164
|
+
}
|
165
|
+
.uk-nav-divider {
|
166
|
+
border-top: 1px solid #dddddd;
|
167
|
+
}
|
168
|
+
ul a {
|
169
|
+
color: #0077dd;
|
170
|
+
&:hover {
|
171
|
+
color: #005599;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/*
|
177
|
+
* Active
|
178
|
+
* 1. Remove default focus style
|
179
|
+
*/
|
180
|
+
|
181
|
+
/*
|
182
|
+
* Sub-object: `uk-nav-header`
|
183
|
+
*/
|
184
|
+
|
185
|
+
/*
|
186
|
+
* Sub-object: `uk-nav-divider`
|
187
|
+
*/
|
188
|
+
|
189
|
+
/*
|
190
|
+
* Nested items
|
191
|
+
*/
|
192
|
+
|
193
|
+
/* Search in offcanvas
|
194
|
+
========================================================================== */
|
195
|
+
|
196
|
+
.uk-offcanvas {
|
197
|
+
.uk-search {
|
198
|
+
display: block;
|
199
|
+
margin: 20px 15px;
|
200
|
+
&:before {
|
201
|
+
color: #777777;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
.uk-search-field {
|
205
|
+
width: 100%;
|
206
|
+
border-color: rgba(0, 0, 0, 0);
|
207
|
+
background: #1a1a1a;
|
208
|
+
color: #cccccc;
|
209
|
+
&:-ms-input-placeholder {
|
210
|
+
color: #777777 !important;
|
211
|
+
}
|
212
|
+
&::-moz-placeholder, &::-webkit-input-placeholder {
|
213
|
+
color: #777777;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|