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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +15 -12
  4. data/lib/uikit/sass/rails/engine.rb +1 -1
  5. data/lib/uikit/sass/rails/version.rb +1 -1
  6. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.otf +0 -0
  8. data/vendor/assets/fonts/fontawesome-webfont.svg +525 -464
  9. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  10. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  11. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  12. data/vendor/assets/javascripts/uikit.js +30 -3
  13. data/vendor/assets/javascripts/uikit/components/accordion.js +172 -0
  14. data/vendor/assets/javascripts/uikit/components/autocomplete.js +48 -27
  15. data/vendor/assets/javascripts/uikit/components/datepicker.js +2887 -97
  16. data/vendor/assets/javascripts/uikit/components/form-password.js +24 -19
  17. data/vendor/assets/javascripts/uikit/components/form-select.js +24 -18
  18. data/vendor/assets/javascripts/uikit/components/grid.js +524 -0
  19. data/vendor/assets/javascripts/uikit/components/htmleditor.js +46 -39
  20. data/vendor/assets/javascripts/uikit/components/lightbox.js +543 -0
  21. data/vendor/assets/javascripts/uikit/components/nestable.js +125 -98
  22. data/vendor/assets/javascripts/uikit/components/notify.js +34 -22
  23. data/vendor/assets/javascripts/uikit/components/pagination.js +24 -21
  24. data/vendor/assets/javascripts/uikit/components/parallax.js +400 -0
  25. data/vendor/assets/javascripts/uikit/components/search.js +19 -16
  26. data/vendor/assets/javascripts/uikit/components/slider.js +482 -0
  27. data/vendor/assets/javascripts/uikit/components/slideset.js +498 -0
  28. data/vendor/assets/javascripts/uikit/components/slideshow-fx.js +377 -0
  29. data/vendor/assets/javascripts/uikit/components/slideshow.js +540 -0
  30. data/vendor/assets/javascripts/uikit/components/sortable.js +392 -263
  31. data/vendor/assets/javascripts/uikit/components/sticky.js +127 -68
  32. data/vendor/assets/javascripts/uikit/components/timepicker.js +65 -42
  33. data/vendor/assets/javascripts/uikit/components/tooltip.js +220 -0
  34. data/vendor/assets/javascripts/uikit/components/upload.js +11 -10
  35. data/vendor/assets/javascripts/uikit/core/alert.js +66 -0
  36. data/vendor/assets/javascripts/uikit/core/button.js +154 -0
  37. data/vendor/assets/javascripts/uikit/core/core.js +717 -0
  38. data/vendor/assets/javascripts/uikit/{components → core}/cover.js +41 -35
  39. data/vendor/assets/javascripts/uikit/core/dropdown.js +296 -0
  40. data/vendor/assets/javascripts/uikit/core/grid.js +172 -0
  41. data/vendor/assets/javascripts/uikit/core/modal.js +323 -0
  42. data/vendor/assets/javascripts/uikit/core/nav.js +117 -0
  43. data/vendor/assets/javascripts/uikit/core/offcanvas.js +178 -0
  44. data/vendor/assets/javascripts/uikit/core/scrollspy.js +208 -0
  45. data/vendor/assets/javascripts/uikit/core/smooth-scroll.js +62 -0
  46. data/vendor/assets/javascripts/uikit/core/switcher.js +298 -0
  47. data/vendor/assets/javascripts/uikit/core/tab.js +159 -0
  48. data/vendor/assets/javascripts/uikit/core/toggle.js +117 -0
  49. data/vendor/assets/javascripts/uikit/core/touch.js +173 -0
  50. data/vendor/assets/javascripts/uikit/core/utility.js +157 -0
  51. data/vendor/assets/javascripts/uikit/uikit.js +1538 -871
  52. data/vendor/assets/stylesheets/extra/font-awesome.scss +4 -7
  53. data/vendor/assets/stylesheets/uikit.scss +22 -1
  54. data/vendor/assets/stylesheets/uikit/almost-flat.scss +22 -2
  55. data/vendor/assets/stylesheets/uikit/components/accordion.almost-flat.scss +45 -0
  56. data/vendor/assets/stylesheets/uikit/components/accordion.gradient.scss +45 -0
  57. data/vendor/assets/stylesheets/uikit/components/accordion.scss +43 -0
  58. data/vendor/assets/stylesheets/uikit/components/autocomplete.almost-flat.scss +62 -0
  59. data/vendor/assets/stylesheets/uikit/components/autocomplete.gradient.scss +62 -0
  60. data/vendor/assets/stylesheets/uikit/components/autocomplete.scss +60 -0
  61. data/vendor/assets/stylesheets/uikit/components/datepicker.almost-flat.scss +148 -0
  62. data/vendor/assets/stylesheets/uikit/components/datepicker.gradient.scss +158 -0
  63. data/vendor/assets/stylesheets/uikit/components/datepicker.scss +142 -0
  64. data/vendor/assets/stylesheets/uikit/components/dotnav.almost-flat.scss +152 -0
  65. data/vendor/assets/stylesheets/uikit/components/dotnav.gradient.scss +152 -0
  66. data/vendor/assets/stylesheets/uikit/components/dotnav.scss +148 -0
  67. data/vendor/assets/stylesheets/uikit/components/form-advanced.almost-flat.scss +92 -0
  68. data/vendor/assets/stylesheets/uikit/components/form-advanced.gradient.scss +92 -0
  69. data/vendor/assets/stylesheets/uikit/components/form-advanced.scss +92 -0
  70. data/vendor/assets/stylesheets/uikit/components/form-file.almost-flat.scss +36 -0
  71. data/vendor/assets/stylesheets/uikit/components/form-file.gradient.scss +36 -0
  72. data/vendor/assets/stylesheets/uikit/components/form-file.scss +36 -0
  73. data/vendor/assets/stylesheets/uikit/components/form-password.almost-flat.scss +37 -0
  74. data/vendor/assets/stylesheets/uikit/components/form-password.gradient.scss +37 -0
  75. data/vendor/assets/stylesheets/uikit/components/form-password.scss +37 -0
  76. data/vendor/assets/stylesheets/uikit/components/form-select.almost-flat.scss +37 -0
  77. data/vendor/assets/stylesheets/uikit/components/form-select.gradient.scss +37 -0
  78. data/vendor/assets/stylesheets/uikit/components/form-select.scss +37 -0
  79. data/vendor/assets/stylesheets/uikit/components/htmleditor.almost-flat.scss +282 -0
  80. data/vendor/assets/stylesheets/uikit/components/htmleditor.gradient.scss +290 -0
  81. data/vendor/assets/stylesheets/uikit/components/htmleditor.scss +208 -0
  82. data/vendor/assets/stylesheets/uikit/components/nestable.almost-flat.scss +137 -0
  83. data/vendor/assets/stylesheets/uikit/components/nestable.gradient.scss +141 -0
  84. data/vendor/assets/stylesheets/uikit/components/nestable.scss +134 -0
  85. data/vendor/assets/stylesheets/uikit/components/notify.almost-flat.scss +112 -0
  86. data/vendor/assets/stylesheets/uikit/components/notify.gradient.scss +112 -0
  87. data/vendor/assets/stylesheets/uikit/components/notify.scss +106 -0
  88. data/vendor/assets/stylesheets/uikit/components/placeholder.almost-flat.scss +36 -0
  89. data/vendor/assets/stylesheets/uikit/components/placeholder.gradient.scss +36 -0
  90. data/vendor/assets/stylesheets/uikit/components/placeholder.scss +36 -0
  91. data/vendor/assets/stylesheets/uikit/components/progress.almost-flat.scss +130 -0
  92. data/vendor/assets/stylesheets/uikit/components/progress.gradient.scss +138 -0
  93. data/vendor/assets/stylesheets/uikit/components/progress.scss +118 -0
  94. data/vendor/assets/stylesheets/uikit/components/search.almost-flat.scss +216 -0
  95. data/vendor/assets/stylesheets/uikit/components/search.gradient.scss +216 -0
  96. data/vendor/assets/stylesheets/uikit/components/search.scss +214 -0
  97. data/vendor/assets/stylesheets/uikit/components/slidenav.almost-flat.scss +110 -0
  98. data/vendor/assets/stylesheets/uikit/components/slidenav.gradient.scss +110 -0
  99. data/vendor/assets/stylesheets/uikit/components/slidenav.scss +110 -0
  100. data/vendor/assets/stylesheets/uikit/components/slider.almost-flat.scss +105 -0
  101. data/vendor/assets/stylesheets/uikit/components/slider.gradient.scss +105 -0
  102. data/vendor/assets/stylesheets/uikit/components/slider.scss +105 -0
  103. data/vendor/assets/stylesheets/uikit/components/slideshow.almost-flat.scss +166 -0
  104. data/vendor/assets/stylesheets/uikit/components/slideshow.gradient.scss +166 -0
  105. data/vendor/assets/stylesheets/uikit/components/slideshow.scss +166 -0
  106. data/vendor/assets/stylesheets/uikit/components/sortable.almost-flat.scss +90 -0
  107. data/vendor/assets/stylesheets/uikit/components/sortable.gradient.scss +90 -0
  108. data/vendor/assets/stylesheets/uikit/components/sortable.scss +90 -0
  109. data/vendor/assets/stylesheets/uikit/components/sticky.almost-flat.scss +39 -0
  110. data/vendor/assets/stylesheets/uikit/components/sticky.gradient.scss +39 -0
  111. data/vendor/assets/stylesheets/uikit/components/sticky.scss +39 -0
  112. data/vendor/assets/stylesheets/uikit/components/tooltip.almost-flat.scss +129 -0
  113. data/vendor/assets/stylesheets/uikit/components/tooltip.gradient.scss +129 -0
  114. data/vendor/assets/stylesheets/uikit/components/tooltip.scss +127 -0
  115. data/vendor/assets/stylesheets/uikit/components/upload.almost-flat.scss +11 -0
  116. data/vendor/assets/stylesheets/uikit/components/upload.gradient.scss +11 -0
  117. data/vendor/assets/stylesheets/uikit/components/upload.scss +11 -0
  118. data/vendor/assets/stylesheets/uikit/gradient.scss +22 -2
  119. data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +1768 -498
  120. data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +1776 -512
  121. data/vendor/assets/stylesheets/uikit/uikit.scss +1722 -462
  122. metadata +92 -7
  123. data/vendor/assets/stylesheets/uikit/components/uikit.components.almost-flat.scss +0 -1586
  124. data/vendor/assets/stylesheets/uikit/components/uikit.components.gradient.scss +0 -1608
  125. data/vendor/assets/stylesheets/uikit/components/uikit.components.scss +0 -1489
@@ -0,0 +1,158 @@
1
+ /*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
+ /* ========================================================================
3
+ Component: Datepicker
4
+ ========================================================================== */
5
+ /*
6
+ * 1. Highest z-index
7
+ * 2. Reset dropdown width
8
+ * 3. Set animation
9
+ * 4. Needed for scale animation
10
+ */
11
+
12
+ .uk-datepicker {
13
+ /* 1 */
14
+ z-index: 1050;
15
+ /* 2 */
16
+ width: auto;
17
+ /* 3 */
18
+ -webkit-animation: uk-fade 0.2s ease-in-out;
19
+ animation: uk-fade 0.2s ease-in-out;
20
+ /* 4 */
21
+ -webkit-transform-origin: 0 0;
22
+ transform-origin: 0 0;
23
+ }
24
+
25
+ /* Sub-object: `uk-datepicker-nav`
26
+ ========================================================================== */
27
+
28
+ .uk-datepicker-nav {
29
+ margin-bottom: 15px;
30
+ text-align: center;
31
+ line-height: 20px;
32
+ &:before {
33
+ content: "";
34
+ display: table;
35
+ }
36
+ &:after {
37
+ content: "";
38
+ display: table;
39
+ clear: both;
40
+ }
41
+ a {
42
+ color: #444444;
43
+ text-decoration: none;
44
+ &:hover {
45
+ color: #444444;
46
+ }
47
+ }
48
+ }
49
+
50
+ /*
51
+ * Micro clearfix
52
+ */
53
+
54
+ /*
55
+ * Previous and next navigation
56
+ */
57
+
58
+ .uk-datepicker-previous {
59
+ float: left;
60
+ }
61
+
62
+ .uk-datepicker-next {
63
+ float: right;
64
+ }
65
+
66
+ .uk-datepicker-previous:after, .uk-datepicker-next:after {
67
+ width: 20px;
68
+ font-family: FontAwesome;
69
+ }
70
+
71
+ .uk-datepicker-previous:after {
72
+ content: "\f053";
73
+ }
74
+
75
+ .uk-datepicker-next:after {
76
+ content: "\f054";
77
+ }
78
+
79
+ /* Sub-object: `uk-datepicker-heading`
80
+ ========================================================================== */
81
+ /* Sub-object: `uk-datepicker-table`
82
+ ========================================================================== */
83
+ /* Block element behavior */
84
+
85
+ .uk-datepicker-table {
86
+ width: 100%;
87
+ th, td {
88
+ padding: 2px;
89
+ }
90
+ th {
91
+ font-size: 12px;
92
+ }
93
+ a {
94
+ display: block;
95
+ width: 26px;
96
+ line-height: 24px;
97
+ text-align: center;
98
+ color: #444444;
99
+ text-decoration: none;
100
+ border: 1px solid transparent;
101
+ border-radius: 4px;
102
+ background-origin: border-box;
103
+ }
104
+ }
105
+
106
+ /*
107
+ * Item
108
+ */
109
+
110
+ /*
111
+ * Sub-object: `uk-datepicker-table-muted`
112
+ */
113
+
114
+ a.uk-datepicker-table-muted {
115
+ color: #999999;
116
+ }
117
+
118
+ /*
119
+ * Hover
120
+ * 1. Apply hover style also to focus state
121
+ * 2. Remove default focus style
122
+ */
123
+
124
+ .uk-datepicker-table a {
125
+ &:hover, &:focus {
126
+ background-color: #fafafa;
127
+ color: #444444;
128
+ /* 2 */
129
+ outline: none;
130
+ border-color: rgba(0, 0, 0, 0.2);
131
+ border-bottom-color: rgba(0, 0, 0, 0.3);
132
+ text-shadow: 0 1px 0 #ffffff;
133
+ }
134
+ &:active {
135
+ background-color: #f5f5f5;
136
+ color: #444444;
137
+ border-color: rgba(0, 0, 0, 0.2);
138
+ border-top-color: rgba(0, 0, 0, 0.3);
139
+ background-image: none;
140
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
141
+ }
142
+ &.uk-active {
143
+ background: #009dd8;
144
+ color: #ffffff;
145
+ border: 1px solid rgba(0, 0, 0, 0.2);
146
+ border-bottom-color: rgba(0, 0, 0, 0.4);
147
+ background-origin: border-box;
148
+ background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5);
149
+ background-image: linear-gradient(to bottom, #00b4f5, #008dc5);
150
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
151
+ }
152
+ }
153
+
154
+ /* OnClick */
155
+
156
+ /*
157
+ * Active
158
+ */
@@ -0,0 +1,142 @@
1
+ /*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
+ /* ========================================================================
3
+ Component: Datepicker
4
+ ========================================================================== */
5
+ /*
6
+ * 1. Highest z-index
7
+ * 2. Reset dropdown width
8
+ * 3. Set animation
9
+ * 4. Needed for scale animation
10
+ */
11
+
12
+ .uk-datepicker {
13
+ /* 1 */
14
+ z-index: 1050;
15
+ /* 2 */
16
+ width: auto;
17
+ /* 3 */
18
+ -webkit-animation: uk-fade 0.2s ease-in-out;
19
+ animation: uk-fade 0.2s ease-in-out;
20
+ /* 4 */
21
+ -webkit-transform-origin: 0 0;
22
+ transform-origin: 0 0;
23
+ }
24
+
25
+ /* Sub-object: `uk-datepicker-nav`
26
+ ========================================================================== */
27
+
28
+ .uk-datepicker-nav {
29
+ margin-bottom: 15px;
30
+ text-align: center;
31
+ line-height: 20px;
32
+ &:before {
33
+ content: "";
34
+ display: table;
35
+ }
36
+ &:after {
37
+ content: "";
38
+ display: table;
39
+ clear: both;
40
+ }
41
+ a {
42
+ color: #444444;
43
+ text-decoration: none;
44
+ &:hover {
45
+ color: #444444;
46
+ }
47
+ }
48
+ }
49
+
50
+ /*
51
+ * Micro clearfix
52
+ */
53
+
54
+ /*
55
+ * Previous and next navigation
56
+ */
57
+
58
+ .uk-datepicker-previous {
59
+ float: left;
60
+ }
61
+
62
+ .uk-datepicker-next {
63
+ float: right;
64
+ }
65
+
66
+ .uk-datepicker-previous:after, .uk-datepicker-next:after {
67
+ width: 20px;
68
+ font-family: FontAwesome;
69
+ }
70
+
71
+ .uk-datepicker-previous:after {
72
+ content: "\f053";
73
+ }
74
+
75
+ .uk-datepicker-next:after {
76
+ content: "\f054";
77
+ }
78
+
79
+ /* Sub-object: `uk-datepicker-heading`
80
+ ========================================================================== */
81
+ /* Sub-object: `uk-datepicker-table`
82
+ ========================================================================== */
83
+ /* Block element behavior */
84
+
85
+ .uk-datepicker-table {
86
+ width: 100%;
87
+ th, td {
88
+ padding: 2px;
89
+ }
90
+ th {
91
+ font-size: 12px;
92
+ }
93
+ a {
94
+ display: block;
95
+ width: 26px;
96
+ line-height: 24px;
97
+ text-align: center;
98
+ color: #444444;
99
+ text-decoration: none;
100
+ }
101
+ }
102
+
103
+ /*
104
+ * Item
105
+ */
106
+
107
+ /*
108
+ * Sub-object: `uk-datepicker-table-muted`
109
+ */
110
+
111
+ a.uk-datepicker-table-muted {
112
+ color: #999999;
113
+ }
114
+
115
+ /*
116
+ * Hover
117
+ * 1. Apply hover style also to focus state
118
+ * 2. Remove default focus style
119
+ */
120
+
121
+ .uk-datepicker-table a {
122
+ &:hover, &:focus {
123
+ background-color: #dddddd;
124
+ color: #444444;
125
+ /* 2 */
126
+ outline: none;
127
+ }
128
+ &:active {
129
+ background-color: #cccccc;
130
+ color: #444444;
131
+ }
132
+ &.uk-active {
133
+ background: #00a8e6;
134
+ color: #ffffff;
135
+ }
136
+ }
137
+
138
+ /* OnClick */
139
+
140
+ /*
141
+ * Active
142
+ */
@@ -0,0 +1,152 @@
1
+ /*! UIkit 2.20.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
+ /* ========================================================================
3
+ Component: Dotnav
4
+ ========================================================================== */
5
+ /*
6
+ * 1. Gutter
7
+ * 2. Remove default list style
8
+ */
9
+
10
+ .uk-dotnav {
11
+ display: -ms-flexbox;
12
+ display: -webkit-flex;
13
+ display: flex;
14
+ -ms-flex-wrap: wrap;
15
+ -webkit-flex-wrap: wrap;
16
+ flex-wrap: wrap;
17
+ /* 1 */
18
+ margin-left: -15px;
19
+ margin-top: -15px;
20
+ /* 2 */
21
+ padding: 0;
22
+ list-style: none;
23
+ > * {
24
+ /* 1 */
25
+ -ms-flex: none;
26
+ -webkit-flex: none;
27
+ flex: none;
28
+ /* 2 */
29
+ padding-left: 15px;
30
+ margin-top: 15px;
31
+ }
32
+ &:before {
33
+ content: "";
34
+ display: block;
35
+ overflow: hidden;
36
+ }
37
+ &:after {
38
+ content: "";
39
+ display: block;
40
+ overflow: hidden;
41
+ clear: both;
42
+ }
43
+ > {
44
+ * {
45
+ float: left;
46
+ > {
47
+ * {
48
+ display: block;
49
+ -moz-box-sizing: content-box;
50
+ box-sizing: content-box;
51
+ width: 20px;
52
+ height: 20px;
53
+ border-radius: 50%;
54
+ background: rgba(50, 50, 50, 0.1);
55
+ /* 1 */
56
+ text-indent: 100%;
57
+ overflow: hidden;
58
+ white-space: nowrap;
59
+ -webkit-transition: all 0.2s ease-in-out;
60
+ transition: all 0.2s ease-in-out;
61
+ }
62
+ :hover, :focus {
63
+ background: rgba(50, 50, 50, 0.4);
64
+ /* 2 */
65
+ outline: none;
66
+ }
67
+ :active {
68
+ background: rgba(50, 50, 50, 0.6);
69
+ }
70
+ }
71
+ }
72
+ .uk-active > * {
73
+ background: rgba(50, 50, 50, 0.4);
74
+ -webkit-transform: scale(1.3);
75
+ transform: scale(1.3);
76
+ }
77
+ }
78
+ }
79
+
80
+ /*
81
+ * 1. Space is allocated solely based on content dimensions
82
+ * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied
83
+ */
84
+
85
+ /*
86
+ * DEPRECATED IE9 Support
87
+ */
88
+
89
+ /* Items
90
+ ========================================================================== */
91
+ /*
92
+ * Items
93
+ * 1. Hide text if present
94
+ */
95
+
96
+ /*
97
+ * Hover
98
+ * 1. Apply hover style also to focus state
99
+ * 2. Remove default focus style
100
+ */
101
+
102
+ /* OnClick */
103
+
104
+ /* Active */
105
+
106
+ /* Modifier: `uk-dotnav-contrast`
107
+ ========================================================================== */
108
+
109
+ .uk-dotnav-contrast > {
110
+ * > {
111
+ * {
112
+ background: rgba(255, 255, 255, 0.4);
113
+ }
114
+ :hover, :focus {
115
+ background: rgba(255, 255, 255, 0.7);
116
+ }
117
+ :active {
118
+ background: rgba(255, 255, 255, 0.9);
119
+ }
120
+ }
121
+ .uk-active > * {
122
+ background: rgba(255, 255, 255, 0.9);
123
+ }
124
+ }
125
+
126
+ /*
127
+ * Hover
128
+ * 1. Apply hover style also to focus state
129
+ */
130
+
131
+ /* OnClick */
132
+
133
+ /* Active */
134
+
135
+ /* Modifier: 'uk-dotnav-vertical'
136
+ ========================================================================== */
137
+ /*
138
+ * DEPRECATED
139
+ */
140
+
141
+ .uk-dotnav-vertical {
142
+ -ms-flex-direction: column;
143
+ -webkit-flex-direction: column;
144
+ flex-direction: column;
145
+ > * {
146
+ float: none;
147
+ }
148
+ }
149
+
150
+ /*
151
+ * DEPRECATED IE9 Support
152
+ */