kickstart_rails 3.0.36 → 3.0.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kickstart_rails/version.rb +1 -1
  3. metadata +2 -154
  4. data/app/assets/javascripts/kickstart_rails/docs.js +0 -166
  5. data/app/assets/javascripts/kickstart_rails/docs/throttler_edge.js +0 -2
  6. data/app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js +0 -8
  7. data/app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js +0 -18
  8. data/app/assets/javascripts/kickstart_rails/kickstart.js +0 -450
  9. data/app/assets/javascripts/kickstart_rails/kickstart.min.js +0 -1
  10. data/app/assets/javascripts/kickstart_rails/navbar-fixer.js +0 -19
  11. data/app/assets/javascripts/kickstart_rails/test.js +0 -6705
  12. data/app/assets/javascripts/kickstart_rails/throttler_edge.js +0 -2
  13. data/app/assets/javascripts/kickstart_rails/throttler_edgeActions.js +0 -8
  14. data/app/assets/javascripts/kickstart_rails/throttler_edgePreload.js +0 -18
  15. data/app/assets/stylesheets/components/_alerts.sass +0 -23
  16. data/app/assets/stylesheets/components/_buttons.sass +0 -159
  17. data/app/assets/stylesheets/components/_dropdown_menu.sass +0 -69
  18. data/app/assets/stylesheets/components/_forms.sass +0 -106
  19. data/app/assets/stylesheets/components/_growls.sass +0 -2
  20. data/app/assets/stylesheets/components/_hr.sass +0 -5
  21. data/app/assets/stylesheets/components/_images.sass +0 -40
  22. data/app/assets/stylesheets/components/_labels.sass +0 -15
  23. data/app/assets/stylesheets/components/_modals.sass +0 -73
  24. data/app/assets/stylesheets/components/_nav.sass +0 -219
  25. data/app/assets/stylesheets/components/_navbar.sass +0 -270
  26. data/app/assets/stylesheets/components/_notifications.sass +0 -20
  27. data/app/assets/stylesheets/components/_pagination.sass +0 -11
  28. data/app/assets/stylesheets/components/_progress.sass +0 -12
  29. data/app/assets/stylesheets/components/_root-element.sass +0 -12
  30. data/app/assets/stylesheets/components/_status.sass +0 -12
  31. data/app/assets/stylesheets/components/_tables.sass +0 -70
  32. data/app/assets/stylesheets/components/_tabs.sass +0 -37
  33. data/app/assets/stylesheets/components/_tiles.sass +0 -42
  34. data/app/assets/stylesheets/components/_tooltips.sass +0 -26
  35. data/app/assets/stylesheets/components/_typography.sass +0 -141
  36. data/app/assets/stylesheets/core/_animations.sass +0 -8
  37. data/app/assets/stylesheets/core/_base.sass +0 -16
  38. data/app/assets/stylesheets/core/_base_components.sass +0 -15
  39. data/app/assets/stylesheets/core/_components.sass +0 -20
  40. data/app/assets/stylesheets/core/_dependent_components.sass +0 -12
  41. data/app/assets/stylesheets/core/_direct-apply.sass +0 -337
  42. data/app/assets/stylesheets/core/_grid.sass +0 -142
  43. data/app/assets/stylesheets/core/_icons.sass +0 -3
  44. data/app/assets/stylesheets/core/_index.sass +0 -7
  45. data/app/assets/stylesheets/core/_mixins.sass +0 -22
  46. data/app/assets/stylesheets/core/_normalize.sass +0 -339
  47. data/app/assets/stylesheets/core/_root-element.sass +0 -17
  48. data/app/assets/stylesheets/core/_typography.sass +0 -180
  49. data/app/assets/stylesheets/core/components/_alerts.sass +0 -23
  50. data/app/assets/stylesheets/core/components/_buttons.sass +0 -159
  51. data/app/assets/stylesheets/core/components/_dropdown_menu.sass +0 -69
  52. data/app/assets/stylesheets/core/components/_forms.sass +0 -106
  53. data/app/assets/stylesheets/core/components/_growls.sass +0 -2
  54. data/app/assets/stylesheets/core/components/_hr.sass +0 -5
  55. data/app/assets/stylesheets/core/components/_images.sass +0 -40
  56. data/app/assets/stylesheets/core/components/_labels.sass +0 -15
  57. data/app/assets/stylesheets/core/components/_modals.sass +0 -73
  58. data/app/assets/stylesheets/core/components/_navbar.sass +0 -270
  59. data/app/assets/stylesheets/core/components/_notifications.sass +0 -20
  60. data/app/assets/stylesheets/core/components/_pagination.sass +0 -11
  61. data/app/assets/stylesheets/core/components/_progress.sass +0 -12
  62. data/app/assets/stylesheets/core/components/_tables.sass +0 -70
  63. data/app/assets/stylesheets/core/components/_tabs.sass +0 -37
  64. data/app/assets/stylesheets/core/components/_tooltips.sass +0 -26
  65. data/app/assets/stylesheets/docs.sass +0 -99
  66. data/app/assets/stylesheets/external/_index.sass +0 -9
  67. data/app/assets/stylesheets/foovendor/_fooindex.sass +0 -9
  68. data/app/assets/stylesheets/fullpage.sass +0 -7
  69. data/app/assets/stylesheets/kickstart-semantic.sass +0 -10
  70. data/app/assets/stylesheets/kickstart.sass +0 -344
  71. data/app/assets/stylesheets/kickstart_rails/core/_animations.sass +0 -8
  72. data/app/assets/stylesheets/kickstart_rails/core/_base.sass +0 -16
  73. data/app/assets/stylesheets/kickstart_rails/core/_base_components.sass +0 -15
  74. data/app/assets/stylesheets/kickstart_rails/core/_dependent_components.sass +0 -12
  75. data/app/assets/stylesheets/kickstart_rails/core/_direct-apply.sass +0 -337
  76. data/app/assets/stylesheets/kickstart_rails/core/_grid.sass +0 -142
  77. data/app/assets/stylesheets/kickstart_rails/core/_icons.sass +0 -3
  78. data/app/assets/stylesheets/kickstart_rails/core/_index.sass +0 -7
  79. data/app/assets/stylesheets/kickstart_rails/core/_mixins.sass +0 -22
  80. data/app/assets/stylesheets/kickstart_rails/core/_normalize.sass +0 -339
  81. data/app/assets/stylesheets/kickstart_rails/core/_root-element.sass +0 -17
  82. data/app/assets/stylesheets/kickstart_rails/core/_typography.sass +0 -180
  83. data/app/assets/stylesheets/kickstart_rails/core/components/_alerts.sass +0 -23
  84. data/app/assets/stylesheets/kickstart_rails/core/components/_buttons.sass +0 -159
  85. data/app/assets/stylesheets/kickstart_rails/core/components/_dropdown_menu.sass +0 -69
  86. data/app/assets/stylesheets/kickstart_rails/core/components/_forms.sass +0 -106
  87. data/app/assets/stylesheets/kickstart_rails/core/components/_growls.sass +0 -2
  88. data/app/assets/stylesheets/kickstart_rails/core/components/_hr.sass +0 -5
  89. data/app/assets/stylesheets/kickstart_rails/core/components/_images.sass +0 -40
  90. data/app/assets/stylesheets/kickstart_rails/core/components/_labels.sass +0 -15
  91. data/app/assets/stylesheets/kickstart_rails/core/components/_modals.sass +0 -73
  92. data/app/assets/stylesheets/kickstart_rails/core/components/_navbar.sass +0 -270
  93. data/app/assets/stylesheets/kickstart_rails/core/components/_notifications.sass +0 -20
  94. data/app/assets/stylesheets/kickstart_rails/core/components/_pagination.sass +0 -11
  95. data/app/assets/stylesheets/kickstart_rails/core/components/_progress.sass +0 -12
  96. data/app/assets/stylesheets/kickstart_rails/core/components/_tables.sass +0 -70
  97. data/app/assets/stylesheets/kickstart_rails/core/components/_tabs.sass +0 -37
  98. data/app/assets/stylesheets/kickstart_rails/core/components/_tooltips.sass +0 -26
  99. data/app/assets/stylesheets/kickstart_rails/docs.sass +0 -99
  100. data/app/assets/stylesheets/kickstart_rails/fullpage.sass +0 -7
  101. data/app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass +0 -10
  102. data/app/assets/stylesheets/kickstart_rails/kickstart.sass +0 -344
  103. data/app/assets/stylesheets/kickstart_rails/pages/docs/form.sass +0 -0
  104. data/app/assets/stylesheets/kickstart_rails/pages/docs/grid.sass +0 -73
  105. data/app/assets/stylesheets/kickstart_rails/pages/docs/index.sass +0 -210
  106. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/alerts.sass +0 -5
  107. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/buttons.sass +0 -52
  108. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/forms.sass +0 -31
  109. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/images.sass +0 -7
  110. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/labels.sass +0 -10
  111. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/modals.sass +0 -18
  112. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/navigation.sass +0 -14
  113. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/notifications.sass +0 -17
  114. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tables.sass +0 -13
  115. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tabs.sass +0 -7
  116. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tooltips.sass +0 -7
  117. data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/typography.sass +0 -56
  118. data/app/assets/stylesheets/kickstart_rails/pages/index.sass +0 -105
  119. data/app/assets/stylesheets/kickstart_rails/themes/default/theme.sass +0 -264
  120. data/app/assets/stylesheets/kickstart_rails/vendor/_index.sass +0 -10
  121. data/app/assets/stylesheets/kickstart_rails/vendor/switch/README.md +0 -34
  122. data/app/assets/stylesheets/kickstart_rails/vendor/switch/example.sass +0 -14
  123. data/app/assets/stylesheets/kickstart_rails/vendor/switch/gulpfile.js +0 -16
  124. data/app/assets/stylesheets/kickstart_rails/vendor/switch/index.html +0 -18
  125. data/app/assets/stylesheets/kickstart_rails/vendor/switch/package.json +0 -24
  126. data/app/assets/stylesheets/kickstart_rails/vendor/switch/switch.sass +0 -53
  127. data/app/assets/stylesheets/pages/docs/form.sass +0 -0
  128. data/app/assets/stylesheets/pages/docs/grid.sass +0 -73
  129. data/app/assets/stylesheets/pages/docs/index.sass +0 -210
  130. data/app/assets/stylesheets/pages/docs/ui/alerts.sass +0 -5
  131. data/app/assets/stylesheets/pages/docs/ui/buttons.sass +0 -52
  132. data/app/assets/stylesheets/pages/docs/ui/forms.sass +0 -31
  133. data/app/assets/stylesheets/pages/docs/ui/image.sass +0 -4
  134. data/app/assets/stylesheets/pages/docs/ui/images.sass +0 -7
  135. data/app/assets/stylesheets/pages/docs/ui/labels.sass +0 -10
  136. data/app/assets/stylesheets/pages/docs/ui/modals.sass +0 -18
  137. data/app/assets/stylesheets/pages/docs/ui/navigation.sass +0 -14
  138. data/app/assets/stylesheets/pages/docs/ui/notifications.sass +0 -17
  139. data/app/assets/stylesheets/pages/docs/ui/tables.sass +0 -13
  140. data/app/assets/stylesheets/pages/docs/ui/tabs.sass +0 -7
  141. data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +0 -7
  142. data/app/assets/stylesheets/pages/docs/ui/typography.sass +0 -56
  143. data/app/assets/stylesheets/pages/index.sass +0 -105
  144. data/app/assets/stylesheets/themes/_canary.sass +0 -266
  145. data/app/assets/stylesheets/themes/_default.sass +0 -264
  146. data/app/assets/stylesheets/themes/_shabbychic.sass +0 -252
  147. data/app/assets/stylesheets/themes/default/theme.sass +0 -264
  148. data/app/assets/stylesheets/vendor/_index.sass +0 -10
  149. data/app/assets/stylesheets/vendor/switch/README.md +0 -34
  150. data/app/assets/stylesheets/vendor/switch/example.sass +0 -14
  151. data/app/assets/stylesheets/vendor/switch/gulpfile.js +0 -16
  152. data/app/assets/stylesheets/vendor/switch/index.html +0 -18
  153. data/app/assets/stylesheets/vendor/switch/index.sass +0 -53
  154. data/app/assets/stylesheets/vendor/switch/package.json +0 -24
  155. data/app/assets/stylesheets/vendor/switch/switch.sass +0 -53
@@ -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
@@ -1,219 +0,0 @@
1
- =color($background)
2
- @if (lightness($background) < 75%)
3
- color: rgba(255, 255, 255, 0.5)
4
- @else
5
- color: rgba(0, 0, 0, 0.5)
6
-
7
- =navbar-default($fluid: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
8
- +pagination-default
9
- background: $background
10
- box-shadow: 0px 1px 0px darken($background, 12%) inset
11
- font-size: $default-font-size
12
- margin-bottom: $space
13
-
14
- nav
15
- @if $fluid == true
16
- +container(true)
17
- @else
18
- +container
19
- width: 100%
20
- border-radius: 0
21
- position: relative
22
-
23
- @if (lightness($background) < 75%)
24
- color: white
25
- @else
26
- color: $default-font-color
27
-
28
- @media screen and (min-width: $breakpoint)
29
- display: flex
30
- align-items: flex-start
31
- flex-wrap: wrap
32
- justify-content: space-between
33
- align-content: space-between
34
-
35
-
36
- &.expand
37
- @if $collapse == true
38
- > ul > li
39
- display: block
40
-
41
- h1
42
- margin-bottom: 0
43
- font-size: $base-font-size
44
- line-height: $default-line-height
45
-
46
- p
47
- margin: 0
48
-
49
- @media screen and (min-width: $breakpoint)
50
- @if $fluid == false
51
- > ul:first-child
52
- margin-left: (-1 * map-get($rootElement, paddingH))
53
-
54
- > ul:last-child
55
- margin-right: (-1 * map-get($rootElement, paddingH))
56
-
57
- > ul
58
- margin: 0
59
- padding: 0
60
-
61
- @media screen and (min-width: $breakpoint)
62
- display: flex
63
- justify-content: space-between
64
- align-content: space-between
65
- align-items: center
66
- flex-wrap: wrap
67
-
68
- &:last-child
69
- @media screen and (min-width: $breakpoint)
70
- > li.menu-item.open
71
- ul
72
- left: auto
73
- right: -1px
74
-
75
- > li
76
- list-style: none
77
- +root-element
78
- margin-bottom: 0
79
- border-radius: 0
80
- padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
81
- position: relative
82
- margin:
83
- left: (-1 * map-get($rootElement, paddingH))
84
- right: (-1 * map-get($rootElement, paddingH))
85
- user-select: none
86
-
87
- @media screen and (min-width: $breakpoint)
88
- margin: 0
89
-
90
- @if $collapse == true
91
- display: none
92
-
93
- @media screen and (min-width: $breakpoint)
94
- display: block
95
-
96
- &.navbar-title
97
- display: flex
98
- justify-content: space-between
99
- align-items: center
100
-
101
- button
102
- +button-default(transparent)
103
- background: transparent
104
- border-color: transparent
105
- color: inherit
106
- display: block
107
- margin-bottom: 0
108
- font-family: Kickstart, 'Kickstart'
109
- padding:
110
- left: 0
111
- right: 0
112
- opacity: 0.5
113
-
114
- &:hover, &:active
115
- box-shadow: none
116
-
117
- &:hover
118
- opacity: 1
119
-
120
- @media screen and (min-width: $breakpoint)
121
- display: none
122
-
123
- &.menu-item // Added via k$.nav()
124
- padding: (2 * map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
125
- +color($background)
126
- cursor: pointer
127
-
128
- &:before
129
- content: '='
130
- margin-right: 8px
131
-
132
- &:before, &:after
133
- font-family: 'Kickstart', Kickstart
134
- display: inline-block
135
- font-size: 0.65rem
136
- vertical-align: middle
137
-
138
- @media screen and (min-width: $breakpoint)
139
- &:before
140
- content: ''
141
- display: none
142
-
143
- &:after
144
- content: '+'
145
- margin-left: 8px
146
-
147
- &:hover
148
- @if (lightness($background) < 75%)
149
- color: white
150
- @else
151
- color: rgba(0, 0, 0, 0.85)
152
- background: darken($background, 5%)
153
- border-color: darken($background, 5%)
154
-
155
- &:active
156
- background: darken($background, 15%)
157
- border-color: darken($background, 15%)
158
-
159
- &.open
160
- color: rgba(0, 0, 0, 0.85)
161
- background: white
162
- border-color: map-get($white, darker)
163
- border-bottom-color: transparent
164
-
165
- &:hover
166
- color: rgba(0, 0, 0, 0.85)
167
- border-color: map-get($white, darker)
168
- border-bottom-color: transparent
169
-
170
- @media screen and (max-width: $breakpoint)
171
- ul
172
- max-width: none
173
- right: -1px
174
-
175
- li, li a:not([role=button])
176
- font-size: 1rem
177
-
178
- a:not([role=button])
179
- padding:
180
- top: 2 * map-get($rootElement, paddingV)
181
- bottom: 2 * map-get($rootElement, paddingV)
182
-
183
- ul
184
- border-top-left-radius: 0
185
- border-top-right-radius: 0
186
- box-shadow: 3px 3px 3px -3px rgba(0, 0, 0, 0.25)
187
- display: none
188
-
189
- ul[role=button]
190
- display: inherit
191
-
192
- > a:not([role=button])
193
- +color($background)
194
- text-decoration: none
195
- cursor: pointer
196
- display: block
197
- +root-element
198
- margin-bottom: 0
199
- border-radius: 0
200
- margin: (-1 * map-get($rootElement, paddingV)) (-1 * map-get($rootElement, paddingH))
201
- padding:
202
- top: (2 * map-get($rootElement, paddingV))
203
- bottom: (2 * map-get($rootElement, paddingV))
204
- left: map-get($rootElement, paddingH)
205
- right: map-get($rootElement, paddingH)
206
-
207
- &:hover
208
- @if (lightness($background) < 75%)
209
- color: white
210
- @else
211
- color: rgba(0, 0, 0, 0.85)
212
- background: darken($background, 5%)
213
- border-color: darken($background, 5%)
214
-
215
- &:active
216
- background: darken($background, 15%)
217
- border-color: darken($background, 15%)
218
-
219
- @content
@@ -1,270 +0,0 @@
1
- =color($background)
2
- @if (lightness($background) < 75%)
3
- color: rgba(255, 255, 255, 0.5)
4
- @else
5
- color: rgba(0, 0, 0, 0.5)
6
-
7
- =navbar-align_menus($breakpoint)
8
- @media screen and (min-width: $breakpoint)
9
- > ul:first-child
10
- margin-left: (-1 * map-get($rootElement, paddingH))
11
-
12
- > ul:last-child
13
- margin-right: (-1 * map-get($rootElement, paddingH))
14
-
15
- > ul:only-child
16
- margin-right: 0
17
-
18
- =navbar-fluid($breakpoint: $tablet)
19
- nav
20
- +container(true)
21
- +navbar-align_menus($breakpoint)
22
-
23
- =navbar-fluid_fixed($breakpoint: $tablet)
24
- nav
25
- +container(false)
26
- +navbar-align_menus($breakpoint)
27
-
28
- =navbar-fixed
29
- position: fixed
30
- z-index: 100
31
- left: 0
32
- right: 0
33
- top: 0
34
-
35
- =navbar-color($background-color)
36
- background-color: $background-color
37
-
38
- nav
39
- > ul
40
- > li
41
- &.menu-item
42
- +color($background-color)
43
-
44
- > a:not([role=button])
45
- +color($background-color)
46
-
47
- =navbar-default($layout: 'none', $background-color: map-get($white, dark), $breakpoint: $tablet, $collapse: false, $fixed: false)
48
- box-shadow: 0px 1px 0px darken($background-color, 12%) inset
49
- font-size: $default-font-size
50
- margin-bottom: $space
51
-
52
- nav
53
- width: 100%
54
- border-radius: 0
55
- position: relative
56
-
57
- @if (lightness($background-color) < 75%)
58
- color: white
59
- @else
60
- color: $default-font-color
61
-
62
- @media screen and (min-width: $breakpoint)
63
- display: flex
64
- align-items: center
65
- flex-wrap: wrap
66
- justify-content: space-between
67
- align-content: space-between
68
-
69
-
70
- &.expand
71
- @if $collapse == true
72
- > ul > li
73
- display: block
74
-
75
- h1
76
- +heading-xxs
77
- margin-bottom: 0
78
- font-size: $base-font-size
79
- line-height: $default-line-height
80
-
81
- p
82
- margin: 0
83
-
84
- > ul
85
- margin: 0
86
- padding: 0
87
-
88
- @media screen and (min-width: $breakpoint)
89
- display: flex
90
- justify-content: space-between
91
- align-content: space-between
92
- align-items: center
93
- flex-wrap: wrap
94
-
95
- &:last-child
96
- @media screen and (min-width: $breakpoint)
97
- > li.menu-item.open
98
- ul
99
- left: auto
100
- right: -1px
101
-
102
- &:only-child
103
- @media screen and (min-width: $breakpoint)
104
- > li.menu-item.open
105
- ul
106
- left: -1px
107
- right: auto
108
-
109
- > li
110
- list-style: none
111
- +root-element
112
- margin-bottom: 0
113
- border-radius: 0
114
- padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
115
- position: relative
116
- margin:
117
- left: (-1 * map-get($rootElement, paddingH))
118
- right: (-1 * map-get($rootElement, paddingH))
119
- user-select: none
120
-
121
- @media screen and (min-width: $breakpoint)
122
- margin: 0
123
-
124
- @if $collapse == true
125
- display: none
126
-
127
- @media screen and (min-width: $breakpoint)
128
- display: block
129
-
130
- &.navbar-title
131
- display: flex
132
- justify-content: space-between
133
- align-items: center
134
-
135
- @media screen and (min-width: $breakpoint)
136
- padding: 0
137
-
138
- > h1, > h2, > h3, > h4, > h5, > h6
139
- padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
140
-
141
- button
142
- +button-default(transparent)
143
- background: transparent
144
- border-color: transparent
145
- color: inherit
146
- display: block
147
- margin-bottom: 0
148
- font-family: Kickstart, 'Kickstart'
149
- padding:
150
- left: 0
151
- right: 0
152
- opacity: 0.5
153
- @if ($collapse == false)
154
- display: none
155
-
156
- &:hover, &:active
157
- box-shadow: none
158
-
159
- &:hover
160
- opacity: 1
161
-
162
- @media screen and (min-width: $breakpoint)
163
- display: none
164
-
165
- &.menu-item // Added via k$.nav()
166
- padding: (2 * map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
167
- cursor: pointer
168
-
169
- &:before
170
- content: '='
171
- margin-right: 8px
172
-
173
- &:before, &:after
174
- font-family: 'Kickstart', Kickstart
175
- display: inline-block
176
- font-size: 0.65rem
177
- vertical-align: middle
178
-
179
- @media screen and (min-width: $breakpoint)
180
- &:before
181
- content: ''
182
- display: none
183
-
184
- &:after
185
- content: '+'
186
- margin-left: 8px
187
-
188
- &:hover
189
- @if (lightness($background-color) < 75%)
190
- color: white
191
- @else
192
- color: rgba(0, 0, 0, 0.85)
193
- background: darken($background-color, 5%)
194
- border-color: darken($background-color, 5%)
195
-
196
- &:active
197
- background: darken($background-color, 15%)
198
- border-color: darken($background-color, 15%)
199
-
200
- &.open
201
- color: rgba(0, 0, 0, 0.85)
202
- background: white
203
- border-color: map-get($white, darker)
204
- border-bottom-color: transparent
205
-
206
- &:hover
207
- color: rgba(0, 0, 0, 0.85)
208
- border-color: map-get($white, darker)
209
- border-bottom-color: transparent
210
-
211
- @media screen and (max-width: $breakpoint)
212
- ul
213
- max-width: none
214
- right: -1px
215
-
216
- li, li a:not([role=button])
217
- font-size: 1rem
218
-
219
- a:not([role=button])
220
- padding:
221
- top: 2 * map-get($rootElement, paddingV)
222
- bottom: 2 * map-get($rootElement, paddingV)
223
-
224
- ul
225
- border-top-left-radius: 0
226
- border-top-right-radius: 0
227
- box-shadow: 3px 3px 3px -3px rgba(0, 0, 0, 0.25)
228
- display: none
229
-
230
- ul[role=button]
231
- display: inherit
232
-
233
- > a:not([role=button])
234
- text-decoration: none
235
- cursor: pointer
236
- display: block
237
- +root-element
238
- margin-bottom: 0
239
- border-radius: 0
240
- margin: (-1 * map-get($rootElement, paddingV)) (-1 * map-get($rootElement, paddingH))
241
- padding:
242
- top: (2 * map-get($rootElement, paddingV))
243
- bottom: (2 * map-get($rootElement, paddingV))
244
- left: map-get($rootElement, paddingH)
245
- right: map-get($rootElement, paddingH)
246
-
247
- &:hover
248
- @if (lightness($background-color) < 75%)
249
- color: white
250
- @else
251
- color: rgba(0, 0, 0, 0.85)
252
- background: darken($background-color, 5%)
253
- border-color: darken($background-color, 5%)
254
-
255
- &:active
256
- background: darken($background-color, 15%)
257
- border-color: darken($background-color, 15%)
258
-
259
- @if ($layout == 'fluid')
260
- +navbar-fluid($breakpoint)
261
-
262
- @if ($layout == 'fluid-fixed')
263
- +navbar-fluid_fixed($breakpoint)
264
-
265
- @if ($fixed == true)
266
- +navbar-fixed
267
-
268
- +navbar-color($background-color)
269
-
270
- @content