kickstart_rails 3.0.53 → 3.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/themes/default/theme.sass +4 -0
  3. data/app/assets/stylesheets/vendor/_index.sass +1 -0
  4. data/app/assets/stylesheets/vendor/switch/README.md +45 -0
  5. data/app/assets/stylesheets/vendor/switch/example.sass +14 -0
  6. data/app/assets/stylesheets/vendor/switch/gulpfile.js +16 -0
  7. data/app/assets/stylesheets/vendor/switch/index.html +18 -0
  8. data/app/assets/stylesheets/vendor/switch/package.json +24 -0
  9. data/app/assets/stylesheets/vendor/switch/switch.sass +53 -0
  10. data/lib/kickstart_rails/version.rb +1 -1
  11. metadata +7 -29
  12. data/app/assets/stylesheets/core/_animations.sass +0 -8
  13. data/app/assets/stylesheets/core/_base.sass +0 -16
  14. data/app/assets/stylesheets/core/_base_components.sass +0 -15
  15. data/app/assets/stylesheets/core/_dependent_components.sass +0 -12
  16. data/app/assets/stylesheets/core/_direct-apply.sass +0 -337
  17. data/app/assets/stylesheets/core/_grid.sass +0 -148
  18. data/app/assets/stylesheets/core/_icons.sass +0 -3
  19. data/app/assets/stylesheets/core/_index.sass +0 -7
  20. data/app/assets/stylesheets/core/_mixins.sass +0 -22
  21. data/app/assets/stylesheets/core/_normalize.sass +0 -339
  22. data/app/assets/stylesheets/core/_root-element.sass +0 -17
  23. data/app/assets/stylesheets/core/_typography.sass +0 -180
  24. data/app/assets/stylesheets/core/components/_alerts.sass +0 -23
  25. data/app/assets/stylesheets/core/components/_buttons.sass +0 -159
  26. data/app/assets/stylesheets/core/components/_dropdown_menu.sass +0 -69
  27. data/app/assets/stylesheets/core/components/_forms.sass +0 -106
  28. data/app/assets/stylesheets/core/components/_growls.sass +0 -2
  29. data/app/assets/stylesheets/core/components/_hr.sass +0 -5
  30. data/app/assets/stylesheets/core/components/_images.sass +0 -43
  31. data/app/assets/stylesheets/core/components/_labels.sass +0 -15
  32. data/app/assets/stylesheets/core/components/_modals.sass +0 -73
  33. data/app/assets/stylesheets/core/components/_navbar.sass +0 -283
  34. data/app/assets/stylesheets/core/components/_notifications.sass +0 -20
  35. data/app/assets/stylesheets/core/components/_pagination.sass +0 -11
  36. data/app/assets/stylesheets/core/components/_progress.sass +0 -12
  37. data/app/assets/stylesheets/core/components/_tables.sass +0 -70
  38. data/app/assets/stylesheets/core/components/_tabs.sass +0 -37
  39. data/app/assets/stylesheets/core/components/_tooltips.sass +0 -26
@@ -1,180 +0,0 @@
1
- =type-default
2
- font-family: $default-font-family
3
- font-size: $default-font-size
4
- font-size: calc(#{$default-font-size - 2} + #{$scalingFactor})
5
- line-height: $default-line-height
6
- line-height: calc(#{$default-line-height} + #{$scalingFactor})
7
- color: $default-font-color
8
-
9
- html
10
- color: map-get($black, lightest)
11
-
12
- ul
13
- margin: 0
14
- bottom: $space
15
-
16
- h1, h2, h3, h4, h5, h6, p
17
- margin: 0
18
- line-height: normal
19
-
20
- p
21
- margin: 0
22
- bottom: $space
23
- line-height: $default-line-height
24
-
25
- a
26
- text-decoration: none
27
- color: map-get($colors, blue)
28
-
29
- &:hover
30
- text-decoration: underline
31
-
32
- =pre-default
33
- color: darken(map-get($colors, blue), 25%)
34
- border-radius: $space/5
35
- padding: ($space/5)
36
- font-family: $mono-font-family
37
- word-break: break-all
38
- word-wrap: break-word
39
- border: 0px !important
40
- margin: 0
41
- bottom: $space
42
-
43
- =code-default
44
- margin-bottom: 0px
45
- padding: 0 (($space/5)/3)
46
-
47
- =p-default($content-optimized: false)
48
- font-size: 1rem
49
- margin-bottom: $space
50
- line-height: $default-line-height
51
-
52
- @if ($content-optimized)
53
- font-size: 1.25rem
54
- line-height: 1.85rem
55
- margin-bottom: 1.25rem
56
-
57
- =hero-default
58
- padding:
59
- top: $space
60
- top: 2vw
61
- bottom: $space
62
- bottom: 2vw
63
- min-height: 450px
64
- min-height: 35vw
65
- background: $primary-color
66
- margin-bottom: $space
67
- box-shadow: inset 0px -30px 100px -20px hsla(0, 0%, 0%, 0.15), inset 0px 40px 90px -20px rgba(255, 255, 255, 0.15)
68
- display: flex
69
- flex-direction: column
70
- justify-content: center
71
- align-items: center
72
- color: white
73
-
74
- > h1, > h2, > h3, > h4, > h5, > h6, > p
75
- text-align: center
76
- font-weight: 300
77
-
78
- h1, h2, h3, h4, h5, h6, p
79
- color: inherit
80
-
81
- h1
82
- +heading-xxl
83
- h2
84
- +heading-xl
85
- h3
86
- +heading-lg
87
- h4
88
- +heading-md
89
- h5
90
- +heading-rg
91
- h6
92
- +heading-sm
93
-
94
- > img
95
- margin: 0px auto
96
- display: block
97
-
98
- =heading-break
99
- margin:
100
- top: 2rem
101
- &:first-child
102
- margin-top: 0
103
-
104
- =page-heading-default
105
- h1, h2, h3, h4, h5, h6
106
- border-bottom: 1px solid map-get($white, darker)
107
- padding-bottom: $space/2
108
-
109
- =heading-xxl-default
110
- font-size: 3rem
111
- margin:
112
- bottom: 1.65rem
113
- +heading-break
114
-
115
- =heading-xl-default
116
- font-size: 2.7rem
117
- margin:
118
- bottom: 1.5rem
119
- +heading-break
120
-
121
- =heading-lg-default
122
- font-size: 2.4rem
123
- margin:
124
- bottom: 1.25rem
125
- +heading-break
126
-
127
- =heading-md-default
128
- font-size: 2.1rem
129
- margin:
130
- bottom: 1.15rem
131
- +heading-break
132
-
133
- =heading-rg-default
134
- font-size: 1.8rem
135
- margin:
136
- bottom: 1rem
137
- +heading-break
138
-
139
- =heading-sm-default
140
- font-size: 1.5rem
141
- margin:
142
- bottom: 0.85rem
143
- +heading-break
144
-
145
- =heading-xs-default
146
- font-size: 1.2rem
147
- margin:
148
- bottom: 0.7rem
149
- +heading-break
150
-
151
- =heading-xxs-default
152
- font-size: 0.9rem
153
- margin:
154
- bottom: 0.5rem
155
- +heading-break
156
-
157
- =list-default($style: 'none')
158
- margin-bottom: $space
159
-
160
- @if ($style == 'unstyled')
161
- +list-unstyled
162
-
163
- @if ($style == 'horizontal')
164
- +list-horizontal
165
-
166
- @if ($style == 'unstyled horizontal')
167
- +list-unstyled
168
- +list-horizontal
169
-
170
- =list-unstyled
171
- padding: 0
172
- list-style: none
173
-
174
- > li
175
- margin-bottom: 0.85rem
176
-
177
- =list-horizontal
178
- > li
179
- display: inline-block
180
- margin-right: 5px
@@ -1,23 +0,0 @@
1
- =alert-default
2
- +root-element
3
- padding: $space/2
4
- background: $primary-color
5
- color: white
6
- margin:
7
- bottom: $space
8
-
9
- p
10
- +p
11
-
12
- > *:last-child
13
- margin-bottom: 0
14
-
15
- h1
16
- +heading-xs
17
- color: inherit
18
-
19
- a:not([role=button])
20
- color: inherit
21
- text-decoration: underline
22
-
23
- @content
@@ -1,159 +0,0 @@
1
- =button-default($background-color: map-get($white, darker), $size: 1)
2
- display: inline-block
3
- cursor: pointer
4
- text-decoration: none
5
- color: map-get($black, light)
6
- text-align: left
7
- transition: box-shadow 0.15s
8
- vertical-align: middle
9
- user-select: none
10
-
11
- &[disabled], &:disabled
12
- color: rgba(0, 0, 0, 0.25)
13
- pointer-events: none
14
- // TODO: Cursor disabled?
15
-
16
- &.menu-item
17
- position: relative
18
-
19
- ul
20
- display: none
21
-
22
- &:after
23
- content: '+'
24
- font-family: 'Kickstart', Kickstart
25
- font-size: 0.65rem
26
- display: inline-block
27
- color: rgba(0, 0, 0, 0.3)
28
-
29
- &:hover
30
- box-shadow: 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset, 0px 2px 0px 0px rgba(255, 255, 255, 0.1) inset
31
- text-decoration: none
32
-
33
- &:active
34
- box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.1) inset, 0px -2px 0px 0px rgba(255, 255, 255, 0.1) inset
35
- text-decoration: none
36
-
37
- // TODO: Done this way, these properties are not mutex
38
- // in the case of missing params.
39
-
40
- +root-element($size: $size)
41
- +button-size($size)
42
- +button-color($background-color)
43
-
44
- @content
45
-
46
- // Separated from main mixin for access by non-semantic library.
47
-
48
- =button-color($background-color)
49
- background-color: $background-color
50
- border-color: $background-color
51
-
52
- &.open
53
- background-color: darken($background-color, 5%)
54
-
55
- @if lightness($background-color) > 75%
56
- color: map-get($black, lighter)
57
- @else
58
- color: white
59
-
60
- @if $background-color == map-get($colors, yellow)
61
- color: map-get($black, lighter)
62
-
63
- @if $background-color == transparent
64
- color: map-get($black, lighter)
65
-
66
- =button-size($size)
67
- padding: ($size * $size * map-get($rootElement, paddingV)) ($size * $size * map-get($rootElement, paddingH))
68
- line-height: $size * $default-line-height
69
- margin-bottom: 0
70
- font-size: ($default-font-size - 2) * $size
71
- padding:
72
- left: $size * $size * map-get($rootElement, paddingH)
73
- right: $size * $size * map-get($rootElement, paddingH)
74
-
75
- &.menu-item
76
- &:after
77
- font-size: $size * 0.85rem
78
- margin-left: $size * $size * $space/4
79
-
80
- &.open
81
- ul
82
- display: block
83
-
84
- ul
85
- +button-dropdown-menu
86
-
87
- li
88
- padding:
89
- left: 0
90
- right: 0
91
- margin:
92
- bottom: 0
93
-
94
- + .button-dropdown + ul
95
- // Button with dropdown
96
- +button-dropdown-menu
97
-
98
- &.button-dropdown
99
- padding:
100
- left: map-get($rootElement, paddingV) * $size * $size
101
- right: map-get($rootElement, paddingV) * $size * $size
102
-
103
- =button-dropdown-menu
104
- // Most of the styling actually comes from the global dropdown_menu
105
- // styling, however this will provide some specifics for working
106
- // with buttons.
107
- margin-top: 5px
108
- right: -$space
109
- border: 1px solid map-get($white, darker)
110
-
111
- =button-group-default($background-color: map-get($white, darker), $size: 1)
112
- list-style: none
113
- padding: 0
114
- margin:
115
- bottom: 0
116
- top: 0
117
- display: flex
118
- align-items: center
119
- position: relative
120
-
121
- > li
122
- color: inherit
123
-
124
- > a, > button, > input
125
- color: inherit
126
- +button($background-color, $size)
127
- text-decoration: inherit
128
- vertical-align: top
129
-
130
- &:not(:first-child):not(:last-child):not(:only-child)
131
- > a, > button, > input
132
- border-radius: 0
133
- border-left: 0
134
-
135
- &:first-child:not(:only-child)
136
- > a, > button, > input
137
- border-top-right-radius: 0
138
- border-bottom-right-radius: 0
139
-
140
- &:last-child:not(:only-child)
141
- > a, > button, > input
142
- border-top-left-radius: 0
143
- border-bottom-left-radius: 0
144
- border-left: 0
145
-
146
- .button-dropdown
147
-
148
- &:after
149
- content: '+'
150
- display: block
151
- font-family: "Kickstart", Kickstart
152
- color: rgba(0, 0, 0, 0.3)
153
- font-size: 90%
154
-
155
- > li > ul
156
- +button-dropdown-menu
157
- display: none
158
-
159
- @content
@@ -1,69 +0,0 @@
1
- =dropdown_menu-default
2
- .menu-item
3
- ul
4
- display: none
5
- position: absolute
6
- padding: 0
7
- list-style: none
8
- z-index: 10
9
- background: white
10
- top: 100%
11
- margin-top: 1px
12
- left: -1px // Compensate for border
13
- min-width: 175px
14
- border:
15
- left: 1px solid map-get($white, darker)
16
- right: 1px solid map-get($white, darker)
17
- bottom: 1px solid map-get($white, darker)
18
- border-radius: map-get($rootElement, border-radius)
19
- box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25)
20
- background: white
21
-
22
- &:before
23
- display: block
24
- position: absolute
25
- content: ' '
26
-
27
- li
28
- border: 0px
29
-
30
- a:not([role=button])
31
- +button-default
32
- display: block
33
- margin-bottom: 0
34
- border-radius: 0
35
- background: white
36
- border-color: white
37
- font-size: $default-font-size
38
-
39
- &:hover
40
- border-color: map-get($white, dark)
41
- background: map-get($white, dark)
42
- box-shadow: none
43
-
44
- &:active
45
- border-color: map-get($white, darker)
46
- background: map-get($white, darker)
47
- box-shadow: none
48
-
49
- &:first-child
50
- border-top-right-radius: map-get($rootElement, border-radius)
51
- border-top-left-radius: map-get($rootElement, border-radius)
52
-
53
- a:not([role=button])
54
- border-top-right-radius: map-get($rootElement, border-radius)
55
- border-top-left-radius: map-get($rootElement, border-radius)
56
-
57
- &:last-child
58
- border-bottom-right-radius: map-get($rootElement, border-radius)
59
- border-bottom-left-radius: map-get($rootElement, border-radius)
60
-
61
- a:not([role=button])
62
- border-bottom-right-radius: map-get($rootElement, border-radius)
63
- border-bottom-left-radius: map-get($rootElement, border-radius)
64
-
65
- &.open
66
- ul
67
- display: block
68
-
69
- @content
@@ -1,106 +0,0 @@
1
- label, legend
2
- display: block
3
- font-weight: 500
4
- margin-bottom: $space/4
5
-
6
- =form-default($layout: 'none')
7
- margin-bottom: $space
8
-
9
- @if ($layout == 'horizontal')
10
- +form-horizontal
11
- @if ($layout == 'left')
12
- +form-left
13
-
14
- @content
15
-
16
- =input-styles
17
- +root-element
18
- margin: 0
19
- bottom: 0
20
- border: 1px solid #CCC
21
- display: block
22
- border-radius: 3px
23
- max-width: 100%
24
-
25
- label + &
26
- margin-top: ($space/5)
27
-
28
- &:focus
29
- outline: 0px
30
- box-shadow: 0px 0px 0px 2px $primary-color
31
-
32
- @content
33
-
34
- +text-inputs
35
- +input-styles
36
-
37
- textarea
38
- +input-styles
39
- width: 300px
40
-
41
- input[type="checkbox"],
42
- input[type="radio"]
43
- display: inline-block
44
- width: 14px
45
- margin:
46
- left: 1px
47
- right: 5px
48
-
49
- select
50
- +button
51
- height: calc(#{$default-line-height} + #{2 * map-get($rootElement, paddingV)})
52
- background-image: none
53
-
54
- =form-horizontal
55
- display: inline-block
56
-
57
- label, input
58
- display: inline-block
59
-
60
- @content
61
-
62
- =form-left
63
- label
64
- +root-element
65
- padding:
66
- right: 0
67
- left: 0
68
- display: inline-block
69
- margin:
70
- top: 0
71
- bottom: 0
72
-
73
- @media screen and (min-width: $tablet)
74
- label:not(.checkbox):not(.radio)
75
- text-align: right
76
-
77
- @content
78
-
79
- =form_group-default($layout: 'none')
80
- display: block
81
- margin-bottom: $space
82
-
83
- @if $layout == 'horizontal'
84
- display: inherit
85
- margin:
86
- right: $space/5
87
-
88
- > *
89
- display: inline-block
90
- margin-right: $space/5
91
-
92
- @content
93
-
94
- =field-colors($color)
95
- label, p
96
- color: $color
97
-
98
- +text-inputs
99
- border-color: $color
100
-
101
- select
102
- border-color: $color
103
- background-color: $color
104
-
105
- textarea
106
- border-color: $color
@@ -1,2 +0,0 @@
1
- =growl-default
2
- @content
@@ -1,5 +0,0 @@
1
- =hr-default
2
- border: 0
3
- top: 2px solid $default-font-color
4
-
5
- @content
@@ -1,43 +0,0 @@
1
- =thumbnail-content-default
2
- display: flex
3
- overflow: hidden
4
- margin-bottom: $space
5
- align-items: flex-start
6
-
7
- img, figure
8
- flex-grow: 0
9
- flex-shrink: 0
10
-
11
- > :not(img)
12
- width: 100%
13
-
14
- + img, + figure
15
- margin-left: $space/2
16
-
17
- h1
18
- +heading-xs
19
-
20
- > img, > figure
21
- + :not(img)
22
- margin-left: $space/2
23
- width: 100%
24
-
25
- @content
26
-
27
- =thumbnail-default
28
- +root-element
29
- border: 1px solid map-get($white, darker)
30
- display: inline-block
31
- max-width: 100%
32
-
33
- img
34
- max-width: 100%
35
-
36
- figcaption
37
- font-size: 0.85rem
38
-
39
- @content
40
-
41
- figure
42
- margin: 0
43
- padding: 0
@@ -1,15 +0,0 @@
1
- =label-default($background-color: $primary-color)
2
- +root-element
3
- background: $background-color
4
- font-size: 0.8rem
5
- color: white
6
- line-height: normal
7
- font-weight: bold
8
-
9
- @if $background-color == map-get($colors, yellow)
10
- color: $default-font-color
11
-
12
- &:after
13
- border-top-color: $background-color
14
-
15
- @content
@@ -1,73 +0,0 @@
1
- =modal-default()
2
- +root-element
3
- border-width: 0
4
- padding: $space
5
- position: fixed
6
- box-shadow: 0px 0px 99999px 99999px rgba(0, 0, 0, 0.35), 0px 0px 25px rgba(0, 0, 0, 0.5)
7
- top: 15px
8
- top: 5vh
9
- left: 2%
10
- right: 2%
11
- margin: 0px auto
12
- display: none
13
- background: white
14
- border-color: map-get($white, dark)
15
- animation-duration: 0.2s
16
- animation-timing-function: ease
17
- animation-fill-mode: both
18
- z-index: 1500
19
-
20
- &[style="display: block;"]
21
- animation-name: fadeInDown
22
-
23
- @media screen and (min-width: $tablet)
24
- top: 75px
25
- top: 10vh
26
- width: 650px
27
- left: 50%
28
- margin-left: -325px
29
-
30
- > header, > footer
31
- +alert
32
-
33
- > h1, > h2, > h3, > h4, > h5, > h6
34
- margin-bottom: 0
35
-
36
- background: map-get($white, dark)
37
- color: $default-font-color
38
- margin: -$space
39
- bottom: $space
40
-
41
- > header
42
- border-bottom-left-radius: 0
43
- border-bottom-right-radius: 0
44
- position: relative
45
-
46
- a[data-modal-close]
47
- position: absolute
48
- top: $space/2
49
- right: $space/2
50
- line-height: 1.3rem
51
- text-decoration: none
52
- font-size: 1.3rem
53
-
54
- > footer
55
- margin:
56
- top: $space
57
- bottom: -$space
58
- border-top-left-radius: 0
59
- border-top-right-radius: 0
60
-
61
- ul
62
- +list($style: 'unstyled horizontal')
63
- text-align: right
64
-
65
- li
66
- margin:
67
- bottom: 0
68
- right: 0
69
-
70
- [role="button"]
71
- text-decoration: none
72
-
73
- @content