uikit-rails 0.0.2 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -3
  3. data/Gemfile +2 -1
  4. data/LICENSE.txt +21 -0
  5. data/README.md +65 -0
  6. data/Rakefile +0 -1
  7. data/assets/fonts/FontAwesome.otf +0 -0
  8. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  9. data/assets/fonts/fontawesome-webfont.woff +0 -0
  10. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  11. data/assets/javascripts/components/accordion.js +174 -0
  12. data/assets/javascripts/components/accordion.min.js +2 -0
  13. data/assets/javascripts/components/autocomplete.js +334 -0
  14. data/assets/javascripts/components/autocomplete.min.js +2 -0
  15. data/assets/javascripts/components/datepicker.js +3166 -0
  16. data/assets/javascripts/components/datepicker.min.js +3 -0
  17. data/assets/javascripts/components/form-password.js +67 -0
  18. data/assets/javascripts/components/form-password.min.js +2 -0
  19. data/assets/javascripts/components/form-select.js +70 -0
  20. data/assets/javascripts/components/form-select.min.js +2 -0
  21. data/assets/javascripts/components/grid.js +527 -0
  22. data/assets/javascripts/components/grid.min.js +2 -0
  23. data/assets/javascripts/components/htmleditor.js +623 -0
  24. data/assets/javascripts/components/htmleditor.min.js +2 -0
  25. data/assets/javascripts/components/lightbox.js +555 -0
  26. data/assets/javascripts/components/lightbox.min.js +2 -0
  27. data/assets/javascripts/components/nestable.js +638 -0
  28. data/assets/javascripts/components/nestable.min.js +2 -0
  29. data/assets/javascripts/components/notify.js +189 -0
  30. data/assets/javascripts/components/notify.min.js +2 -0
  31. data/assets/javascripts/components/pagination.js +147 -0
  32. data/assets/javascripts/components/pagination.min.js +2 -0
  33. data/assets/javascripts/components/parallax.js +435 -0
  34. data/assets/javascripts/components/parallax.min.js +2 -0
  35. data/assets/javascripts/components/search.js +92 -0
  36. data/assets/javascripts/components/search.min.js +2 -0
  37. data/assets/javascripts/components/slider.js +531 -0
  38. data/assets/javascripts/components/slider.min.js +2 -0
  39. data/assets/javascripts/components/slideset.js +506 -0
  40. data/assets/javascripts/components/slideset.min.js +2 -0
  41. data/assets/javascripts/components/slideshow-fx.js +375 -0
  42. data/assets/javascripts/components/slideshow-fx.min.js +2 -0
  43. data/assets/javascripts/components/slideshow.js +562 -0
  44. data/assets/javascripts/components/slideshow.min.js +2 -0
  45. data/assets/javascripts/components/sortable.js +688 -0
  46. data/assets/javascripts/components/sortable.min.js +2 -0
  47. data/assets/javascripts/components/sticky.js +359 -0
  48. data/assets/javascripts/components/sticky.min.js +2 -0
  49. data/assets/javascripts/components/timepicker.js +192 -0
  50. data/assets/javascripts/components/timepicker.min.js +2 -0
  51. data/assets/javascripts/components/tooltip.js +234 -0
  52. data/assets/javascripts/components/tooltip.min.js +2 -0
  53. data/assets/javascripts/components/upload.js +260 -0
  54. data/assets/javascripts/components/upload.min.js +2 -0
  55. data/assets/javascripts/core/alert.js +66 -0
  56. data/assets/javascripts/core/alert.min.js +2 -0
  57. data/assets/javascripts/core/button.js +157 -0
  58. data/assets/javascripts/core/button.min.js +2 -0
  59. data/assets/javascripts/core/core.js +730 -0
  60. data/assets/javascripts/core/core.min.js +2 -0
  61. data/assets/javascripts/core/cover.js +95 -0
  62. data/assets/javascripts/core/cover.min.js +2 -0
  63. data/assets/javascripts/core/dropdown.js +514 -0
  64. data/assets/javascripts/core/dropdown.min.js +2 -0
  65. data/assets/javascripts/core/grid.js +114 -0
  66. data/assets/javascripts/core/grid.min.js +2 -0
  67. data/assets/javascripts/core/modal.js +384 -0
  68. data/assets/javascripts/core/modal.min.js +2 -0
  69. data/assets/javascripts/core/nav.js +136 -0
  70. data/assets/javascripts/core/nav.min.js +2 -0
  71. data/assets/javascripts/core/offcanvas.js +180 -0
  72. data/assets/javascripts/core/offcanvas.min.js +2 -0
  73. data/assets/javascripts/core/scrollspy.js +208 -0
  74. data/assets/javascripts/core/scrollspy.min.js +2 -0
  75. data/assets/javascripts/core/smooth-scroll.js +62 -0
  76. data/assets/javascripts/core/smooth-scroll.min.js +2 -0
  77. data/assets/javascripts/core/switcher.js +309 -0
  78. data/assets/javascripts/core/switcher.min.js +2 -0
  79. data/assets/javascripts/core/tab.js +167 -0
  80. data/assets/javascripts/core/tab.min.js +2 -0
  81. data/assets/javascripts/core/toggle.js +120 -0
  82. data/assets/javascripts/core/toggle.min.js +2 -0
  83. data/assets/javascripts/core/touch.js +175 -0
  84. data/assets/javascripts/core/touch.min.js +2 -0
  85. data/assets/javascripts/core/utility.js +289 -0
  86. data/assets/javascripts/core/utility.min.js +2 -0
  87. data/assets/javascripts/uikit-components.js +23 -0
  88. data/assets/javascripts/uikit.js +3706 -0
  89. data/assets/javascripts/uikit.min.js +3 -0
  90. data/assets/stylesheets/components/accordion.scss +94 -0
  91. data/assets/stylesheets/components/autocomplete.scss +102 -0
  92. data/assets/stylesheets/components/datepicker.scss +197 -0
  93. data/assets/stylesheets/components/dotnav.scss +212 -0
  94. data/assets/stylesheets/components/form-advanced.scss +128 -0
  95. data/assets/stylesheets/components/form-file.scss +63 -0
  96. data/assets/stylesheets/components/form-password.scss +74 -0
  97. data/assets/stylesheets/components/form-select.scss +66 -0
  98. data/assets/stylesheets/components/htmleditor.scss +269 -0
  99. data/assets/stylesheets/components/nestable.scss +229 -0
  100. data/assets/stylesheets/components/notify.scss +190 -0
  101. data/assets/stylesheets/components/placeholder.scss +66 -0
  102. data/assets/stylesheets/components/progress.scss +173 -0
  103. data/assets/stylesheets/components/search.scss +309 -0
  104. data/assets/stylesheets/components/slidenav.scss +183 -0
  105. data/assets/stylesheets/components/slider.scss +131 -0
  106. data/assets/stylesheets/components/slideshow.scss +208 -0
  107. data/assets/stylesheets/components/sortable.scss +122 -0
  108. data/assets/stylesheets/components/sticky.scss +64 -0
  109. data/assets/stylesheets/components/tooltip.scss +177 -0
  110. data/assets/stylesheets/components/upload.scss +34 -0
  111. data/assets/stylesheets/core/alert.scss +141 -0
  112. data/assets/stylesheets/core/animation.scss +599 -0
  113. data/assets/stylesheets/core/article.scss +139 -0
  114. data/assets/stylesheets/core/badge.scss +110 -0
  115. data/assets/stylesheets/core/base-noconflict.scss +397 -0
  116. data/assets/stylesheets/core/base.scss +541 -0
  117. data/assets/stylesheets/core/block.scss +153 -0
  118. data/assets/stylesheets/core/breadcrumb.scss +86 -0
  119. data/assets/stylesheets/core/button.scss +406 -0
  120. data/assets/stylesheets/core/close.scss +132 -0
  121. data/assets/stylesheets/core/column.scss +209 -0
  122. data/assets/stylesheets/core/comment.scss +172 -0
  123. data/assets/stylesheets/core/contrast.scss +493 -0
  124. data/assets/stylesheets/core/cover.scss +70 -0
  125. data/assets/stylesheets/core/description-list.scss +71 -0
  126. data/assets/stylesheets/core/dropdown.scss +280 -0
  127. data/assets/stylesheets/core/flex.scss +320 -0
  128. data/assets/stylesheets/core/form.scss +627 -0
  129. data/assets/stylesheets/core/grid.scss +688 -0
  130. data/assets/stylesheets/core/icon.scss +897 -0
  131. data/assets/stylesheets/core/list.scss +102 -0
  132. data/assets/stylesheets/core/modal.scss +341 -0
  133. data/assets/stylesheets/core/nav.scss +468 -0
  134. data/assets/stylesheets/core/navbar.scss +325 -0
  135. data/assets/stylesheets/core/offcanvas.scss +168 -0
  136. data/assets/stylesheets/core/overlay.scss +534 -0
  137. data/assets/stylesheets/core/pagination.scss +197 -0
  138. data/assets/stylesheets/core/panel.scss +332 -0
  139. data/assets/stylesheets/core/print.scss +59 -0
  140. data/assets/stylesheets/core/subnav.scss +213 -0
  141. data/assets/stylesheets/core/switcher.scss +38 -0
  142. data/assets/stylesheets/core/tab.scss +368 -0
  143. data/assets/stylesheets/core/table.scss +147 -0
  144. data/assets/stylesheets/core/text.scss +128 -0
  145. data/assets/stylesheets/core/thumbnail.scss +122 -0
  146. data/assets/stylesheets/core/thumbnav.scss +122 -0
  147. data/assets/stylesheets/core/utility.scss +606 -0
  148. data/assets/stylesheets/core/variables.scss +23 -0
  149. data/assets/stylesheets/uikit-components.scss +22 -0
  150. data/assets/stylesheets/uikit-mixins.scss +327 -0
  151. data/assets/stylesheets/uikit-variables.scss +817 -0
  152. data/assets/stylesheets/uikit.scss +56 -0
  153. data/lib/uikit-rails.rb +2 -2
  154. data/lib/uikit-rails/engine.rb +11 -1
  155. data/lib/uikit-rails/version.rb +1 -3
  156. data/uikit-rails.gemspec +15 -16
  157. metadata +169 -44
  158. data/README.rb +0 -1
  159. data/vendor/assets/javascripts/ui.card.js +0 -115
  160. data/vendor/assets/javascripts/ui.color-picker.js +0 -351
  161. data/vendor/assets/javascripts/ui.confirmation.js +0 -133
  162. data/vendor/assets/javascripts/ui.dialog.js +0 -252
  163. data/vendor/assets/javascripts/ui.emitter.js +0 -99
  164. data/vendor/assets/javascripts/ui.js +0 -1641
  165. data/vendor/assets/javascripts/ui.menu.js +0 -238
  166. data/vendor/assets/javascripts/ui.notification.js +0 -240
  167. data/vendor/assets/javascripts/ui.overlay.js +0 -79
  168. data/vendor/assets/javascripts/ui.split-button.js +0 -108
  169. data/vendor/assets/stylesheets/ui.card.css +0 -55
  170. data/vendor/assets/stylesheets/ui.color-picker.css +0 -6
  171. data/vendor/assets/stylesheets/ui.confirmation.css +0 -7
  172. data/vendor/assets/stylesheets/ui.css +0 -337
  173. data/vendor/assets/stylesheets/ui.dialog.css +0 -92
  174. data/vendor/assets/stylesheets/ui.menu.css +0 -32
  175. data/vendor/assets/stylesheets/ui.notification.css +0 -107
  176. data/vendor/assets/stylesheets/ui.overlay.css +0 -16
  177. data/vendor/assets/stylesheets/ui.split-button.css +0 -27
@@ -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,131 @@
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
+ * 1. Create position context
33
+ * 2. Create stacking context to prevent z-index issues with other components
34
+ * 3. Deactivate browser history navigation in IE11
35
+ */
36
+
37
+ .uk-slider {
38
+ /* 1 */
39
+ position: relative;
40
+ /* 2 */
41
+ z-index: 0;
42
+ /* 3 */
43
+ touch-action: pan-y;
44
+ }
45
+
46
+ /*
47
+ * 1. Reset list style without interfering with grid
48
+ */
49
+
50
+ .uk-slider:not(.uk-grid) {
51
+ /* 1 */
52
+ margin: 0;
53
+ padding: 0;
54
+ list-style: none;
55
+ }
56
+
57
+ /*
58
+ * Sub-object item
59
+ * 1. Position items above each other
60
+ */
61
+
62
+ .uk-slider > * {
63
+ /* 1 */
64
+ position: absolute;
65
+ top: 0;
66
+ left: 0;
67
+ }
68
+
69
+ /*
70
+ * Clip child elements
71
+ */
72
+
73
+ .uk-slider-container { overflow: hidden; }
74
+
75
+ /*
76
+ * Dragged
77
+ */
78
+
79
+ .uk-slider:not(.uk-drag) {
80
+ -webkit-transition: -webkit-transform 200ms linear;
81
+ transition: transform 200ms linear;
82
+ }
83
+
84
+ /*
85
+ * 1. Makes text unselectable
86
+ */
87
+
88
+ .uk-slider.uk-drag {
89
+ cursor: col-resize;
90
+ /* 1 */
91
+ -moz-user-select: none;
92
+ -webkit-user-select: none;
93
+ -ms-user-select: none;
94
+ user-select: none;
95
+ }
96
+
97
+ /*
98
+ * 1. Prevents images and links from being dragged (default browser behavior)
99
+ * 2. Disables the default callout shown when you touch and hold a touch target
100
+ * Currently only works in Webkit
101
+ */
102
+
103
+ .uk-slider a,
104
+ .uk-slider img {
105
+ /* 1 */
106
+ -webkit-user-drag: none;
107
+ user-drag: none;
108
+ /* 2 */
109
+ -webkit-touch-callout: none;
110
+ }
111
+
112
+ /*
113
+ * 1. Prevents images and links from being dragged in Firefox
114
+ */
115
+
116
+ .uk-slider img { pointer-events: none; }
117
+
118
+
119
+ /* Modifier: `uk-slider-fullscreen`
120
+ ========================================================================== */
121
+
122
+ .uk-slider-fullscreen,
123
+ .uk-slider-fullscreen > li { height: 100vh; }
124
+
125
+
126
+ // Hooks
127
+ // ========================================================================
128
+
129
+ @include hook-slider-misc();
130
+
131
+ // @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(){}