rails-uikit-sass 2.27.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +22 -0
  3. data/README.md +43 -0
  4. data/lib/assets/stylesheets/rails-uikit-sass.scss +3 -0
  5. data/lib/rails-uikit-sass.rb +12 -0
  6. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  8. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  9. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  10. data/vendor/assets/javascripts/components/accordion.js +180 -0
  11. data/vendor/assets/javascripts/components/accordion.min.js +2 -0
  12. data/vendor/assets/javascripts/components/autocomplete.js +340 -0
  13. data/vendor/assets/javascripts/components/autocomplete.min.js +2 -0
  14. data/vendor/assets/javascripts/components/datepicker.js +3167 -0
  15. data/vendor/assets/javascripts/components/datepicker.min.js +3 -0
  16. data/vendor/assets/javascripts/components/form-password.js +67 -0
  17. data/vendor/assets/javascripts/components/form-password.min.js +2 -0
  18. data/vendor/assets/javascripts/components/form-select.js +85 -0
  19. data/vendor/assets/javascripts/components/form-select.min.js +2 -0
  20. data/vendor/assets/javascripts/components/grid-parallax.js +168 -0
  21. data/vendor/assets/javascripts/components/grid-parallax.min.js +2 -0
  22. data/vendor/assets/javascripts/components/grid.js +540 -0
  23. data/vendor/assets/javascripts/components/grid.min.js +2 -0
  24. data/vendor/assets/javascripts/components/htmleditor.js +679 -0
  25. data/vendor/assets/javascripts/components/htmleditor.min.js +2 -0
  26. data/vendor/assets/javascripts/components/lightbox.js +588 -0
  27. data/vendor/assets/javascripts/components/lightbox.min.js +2 -0
  28. data/vendor/assets/javascripts/components/nestable.js +653 -0
  29. data/vendor/assets/javascripts/components/nestable.min.js +2 -0
  30. data/vendor/assets/javascripts/components/notify.js +189 -0
  31. data/vendor/assets/javascripts/components/notify.min.js +2 -0
  32. data/vendor/assets/javascripts/components/pagination.js +147 -0
  33. data/vendor/assets/javascripts/components/pagination.min.js +2 -0
  34. data/vendor/assets/javascripts/components/parallax.js +462 -0
  35. data/vendor/assets/javascripts/components/parallax.min.js +2 -0
  36. data/vendor/assets/javascripts/components/search.js +92 -0
  37. data/vendor/assets/javascripts/components/search.min.js +2 -0
  38. data/vendor/assets/javascripts/components/slider.js +552 -0
  39. data/vendor/assets/javascripts/components/slider.min.js +2 -0
  40. data/vendor/assets/javascripts/components/slideset.js +523 -0
  41. data/vendor/assets/javascripts/components/slideset.min.js +2 -0
  42. data/vendor/assets/javascripts/components/slideshow-fx.js +382 -0
  43. data/vendor/assets/javascripts/components/slideshow-fx.min.js +2 -0
  44. data/vendor/assets/javascripts/components/slideshow.js +596 -0
  45. data/vendor/assets/javascripts/components/slideshow.min.js +2 -0
  46. data/vendor/assets/javascripts/components/sortable.js +688 -0
  47. data/vendor/assets/javascripts/components/sortable.min.js +2 -0
  48. data/vendor/assets/javascripts/components/sticky.js +364 -0
  49. data/vendor/assets/javascripts/components/sticky.min.js +2 -0
  50. data/vendor/assets/javascripts/components/timepicker.js +192 -0
  51. data/vendor/assets/javascripts/components/timepicker.min.js +2 -0
  52. data/vendor/assets/javascripts/components/tooltip.js +235 -0
  53. data/vendor/assets/javascripts/components/tooltip.min.js +2 -0
  54. data/vendor/assets/javascripts/components/upload.js +262 -0
  55. data/vendor/assets/javascripts/components/upload.min.js +2 -0
  56. data/vendor/assets/javascripts/core/alert.js +66 -0
  57. data/vendor/assets/javascripts/core/alert.min.js +2 -0
  58. data/vendor/assets/javascripts/core/button.js +156 -0
  59. data/vendor/assets/javascripts/core/button.min.js +2 -0
  60. data/vendor/assets/javascripts/core/core.js +820 -0
  61. data/vendor/assets/javascripts/core/core.min.js +2 -0
  62. data/vendor/assets/javascripts/core/cover.js +87 -0
  63. data/vendor/assets/javascripts/core/cover.min.js +2 -0
  64. data/vendor/assets/javascripts/core/dropdown.js +534 -0
  65. data/vendor/assets/javascripts/core/dropdown.min.js +2 -0
  66. data/vendor/assets/javascripts/core/grid.js +117 -0
  67. data/vendor/assets/javascripts/core/grid.min.js +2 -0
  68. data/vendor/assets/javascripts/core/modal.js +387 -0
  69. data/vendor/assets/javascripts/core/modal.min.js +2 -0
  70. data/vendor/assets/javascripts/core/nav.js +153 -0
  71. data/vendor/assets/javascripts/core/nav.min.js +2 -0
  72. data/vendor/assets/javascripts/core/offcanvas.js +197 -0
  73. data/vendor/assets/javascripts/core/offcanvas.min.js +2 -0
  74. data/vendor/assets/javascripts/core/scrollspy.js +209 -0
  75. data/vendor/assets/javascripts/core/scrollspy.min.js +2 -0
  76. data/vendor/assets/javascripts/core/smooth-scroll.js +62 -0
  77. data/vendor/assets/javascripts/core/smooth-scroll.min.js +2 -0
  78. data/vendor/assets/javascripts/core/switcher.js +307 -0
  79. data/vendor/assets/javascripts/core/switcher.min.js +2 -0
  80. data/vendor/assets/javascripts/core/tab.js +169 -0
  81. data/vendor/assets/javascripts/core/tab.min.js +2 -0
  82. data/vendor/assets/javascripts/core/toggle.js +124 -0
  83. data/vendor/assets/javascripts/core/toggle.min.js +2 -0
  84. data/vendor/assets/javascripts/core/touch.js +175 -0
  85. data/vendor/assets/javascripts/core/touch.min.js +2 -0
  86. data/vendor/assets/javascripts/core/utility.js +335 -0
  87. data/vendor/assets/javascripts/core/utility.min.js +2 -0
  88. data/vendor/assets/javascripts/uikit.js +3898 -0
  89. data/vendor/assets/javascripts/uikit.min.js +3 -0
  90. data/vendor/assets/stylesheets/components/accordion.scss +94 -0
  91. data/vendor/assets/stylesheets/components/autocomplete.scss +107 -0
  92. data/vendor/assets/stylesheets/components/datepicker.scss +197 -0
  93. data/vendor/assets/stylesheets/components/dotnav.scss +212 -0
  94. data/vendor/assets/stylesheets/components/form-advanced.scss +128 -0
  95. data/vendor/assets/stylesheets/components/form-file.scss +63 -0
  96. data/vendor/assets/stylesheets/components/form-password.scss +74 -0
  97. data/vendor/assets/stylesheets/components/form-select.scss +66 -0
  98. data/vendor/assets/stylesheets/components/htmleditor.scss +269 -0
  99. data/vendor/assets/stylesheets/components/nestable.scss +231 -0
  100. data/vendor/assets/stylesheets/components/notify.scss +190 -0
  101. data/vendor/assets/stylesheets/components/placeholder.scss +66 -0
  102. data/vendor/assets/stylesheets/components/progress.scss +173 -0
  103. data/vendor/assets/stylesheets/components/search.scss +309 -0
  104. data/vendor/assets/stylesheets/components/slidenav.scss +183 -0
  105. data/vendor/assets/stylesheets/components/slider.scss +139 -0
  106. data/vendor/assets/stylesheets/components/slideshow.scss +208 -0
  107. data/vendor/assets/stylesheets/components/sortable.scss +124 -0
  108. data/vendor/assets/stylesheets/components/sticky.scss +57 -0
  109. data/vendor/assets/stylesheets/components/tooltip.scss +178 -0
  110. data/vendor/assets/stylesheets/components/upload.scss +34 -0
  111. data/vendor/assets/stylesheets/core/alert.scss +141 -0
  112. data/vendor/assets/stylesheets/core/animation.scss +599 -0
  113. data/vendor/assets/stylesheets/core/article.scss +139 -0
  114. data/vendor/assets/stylesheets/core/badge.scss +110 -0
  115. data/vendor/assets/stylesheets/core/base.scss +563 -0
  116. data/vendor/assets/stylesheets/core/block.scss +155 -0
  117. data/vendor/assets/stylesheets/core/breadcrumb.scss +86 -0
  118. data/vendor/assets/stylesheets/core/button.scss +406 -0
  119. data/vendor/assets/stylesheets/core/close.scss +132 -0
  120. data/vendor/assets/stylesheets/core/column.scss +209 -0
  121. data/vendor/assets/stylesheets/core/comment.scss +172 -0
  122. data/vendor/assets/stylesheets/core/contrast.scss +493 -0
  123. data/vendor/assets/stylesheets/core/cover.scss +70 -0
  124. data/vendor/assets/stylesheets/core/description-list.scss +71 -0
  125. data/vendor/assets/stylesheets/core/dropdown.scss +283 -0
  126. data/vendor/assets/stylesheets/core/flex.scss +320 -0
  127. data/vendor/assets/stylesheets/core/form.scss +629 -0
  128. data/vendor/assets/stylesheets/core/grid.scss +731 -0
  129. data/vendor/assets/stylesheets/core/icon.scss +930 -0
  130. data/vendor/assets/stylesheets/core/list.scss +102 -0
  131. data/vendor/assets/stylesheets/core/modal.scss +343 -0
  132. data/vendor/assets/stylesheets/core/nav.scss +468 -0
  133. data/vendor/assets/stylesheets/core/navbar.scss +325 -0
  134. data/vendor/assets/stylesheets/core/offcanvas.scss +203 -0
  135. data/vendor/assets/stylesheets/core/overlay.scss +534 -0
  136. data/vendor/assets/stylesheets/core/pagination.scss +197 -0
  137. data/vendor/assets/stylesheets/core/panel.scss +332 -0
  138. data/vendor/assets/stylesheets/core/print.scss +61 -0
  139. data/vendor/assets/stylesheets/core/subnav.scss +213 -0
  140. data/vendor/assets/stylesheets/core/switcher.scss +38 -0
  141. data/vendor/assets/stylesheets/core/tab.scss +368 -0
  142. data/vendor/assets/stylesheets/core/table.scss +147 -0
  143. data/vendor/assets/stylesheets/core/text.scss +136 -0
  144. data/vendor/assets/stylesheets/core/thumbnail.scss +122 -0
  145. data/vendor/assets/stylesheets/core/thumbnav.scss +122 -0
  146. data/vendor/assets/stylesheets/core/utility.scss +610 -0
  147. data/vendor/assets/stylesheets/core/variables.scss +23 -0
  148. data/vendor/assets/stylesheets/uikit-mixins.scss +327 -0
  149. data/vendor/assets/stylesheets/uikit-variables.scss +819 -0
  150. data/vendor/assets/stylesheets/uikit.scss +52 -0
  151. metadata +251 -0
@@ -0,0 +1,183 @@
1
+ // Name: Slidenav
2
+ // Description: Defines styles for a previous/next navigation between slides
3
+ //
4
+ // Component: `uk-slidenav`
5
+ //
6
+ // Modifiers: `uk-slidenav-previous`
7
+ // `uk-slidenav-next`
8
+ // `uk-slidenav-contrast`
9
+ //
10
+ // Sub-objects: `uk-slidenav-position`
11
+ //
12
+ // Uses: Icon: FontAwesome
13
+ //
14
+ // Markup:
15
+ //
16
+ // <!-- uk-slidenav -->
17
+ // <a href="" class="uk-slidenav uk-slidenav-previous"></a>
18
+ // <a href="" class="uk-slidenav uk-slidenav-next"></a>
19
+ //
20
+ // <!-- uk-slidenav-position -->
21
+ // <div class="uk-slidenav-position">
22
+ // <img src="" alt="">
23
+ // <a href="" class="uk-slidenav uk-slidenav-previous"></a>
24
+ // <a href="" class="uk-slidenav uk-slidenav-next"></a>
25
+ // </div>
26
+ //
27
+ // ========================================================================
28
+
29
+
30
+ // Variables
31
+ // ========================================================================
32
+
33
+ $slidenav-width: 60px !default;
34
+ $slidenav-height: $slidenav-width !default;
35
+ $slidenav-color: rgba(50,50,50,0.4) !default;
36
+ $slidenav-font-size: 60px !default;
37
+ $slidenav-line-height: $slidenav-height !default;
38
+ $slidenav-previous-icon: "\f104" !default;
39
+ $slidenav-next-icon: "\f105" !default;
40
+
41
+ $slidenav-hover-color: rgba(50,50,50,0.7) !default;
42
+
43
+ $slidenav-active-color: rgba(50,50,50,0.9) !default;
44
+
45
+ $slidenav-position-previous: 20px !default;
46
+ $slidenav-position-next: $slidenav-position-previous !default;
47
+
48
+ $slidenav-contrast-color: rgba(255,255,255,0.5) !default;
49
+ $slidenav-contrast-hover-color: rgba(255,255,255,0.7) !default;
50
+ $slidenav-contrast-active-color: rgba(255,255,255,0.9) !default;
51
+
52
+
53
+ /* ========================================================================
54
+ Component: Slidenav
55
+ ========================================================================== */
56
+
57
+ /*
58
+ * 1. Required for `a` elements
59
+ * 2. Dimension
60
+ * 3. Style
61
+ */
62
+
63
+ .uk-slidenav {
64
+ /* 1 */
65
+ display: inline-block;
66
+ /* 2 */
67
+ box-sizing: border-box;
68
+ width: $slidenav-width;
69
+ height: $slidenav-height;
70
+ /* 3 */
71
+ line-height: $slidenav-line-height;
72
+ color: $slidenav-color;
73
+ font-size: $slidenav-font-size;
74
+ text-align: center;
75
+ @include hook-slidenav();
76
+ }
77
+
78
+ /*
79
+ * Hover
80
+ * 1. Apply hover style also to focus state
81
+ * 2. Remove default focus style
82
+ * 3. Required for `a` elements
83
+ * 4. Style
84
+ */
85
+
86
+ .uk-slidenav:hover,
87
+ .uk-slidenav:focus { // 1
88
+ /* 2 */
89
+ outline: none;
90
+ /* 3 */
91
+ text-decoration: none;
92
+ /* 4 */
93
+ color: $slidenav-hover-color;
94
+ cursor: pointer;
95
+ @include hook-slidenav-hover();
96
+ }
97
+
98
+ /* Active */
99
+ .uk-slidenav:active {
100
+ color: $slidenav-active-color;
101
+ @include hook-slidenav-active();
102
+ }
103
+
104
+ /*
105
+ * Icons
106
+ */
107
+
108
+ .uk-slidenav-previous:before {
109
+ content: $slidenav-previous-icon;
110
+ font-family: FontAwesome;
111
+ }
112
+
113
+ .uk-slidenav-next:before {
114
+ content: $slidenav-next-icon;
115
+ font-family: FontAwesome;
116
+ }
117
+
118
+
119
+ /* Sub-object: `uk-slidenav-position`
120
+ ========================================================================== */
121
+
122
+ /*
123
+ * Create position context
124
+ */
125
+
126
+ .uk-slidenav-position { position: relative; }
127
+
128
+ /*
129
+ * Center vertically
130
+ */
131
+
132
+ .uk-slidenav-position .uk-slidenav {
133
+ display: none;
134
+ position: absolute;
135
+ top: 50%;
136
+ z-index: 1;
137
+ margin-top: -($slidenav-height / 2);
138
+ }
139
+
140
+ .uk-slidenav-position:hover .uk-slidenav { display: block; }
141
+
142
+ .uk-slidenav-position .uk-slidenav-previous { left: $slidenav-position-previous; }
143
+ .uk-slidenav-position .uk-slidenav-next { right: $slidenav-position-next; }
144
+
145
+
146
+ /* Modifier: `uk-slidenav-contrast`
147
+ ========================================================================== */
148
+
149
+ .uk-slidenav-contrast {
150
+ color: $slidenav-contrast-color;
151
+ @include hook-slidenav-contrast();
152
+ }
153
+
154
+ /*
155
+ * Hover
156
+ * 1. Apply hover style also to focus state
157
+ */
158
+
159
+ .uk-slidenav-contrast:hover,
160
+ .uk-slidenav-contrast:focus { // 1
161
+ color: $slidenav-contrast-hover-color;
162
+ @include hook-slidenav-contrast-hover();
163
+ }
164
+
165
+ /* Active */
166
+ .uk-slidenav-contrast:active {
167
+ color: $slidenav-contrast-active-color;
168
+ @include hook-slidenav-contrast-active();
169
+ }
170
+
171
+
172
+ // Hooks
173
+ // ========================================================================
174
+
175
+ @include hook-slidenav-misc();
176
+
177
+ // @mixin hook-slidenav(){}
178
+ // @mixin hook-slidenav-hover(){}
179
+ // @mixin hook-slidenav-active(){}
180
+ // @mixin hook-slidenav-contrast(){}
181
+ // @mixin hook-slidenav-contrast-hover(){}
182
+ // @mixin hook-slidenav-contrast-active(){}
183
+ // @mixin hook-slidenav-misc(){}
@@ -0,0 +1,139 @@
1
+ // Name: Slider
2
+ // Description: Defines styles for a horizontal slider
3
+ //
4
+ // Component: `uk-slider`
5
+ //
6
+ // Sub-objects: `uk-slider-container`
7
+ //
8
+ // Modifier: `uk-slider-fullscreen`
9
+ //
10
+ // States: `uk-drag`
11
+ //
12
+ // Markup:
13
+ //
14
+ // <!-- uk-slider -->
15
+ // <div data-uk-slider>
16
+ // <div class="uk-slider-container">
17
+ // <ul class="uk-slider">
18
+ // <li></li>
19
+ // <li></li>
20
+ // </ul>
21
+ // </div>
22
+ // </div>
23
+ //
24
+ // ========================================================================
25
+
26
+
27
+ /* ========================================================================
28
+ Component: Slider
29
+ ========================================================================== */
30
+
31
+ /*
32
+ * RTL Compatibility
33
+ */
34
+
35
+ [data-uk-slider] { direction: ltr; }
36
+
37
+ html[dir="rtl"] .uk-slider > * { direction: rtl; }
38
+
39
+ /*
40
+ * 1. Create position context
41
+ * 2. Create stacking context to prevent z-index issues with other components
42
+ * 3. Deactivate browser history navigation in IE11
43
+ */
44
+
45
+ .uk-slider {
46
+ /* 1 */
47
+ position: relative;
48
+ /* 2 */
49
+ z-index: 0;
50
+ /* 3 */
51
+ touch-action: pan-y;
52
+ }
53
+
54
+ /*
55
+ * 1. Reset list style without interfering with grid
56
+ */
57
+
58
+ .uk-slider:not(.uk-grid) {
59
+ /* 1 */
60
+ margin: 0;
61
+ padding: 0;
62
+ list-style: none;
63
+ }
64
+
65
+ /*
66
+ * Sub-object item
67
+ * 1. Position items above each other
68
+ */
69
+
70
+ .uk-slider > * {
71
+ /* 1 */
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ }
76
+
77
+ /*
78
+ * Clip child elements
79
+ */
80
+
81
+ .uk-slider-container { overflow: hidden; }
82
+
83
+ /*
84
+ * Dragged
85
+ */
86
+
87
+ .uk-slider:not(.uk-drag) {
88
+ -webkit-transition: -webkit-transform 200ms linear;
89
+ transition: transform 200ms linear;
90
+ }
91
+
92
+ /*
93
+ * 1. Makes text unselectable
94
+ */
95
+
96
+ .uk-slider.uk-drag {
97
+ cursor: col-resize;
98
+ /* 1 */
99
+ -moz-user-select: none;
100
+ -webkit-user-select: none;
101
+ -ms-user-select: none;
102
+ user-select: none;
103
+ }
104
+
105
+ /*
106
+ * 1. Prevents images and links from being dragged (default browser behavior)
107
+ * 2. Disables the default callout shown when you touch and hold a touch target
108
+ * Currently only works in Webkit
109
+ */
110
+
111
+ .uk-slider a,
112
+ .uk-slider img {
113
+ /* 1 */
114
+ -webkit-user-drag: none;
115
+ user-drag: none;
116
+ /* 2 */
117
+ -webkit-touch-callout: none;
118
+ }
119
+
120
+ /*
121
+ * 1. Prevents images and links from being dragged in Firefox
122
+ */
123
+
124
+ .uk-slider img { pointer-events: none; }
125
+
126
+
127
+ /* Modifier: `uk-slider-fullscreen`
128
+ ========================================================================== */
129
+
130
+ .uk-slider-fullscreen,
131
+ .uk-slider-fullscreen > li { height: 100vh; }
132
+
133
+
134
+ // Hooks
135
+ // ========================================================================
136
+
137
+ @include hook-slider-misc();
138
+
139
+ // @mixin hook-slider-misc(){}
@@ -0,0 +1,208 @@
1
+ // Name: Slideshow
2
+ // Description: Defines styles for a slideshow
3
+ //
4
+ // Component: `uk-slideshow`
5
+ //
6
+ // Modifier: `uk-slideshow-fullscreen`
7
+ //
8
+ // Sub-modifier: `uk-slideshow-fade-out`
9
+ // `uk-slideshow-scroll-forward-in`
10
+ // `uk-slideshow-scroll-forward-out`
11
+ // `uk-slideshow-scroll-backward-in`
12
+ // `uk-slideshow-scroll-backward-out`
13
+ // `uk-slideshow-scale-out`
14
+ // `uk-slideshow-swipe-forward-in`
15
+ // `uk-slideshow-swipe-forward-out`
16
+ // `uk-slideshow-swipe-backward-in`
17
+ // `uk-slideshow-swipe-backward-out`
18
+ //
19
+ // States: `uk-active`
20
+ //
21
+ // Uses: Cover (JS)
22
+ //
23
+ // Markup:
24
+ //
25
+ // <!-- uk-slideshow -->
26
+ // <ul class="uk-slideshow" data-uk-slideshow>
27
+ // <li><img src="" width="" height="" alt=""></li>
28
+ // </ul>
29
+ //
30
+ // ========================================================================
31
+
32
+
33
+ /* ========================================================================
34
+ Component: Slideshow
35
+ ========================================================================== */
36
+
37
+ /*
38
+ * 1. Create position context
39
+ * 2. Create stacking context to prevent z-index issues with other components
40
+ * 3. Set width because child elements are positioned absolute. Height is set via JS
41
+ * 4. Reset list style
42
+ * 5. Clip child elements
43
+ * 6. Deactivate browser history navigation in IE11
44
+ */
45
+
46
+ .uk-slideshow {
47
+ /* 1 */
48
+ position: relative;
49
+ /* 2 */
50
+ z-index: 0;
51
+ /* 3 */
52
+ width: 100%;
53
+ /* 4 */
54
+ margin: 0;
55
+ padding: 0;
56
+ list-style: none;
57
+ /* 5 */
58
+ overflow: hidden;
59
+ /* 6 */
60
+ touch-action: pan-y;
61
+ }
62
+
63
+ /*
64
+ * Sub-object item
65
+ * 1. Position items above each other
66
+ * 2. Expand to parent container width
67
+ * 3. Hide by default
68
+ */
69
+
70
+ .uk-slideshow > li {
71
+ /* 1 */
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ /* 2 */
76
+ width: 100%;
77
+ /* 3 */
78
+ opacity: 0;
79
+ }
80
+
81
+ /*
82
+ * Active
83
+ * 1. Stack at first
84
+ * 2. Show slide
85
+ */
86
+
87
+ .uk-slideshow > .uk-active {
88
+ /* 1 */
89
+ z-index: 10;
90
+ /* 2 */
91
+ opacity: 1;
92
+ }
93
+
94
+ /*
95
+ * Hide default images which is only relevant to keep existing proportions
96
+ */
97
+
98
+ .uk-slideshow > li > img { visibility: hidden; }
99
+
100
+ /*
101
+ * Pointer for controls
102
+ */
103
+
104
+ [data-uk-slideshow-slide] { cursor: pointer; }
105
+
106
+
107
+ /* Modifier: `uk-slideshow-fullscreen`
108
+ ========================================================================== */
109
+
110
+ .uk-slideshow-fullscreen,
111
+ .uk-slideshow-fullscreen > li { height: 100vh; }
112
+
113
+
114
+ /* Animations
115
+ ========================================================================== */
116
+
117
+ /*
118
+ * Fade
119
+ */
120
+
121
+ .uk-slideshow-fade-in {
122
+ -webkit-animation: uk-fade 0.5s linear;
123
+ animation: uk-fade 0.5s linear;
124
+ }
125
+
126
+ .uk-slideshow-fade-out {
127
+ -webkit-animation: uk-fade 0.5s linear reverse;
128
+ animation: uk-fade 0.5s linear reverse;
129
+ }
130
+
131
+ /*
132
+ * Scroll
133
+ */
134
+
135
+ .uk-slideshow-scroll-forward-in {
136
+ -webkit-animation: uk-slide-right 0.5s ease-in-out;
137
+ animation: uk-slide-right 0.5s ease-in-out;
138
+ }
139
+
140
+ .uk-slideshow-scroll-forward-out {
141
+ -webkit-animation: uk-slide-left 0.5s ease-in-out reverse;
142
+ animation: uk-slide-left 0.5s ease-in-out reverse;
143
+ }
144
+
145
+ .uk-slideshow-scroll-backward-in {
146
+ -webkit-animation: uk-slide-left 0.5s ease-in-out;
147
+ animation: uk-slide-left 0.5s ease-in-out;
148
+ }
149
+
150
+ .uk-slideshow-scroll-backward-out {
151
+ -webkit-animation: uk-slide-right 0.5s ease-in-out reverse;
152
+ animation: uk-slide-right 0.5s ease-in-out reverse;
153
+ }
154
+
155
+ /*
156
+ * Scale
157
+ */
158
+
159
+ .uk-slideshow-scale-out {
160
+ -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse;
161
+ animation: uk-fade-scale-15 0.5s ease-in-out reverse;
162
+ }
163
+
164
+ /*
165
+ * Swipe
166
+ */
167
+
168
+ .uk-slideshow-swipe-forward-in {
169
+ -webkit-animation: uk-slide-left-33 0.5s ease-in-out;
170
+ animation: uk-slide-left-33 0.5s ease-in-out;
171
+ }
172
+
173
+ .uk-slideshow-swipe-forward-out {
174
+ -webkit-animation: uk-slide-left 0.5s ease-in-out reverse;
175
+ animation: uk-slide-left 0.5s ease-in-out reverse;
176
+ }
177
+
178
+ .uk-slideshow-swipe-backward-in {
179
+ -webkit-animation: uk-slide-right-33 0.5s ease-in-out;
180
+ animation: uk-slide-right-33 0.5s ease-in-out;
181
+ }
182
+
183
+ .uk-slideshow-swipe-backward-out {
184
+ -webkit-animation: uk-slide-right 0.5s ease-in-out reverse;
185
+ animation: uk-slide-right 0.5s ease-in-out reverse;
186
+ }
187
+
188
+ .uk-slideshow-swipe-forward-in:before,
189
+ .uk-slideshow-swipe-backward-in:before {
190
+ content: '';
191
+ position: absolute;
192
+ top: 0;
193
+ bottom: 0;
194
+ left: 0;
195
+ right: 0;
196
+ z-index: 1;
197
+ background: rgba(0,0,0,0.6);
198
+ -webkit-animation: uk-fade 0.5s ease-in-out reverse;
199
+ animation: uk-fade 0.5s ease-in-out reverse;
200
+ }
201
+
202
+
203
+ // Hooks
204
+ // ========================================================================
205
+
206
+ @include hook-slideshow-misc();
207
+
208
+ // @mixin hook-slideshow-misc(){}