groundworkcss-rails 0.2.9 → 0.2.10
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.
- data/lib/groundworkcss/rails/version.rb +1 -1
- data/lib/groundworkcss/rails/version.rb~ +1 -1
- data/vendor/assets/javascripts/groundworkcss/components/disabled.js +13 -12
- data/vendor/assets/javascripts/groundworkcss/components/equalizeColumns.js +31 -28
- data/vendor/assets/javascripts/groundworkcss/components/forms.js +21 -20
- data/vendor/assets/javascripts/groundworkcss/components/menus.js +88 -78
- data/vendor/assets/javascripts/groundworkcss/components/modals.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/components/pagination.js +87 -82
- data/vendor/assets/javascripts/groundworkcss/components/responsiveTables.js +22 -18
- data/vendor/assets/javascripts/groundworkcss/components/responsiveText.js +38 -31
- data/vendor/assets/javascripts/groundworkcss/components/tabs.js +19 -17
- data/vendor/assets/javascripts/groundworkcss/components/tiles.js +24 -21
- data/vendor/assets/javascripts/groundworkcss/components/tooltips.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/groundwork.all.js +974 -821
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-modals.js +193 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-popover.js +208 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveTables.js +64 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveText.js +46 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-tooltip.js +137 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_settings.scss +149 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/base/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_animations.scss → base/_animations.scss} +7 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_global.scss → base/_global.scss} +27 -10
- data/vendor/assets/stylesheets/groundworkcss-scss/{_grid.scss → base/_grid.scss} +5 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_helpers.scss → base/_helpers.scss} +61 -18
- data/vendor/assets/stylesheets/groundworkcss-scss/{_reset.scss → base/_reset.scss} +36 -31
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_variables.scss → core/_constants.scss} +7 -58
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_defaults.scss +150 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_mixins.scss → core/_mixins.scss} +6 -97
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_all.scss +10 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_forms.scss → form/_forms.scss} +96 -80
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_tiles.scss +100 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork-ie.scss +10 -8
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork.scss +12 -32
- data/vendor/assets/stylesheets/groundworkcss-scss/{_popovers.scss → misc/_all.scss} +3 -4
- data/vendor/assets/stylesheets/groundworkcss-scss/{_social-icons.scss → misc/_social-icons.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_buttons.scss +328 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_navigation.scss → nav/_navigation.scss} +8 -5
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_tabs.scss +230 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/no-svg.scss +9 -7
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_all.scss +13 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_desktop.scss +26 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_helpers.scss +16 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_ipad.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_mobile.scss +44 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_small-tablet.scss +196 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_all.scss +9 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_font-awesome.scss → type/_font-awesome.scss} +10 -2
- data/vendor/assets/stylesheets/groundworkcss-scss/{_typography.scss → type/_typography.scss} +172 -60
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_ui-elements.scss → ui/_all.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_callouts.scss +117 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_messages.scss +111 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_modals.scss → ui/_modals.scss} +2 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_popovers.scss +81 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_tables.scss +142 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_tooltips.scss → ui/_tooltips.scss} +35 -0
- metadata +56 -40
- data/vendor/assets/stylesheets/groundworkcss-scss/_buttons.scss +0 -231
- data/vendor/assets/stylesheets/groundworkcss-scss/_callouts.scss +0 -74
- data/vendor/assets/stylesheets/groundworkcss-scss/_cycle.scss +0 -20
- data/vendor/assets/stylesheets/groundworkcss-scss/_messages.scss +0 -69
- data/vendor/assets/stylesheets/groundworkcss-scss/_mobile-reset.scss +0 -11
- data/vendor/assets/stylesheets/groundworkcss-scss/_responsive.scss +0 -246
- data/vendor/assets/stylesheets/groundworkcss-scss/_tables.scss +0 -85
- data/vendor/assets/stylesheets/groundworkcss-scss/_tabs.scss +0 -172
- data/vendor/assets/stylesheets/groundworkcss-scss/_tiles.scss +0 -198
- data/vendor/assets/stylesheets/groundworkcss-scss/_webfonts.scss +0 -19
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// =============================================
|
|
1
|
+
/* =============================================
|
|
2
|
+
* IE hacks
|
|
3
|
+
* Last Updated:2013-4-24
|
|
4
|
+
* ===========================================*/
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@import "
|
|
6
|
+
|
|
7
|
+
// custom settings
|
|
8
|
+
@import "settings"; // optional
|
|
9
|
+
|
|
10
|
+
// core
|
|
11
|
+
@import "core/all"; // required
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
|
|
@@ -1,42 +1,22 @@
|
|
|
1
1
|
/* =============================================
|
|
2
2
|
* GroundworkCSS by Gary Hepting
|
|
3
|
-
* Last Updated:2013-
|
|
3
|
+
* Last Updated:2013-4-24
|
|
4
4
|
* ===========================================*/
|
|
5
5
|
|
|
6
|
-
// variables & mixins
|
|
7
|
-
@import "variables";
|
|
8
|
-
@import "mixins";
|
|
9
6
|
|
|
10
|
-
//
|
|
11
|
-
@import "
|
|
12
|
-
@import "global";
|
|
7
|
+
// custom settings
|
|
8
|
+
@import "settings"; // customizable settings
|
|
13
9
|
|
|
14
|
-
//
|
|
15
|
-
@import "
|
|
16
|
-
|
|
17
|
-
// grid
|
|
18
|
-
@import "grid";
|
|
10
|
+
// core (required)
|
|
11
|
+
@import "core/all"; // constants, defaults, mixins
|
|
12
|
+
@import "base/all"; // reset, globals, grid, helpers, animations
|
|
19
13
|
|
|
20
14
|
// components
|
|
21
|
-
@import "
|
|
22
|
-
@import "
|
|
23
|
-
@import "
|
|
24
|
-
@import "
|
|
25
|
-
@import "
|
|
26
|
-
@import "ui-elements";
|
|
27
|
-
@import "tables";
|
|
28
|
-
@import "font-awesome";
|
|
29
|
-
@import "social-icons";
|
|
30
|
-
@import "tooltips";
|
|
31
|
-
// @import "popovers";
|
|
32
|
-
@import "modals";
|
|
33
|
-
@import "tiles";
|
|
34
|
-
|
|
35
|
-
// CSS animations (required by helpers)
|
|
36
|
-
@import "animations";
|
|
37
|
-
|
|
38
|
-
// helper classes
|
|
39
|
-
@import "helpers";
|
|
15
|
+
@import "type/all"; // typography, font awesome, web fonts
|
|
16
|
+
@import "nav/all"; // buttons, navigation, tabs
|
|
17
|
+
@import "ui/all"; // messages, callouts, tables, tooltips, popovers, modals
|
|
18
|
+
@import "form/all"; // forms, tiles
|
|
19
|
+
@import "misc/all"; // social icons
|
|
40
20
|
|
|
41
21
|
// responsive adjustments
|
|
42
|
-
@import "responsive";
|
|
22
|
+
@import "responsive/all"; // responsive navigation, tabs
|
data/vendor/assets/stylesheets/groundworkcss-scss/{_social-icons.scss → misc/_social-icons.scss}
RENAMED
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
&.round {
|
|
36
36
|
@include rounded(50% 50%);
|
|
37
37
|
}
|
|
38
|
+
&.disabled {
|
|
39
|
+
-webkit-filter:grayscale(100%);
|
|
40
|
+
filter:grayscale(100%);
|
|
41
|
+
}
|
|
38
42
|
&.aboutme { @include data-image("social-icons/aboutme.svg"); }
|
|
39
43
|
&.adn { @include data-image("social-icons/adn.svg"); }
|
|
40
44
|
&.android { @include data-image("social-icons/android.svg"); }
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
// =============================================
|
|
2
|
+
// Buttons
|
|
3
|
+
// Last Updated:2013-4-24
|
|
4
|
+
// =============================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
%button {
|
|
10
|
+
display:inline-block;
|
|
11
|
+
word-wrap:break-word;
|
|
12
|
+
padding:0.25em 1em;
|
|
13
|
+
background:$button-color;
|
|
14
|
+
border:1px solid $button-active;
|
|
15
|
+
color:$button-text;
|
|
16
|
+
font-family:$font-family;
|
|
17
|
+
font-weight:bold;
|
|
18
|
+
// font-size:1em;
|
|
19
|
+
text-decoration:none;
|
|
20
|
+
cursor:pointer;
|
|
21
|
+
line-height:1.5;
|
|
22
|
+
width:auto;
|
|
23
|
+
height:auto;
|
|
24
|
+
text-align:center;
|
|
25
|
+
@include transition(background-color 0.25s ease-out);
|
|
26
|
+
@include rounded($radius);
|
|
27
|
+
&:hover, &:focus {
|
|
28
|
+
background:$button-active;
|
|
29
|
+
text-decoration:none;
|
|
30
|
+
color:$button-active-text;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
%button-on {
|
|
35
|
+
background:$button-active;
|
|
36
|
+
text-decoration:none;
|
|
37
|
+
color:$button-active-text;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
%button-active, %button-active:hover, %button-active:focus {
|
|
41
|
+
background:$button-active;
|
|
42
|
+
color:$button-active-text;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
%button-small { @extend %small; }
|
|
46
|
+
%button-large { @extend %large; }
|
|
47
|
+
%button-square { @extend %square; }
|
|
48
|
+
%button-round { @extend %round; }
|
|
49
|
+
%button-disabled { @include state(disabled,normal,desaturate($button-color,20%)); }
|
|
50
|
+
|
|
51
|
+
@for $i from 1 through length($modifier-name) {
|
|
52
|
+
%button-#{nth($modifier-name, $i)} {
|
|
53
|
+
background-color:#{nth($modifier-code, $i)};
|
|
54
|
+
color:#{nth($modifier-text, $i)};
|
|
55
|
+
border-color:darken(nth($modifier-code, $i), 5%);
|
|
56
|
+
&%active, &:hover, &:focus {
|
|
57
|
+
background:darken(nth($modifier-code, $i), 5%);
|
|
58
|
+
border-color:darken(nth($modifier-code, $i), 10%);
|
|
59
|
+
}
|
|
60
|
+
&%button-disabled {
|
|
61
|
+
@include state(disabled,normal,desaturate(nth($modifier-code, $i),20%));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
%button-info {
|
|
67
|
+
background-color:darken($info-background, 40%);
|
|
68
|
+
color:$button-text;
|
|
69
|
+
border-color:darken($info-border, 40%);
|
|
70
|
+
&%active, &:hover, &:focus {
|
|
71
|
+
background:darken($info-background, 49%);
|
|
72
|
+
}
|
|
73
|
+
&%button-disabled {
|
|
74
|
+
@include state(disabled,normal,desaturate($info-color,20%));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
%button-alert {
|
|
79
|
+
background-color:darken($alert-background, 40%);
|
|
80
|
+
color:$button-text;
|
|
81
|
+
border-color:darken($alert-border, 25%);
|
|
82
|
+
&%active, &:hover, &:focus {
|
|
83
|
+
background:darken($alert-background, 45%);
|
|
84
|
+
}
|
|
85
|
+
&%button-disabled {
|
|
86
|
+
@include state(disabled,normal,desaturate($alert-color,20%));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
%button-warning {
|
|
91
|
+
background-color:darken($warning-background, 40%);
|
|
92
|
+
color:$button-text;
|
|
93
|
+
border-color:darken($warning-border, 40%);
|
|
94
|
+
&%active, &:hover, &:focus {
|
|
95
|
+
background:darken($warning-background, 45%);
|
|
96
|
+
}
|
|
97
|
+
&%button-disabled {
|
|
98
|
+
@include state(disabled,normal,desaturate($warning-color,20%));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
%button-error {
|
|
103
|
+
background-color:darken($error-background, 40%);
|
|
104
|
+
color:$button-text;
|
|
105
|
+
border-color:darken($error-border, 40%);
|
|
106
|
+
&%active, &:hover, &:focus {
|
|
107
|
+
background:darken($error-background, 49%);
|
|
108
|
+
}
|
|
109
|
+
&%button-disabled {
|
|
110
|
+
@include state(disabled,normal,desaturate($error-color,20%));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
%button-success {
|
|
115
|
+
background-color:darken($success-background, 40%);
|
|
116
|
+
color:$button-text;
|
|
117
|
+
border-color:darken($success-border, 40%);
|
|
118
|
+
&%active, &:hover, &:focus {
|
|
119
|
+
background:darken($success-background, 49%);
|
|
120
|
+
}
|
|
121
|
+
&%button-disabled {
|
|
122
|
+
@include state(disabled,normal,desaturate($success-color,20%));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
%button-block {
|
|
127
|
+
display:block;
|
|
128
|
+
width:100%;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
%dropdown-button {
|
|
132
|
+
position:relative;
|
|
133
|
+
padding-right:2em;
|
|
134
|
+
&:after {
|
|
135
|
+
content:'...';
|
|
136
|
+
position:absolute;
|
|
137
|
+
right:1em;
|
|
138
|
+
bottom:0.25em;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
%dropdown-list {
|
|
143
|
+
text-align:left;
|
|
144
|
+
margin:0.3em 0 0;
|
|
145
|
+
padding:0;
|
|
146
|
+
list-style:none;
|
|
147
|
+
display:none;
|
|
148
|
+
background:white;
|
|
149
|
+
border:1px solid $border-color;
|
|
150
|
+
position:absolute;
|
|
151
|
+
left:0;
|
|
152
|
+
width:100%;
|
|
153
|
+
z-index:10;
|
|
154
|
+
// font-size:0.9em;
|
|
155
|
+
@include rounded(0 0 $radius $radius);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
%dropdown-list-item {
|
|
159
|
+
display:block;
|
|
160
|
+
%dropdown-menu-item {
|
|
161
|
+
display:block;
|
|
162
|
+
padding:0.5em 1em;
|
|
163
|
+
border:none;
|
|
164
|
+
color:$font-color;
|
|
165
|
+
text-shadow:none;
|
|
166
|
+
text-decoration:none;
|
|
167
|
+
&:hover, &:focus {
|
|
168
|
+
background:#efefef;
|
|
169
|
+
}
|
|
170
|
+
&%disabled {
|
|
171
|
+
@include state(disabled,textOnly);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
&:last-child {
|
|
175
|
+
@include rounded(0 0 $radius $radius);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
%dropdown-divider {
|
|
180
|
+
margin:0;
|
|
181
|
+
border-color:#ececec;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
%button-list {
|
|
185
|
+
list-style:none;
|
|
186
|
+
margin:0;
|
|
187
|
+
padding:0;
|
|
188
|
+
&:after {
|
|
189
|
+
content:'';
|
|
190
|
+
display:block;
|
|
191
|
+
clear:both;
|
|
192
|
+
}
|
|
193
|
+
li {
|
|
194
|
+
display:block;
|
|
195
|
+
float:left;
|
|
196
|
+
margin:0;
|
|
197
|
+
border-radius:0;
|
|
198
|
+
&:first-child a {
|
|
199
|
+
border-radius:$radius 0 0 $radius;
|
|
200
|
+
}
|
|
201
|
+
&:last-child a {
|
|
202
|
+
border-radius:0 $radius $radius 0;
|
|
203
|
+
}
|
|
204
|
+
a {
|
|
205
|
+
display:block;
|
|
206
|
+
word-wrap:break-word;
|
|
207
|
+
padding:0.25em 1em;
|
|
208
|
+
background:$button-color;
|
|
209
|
+
border:1px solid $button-active;
|
|
210
|
+
color:$button-text;
|
|
211
|
+
font-weight:bold;
|
|
212
|
+
// font-size:1em;
|
|
213
|
+
text-decoration:none;
|
|
214
|
+
cursor:pointer;
|
|
215
|
+
line-height:1.5;
|
|
216
|
+
@include transition(background-color 0.25s ease-out);
|
|
217
|
+
&:hover, &:focus {
|
|
218
|
+
background:$button-active;
|
|
219
|
+
text-decoration:none;
|
|
220
|
+
color:$button-active-text;
|
|
221
|
+
border:1px solid $button-active;
|
|
222
|
+
}
|
|
223
|
+
&%active, &%active:hover, &%active:focus {
|
|
224
|
+
background:$button-active;
|
|
225
|
+
color:$button-active-text;
|
|
226
|
+
}
|
|
227
|
+
&%disabled {
|
|
228
|
+
@include state(disabled,normal,desaturate($button-color,20%));
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@mixin button_modifiers() {
|
|
235
|
+
$modifiers: small large on active disabled info alert warning error success square round block;
|
|
236
|
+
@for $i from 1 through length($modifiers) {
|
|
237
|
+
&.#{nth($modifiers, $i)} {
|
|
238
|
+
@extend %button-#{nth($modifiers, $i)};
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
// modifier colors
|
|
242
|
+
@for $i from 1 through length($modifier-name) {
|
|
243
|
+
&.#{nth($modifier-name, $i)} {
|
|
244
|
+
@extend %button-#{nth($modifier-name, $i)};
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@if $tags {
|
|
250
|
+
button,
|
|
251
|
+
input[type=submit],
|
|
252
|
+
input[type=button],
|
|
253
|
+
input[type=reset] {
|
|
254
|
+
@extend %button;
|
|
255
|
+
|
|
256
|
+
@if $classes {
|
|
257
|
+
@include button_modifiers;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@if $classes {
|
|
262
|
+
button {
|
|
263
|
+
&.dropdown {
|
|
264
|
+
@extend %dropdown-button;
|
|
265
|
+
&.on {
|
|
266
|
+
ul {
|
|
267
|
+
@extend %block;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
ul {
|
|
271
|
+
@extend %dropdown-list;
|
|
272
|
+
li {
|
|
273
|
+
@extend %dropdown-list-item;
|
|
274
|
+
a, a:visited {
|
|
275
|
+
@extend %dropdown-menu-item;
|
|
276
|
+
}
|
|
277
|
+
hr {
|
|
278
|
+
@extend %dropdown-divider;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
@if $classes {
|
|
288
|
+
.button,
|
|
289
|
+
a.button,
|
|
290
|
+
a.button:visited {
|
|
291
|
+
@extend %button;
|
|
292
|
+
@include button_modifiers;
|
|
293
|
+
&.dropdown {
|
|
294
|
+
@extend %dropdown-button;
|
|
295
|
+
&.on {
|
|
296
|
+
ul {
|
|
297
|
+
@extend %block;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
ul {
|
|
301
|
+
@extend %dropdown-list;
|
|
302
|
+
li {
|
|
303
|
+
@extend %dropdown-list-item;
|
|
304
|
+
a, a:visited {
|
|
305
|
+
@extend %dropdown-menu-item;
|
|
306
|
+
}
|
|
307
|
+
hr {
|
|
308
|
+
@extend %dropdown-divider;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
ul.button-list,
|
|
315
|
+
ol.button-list {
|
|
316
|
+
@extend %button-list;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@if $aria {
|
|
321
|
+
[role~=button] {
|
|
322
|
+
@extend %button;
|
|
323
|
+
|
|
324
|
+
@if $classes {
|
|
325
|
+
@include button_modifiers;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
%nav {
|
|
16
16
|
@extend %clear;
|
|
17
|
-
&:not(.inline) {
|
|
17
|
+
&:not(.inline):not(.pagination) {
|
|
18
18
|
> ul:not(.row) {
|
|
19
19
|
display:inline-block;
|
|
20
20
|
}
|
|
@@ -265,8 +265,8 @@
|
|
|
265
265
|
// hamburger menu
|
|
266
266
|
&.menu {
|
|
267
267
|
.menu-toggle {
|
|
268
|
-
@extend
|
|
269
|
-
display:none
|
|
268
|
+
@extend %button;
|
|
269
|
+
display:none;
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -282,7 +282,8 @@
|
|
|
282
282
|
padding:0 3px 0 2px;
|
|
283
283
|
min-width:29px;
|
|
284
284
|
a {
|
|
285
|
-
display:block;
|
|
285
|
+
display:inline-block;
|
|
286
|
+
width:auto;
|
|
286
287
|
background:$button-color;
|
|
287
288
|
font-size:1em;
|
|
288
289
|
line-height:1.5;
|
|
@@ -291,7 +292,7 @@
|
|
|
291
292
|
text-decoration:none;
|
|
292
293
|
text-align:center;
|
|
293
294
|
padding:0 3px;
|
|
294
|
-
@include rounded(
|
|
295
|
+
@include rounded($radius);
|
|
295
296
|
&:hover, &:focus {
|
|
296
297
|
background:$button-active;
|
|
297
298
|
color:$button-text;
|
|
@@ -378,11 +379,13 @@
|
|
|
378
379
|
}
|
|
379
380
|
}
|
|
380
381
|
}
|
|
382
|
+
|
|
381
383
|
@if $tags {
|
|
382
384
|
nav {
|
|
383
385
|
@extend %nav;
|
|
384
386
|
}
|
|
385
387
|
}
|
|
388
|
+
|
|
386
389
|
@if $classes {
|
|
387
390
|
.nav {
|
|
388
391
|
@extend %nav;
|