groundworkcss 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -33
- data/lib/groundworkcss/generators/install_generator.rb +1 -1
- data/lib/groundworkcss/version.rb +1 -1
- data/vendor/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +153 -38
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
- data/vendor/assets/stylesheets/groundworkcss/_settings.scss +301 -1
- data/vendor/assets/stylesheets/groundworkcss/base/{_all.scss → _all-base.scss} +2 -3
- data/vendor/assets/stylesheets/groundworkcss/base/_animations.scss +1 -1
- data/vendor/assets/stylesheets/groundworkcss/base/_global.scss +4 -23
- data/vendor/assets/stylesheets/groundworkcss/base/_grid.scss +53 -26
- data/vendor/assets/stylesheets/groundworkcss/base/_helpers.scss +105 -56
- data/vendor/assets/stylesheets/groundworkcss/base/_reset.scss +34 -34
- data/vendor/assets/stylesheets/groundworkcss/core/{_all.scss → _all-core.scss} +1 -1
- data/vendor/assets/stylesheets/groundworkcss/core/_breakpoints.scss +22 -0
- data/vendor/assets/stylesheets/groundworkcss/core/_defaults.scss +196 -93
- data/vendor/assets/stylesheets/groundworkcss/core/_mixins.scss +132 -131
- data/vendor/assets/stylesheets/groundworkcss/form/_all-form.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss/form/_forms.scss +57 -112
- data/vendor/assets/stylesheets/groundworkcss/form/_tiles.scss +9 -11
- data/vendor/assets/stylesheets/groundworkcss/groundwork-ie.scss +7 -8
- data/vendor/assets/stylesheets/groundworkcss/groundwork.scss +11 -14
- data/vendor/assets/stylesheets/groundworkcss/nav/_all-nav.scss +12 -0
- data/vendor/assets/stylesheets/groundworkcss/nav/_buttons.scss +22 -15
- data/vendor/assets/stylesheets/groundworkcss/nav/_navigation.scss +26 -29
- data/vendor/assets/stylesheets/groundworkcss/nav/_tabs.scss +39 -37
- data/vendor/assets/stylesheets/groundworkcss/responsive/_all-responsive.scss +14 -0
- data/vendor/assets/stylesheets/groundworkcss/responsive/_desktop.scss +5 -3
- data/vendor/assets/stylesheets/groundworkcss/responsive/_ipad.scss +5 -3
- data/vendor/assets/stylesheets/groundworkcss/responsive/_mobile.scss +6 -4
- data/vendor/assets/stylesheets/groundworkcss/responsive/_small-tablet.scss +20 -16
- data/vendor/assets/stylesheets/groundworkcss/social-icons-png.scss +295 -0
- data/vendor/assets/stylesheets/groundworkcss/{misc/_social-icons.scss → social-icons-svg.scss} +8 -5
- data/vendor/assets/stylesheets/groundworkcss/type/{_all.scss → _all-type.scss} +0 -1
- data/vendor/assets/stylesheets/groundworkcss/type/_typography.scss +168 -161
- data/vendor/assets/stylesheets/groundworkcss/type/_webfonts.scss +1 -1
- data/vendor/assets/stylesheets/groundworkcss/ui/_all-ui.scss +14 -0
- data/vendor/assets/stylesheets/groundworkcss/ui/_callouts.scss +31 -18
- data/vendor/assets/stylesheets/groundworkcss/ui/_messages.scss +31 -18
- data/vendor/assets/stylesheets/groundworkcss/ui/_modals.scss +6 -8
- data/vendor/assets/stylesheets/groundworkcss/ui/_tables.scss +6 -5
- data/vendor/assets/stylesheets/groundworkcss/ui/_tooltips.scss +15 -14
- metadata +28 -25
- checksums.yaml +0 -7
- data/vendor/assets/stylesheets/groundworkcss/_rails-settings.scss +0 -202
- data/vendor/assets/stylesheets/groundworkcss/font-awesome-ie7.min.css +0 -22
- data/vendor/assets/stylesheets/groundworkcss/form/_all.scss +0 -10
- data/vendor/assets/stylesheets/groundworkcss/index.scss +0 -3
- data/vendor/assets/stylesheets/groundworkcss/magnific-popup.css +0 -393
- data/vendor/assets/stylesheets/groundworkcss/misc/_all.scss +0 -9
- data/vendor/assets/stylesheets/groundworkcss/nav/_all.scss +0 -11
- data/vendor/assets/stylesheets/groundworkcss/no-svg.scss +0 -355
- data/vendor/assets/stylesheets/groundworkcss/placeholder_polyfill.css +0 -32
- data/vendor/assets/stylesheets/groundworkcss/responsive/_all.scss +0 -13
- data/vendor/assets/stylesheets/groundworkcss/type/_font-awesome.scss +0 -542
- data/vendor/assets/stylesheets/groundworkcss/ui/_all.scss +0 -13
@@ -0,0 +1,12 @@
|
|
1
|
+
// =============================================
|
2
|
+
// Navigation
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
// navigation components
|
10
|
+
@import "buttons"; // optional (required by navigation)
|
11
|
+
@import "navigation"; // optional
|
12
|
+
@import "tabs"; // optional
|
@@ -22,12 +22,15 @@
|
|
22
22
|
height:auto;
|
23
23
|
text-align:center;
|
24
24
|
@include transition(background-color 0.25s ease-out);
|
25
|
-
@include rounded($radius);
|
25
|
+
@include rounded($default-radius);
|
26
26
|
&:hover, &:focus {
|
27
27
|
background:$button-active;
|
28
28
|
text-decoration:none;
|
29
29
|
color:$button-active-text;
|
30
30
|
}
|
31
|
+
.block {
|
32
|
+
@extend %button-block;
|
33
|
+
}
|
31
34
|
}
|
32
35
|
|
33
36
|
%button-on {
|
@@ -155,8 +158,8 @@
|
|
155
158
|
left:0;
|
156
159
|
width:100%;
|
157
160
|
z-index:10;
|
158
|
-
@include
|
159
|
-
@include rounded(0 0 $radius $radius);
|
161
|
+
@include box-shadow(rgba(0,0,0,0.25), 5px, 0, 0);
|
162
|
+
@include rounded(0 0 $default-radius $default-radius);
|
160
163
|
}
|
161
164
|
|
162
165
|
%dropdown-list-item {
|
@@ -176,7 +179,7 @@
|
|
176
179
|
}
|
177
180
|
}
|
178
181
|
&:last-child {
|
179
|
-
@include rounded(0 0 $radius $radius);
|
182
|
+
@include rounded(0 0 $default-radius $default-radius);
|
180
183
|
}
|
181
184
|
}
|
182
185
|
|
@@ -200,10 +203,10 @@
|
|
200
203
|
margin:0;
|
201
204
|
border-radius:0;
|
202
205
|
&:first-child a {
|
203
|
-
border-radius:$radius 0 0 $radius;
|
206
|
+
border-radius:$default-radius 0 0 $default-radius;
|
204
207
|
}
|
205
208
|
&:last-child a {
|
206
|
-
border-radius:0 $radius $radius 0;
|
209
|
+
border-radius:0 $default-radius $default-radius 0;
|
207
210
|
}
|
208
211
|
a {
|
209
212
|
display:block;
|
@@ -235,10 +238,14 @@
|
|
235
238
|
}
|
236
239
|
|
237
240
|
@mixin button_modifiers() {
|
238
|
-
$
|
239
|
-
|
240
|
-
|
241
|
-
|
241
|
+
@for $i from 1 through length($button-states) {
|
242
|
+
&.#{nth($button-states, $i)} {
|
243
|
+
@extend %button-#{nth($button-states, $i)};
|
244
|
+
}
|
245
|
+
}
|
246
|
+
@for $i from 1 through length($button-modifiers) {
|
247
|
+
&.#{nth($button-modifiers, $i)} {
|
248
|
+
@extend %button-#{nth($button-modifiers, $i)};
|
242
249
|
}
|
243
250
|
}
|
244
251
|
// modifier colors
|
@@ -249,14 +256,14 @@
|
|
249
256
|
}
|
250
257
|
}
|
251
258
|
|
252
|
-
@if $tags {
|
259
|
+
@if $button-tags {
|
253
260
|
button,
|
254
261
|
input[type=submit],
|
255
262
|
input[type=button],
|
256
263
|
input[type=reset] {
|
257
264
|
@extend %button;
|
258
265
|
|
259
|
-
@if $classes {
|
266
|
+
@if $button-classes {
|
260
267
|
@include button_modifiers;
|
261
268
|
}
|
262
269
|
}
|
@@ -284,7 +291,7 @@
|
|
284
291
|
}
|
285
292
|
}
|
286
293
|
|
287
|
-
@if $classes {
|
294
|
+
@if $button-classes {
|
288
295
|
.button,
|
289
296
|
a.button,
|
290
297
|
a.button:visited {
|
@@ -323,11 +330,11 @@
|
|
323
330
|
}
|
324
331
|
}
|
325
332
|
|
326
|
-
@if $aria {
|
333
|
+
@if $aria-selectors {
|
327
334
|
[role~=button] {
|
328
335
|
@extend %button;
|
329
336
|
|
330
|
-
@if $classes {
|
337
|
+
@if $button-classes {
|
331
338
|
@include button_modifiers;
|
332
339
|
}
|
333
340
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// Navigation
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -10,7 +11,7 @@
|
|
10
11
|
}
|
11
12
|
%menu-open {
|
12
13
|
display:block;
|
13
|
-
@include filter-shadow(rgba(0,0,0,0.25), 5px, 0, 0);
|
14
|
+
@include filter-shadow(rgba(0,0,0,0.25), 5px, 0, 0);
|
14
15
|
}
|
15
16
|
|
16
17
|
%nav {
|
@@ -73,12 +74,8 @@
|
|
73
74
|
display:inline-block;
|
74
75
|
width:1.1em;
|
75
76
|
margin-left:0.25em;
|
76
|
-
|
77
|
-
font-weight:normal;
|
78
|
-
font-style:normal;
|
77
|
+
@include icon-FontAwesome();
|
79
78
|
font-size:1.1em;
|
80
|
-
text-decoration:inherit;
|
81
|
-
-webkit-font-smoothing:antialiased;
|
82
79
|
line-height:normal;
|
83
80
|
vertical-align:baseline;
|
84
81
|
background-image:none;
|
@@ -99,17 +96,17 @@
|
|
99
96
|
}
|
100
97
|
&:first-child {
|
101
98
|
a {
|
102
|
-
@include rounded($radius $radius 0 0);
|
99
|
+
@include rounded($default-radius $default-radius 0 0);
|
103
100
|
}
|
104
101
|
}
|
105
102
|
&:last-child {
|
106
103
|
a {
|
107
|
-
@include rounded(0 0 $radius $radius);
|
104
|
+
@include rounded(0 0 $default-radius $default-radius);
|
108
105
|
}
|
109
106
|
}
|
110
107
|
&:only-child {
|
111
108
|
a {
|
112
|
-
@include rounded($radius);
|
109
|
+
@include rounded($default-radius);
|
113
110
|
}
|
114
111
|
}
|
115
112
|
}
|
@@ -136,17 +133,17 @@
|
|
136
133
|
&:first-child {
|
137
134
|
a {
|
138
135
|
border-top:none;
|
139
|
-
@include rounded(0 $radius 0 0);
|
136
|
+
@include rounded(0 $default-radius 0 0);
|
140
137
|
}
|
141
138
|
}
|
142
139
|
&:last-child {
|
143
140
|
a {
|
144
|
-
@include rounded(0 0 $radius $radius);
|
141
|
+
@include rounded(0 0 $default-radius $default-radius);
|
145
142
|
}
|
146
143
|
}
|
147
144
|
&:only-child {
|
148
145
|
a {
|
149
|
-
@include rounded(0 $radius $radius 0);
|
146
|
+
@include rounded(0 $default-radius $default-radius 0);
|
150
147
|
}
|
151
148
|
}
|
152
149
|
}
|
@@ -162,17 +159,17 @@
|
|
162
159
|
&:first-child {
|
163
160
|
a {
|
164
161
|
border-left:none;
|
165
|
-
@include rounded($radius 0 0 $radius);
|
162
|
+
@include rounded($default-radius 0 0 $default-radius);
|
166
163
|
}
|
167
164
|
}
|
168
165
|
&:last-child {
|
169
166
|
a {
|
170
|
-
@include rounded(0 $radius $radius 0);
|
167
|
+
@include rounded(0 $default-radius $default-radius 0);
|
171
168
|
}
|
172
169
|
}
|
173
170
|
&:only-child {
|
174
171
|
a {
|
175
|
-
@include rounded($radius);
|
172
|
+
@include rounded($default-radius);
|
176
173
|
}
|
177
174
|
}
|
178
175
|
}
|
@@ -196,7 +193,7 @@
|
|
196
193
|
}
|
197
194
|
&:last-child {
|
198
195
|
a {
|
199
|
-
@include rounded(0 0 $radius $radius);
|
196
|
+
@include rounded(0 0 $default-radius $default-radius);
|
200
197
|
}
|
201
198
|
}
|
202
199
|
}
|
@@ -220,17 +217,17 @@
|
|
220
217
|
&:first-child {
|
221
218
|
a {
|
222
219
|
border-left:none;
|
223
|
-
@include rounded($radius 0 0 $radius);
|
220
|
+
@include rounded($default-radius 0 0 $default-radius);
|
224
221
|
}
|
225
222
|
}
|
226
223
|
&:last-child {
|
227
224
|
a {
|
228
|
-
@include rounded(0 $radius $radius 0);
|
225
|
+
@include rounded(0 $default-radius $default-radius 0);
|
229
226
|
}
|
230
227
|
}
|
231
228
|
&:only-child {
|
232
229
|
a {
|
233
|
-
@include rounded($radius);
|
230
|
+
@include rounded($default-radius);
|
234
231
|
}
|
235
232
|
}
|
236
233
|
ul {
|
@@ -255,7 +252,7 @@
|
|
255
252
|
}
|
256
253
|
&:last-child {
|
257
254
|
a {
|
258
|
-
@include rounded(0 0 $radius $radius);
|
255
|
+
@include rounded(0 0 $default-radius $default-radius);
|
259
256
|
}
|
260
257
|
}
|
261
258
|
}
|
@@ -279,7 +276,7 @@
|
|
279
276
|
list-style-type:none;
|
280
277
|
li {
|
281
278
|
display:inline-block;
|
282
|
-
@include rounded($radius);
|
279
|
+
@include rounded($default-radius);
|
283
280
|
padding:0 3px 0 2px;
|
284
281
|
min-width:29px;
|
285
282
|
a, a:visited {
|
@@ -293,7 +290,7 @@
|
|
293
290
|
text-decoration:none;
|
294
291
|
text-align:center;
|
295
292
|
padding:0 3px;
|
296
|
-
@include rounded($radius);
|
293
|
+
@include rounded($default-radius);
|
297
294
|
&:hover, &:focus {
|
298
295
|
background:$button-active;
|
299
296
|
color:$button-text;
|
@@ -324,12 +321,12 @@
|
|
324
321
|
}
|
325
322
|
&:first-child {
|
326
323
|
a {
|
327
|
-
@include rounded($radius);
|
324
|
+
@include rounded($default-radius);
|
328
325
|
}
|
329
326
|
}
|
330
327
|
&:last-child {
|
331
328
|
a {
|
332
|
-
@include rounded($radius);
|
329
|
+
@include rounded($default-radius);
|
333
330
|
}
|
334
331
|
}
|
335
332
|
}
|
@@ -381,13 +378,13 @@
|
|
381
378
|
}
|
382
379
|
}
|
383
380
|
|
384
|
-
@if $tags {
|
381
|
+
@if $nav-tags {
|
385
382
|
nav {
|
386
383
|
@extend %nav;
|
387
384
|
}
|
388
385
|
}
|
389
386
|
|
390
|
-
@if $classes {
|
387
|
+
@if $nav-classes {
|
391
388
|
.nav {
|
392
389
|
@extend %nav;
|
393
390
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// Tabs
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -28,7 +29,7 @@
|
|
28
29
|
&.pull-left { float:left; }
|
29
30
|
&:first-child {
|
30
31
|
margin-left:0;
|
31
|
-
a
|
32
|
+
a, a:visited {
|
32
33
|
&:before {
|
33
34
|
display:none;
|
34
35
|
}
|
@@ -52,7 +53,7 @@
|
|
52
53
|
line-height:1.5;
|
53
54
|
height:2em;
|
54
55
|
@include transition(background-color 0.25s ease-out);
|
55
|
-
@include rounded($radius $radius 0 0);
|
56
|
+
@include rounded($default-radius $default-radius 0 0);
|
56
57
|
&:hover, &:focus {
|
57
58
|
background:$button-active;
|
58
59
|
border:1px solid $button-active;
|
@@ -111,7 +112,7 @@
|
|
111
112
|
display:none;
|
112
113
|
padding:$gutter * 2;
|
113
114
|
background:$background-color;
|
114
|
-
@include rounded(0 0 $radius $radius);
|
115
|
+
@include rounded(0 0 $default-radius $default-radius);
|
115
116
|
*:first-child {
|
116
117
|
margin-top:0;
|
117
118
|
}
|
@@ -129,14 +130,14 @@
|
|
129
130
|
width:20%;
|
130
131
|
background:$button-active;
|
131
132
|
border-bottom:1px solid $button-active;
|
132
|
-
@include rounded($radius 0 0 $radius);
|
133
|
+
@include rounded($default-radius 0 0 $default-radius);
|
133
134
|
}
|
134
135
|
%vertical-tabs {
|
135
136
|
float:none;
|
136
137
|
margin:0 -1px 0 0;
|
137
138
|
&:first-child {
|
138
139
|
a {
|
139
|
-
@include rounded($radius 0 0 0);
|
140
|
+
@include rounded($default-radius 0 0 0);
|
140
141
|
}
|
141
142
|
}
|
142
143
|
}
|
@@ -162,58 +163,56 @@
|
|
162
163
|
position:relative;
|
163
164
|
left:20%;
|
164
165
|
width:80%;
|
165
|
-
@include rounded(0 $radius $radius 0);
|
166
|
+
@include rounded(0 $default-radius $default-radius 0);
|
166
167
|
}
|
167
168
|
|
168
|
-
@if $classes {
|
169
|
+
@if $tab-classes {
|
169
170
|
.tabs {
|
170
171
|
@extend %tabs;
|
171
|
-
|
172
|
-
|
172
|
+
|
173
|
+
> ul, > ol {
|
174
|
+
@extend %tablist;
|
175
|
+
li {
|
176
|
+
@extend %tab;
|
177
|
+
a, a:visited {
|
178
|
+
@extend %tab-link;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
> div {
|
183
|
+
@extend %tabpanel;
|
184
|
+
}
|
185
|
+
&.vertical {
|
186
|
+
@extend %vertical-tabs;
|
173
187
|
> ul, > ol {
|
174
|
-
@extend %tablist;
|
188
|
+
@extend %vertical-tablist;
|
175
189
|
li {
|
176
|
-
@extend %
|
190
|
+
@extend %vertical-tabs;
|
177
191
|
a, a:visited {
|
178
|
-
@extend %tab-link;
|
192
|
+
@extend %vertical-tab-link;
|
179
193
|
}
|
180
194
|
}
|
181
195
|
}
|
182
196
|
> div {
|
183
|
-
@extend %tabpanel;
|
197
|
+
@extend %vertical-tabpanel;
|
184
198
|
}
|
185
|
-
|
186
|
-
|
187
|
-
|
199
|
+
|
200
|
+
@if $aria-selectors {
|
201
|
+
[role~=tablist] {
|
188
202
|
@extend %vertical-tablist;
|
189
|
-
|
203
|
+
[role~=tab] {
|
190
204
|
@extend %vertical-tabs;
|
191
|
-
a, a:visited {
|
192
|
-
@extend %vertical-tab-link;
|
193
|
-
}
|
194
205
|
}
|
195
206
|
}
|
196
|
-
|
207
|
+
[role~=tabpanel] {
|
197
208
|
@extend %vertical-tabpanel;
|
198
209
|
}
|
199
|
-
|
200
|
-
@if $aria {
|
201
|
-
[role~=tablist] {
|
202
|
-
@extend %vertical-tablist;
|
203
|
-
[role~=tab] {
|
204
|
-
@extend %vertical-tabs;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
[role~=tabpanel] {
|
208
|
-
@extend %vertical-tabpanel;
|
209
|
-
}
|
210
|
-
}
|
211
210
|
}
|
212
211
|
}
|
213
212
|
}
|
214
213
|
}
|
215
214
|
|
216
|
-
@if $aria {
|
215
|
+
@if $aria-selectors {
|
217
216
|
[role~=tabpanel] {
|
218
217
|
@extend %tabs;
|
219
218
|
[role~=tablist] {
|
@@ -221,6 +220,9 @@
|
|
221
220
|
background:none;
|
222
221
|
[role~=tab] {
|
223
222
|
@extend %tab;
|
223
|
+
a, a:visited {
|
224
|
+
@extend %tab-link;
|
225
|
+
}
|
224
226
|
}
|
225
227
|
}
|
226
228
|
[role~=tabpanel] {
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// =============================================
|
2
|
+
// Responsive
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
// responsive adjustments
|
10
|
+
@import "helpers";
|
11
|
+
@import "desktop";
|
12
|
+
@import "ipad";
|
13
|
+
@import "small-tablet";
|
14
|
+
@import "mobile";
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// Desktop
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -21,6 +22,7 @@
|
|
21
22
|
///////////////////////
|
22
23
|
// desktop //
|
23
24
|
///////////////////////
|
25
|
+
|
24
26
|
@include desktop {
|
25
27
|
// do not remove -- required for desktop helpers
|
26
28
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// iPad
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -23,6 +24,7 @@
|
|
23
24
|
///////////////////////
|
24
25
|
// ipad //
|
25
26
|
///////////////////////
|
27
|
+
|
26
28
|
@include ipad {
|
27
29
|
// do not remove -- required for ipad helpers
|
28
30
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// Mobile
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -25,6 +26,7 @@
|
|
25
26
|
///////////////////////
|
26
27
|
// mobile //
|
27
28
|
///////////////////////
|
29
|
+
|
28
30
|
@include mobile {
|
29
31
|
.tabs:not(.mobile) {
|
30
32
|
> ul {
|
@@ -36,7 +38,7 @@
|
|
36
38
|
border-bottom:none;
|
37
39
|
}
|
38
40
|
&:first-child a {
|
39
|
-
@include rounded($radius $radius 0 0);
|
41
|
+
@include rounded($default-radius $default-radius 0 0);
|
40
42
|
}
|
41
43
|
}
|
42
44
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// =============================================
|
2
|
+
// Small Tablet
|
3
|
+
// Last Updated:2013-6-25
|
4
|
+
// =============================================
|
4
5
|
|
5
6
|
|
6
7
|
|
@@ -25,6 +26,7 @@
|
|
25
26
|
///////////////////////
|
26
27
|
// small tablet //
|
27
28
|
///////////////////////
|
29
|
+
|
28
30
|
@include small-tablet {
|
29
31
|
%nav-not-pagination {
|
30
32
|
width:100%;
|
@@ -34,17 +36,17 @@
|
|
34
36
|
width:100% !important;
|
35
37
|
&:first-child {
|
36
38
|
> a {
|
37
|
-
@include rounded($radius $radius 0 0);
|
39
|
+
@include rounded($default-radius $default-radius 0 0);
|
38
40
|
}
|
39
41
|
}
|
40
42
|
&:last-child {
|
41
43
|
> a {
|
42
|
-
@include rounded(0 0 $radius $radius);
|
44
|
+
@include rounded(0 0 $default-radius $default-radius);
|
43
45
|
}
|
44
46
|
}
|
45
47
|
&:only-child {
|
46
48
|
> a {
|
47
|
-
@include rounded($radius);
|
49
|
+
@include rounded($default-radius);
|
48
50
|
}
|
49
51
|
}
|
50
52
|
a {
|
@@ -68,18 +70,18 @@
|
|
68
70
|
}
|
69
71
|
&:first-child {
|
70
72
|
a {
|
71
|
-
@include rounded($radius $radius 0 0);
|
73
|
+
@include rounded($default-radius $default-radius 0 0);
|
72
74
|
}
|
73
75
|
}
|
74
76
|
&:last-child {
|
75
77
|
a {
|
76
|
-
@include rounded(0 0 $radius $radius);
|
78
|
+
@include rounded(0 0 $default-radius $default-radius);
|
77
79
|
}
|
78
80
|
ul {
|
79
81
|
li {
|
80
82
|
&:last-child {
|
81
83
|
a {
|
82
|
-
@include rounded(0 0 $radius $radius);
|
84
|
+
@include rounded(0 0 $default-radius $default-radius);
|
83
85
|
}
|
84
86
|
}
|
85
87
|
}
|
@@ -87,7 +89,7 @@
|
|
87
89
|
}
|
88
90
|
&:only-child {
|
89
91
|
a {
|
90
|
-
@include rounded($radius);
|
92
|
+
@include rounded($default-radius);
|
91
93
|
}
|
92
94
|
}
|
93
95
|
}
|
@@ -106,7 +108,7 @@
|
|
106
108
|
background-color:$button-color;
|
107
109
|
padding:$gutter;
|
108
110
|
padding-bottom:0;
|
109
|
-
@include rounded($radius);
|
111
|
+
@include rounded($default-radius);
|
110
112
|
.menu-toggle {
|
111
113
|
display:inline-block !important;
|
112
114
|
float:right;
|
@@ -134,7 +136,7 @@
|
|
134
136
|
}
|
135
137
|
&:last-child {
|
136
138
|
a {
|
137
|
-
@include rounded(0 0 $radius $radius !important);
|
139
|
+
@include rounded(0 0 $default-radius $default-radius !important);
|
138
140
|
}
|
139
141
|
}
|
140
142
|
ul {
|
@@ -162,18 +164,18 @@
|
|
162
164
|
}
|
163
165
|
}
|
164
166
|
&:first-child a {
|
165
|
-
@include rounded($radius $radius 0 0);
|
167
|
+
@include rounded($default-radius $default-radius 0 0);
|
166
168
|
}
|
167
169
|
}
|
168
170
|
}
|
169
171
|
}
|
170
172
|
|
171
|
-
@if $tags {
|
173
|
+
@if $nav-tags {
|
172
174
|
nav:not(.pagination) {
|
173
175
|
@extend %nav-not-pagination;
|
174
176
|
}
|
175
177
|
|
176
|
-
@if $classes {
|
178
|
+
@if $nav-classes {
|
177
179
|
nav.inline {
|
178
180
|
@extend %nav-not-pagination;
|
179
181
|
}
|
@@ -182,13 +184,15 @@
|
|
182
184
|
}
|
183
185
|
}
|
184
186
|
}
|
185
|
-
@if $classes {
|
187
|
+
@if $nav-classes {
|
186
188
|
.nav, .nav.inline {
|
187
189
|
@extend %nav-not-pagination;
|
188
190
|
}
|
189
191
|
.nav.menu {
|
190
192
|
@extend %nav-menu-not-pagination;
|
191
193
|
}
|
194
|
+
}
|
195
|
+
@if $tab-classes {
|
192
196
|
.tabs:not(.small-tablet):not(.mobile):not(.vertical) {
|
193
197
|
@extend %normal-tabs;
|
194
198
|
}
|