kickstart_rails 3.0.35 → 3.0.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/{kickstart_rails/components → components}/_alerts.sass +0 -0
  3. data/app/assets/stylesheets/{kickstart_rails/components → components}/_buttons.sass +0 -0
  4. data/app/assets/stylesheets/{kickstart_rails/components → components}/_dropdown_menu.sass +0 -0
  5. data/app/assets/stylesheets/{kickstart_rails/components → components}/_forms.sass +0 -0
  6. data/app/assets/stylesheets/{kickstart_rails/components → components}/_growls.sass +0 -0
  7. data/app/assets/stylesheets/{kickstart_rails/components → components}/_hr.sass +0 -0
  8. data/app/assets/stylesheets/{kickstart_rails/components → components}/_images.sass +0 -0
  9. data/app/assets/stylesheets/{kickstart_rails/components → components}/_labels.sass +0 -0
  10. data/app/assets/stylesheets/{kickstart_rails/components → components}/_modals.sass +0 -0
  11. data/app/assets/stylesheets/{kickstart_rails/components → components}/_nav.sass +0 -0
  12. data/app/assets/stylesheets/{kickstart_rails/components → components}/_navbar.sass +0 -0
  13. data/app/assets/stylesheets/{kickstart_rails/components → components}/_notifications.sass +0 -0
  14. data/app/assets/stylesheets/{kickstart_rails/components → components}/_pagination.sass +0 -0
  15. data/app/assets/stylesheets/{kickstart_rails/components → components}/_progress.sass +0 -0
  16. data/app/assets/stylesheets/{kickstart_rails/components → components}/_root-element.sass +0 -0
  17. data/app/assets/stylesheets/{kickstart_rails/components → components}/_status.sass +0 -0
  18. data/app/assets/stylesheets/{kickstart_rails/components → components}/_tables.sass +0 -0
  19. data/app/assets/stylesheets/{kickstart_rails/components → components}/_tabs.sass +0 -0
  20. data/app/assets/stylesheets/{kickstart_rails/components → components}/_tiles.sass +0 -0
  21. data/app/assets/stylesheets/{kickstart_rails/components → components}/_tooltips.sass +0 -0
  22. data/app/assets/stylesheets/{kickstart_rails/components → components}/_typography.sass +0 -0
  23. data/app/assets/stylesheets/core/_animations.sass +8 -0
  24. data/app/assets/stylesheets/core/_base.sass +16 -0
  25. data/app/assets/stylesheets/core/_base_components.sass +15 -0
  26. data/app/assets/stylesheets/{kickstart_rails/core → core}/_components.sass +0 -0
  27. data/app/assets/stylesheets/core/_dependent_components.sass +12 -0
  28. data/app/assets/stylesheets/core/_direct-apply.sass +337 -0
  29. data/app/assets/stylesheets/core/_grid.sass +142 -0
  30. data/app/assets/stylesheets/core/_icons.sass +3 -0
  31. data/app/assets/stylesheets/core/_index.sass +7 -0
  32. data/app/assets/stylesheets/core/_mixins.sass +22 -0
  33. data/app/assets/stylesheets/core/_normalize.sass +339 -0
  34. data/app/assets/stylesheets/core/_root-element.sass +17 -0
  35. data/app/assets/stylesheets/core/_typography.sass +180 -0
  36. data/app/assets/stylesheets/core/components/_alerts.sass +23 -0
  37. data/app/assets/stylesheets/core/components/_buttons.sass +159 -0
  38. data/app/assets/stylesheets/core/components/_dropdown_menu.sass +69 -0
  39. data/app/assets/stylesheets/core/components/_forms.sass +106 -0
  40. data/app/assets/stylesheets/core/components/_growls.sass +2 -0
  41. data/app/assets/stylesheets/core/components/_hr.sass +5 -0
  42. data/app/assets/stylesheets/core/components/_images.sass +40 -0
  43. data/app/assets/stylesheets/core/components/_labels.sass +15 -0
  44. data/app/assets/stylesheets/core/components/_modals.sass +73 -0
  45. data/app/assets/stylesheets/core/components/_navbar.sass +270 -0
  46. data/app/assets/stylesheets/core/components/_notifications.sass +20 -0
  47. data/app/assets/stylesheets/core/components/_pagination.sass +11 -0
  48. data/app/assets/stylesheets/core/components/_progress.sass +12 -0
  49. data/app/assets/stylesheets/core/components/_tables.sass +70 -0
  50. data/app/assets/stylesheets/core/components/_tabs.sass +37 -0
  51. data/app/assets/stylesheets/core/components/_tooltips.sass +26 -0
  52. data/app/assets/stylesheets/docs.sass +99 -0
  53. data/app/assets/stylesheets/{kickstart_rails/external → external}/_index.sass +0 -0
  54. data/app/assets/stylesheets/{kickstart_rails/foovendor → foovendor}/_fooindex.sass +0 -0
  55. data/app/assets/stylesheets/fullpage.sass +7 -0
  56. data/app/assets/stylesheets/index.scss +1 -1
  57. data/app/assets/stylesheets/kickstart-semantic.sass +10 -0
  58. data/app/assets/stylesheets/kickstart.sass +344 -0
  59. data/app/assets/stylesheets/kickstart_rails.scss +1 -1
  60. data/app/assets/stylesheets/pages/docs/form.sass +0 -0
  61. data/app/assets/stylesheets/pages/docs/grid.sass +73 -0
  62. data/app/assets/stylesheets/pages/docs/index.sass +210 -0
  63. data/app/assets/stylesheets/pages/docs/ui/alerts.sass +5 -0
  64. data/app/assets/stylesheets/pages/docs/ui/buttons.sass +52 -0
  65. data/app/assets/stylesheets/pages/docs/ui/forms.sass +31 -0
  66. data/app/assets/stylesheets/{kickstart_rails/pages → pages}/docs/ui/image.sass +0 -0
  67. data/app/assets/stylesheets/pages/docs/ui/images.sass +7 -0
  68. data/app/assets/stylesheets/pages/docs/ui/labels.sass +10 -0
  69. data/app/assets/stylesheets/pages/docs/ui/modals.sass +18 -0
  70. data/app/assets/stylesheets/pages/docs/ui/navigation.sass +14 -0
  71. data/app/assets/stylesheets/pages/docs/ui/notifications.sass +17 -0
  72. data/app/assets/stylesheets/pages/docs/ui/tables.sass +13 -0
  73. data/app/assets/stylesheets/pages/docs/ui/tabs.sass +7 -0
  74. data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +7 -0
  75. data/app/assets/stylesheets/pages/docs/ui/typography.sass +56 -0
  76. data/app/assets/stylesheets/pages/index.sass +105 -0
  77. data/app/assets/stylesheets/{kickstart_rails/themes → themes}/_canary.sass +0 -0
  78. data/app/assets/stylesheets/{kickstart_rails/themes → themes}/_default.sass +0 -0
  79. data/app/assets/stylesheets/{kickstart_rails/themes → themes}/_shabbychic.sass +0 -0
  80. data/app/assets/stylesheets/themes/default/theme.sass +264 -0
  81. data/app/assets/stylesheets/vendor/_index.sass +10 -0
  82. data/app/assets/stylesheets/vendor/switch/README.md +34 -0
  83. data/app/assets/stylesheets/vendor/switch/example.sass +14 -0
  84. data/app/assets/stylesheets/vendor/switch/gulpfile.js +16 -0
  85. data/app/assets/stylesheets/vendor/switch/index.html +18 -0
  86. data/app/assets/stylesheets/{kickstart_rails/vendor → vendor}/switch/index.sass +0 -0
  87. data/app/assets/stylesheets/vendor/switch/package.json +24 -0
  88. data/app/assets/stylesheets/vendor/switch/switch.sass +53 -0
  89. data/lib/kickstart_rails.rb +2 -2
  90. data/lib/kickstart_rails/version.rb +1 -1
  91. metadata +86 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c849b22837797096527c2668396fc5b2cf9fc4d
4
- data.tar.gz: 3048cb7a0d7deb5994375d19b45bd1ee50397b45
3
+ metadata.gz: 2e04f6c03c26b047b3ff85e60a48ccb2a65e78c2
4
+ data.tar.gz: dd64696c5f7b9e5e43f01dcfade96e4d47487b2d
5
5
  SHA512:
6
- metadata.gz: 395a1b29ed383281a574ff53948ee650b93943b9f95c9388166e2c865ace1987da3769124b36c79138bbffd9025c238bf825c12ddbfc127199be1e86aabdb80f
7
- data.tar.gz: 59f1074b2e75597ad051367e60355e2a831d54859c58dbccf5c74625de7e46cd6ec8df15459911b136d58f852fdaa1054066b36a09177ae6ddebfac3de9c0922
6
+ metadata.gz: a004e9b858abd65fa45870184043aa4e3fe7311a139b9d99637c58012c335850ce4692fec2975b8e0068acaced6f33c156d272bb7fa460e16a2afa8bbbf349cd
7
+ data.tar.gz: d3f76d38bf7ae6c74e077d62020e7cc003b423cf025551ee15dbc4f28f04b2f86c93a2a6f6634a41267528f69237e115647f64036798bb24080ca495dc2ef4d1
@@ -0,0 +1,8 @@
1
+ @keyframes fadeInDown
2
+ 0%
3
+ opacity: 0
4
+ transform: translateY(-20px)
5
+
6
+ 100%
7
+ opacity: 1
8
+ transform: translateY(0)
@@ -0,0 +1,16 @@
1
+ *
2
+ box-sizing: border-box
3
+
4
+ iframe
5
+ width: 100%
6
+ border: 0
7
+ padding: 15px
8
+ margin-bottom: 25px
9
+
10
+ =above-footer
11
+ flex: 1
12
+
13
+ =screen
14
+ display: flex
15
+ min-height: 100vh
16
+ flex-direction: column
@@ -0,0 +1,15 @@
1
+ // Base Components
2
+ // ===============
3
+ // These are the base components from which dependent components can extend.
4
+
5
+ // Components
6
+ @import components/_alerts
7
+ @import components/_buttons
8
+ @import components/_hr
9
+ @import components/_images
10
+ @import components/_labels
11
+ @import components/_modals
12
+ @import components/_progress
13
+ @import components/_tables
14
+ @import components/_dropdown_menu
15
+ @import components/_navbar
@@ -0,0 +1,12 @@
1
+ // Dependent Components
2
+ // ====================
3
+ // These components extend the core and base components.
4
+
5
+ // Components
6
+ @import components/_growls
7
+ @import components/_modals
8
+ @import components/_notifications
9
+ @import components/_tabs
10
+ @import components/_tooltips
11
+ @import components/_forms
12
+ @import components/_pagination
@@ -0,0 +1,337 @@
1
+ // Direct applications
2
+ // ===================
3
+ // Regardless of semantic or non-semantic usage, some styles
4
+ // Should be applied directly to classes or elements no matter
5
+ // what. This include should be included near the end of the
6
+ // import chain but before kickstart.sass to accomplish this.
7
+
8
+ body
9
+ &.dismiss-modal
10
+ cursor: pointer
11
+
12
+ // Buttons
13
+ // -------
14
+
15
+ button,
16
+ input[type="submit"],
17
+ input[type="button"],
18
+ +button
19
+
20
+ input[type="file"]::-webkit-file-upload-button
21
+ +button
22
+
23
+ +dropdown_menu
24
+
25
+ // Forms
26
+ // -----
27
+
28
+ %error_message
29
+ font-style: italic
30
+ margin:
31
+ top: 7px
32
+ bottom: 14px
33
+
34
+ form
35
+ .errors, .warnings, .successes
36
+ p
37
+ @extend %error_message
38
+
39
+ .errors
40
+ +field-colors(map-get($colors, red))
41
+
42
+ .warnings
43
+ +field-colors(map-get($colors, yellow))
44
+
45
+ .successes
46
+ +field-colors(map-get($colors, green))
47
+
48
+ p
49
+ &.error, &.warning, &.success
50
+ @extend %error_message
51
+
52
+ label, span, p
53
+ &.error
54
+ color: map-get($colors, red)
55
+
56
+ &.warning
57
+ color: map-get($colors, yellow)
58
+
59
+ &.success
60
+ color: map-get($colors, green)
61
+
62
+ input, select
63
+ &.error
64
+ border-color: map-get($colors, red)
65
+
66
+ &.warning
67
+ border-color: map-get($colors, yellow)
68
+
69
+ &.success
70
+ border-color: map-get($colors, green)
71
+
72
+
73
+ // Growls
74
+ // ------
75
+
76
+ .growl_container
77
+ position: fixed
78
+ top: 0
79
+ right: 0
80
+ padding: $space/2
81
+ z-index: 2000
82
+ width: 300px
83
+ overflow: auto
84
+ max-height: 100vh
85
+
86
+ .growl
87
+ box-shadow: 0px 0px $space/2 rgba(0, 0, 0, 0.5)
88
+ transition: all 0.5s
89
+
90
+ &.show, &.hide
91
+ +fadeInDown
92
+
93
+ &.hide
94
+ animation-direction: reverse
95
+
96
+ +growl
97
+
98
+ // Status
99
+ // ------
100
+
101
+ .status_bar
102
+ +status_bar
103
+ .status_bar-status
104
+ &[data-type="status-red"]
105
+ +label(map-get($colors, red))
106
+
107
+ &[data-type="status-orange"]
108
+ +label(map-get($colors, orange))
109
+
110
+ &[data-type="status-yellow"]
111
+ +label(map-get($colors, yellow))
112
+
113
+ &[data-type="status-green"]
114
+ +label(map-get($colors, green))
115
+
116
+ &[data-type="status-blue"]
117
+ +label(map-get($colors, blue))
118
+
119
+ &[data-type="status-violet"]
120
+ +label(map-get($colors, violet))
121
+
122
+ // Tabs
123
+ // ----
124
+
125
+ [data-panel]
126
+ display: none
127
+
128
+ &.open
129
+ display: block
130
+
131
+ // Tooltips
132
+ // --------
133
+
134
+ =tooltip_base
135
+ margin-bottom: 0
136
+ position: absolute
137
+ display: block
138
+ opacity: 0
139
+ bottom: 100%
140
+ box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.25)
141
+ pointer-events: none
142
+ max-width: 350px
143
+ min-width: 100px
144
+ text-align: center
145
+ transition: all 0.25s
146
+
147
+ =tooltip_arrow
148
+ border-top-style: solid
149
+ border-top-width: 10px
150
+ border-left: 10px solid transparent
151
+ border-right: 10px solid transparent
152
+ width: 0px
153
+ height: 0px
154
+ content: ' '
155
+ display: block
156
+ background: transparent
157
+ position: absolute
158
+ left: 50%
159
+ margin-left: -8px
160
+ opacity: 0
161
+
162
+ =pseudo-tooltip-color($color: $primary-color)
163
+ &:after
164
+ +label($color)
165
+ margin-bottom: 0
166
+
167
+ &:before
168
+ border-top-color: $color
169
+
170
+ [data-ks-tooltip]
171
+ position: relative
172
+
173
+ +pseudo-tooltip-color
174
+
175
+ &:after
176
+ content: attr(data-ks-tooltip)
177
+ +tooltip_base
178
+ transform: translateY(0px)
179
+ z-index: 10
180
+
181
+ &:before
182
+ +tooltip_arrow
183
+ bottom: 100%
184
+ z-index: 100
185
+
186
+ &:hover
187
+ &:after, &:before
188
+ opacity: 1
189
+
190
+ &:after
191
+ transform: translateY(-8px)
192
+ transition: transform 0.25s
193
+
194
+ // Positioning
195
+
196
+ &[data-ks-tooltip-position="bottom"]
197
+ &:after
198
+ top: 100%
199
+ bottom: auto
200
+ margin-top: 15px
201
+ transform: translateY(-6px)
202
+
203
+ &:before
204
+ transform: rotate(180deg)
205
+ top: 100%
206
+ bottom: auto
207
+
208
+ &[data-ks-tooltip-position="left"]
209
+ &:after
210
+ transform: translateY(6px)
211
+ top: 50%
212
+ bottom: auto
213
+ margin:
214
+ top: -19px
215
+ right: 12px
216
+ left: auto
217
+ right: 100%
218
+
219
+ &:before
220
+ transform: rotate(-90deg)
221
+ top: 50%
222
+ margin-top: -4px
223
+ bottom: auto
224
+ left: auto
225
+ right: 100%
226
+
227
+ &[data-ks-tooltip-position="right"]
228
+ &:after
229
+ transform: translateY(6px)
230
+ top: 50%
231
+ bottom: auto
232
+ margin:
233
+ top: -19px
234
+ left: 16px
235
+ left: 100%
236
+ right: auto
237
+
238
+ &:before
239
+ transform: rotate(90deg)
240
+ top: 50%
241
+ margin-top: -4px
242
+ margin-left: 4px
243
+ bottom: auto
244
+ left: 100%
245
+ right: auto
246
+
247
+ &[data-ks-tooltip-color="red"]
248
+ +pseudo-tooltip-color(map-get($colors, red))
249
+
250
+ &[data-ks-tooltip-color="orange"]
251
+ +pseudo-tooltip-color(map-get($colors, orange))
252
+
253
+ &[data-ks-tooltip-color="yellow"]
254
+ +pseudo-tooltip-color(map-get($colors, yellow))
255
+
256
+ &[data-ks-tooltip-color="green"]
257
+ +pseudo-tooltip-color(map-get($colors, green))
258
+
259
+ &[data-ks-tooltip-color="blue"]
260
+ +pseudo-tooltip-color(map-get($colors, blue))
261
+
262
+ &[data-ks-tooltip-color="violet"]
263
+ +pseudo-tooltip-color(map-get($colors, violet))
264
+
265
+ .tooltip
266
+ +tooltip_base
267
+ left: -30px
268
+ right: -30px
269
+ transform: translateY(8px)
270
+ z-index: 10
271
+ +label(map-get($colors, blue))
272
+ margin: 10px auto
273
+
274
+ &:after
275
+ +tooltip_arrow
276
+ top: 100%
277
+
278
+ &.tooltip-bottom
279
+ top: 100%
280
+ bottom: auto
281
+
282
+ &:after
283
+ bottom: 100%
284
+ top: auto
285
+ transform: rotate(180deg)
286
+
287
+ &.tooltip-left
288
+ right: 100%
289
+ left: auto
290
+
291
+ &:after
292
+ transform: rotate(-90deg)
293
+ left: 100%
294
+
295
+ &.tooltip-right
296
+ left: 100%
297
+ right: auto
298
+
299
+ &:after
300
+ transform: rotate(90deg)
301
+ left: auto
302
+ right: 100%
303
+ margin:
304
+ left: 0
305
+ right: -8px
306
+
307
+ &.tooltip-right, &.tooltip-left
308
+ top: 0
309
+ bottom: auto
310
+ margin: 0
311
+
312
+ &:after
313
+ top: 8px
314
+
315
+ &.tooltip-red
316
+ +label(map-get($colors, red))
317
+
318
+ &.tooltip-orange
319
+ +label(map-get($colors, orange))
320
+
321
+ &.tooltip-yellow
322
+ +label(map-get($colors, yellow))
323
+
324
+ &.tooltip-green
325
+ +label(map-get($colors, green))
326
+
327
+ &.tooltip-blue
328
+ +label(map-get($colors, blue))
329
+
330
+ &.tooltip-violet
331
+ +label(map-get($colors, violet))
332
+
333
+ &.tooltip-primary
334
+ +label(map-get($colors, primary))
335
+
336
+ &.tooltip-secondary
337
+ +label(map-get($colors, secondary))