kickstart_rails 3.0.39 → 3.0.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/kickstart_rails/app.coffee +17 -0
- data/app/assets/javascripts/kickstart_rails/buffer.coffee +32 -0
- data/app/assets/javascripts/kickstart_rails/buttons.coffee +8 -0
- data/app/assets/javascripts/kickstart_rails/debouncer.coffee +14 -0
- data/app/assets/javascripts/kickstart_rails/docs.coffee +179 -0
- data/app/assets/javascripts/kickstart_rails/dropdown.coffee +40 -0
- data/app/assets/javascripts/kickstart_rails/growl.coffee +56 -0
- data/app/assets/javascripts/kickstart_rails/ks.coffee +16 -0
- data/app/assets/javascripts/kickstart_rails/modal.coffee +29 -0
- data/app/assets/javascripts/kickstart_rails/navbar-fixer.coffee +9 -0
- data/app/assets/javascripts/kickstart_rails/navbar.coffee +36 -0
- data/app/assets/javascripts/kickstart_rails/status.coffee +30 -0
- data/app/assets/javascripts/kickstart_rails/tabs.coffee +32 -0
- data/app/assets/javascripts/kickstart_rails/tests.coffee +10 -0
- data/app/assets/javascripts/kickstart_rails/throttler.coffee +7 -0
- data/app/assets/stylesheets/core/_animations.sass +8 -0
- data/app/assets/stylesheets/core/_base.sass +16 -0
- data/app/assets/stylesheets/core/_base_components.sass +15 -0
- data/app/assets/stylesheets/core/_dependent_components.sass +12 -0
- data/app/assets/stylesheets/core/_direct-apply.sass +337 -0
- data/app/assets/stylesheets/core/_grid.sass +142 -0
- data/app/assets/stylesheets/core/_icons.sass +3 -0
- data/app/assets/stylesheets/core/_index.sass +7 -0
- data/app/assets/stylesheets/core/_mixins.sass +22 -0
- data/app/assets/stylesheets/core/_normalize.sass +339 -0
- data/app/assets/stylesheets/core/_root-element.sass +17 -0
- data/app/assets/stylesheets/core/_typography.sass +180 -0
- data/app/assets/stylesheets/core/components/_alerts.sass +23 -0
- data/app/assets/stylesheets/core/components/_buttons.sass +159 -0
- data/app/assets/stylesheets/core/components/_dropdown_menu.sass +69 -0
- data/app/assets/stylesheets/core/components/_forms.sass +106 -0
- data/app/assets/stylesheets/core/components/_growls.sass +2 -0
- data/app/assets/stylesheets/core/components/_hr.sass +5 -0
- data/app/assets/stylesheets/core/components/_images.sass +40 -0
- data/app/assets/stylesheets/core/components/_labels.sass +15 -0
- data/app/assets/stylesheets/core/components/_modals.sass +73 -0
- data/app/assets/stylesheets/core/components/_navbar.sass +270 -0
- data/app/assets/stylesheets/core/components/_notifications.sass +20 -0
- data/app/assets/stylesheets/core/components/_pagination.sass +11 -0
- data/app/assets/stylesheets/core/components/_progress.sass +12 -0
- data/app/assets/stylesheets/core/components/_tables.sass +70 -0
- data/app/assets/stylesheets/core/components/_tabs.sass +37 -0
- data/app/assets/stylesheets/core/components/_tooltips.sass +26 -0
- data/app/assets/stylesheets/docs.sass +99 -0
- data/app/assets/stylesheets/fullpage.sass +7 -0
- data/app/assets/stylesheets/kickstart-semantic.sass +10 -0
- data/app/assets/stylesheets/kickstart.sass +344 -0
- data/app/assets/stylesheets/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/pages/docs/grid.sass +73 -0
- data/app/assets/stylesheets/pages/docs/index.sass +217 -0
- data/app/assets/stylesheets/pages/docs/ui/alerts.sass +5 -0
- data/app/assets/stylesheets/pages/docs/ui/buttons.sass +52 -0
- data/app/assets/stylesheets/pages/docs/ui/forms.sass +31 -0
- data/app/assets/stylesheets/pages/docs/ui/images.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/labels.sass +10 -0
- data/app/assets/stylesheets/pages/docs/ui/modals.sass +18 -0
- data/app/assets/stylesheets/pages/docs/ui/navigation.sass +14 -0
- data/app/assets/stylesheets/pages/docs/ui/notifications.sass +17 -0
- data/app/assets/stylesheets/pages/docs/ui/tables.sass +13 -0
- data/app/assets/stylesheets/pages/docs/ui/tabs.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/typography.sass +56 -0
- data/app/assets/stylesheets/pages/index.sass +105 -0
- data/app/assets/stylesheets/themes/default/theme.sass +264 -0
- data/app/assets/stylesheets/vendor/_index.sass +10 -0
- data/app/assets/stylesheets/vendor/switch/README.md +34 -0
- data/app/assets/stylesheets/vendor/switch/example.sass +14 -0
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +16 -0
- data/app/assets/stylesheets/vendor/switch/index.html +18 -0
- data/app/assets/stylesheets/vendor/switch/package.json +24 -0
- data/app/assets/stylesheets/vendor/switch/switch.sass +53 -0
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +72 -1
File without changes
|
@@ -0,0 +1,73 @@
|
|
1
|
+
@import ../../themes/default/theme
|
2
|
+
|
3
|
+
.row
|
4
|
+
+row
|
5
|
+
|
6
|
+
.col-2
|
7
|
+
+column(2)
|
8
|
+
|
9
|
+
.col-3
|
10
|
+
+column(3)
|
11
|
+
|
12
|
+
.col-6
|
13
|
+
+column(6)
|
14
|
+
|
15
|
+
.col-4
|
16
|
+
+column(4)
|
17
|
+
|
18
|
+
.col-9
|
19
|
+
+column(9)
|
20
|
+
|
21
|
+
.col-12
|
22
|
+
+column(12)
|
23
|
+
|
24
|
+
.col-left-6
|
25
|
+
+left(6)
|
26
|
+
|
27
|
+
.col-left-1
|
28
|
+
+left(1)
|
29
|
+
|
30
|
+
.col-left-3
|
31
|
+
+left(3)
|
32
|
+
|
33
|
+
.col-left-4
|
34
|
+
+left(4)
|
35
|
+
|
36
|
+
.col-left-2
|
37
|
+
+left(2)
|
38
|
+
|
39
|
+
.col-right-3
|
40
|
+
+right(3)
|
41
|
+
|
42
|
+
.col-right-4
|
43
|
+
+right(4)
|
44
|
+
|
45
|
+
.col-right-6
|
46
|
+
+right(6)
|
47
|
+
|
48
|
+
.col-right-twothirds
|
49
|
+
+right('twothirds')
|
50
|
+
|
51
|
+
.col-left-twothirds
|
52
|
+
+left('twothirds')
|
53
|
+
|
54
|
+
.col-third
|
55
|
+
+column('third')
|
56
|
+
|
57
|
+
.col-twothirds
|
58
|
+
+column('twothirds')
|
59
|
+
|
60
|
+
.col-example
|
61
|
+
+root-element
|
62
|
+
background: map-get($white, darker)
|
63
|
+
color: map-get($black, lighter)
|
64
|
+
text-align: center
|
65
|
+
|
66
|
+
&.gray
|
67
|
+
background: white
|
68
|
+
margin:
|
69
|
+
bottom: 0
|
70
|
+
top: $space/2
|
71
|
+
|
72
|
+
table
|
73
|
+
+table
|
@@ -0,0 +1,217 @@
|
|
1
|
+
// Docs index
|
2
|
+
// ==================
|
3
|
+
// Generic styles that should be shared across the documentation
|
4
|
+
|
5
|
+
@import themes/default/theme
|
6
|
+
|
7
|
+
h1
|
8
|
+
+heading-rg
|
9
|
+
|
10
|
+
h2
|
11
|
+
+heading-xs
|
12
|
+
|
13
|
+
h3, h4, h5, h6
|
14
|
+
+heading-xxs
|
15
|
+
|
16
|
+
.docs-nav
|
17
|
+
+navbar($collapse: true, $layout: 'fluid')
|
18
|
+
margin-top: -$space
|
19
|
+
|
20
|
+
.fixed-area
|
21
|
+
margin-top: -$space
|
22
|
+
|
23
|
+
@media screen and (max-width: $phablet)
|
24
|
+
+container
|
25
|
+
|
26
|
+
.fixed-main, .fixed-toc
|
27
|
+
@media screen and (min-width: $phablet)
|
28
|
+
float: left
|
29
|
+
|
30
|
+
form.switches
|
31
|
+
margin-bottom: $space
|
32
|
+
|
33
|
+
.fixed-main
|
34
|
+
@media screen and (min-width: $phablet)
|
35
|
+
width: 50%
|
36
|
+
|
37
|
+
@media screen and (min-width: $tablet)
|
38
|
+
width: 75%
|
39
|
+
|
40
|
+
@media screen and (min-width: $large-monitor)
|
41
|
+
width: 80%
|
42
|
+
|
43
|
+
.fixed-toc
|
44
|
+
width: 100%
|
45
|
+
font-size: 1rem
|
46
|
+
line-height: 2rem
|
47
|
+
|
48
|
+
@media screen and (min-width: $tablet)
|
49
|
+
font-size: 0.85rem
|
50
|
+
|
51
|
+
a
|
52
|
+
color: map-get($colors, blue)
|
53
|
+
|
54
|
+
ul
|
55
|
+
+list($style: 'unstyled')
|
56
|
+
margin-bottom: 0
|
57
|
+
|
58
|
+
> li
|
59
|
+
margin-bottom: 0
|
60
|
+
|
61
|
+
> ul
|
62
|
+
// border-left: 1px solid map-get($colors, blue)
|
63
|
+
padding-left: $space/3
|
64
|
+
margin-bottom: $space/3
|
65
|
+
|
66
|
+
h1
|
67
|
+
+heading-xs
|
68
|
+
|
69
|
+
@media screen and(min-width: $phablet)
|
70
|
+
padding: $space
|
71
|
+
width: 50%
|
72
|
+
|
73
|
+
@media screen and (min-width: $tablet)
|
74
|
+
width: 25%
|
75
|
+
|
76
|
+
@media screen and (min-width: $large-monitor)
|
77
|
+
width: 20%
|
78
|
+
|
79
|
+
// When in fixed position
|
80
|
+
&.fixed
|
81
|
+
.fixed-toc
|
82
|
+
@media screen and (min-width: $phablet)
|
83
|
+
position: fixed
|
84
|
+
top: 0px
|
85
|
+
bottom: 0
|
86
|
+
left: 0
|
87
|
+
right: 50%
|
88
|
+
overflow: auto
|
89
|
+
|
90
|
+
@media screen and (min-width: $tablet)
|
91
|
+
right: 75%
|
92
|
+
|
93
|
+
@media screen and (min-width: $large-monitor)
|
94
|
+
right: 80%
|
95
|
+
|
96
|
+
@media screen and (min-width: $xl-monitor)
|
97
|
+
left: calc(50vw - #{$xl-monitor/2})
|
98
|
+
|
99
|
+
@media screen and (min-width: $xxl-monitor)
|
100
|
+
left: calc(50vw - #{$xxl-monitor/2})
|
101
|
+
|
102
|
+
.fixed-main
|
103
|
+
@media screen and (min-width: $phablet)
|
104
|
+
margin-left: 50%
|
105
|
+
|
106
|
+
@media screen and (min-width: $tablet)
|
107
|
+
margin-left: 25%
|
108
|
+
|
109
|
+
@media screen and (min-width: $large-monitor)
|
110
|
+
margin-left: 20%
|
111
|
+
|
112
|
+
.document
|
113
|
+
margin-bottom: $space * 4
|
114
|
+
|
115
|
+
.code
|
116
|
+
background: #1d1f21
|
117
|
+
padding: $space/4
|
118
|
+
|
119
|
+
p:first-child
|
120
|
+
display: none
|
121
|
+
|
122
|
+
@media screen and (min-width: $phablet)
|
123
|
+
.article, .code
|
124
|
+
padding: $space
|
125
|
+
|
126
|
+
@media screen and (min-width: $desktop)
|
127
|
+
display: flex
|
128
|
+
justify-content: flex-start
|
129
|
+
align-items: stretch
|
130
|
+
margin:
|
131
|
+
bottom: 0
|
132
|
+
top: 0
|
133
|
+
|
134
|
+
.article, .code
|
135
|
+
width: 50%
|
136
|
+
border-bottom: 1px solid map-get($white, darker)
|
137
|
+
|
138
|
+
.code
|
139
|
+
border-color: darken(map-get($colors, blue), 35%)
|
140
|
+
|
141
|
+
.article.article-full
|
142
|
+
width: 100%
|
143
|
+
position: relative
|
144
|
+
|
145
|
+
padding-right: calc(50% + #{$space})
|
146
|
+
|
147
|
+
&:after
|
148
|
+
content: ' '
|
149
|
+
display: block
|
150
|
+
position: absolute
|
151
|
+
top: 0
|
152
|
+
right: 0
|
153
|
+
left: 50%
|
154
|
+
bottom: -1px
|
155
|
+
// background: lighten(#1d1f21, 10%)
|
156
|
+
background: black
|
157
|
+
border-bottom: 1px solid map-get($black, light)
|
158
|
+
|
159
|
+
.page_heading
|
160
|
+
+page_heading
|
161
|
+
|
162
|
+
h1
|
163
|
+
+heading-md
|
164
|
+
|
165
|
+
@media screen and (min-width: $phablet)
|
166
|
+
padding-left: $space
|
167
|
+
margin-bottom: 0
|
168
|
+
|
169
|
+
@media screen and (min-width: $phablet)
|
170
|
+
margin-top: $space
|
171
|
+
|
172
|
+
@media screen and (min-width: $desktop)
|
173
|
+
margin-bottom: 0
|
174
|
+
|
175
|
+
// Highlight JS
|
176
|
+
|
177
|
+
code, pre, kbd, samp
|
178
|
+
&.hljs
|
179
|
+
font-size: 0.9rem
|
180
|
+
font-family: $mono-font-family
|
181
|
+
|
182
|
+
// Main page overrides
|
183
|
+
.main-navigation
|
184
|
+
svg
|
185
|
+
fill: map-get($black, lighter)
|
186
|
+
|
187
|
+
+navbar($collapse: true, $background-color: white)
|
188
|
+
|
189
|
+
// Optional doc blocks toggling
|
190
|
+
.if-semantic, .if-jquery
|
191
|
+
display: none
|
192
|
+
|
193
|
+
span.ifnot-semantic, span.ifnot-jquery
|
194
|
+
display: inline
|
195
|
+
|
196
|
+
body.show-semantic
|
197
|
+
.ifnot-semantic
|
198
|
+
display: none
|
199
|
+
|
200
|
+
.if-semantic
|
201
|
+
display: block
|
202
|
+
|
203
|
+
span.if-semantic
|
204
|
+
display: inline
|
205
|
+
|
206
|
+
body.show-jquery
|
207
|
+
.ifnot-jquery
|
208
|
+
display: none
|
209
|
+
|
210
|
+
.if-jquery
|
211
|
+
display: block
|
212
|
+
|
213
|
+
span.if-jquery
|
214
|
+
display: inline
|
215
|
+
|
216
|
+
.example
|
217
|
+
margin-bottom: $space
|
@@ -0,0 +1,52 @@
|
|
1
|
+
@import ../../../themes/default/theme
|
2
|
+
|
3
|
+
.button
|
4
|
+
&.button-green
|
5
|
+
+button-color(map-get($colors, green))
|
6
|
+
&.button-red
|
7
|
+
+button-color(map-get($colors, red))
|
8
|
+
&.button-blue
|
9
|
+
+button-color(map-get($colors, blue))
|
10
|
+
&.button-yellow
|
11
|
+
+button-color(map-get($colors, yellow))
|
12
|
+
&.button-orange
|
13
|
+
+button-color(map-get($colors, orange))
|
14
|
+
|
15
|
+
&.button-small
|
16
|
+
+button-size(0.85)
|
17
|
+
|
18
|
+
&.button-large
|
19
|
+
+button-size(1.2)
|
20
|
+
|
21
|
+
.button-group
|
22
|
+
+button-group
|
23
|
+
|
24
|
+
&.button-green
|
25
|
+
button
|
26
|
+
+button-color(map-get($colors, green))
|
27
|
+
&.button-violet
|
28
|
+
button
|
29
|
+
+button-color(map-get($colors, violet))
|
30
|
+
&.button-red
|
31
|
+
button
|
32
|
+
+button-color(map-get($colors, red))
|
33
|
+
|
34
|
+
&.button-small
|
35
|
+
button
|
36
|
+
+button-size(0.85)
|
37
|
+
|
38
|
+
&.button-large
|
39
|
+
button
|
40
|
+
+button-size(1.2)
|
41
|
+
|
42
|
+
.notice
|
43
|
+
+label($background-color: map-get($colors, yellow))
|
44
|
+
|
45
|
+
.row
|
46
|
+
+row
|
47
|
+
|
48
|
+
.col-4
|
49
|
+
+column(4)
|
50
|
+
|
51
|
+
.list-unstyled
|
52
|
+
+list('unstyled')
|
@@ -0,0 +1,31 @@
|
|
1
|
+
@import ../../../themes/default/theme
|
2
|
+
|
3
|
+
form.form
|
4
|
+
+form
|
5
|
+
|
6
|
+
input[type="submit"]
|
7
|
+
+button($primary-color)
|
8
|
+
|
9
|
+
&.form_horizontal
|
10
|
+
+form('horizontal')
|
11
|
+
|
12
|
+
&.form-left
|
13
|
+
+form('left')
|
14
|
+
|
15
|
+
.form_group
|
16
|
+
+form_group
|
17
|
+
|
18
|
+
&.form_group-horizontal
|
19
|
+
+form_group('horizontal')
|
20
|
+
|
21
|
+
.row
|
22
|
+
+row
|
23
|
+
|
24
|
+
.col-third
|
25
|
+
+column('third')
|
26
|
+
|
27
|
+
.col-twothirds
|
28
|
+
+column('twothirds')
|
29
|
+
|
30
|
+
.col-twothirds.col-left-third
|
31
|
+
+column('twothirds', 0, 'third')
|
@@ -0,0 +1,18 @@
|
|
1
|
+
@import ../../../themes/default/theme
|
2
|
+
|
3
|
+
.modal, .modal-example
|
4
|
+
+modal
|
5
|
+
|
6
|
+
.modal-example
|
7
|
+
+modal
|
8
|
+
|
9
|
+
&.override
|
10
|
+
max-width: 100%
|
11
|
+
display: block
|
12
|
+
position: static
|
13
|
+
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5)
|
14
|
+
left: auto
|
15
|
+
right: auto
|
16
|
+
top: auto
|
17
|
+
bottom: auto
|
18
|
+
margin: 0
|
@@ -0,0 +1,17 @@
|
|
1
|
+
@import ../../../themes/default/theme
|
2
|
+
|
3
|
+
.growl
|
4
|
+
+alert
|
5
|
+
|
6
|
+
&.alert-yellow
|
7
|
+
background-color: map-get($colors, yellow)
|
8
|
+
color: black
|
9
|
+
|
10
|
+
&.alert-red
|
11
|
+
background-color: map-get($colors, red)
|
12
|
+
|
13
|
+
&.alert-blue
|
14
|
+
background-color: map-get($colors, blue)
|
15
|
+
|
16
|
+
&.alert-green
|
17
|
+
background-color: map-get($colors, green)
|