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,92 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form advanced
|
4
|
+
Note: Only works in Webkit at the moment
|
5
|
+
========================================================================== */
|
6
|
+
/*
|
7
|
+
* 1. Style
|
8
|
+
* 2. Makes box more robust so it clips the child element
|
9
|
+
* 3. Vertical alignment
|
10
|
+
* 4. Remove default style
|
11
|
+
* 5. Fix black background on iOS
|
12
|
+
*/
|
13
|
+
|
14
|
+
.uk-form input {
|
15
|
+
&[type="radio"], &[type="checkbox"] {
|
16
|
+
/* 1 */
|
17
|
+
display: inline-block;
|
18
|
+
height: 14px;
|
19
|
+
width: 14px;
|
20
|
+
border: 1px solid #aaaaaa;
|
21
|
+
/* 2 */
|
22
|
+
overflow: hidden;
|
23
|
+
/* 3 */
|
24
|
+
margin-top: -4px;
|
25
|
+
vertical-align: middle;
|
26
|
+
/* 4 */
|
27
|
+
-webkit-appearance: none;
|
28
|
+
outline: 0;
|
29
|
+
/* 5 */
|
30
|
+
background: transparent;
|
31
|
+
}
|
32
|
+
&[type="radio"] {
|
33
|
+
border-radius: 50%;
|
34
|
+
}
|
35
|
+
&[type=radio]:before, &[type=checkbox]:before {
|
36
|
+
display: block;
|
37
|
+
}
|
38
|
+
&[type=radio]:checked:before {
|
39
|
+
content: '';
|
40
|
+
width: 8px;
|
41
|
+
height: 8px;
|
42
|
+
margin: 2px auto 0;
|
43
|
+
border-radius: 50%;
|
44
|
+
background: #00a8e6;
|
45
|
+
}
|
46
|
+
&[type=checkbox] {
|
47
|
+
&:checked:before {
|
48
|
+
content: "\f00c";
|
49
|
+
font-family: FontAwesome;
|
50
|
+
font-size: 12px;
|
51
|
+
-webkit-font-smoothing: antialiased;
|
52
|
+
text-align: center;
|
53
|
+
line-height: 12px;
|
54
|
+
color: #00a8e6;
|
55
|
+
}
|
56
|
+
&:indeterminate:before {
|
57
|
+
content: "\f00c";
|
58
|
+
font-family: FontAwesome;
|
59
|
+
font-size: 12px;
|
60
|
+
-webkit-font-smoothing: antialiased;
|
61
|
+
text-align: center;
|
62
|
+
line-height: 12px;
|
63
|
+
color: #00a8e6;
|
64
|
+
content: "\f068";
|
65
|
+
}
|
66
|
+
}
|
67
|
+
&[type=radio]:disabled, &[type=checkbox]:disabled {
|
68
|
+
border-color: #dddddd;
|
69
|
+
}
|
70
|
+
&[type=radio]:disabled:checked:before {
|
71
|
+
background-color: #aaaaaa;
|
72
|
+
}
|
73
|
+
&[type=checkbox]:disabled {
|
74
|
+
&:checked:before, &:indeterminate:before {
|
75
|
+
color: #aaaaaa;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
/* Radio */
|
81
|
+
|
82
|
+
/*
|
83
|
+
* Checked
|
84
|
+
*/
|
85
|
+
|
86
|
+
/* Radio */
|
87
|
+
|
88
|
+
/* Checkbox */
|
89
|
+
|
90
|
+
/*
|
91
|
+
* Disabled
|
92
|
+
*/
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form file
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-file {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
input[type="file"] {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
opacity: 0;
|
25
|
+
cursor: pointer;
|
26
|
+
/* 1 */
|
27
|
+
left: 0;
|
28
|
+
/* 2 */
|
29
|
+
font-size: 500px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
/*
|
34
|
+
* 1. Required for Firefox
|
35
|
+
* 2. Expand height and required for the cursor
|
36
|
+
*/
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form file
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-file {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
input[type="file"] {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
opacity: 0;
|
25
|
+
cursor: pointer;
|
26
|
+
/* 1 */
|
27
|
+
left: 0;
|
28
|
+
/* 2 */
|
29
|
+
font-size: 500px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
/*
|
34
|
+
* 1. Required for Firefox
|
35
|
+
* 2. Expand height and required for the cursor
|
36
|
+
*/
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form file
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-file {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
input[type="file"] {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
opacity: 0;
|
25
|
+
cursor: pointer;
|
26
|
+
/* 1 */
|
27
|
+
left: 0;
|
28
|
+
/* 2 */
|
29
|
+
font-size: 500px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
/*
|
34
|
+
* 1. Required for Firefox
|
35
|
+
* 2. Expand height and required for the cursor
|
36
|
+
*/
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form password
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Container width fits its content
|
7
|
+
* 2. Create position context
|
8
|
+
* 3. Prevent `inline-block` consequences
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-password {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
/* 2 */
|
15
|
+
position: relative;
|
16
|
+
/* 3 */
|
17
|
+
max-width: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
.uk-form-password-toggle {
|
21
|
+
display: block;
|
22
|
+
position: absolute;
|
23
|
+
top: 50%;
|
24
|
+
right: 10px;
|
25
|
+
margin-top: -6px;
|
26
|
+
font-size: 13px;
|
27
|
+
line-height: 13px;
|
28
|
+
color: #999999;
|
29
|
+
&:hover {
|
30
|
+
color: #999999;
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.uk-form-password > input {
|
36
|
+
padding-right: 50px !important;
|
37
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form password
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Container width fits its content
|
7
|
+
* 2. Create position context
|
8
|
+
* 3. Prevent `inline-block` consequences
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-password {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
/* 2 */
|
15
|
+
position: relative;
|
16
|
+
/* 3 */
|
17
|
+
max-width: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
.uk-form-password-toggle {
|
21
|
+
display: block;
|
22
|
+
position: absolute;
|
23
|
+
top: 50%;
|
24
|
+
right: 10px;
|
25
|
+
margin-top: -6px;
|
26
|
+
font-size: 13px;
|
27
|
+
line-height: 13px;
|
28
|
+
color: #999999;
|
29
|
+
&:hover {
|
30
|
+
color: #999999;
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.uk-form-password > input {
|
36
|
+
padding-right: 50px !important;
|
37
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form password
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Container width fits its content
|
7
|
+
* 2. Create position context
|
8
|
+
* 3. Prevent `inline-block` consequences
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-password {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
/* 2 */
|
15
|
+
position: relative;
|
16
|
+
/* 3 */
|
17
|
+
max-width: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
.uk-form-password-toggle {
|
21
|
+
display: block;
|
22
|
+
position: absolute;
|
23
|
+
top: 50%;
|
24
|
+
right: 10px;
|
25
|
+
margin-top: -6px;
|
26
|
+
font-size: 13px;
|
27
|
+
line-height: 13px;
|
28
|
+
color: #999999;
|
29
|
+
&:hover {
|
30
|
+
color: #999999;
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.uk-form-password > input {
|
36
|
+
padding-right: 50px !important;
|
37
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form select
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-select {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
select {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
height: 100%;
|
25
|
+
opacity: 0;
|
26
|
+
cursor: pointer;
|
27
|
+
/* 1 */
|
28
|
+
left: 0;
|
29
|
+
/* 2 */
|
30
|
+
-webkit-appearance: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
* 1. Required for Firefox
|
36
|
+
* 1. Required for Webkit to make `height` work
|
37
|
+
*/
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form select
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-select {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
select {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
height: 100%;
|
25
|
+
opacity: 0;
|
26
|
+
cursor: pointer;
|
27
|
+
/* 1 */
|
28
|
+
left: 0;
|
29
|
+
/* 2 */
|
30
|
+
-webkit-appearance: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
* 1. Required for Firefox
|
36
|
+
* 1. Required for Webkit to make `height` work
|
37
|
+
*/
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: Form select
|
4
|
+
========================================================================== */
|
5
|
+
/*
|
6
|
+
* 1. Behave like form elements
|
7
|
+
* 2. Create position context for dropdowns
|
8
|
+
* 3. Clip content
|
9
|
+
*/
|
10
|
+
|
11
|
+
.uk-form-select {
|
12
|
+
/* 1 */
|
13
|
+
display: inline-block;
|
14
|
+
vertical-align: middle;
|
15
|
+
/* 2 */
|
16
|
+
position: relative;
|
17
|
+
/* 3 */
|
18
|
+
overflow: hidden;
|
19
|
+
select {
|
20
|
+
position: absolute;
|
21
|
+
top: 0;
|
22
|
+
z-index: 1;
|
23
|
+
width: 100%;
|
24
|
+
height: 100%;
|
25
|
+
opacity: 0;
|
26
|
+
cursor: pointer;
|
27
|
+
/* 1 */
|
28
|
+
left: 0;
|
29
|
+
/* 2 */
|
30
|
+
-webkit-appearance: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
* 1. Required for Firefox
|
36
|
+
* 1. Required for Webkit to make `height` work
|
37
|
+
*/
|
@@ -0,0 +1,282 @@
|
|
1
|
+
/*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
+
/* ========================================================================
|
3
|
+
Component: HTML editor
|
4
|
+
========================================================================== */
|
5
|
+
/* Sub-object `uk-htmleditor-navbar`
|
6
|
+
========================================================================== */
|
7
|
+
|
8
|
+
.uk-htmleditor-navbar {
|
9
|
+
background: #f5f5f5;
|
10
|
+
border: 1px solid rgba(0, 0, 0, 0.06);
|
11
|
+
border-top-left-radius: 4px;
|
12
|
+
border-top-right-radius: 4px;
|
13
|
+
&:before {
|
14
|
+
content: "";
|
15
|
+
display: table;
|
16
|
+
}
|
17
|
+
&:after {
|
18
|
+
content: "";
|
19
|
+
display: table;
|
20
|
+
clear: both;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
/*
|
25
|
+
* Micro clearfix
|
26
|
+
*/
|
27
|
+
|
28
|
+
/* Sub-object `uk-htmleditor-navbar-nav`
|
29
|
+
========================================================================== */
|
30
|
+
|
31
|
+
.uk-htmleditor-navbar-nav {
|
32
|
+
margin: 0;
|
33
|
+
padding: 0;
|
34
|
+
list-style: none;
|
35
|
+
float: left;
|
36
|
+
> li {
|
37
|
+
float: left;
|
38
|
+
> a {
|
39
|
+
display: block;
|
40
|
+
-moz-box-sizing: border-box;
|
41
|
+
box-sizing: border-box;
|
42
|
+
text-decoration: none;
|
43
|
+
/* 1 */
|
44
|
+
height: 41px;
|
45
|
+
padding: 0 15px;
|
46
|
+
line-height: 40px;
|
47
|
+
/* 2 */
|
48
|
+
color: #444444;
|
49
|
+
font-size: 11px;
|
50
|
+
cursor: pointer;
|
51
|
+
margin-top: -1px;
|
52
|
+
margin-left: -1px;
|
53
|
+
border: 1px solid transparent;
|
54
|
+
border-bottom-width: 0;
|
55
|
+
text-shadow: 0 1px 0 #ffffff;
|
56
|
+
}
|
57
|
+
&:hover > a {
|
58
|
+
background-color: #fafafa;
|
59
|
+
color: #444444;
|
60
|
+
outline: none;
|
61
|
+
/* 2 */
|
62
|
+
position: relative;
|
63
|
+
z-index: 1;
|
64
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
65
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
66
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
67
|
+
}
|
68
|
+
> a {
|
69
|
+
&:focus {
|
70
|
+
background-color: #fafafa;
|
71
|
+
color: #444444;
|
72
|
+
outline: none;
|
73
|
+
/* 2 */
|
74
|
+
position: relative;
|
75
|
+
z-index: 1;
|
76
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
77
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
78
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
79
|
+
}
|
80
|
+
&:active {
|
81
|
+
background-color: #eeeeee;
|
82
|
+
color: #444444;
|
83
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
84
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
85
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
&.uk-active > a {
|
89
|
+
background-color: #fafafa;
|
90
|
+
color: #444444;
|
91
|
+
border-left-color: rgba(0, 0, 0, 0.1);
|
92
|
+
border-right-color: rgba(0, 0, 0, 0.1);
|
93
|
+
border-top-color: rgba(0, 0, 0, 0.1);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
/*
|
99
|
+
* 1. Dimensions
|
100
|
+
* 2. Style
|
101
|
+
*/
|
102
|
+
|
103
|
+
/*
|
104
|
+
* Hover
|
105
|
+
* 1. Apply hover style also to focus state
|
106
|
+
* 2. Remove default focus style
|
107
|
+
*/
|
108
|
+
|
109
|
+
/* OnClick */
|
110
|
+
|
111
|
+
/* Active */
|
112
|
+
|
113
|
+
/* Sub-object: `uk-htmleditor-navbar-flip`
|
114
|
+
========================================================================== */
|
115
|
+
|
116
|
+
.uk-htmleditor-navbar-flip {
|
117
|
+
float: right;
|
118
|
+
}
|
119
|
+
|
120
|
+
/* Sub-object for special buttons
|
121
|
+
========================================================================== */
|
122
|
+
|
123
|
+
[data-mode='split'] {
|
124
|
+
.uk-htmleditor-button-code, .uk-htmleditor-button-preview {
|
125
|
+
display: none;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
/* Sub-object `uk-htmleditor-content`
|
130
|
+
========================================================================== */
|
131
|
+
|
132
|
+
.uk-htmleditor-content {
|
133
|
+
border-left: 1px solid #dddddd;
|
134
|
+
border-right: 1px solid #dddddd;
|
135
|
+
border-bottom: 1px solid #dddddd;
|
136
|
+
background: #ffffff;
|
137
|
+
border-bottom-left-radius: 4px;
|
138
|
+
border-bottom-right-radius: 4px;
|
139
|
+
&:before {
|
140
|
+
content: "";
|
141
|
+
display: table;
|
142
|
+
}
|
143
|
+
&:after {
|
144
|
+
content: "";
|
145
|
+
display: table;
|
146
|
+
clear: both;
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
/*
|
151
|
+
* Micro clearfix
|
152
|
+
*/
|
153
|
+
|
154
|
+
/* Modifier `uk-htmleditor-fullscreen`
|
155
|
+
========================================================================== */
|
156
|
+
|
157
|
+
.uk-htmleditor-fullscreen {
|
158
|
+
position: fixed;
|
159
|
+
top: 0;
|
160
|
+
left: 0;
|
161
|
+
right: 0;
|
162
|
+
bottom: 0;
|
163
|
+
z-index: 990;
|
164
|
+
.uk-htmleditor-content {
|
165
|
+
position: absolute;
|
166
|
+
top: 41px;
|
167
|
+
left: 0;
|
168
|
+
right: 0;
|
169
|
+
bottom: 0;
|
170
|
+
}
|
171
|
+
.uk-icon-expand:before {
|
172
|
+
content: "\f066";
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview`
|
177
|
+
========================================================================== */
|
178
|
+
|
179
|
+
.uk-htmleditor-code {
|
180
|
+
-moz-box-sizing: border-box;
|
181
|
+
box-sizing: border-box;
|
182
|
+
}
|
183
|
+
|
184
|
+
.uk-htmleditor-preview {
|
185
|
+
-moz-box-sizing: border-box;
|
186
|
+
box-sizing: border-box;
|
187
|
+
padding: 20px;
|
188
|
+
overflow-y: scroll;
|
189
|
+
position: relative;
|
190
|
+
}
|
191
|
+
|
192
|
+
/*
|
193
|
+
* Tab view
|
194
|
+
*/
|
195
|
+
|
196
|
+
[data-mode='tab'] {
|
197
|
+
&[data-active-tab='code'] .uk-htmleditor-preview, &[data-active-tab='preview'] .uk-htmleditor-code {
|
198
|
+
display: none;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
/*
|
203
|
+
* Split view
|
204
|
+
*/
|
205
|
+
|
206
|
+
[data-mode='split'] {
|
207
|
+
.uk-htmleditor-code, .uk-htmleditor-preview {
|
208
|
+
float: left;
|
209
|
+
width: 50%;
|
210
|
+
}
|
211
|
+
.uk-htmleditor-code {
|
212
|
+
border-right: 1px solid #eeeeee;
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
/* Sub-object `uk-htmleditor-iframe`
|
217
|
+
========================================================================== */
|
218
|
+
|
219
|
+
.uk-htmleditor-iframe {
|
220
|
+
position: absolute;
|
221
|
+
top: 0;
|
222
|
+
left: 0;
|
223
|
+
width: 100%;
|
224
|
+
height: 100%;
|
225
|
+
}
|
226
|
+
|
227
|
+
/* CodeMirror modifications
|
228
|
+
========================================================================== */
|
229
|
+
|
230
|
+
.uk-htmleditor .CodeMirror {
|
231
|
+
padding: 10px;
|
232
|
+
-moz-box-sizing: border-box;
|
233
|
+
box-sizing: border-box;
|
234
|
+
}
|
235
|
+
|
236
|
+
/*
|
237
|
+
* Apply same `border-radius` as `uk-htmleditor-navbar`
|
238
|
+
*/
|
239
|
+
|
240
|
+
.uk-htmleditor-navbar-nav:first-child > li:first-child > a {
|
241
|
+
border-top-left-radius: 4px;
|
242
|
+
}
|
243
|
+
|
244
|
+
/*
|
245
|
+
* Sub-modifier `uk-htmleditor-navbar-flip`
|
246
|
+
*/
|
247
|
+
/* Collapse border */
|
248
|
+
|
249
|
+
.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav {
|
250
|
+
> li > a {
|
251
|
+
margin-left: 0;
|
252
|
+
margin-right: -1px;
|
253
|
+
}
|
254
|
+
&:first-child > li:first-child > a {
|
255
|
+
border-top-left-radius: 0;
|
256
|
+
}
|
257
|
+
&:last-child > li:last-child > a {
|
258
|
+
border-top-right-radius: 4px;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
/* Apply same `border-radius` as `uk-htmleditor-navbar` */
|
263
|
+
|
264
|
+
/*
|
265
|
+
* Sub-modifier `uk-htmleditor-fullscreen`
|
266
|
+
*/
|
267
|
+
|
268
|
+
.uk-htmleditor-fullscreen {
|
269
|
+
.uk-htmleditor-navbar {
|
270
|
+
border-top: none;
|
271
|
+
border-left: none;
|
272
|
+
border-right: none;
|
273
|
+
border-radius: 0;
|
274
|
+
}
|
275
|
+
.uk-htmleditor-content {
|
276
|
+
border: none;
|
277
|
+
border-radius: 0;
|
278
|
+
}
|
279
|
+
.uk-htmleditor-navbar-nav > li > a {
|
280
|
+
border-radius: 0 !important;
|
281
|
+
}
|
282
|
+
}
|