rapido-css 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +15 -0
  2. data/README.md +44 -9
  3. data/stylesheets/_default-styles.scss +309 -138
  4. data/stylesheets/_functions.scss +67 -4
  5. data/stylesheets/_normalize.scss +39 -513
  6. data/stylesheets/_rapido.scss +17 -8
  7. data/stylesheets/_susy.scss +2 -5
  8. data/stylesheets/components/_alerts.scss +39 -5
  9. data/stylesheets/components/_breadcrumbs.scss +21 -4
  10. data/stylesheets/components/_button-groups.scss +42 -17
  11. data/stylesheets/components/_buttons.scss +69 -29
  12. data/stylesheets/components/_captions.scss +38 -19
  13. data/stylesheets/components/_close.scss +14 -3
  14. data/stylesheets/components/_dropdowns.scss +76 -28
  15. data/stylesheets/components/_forms.scss +477 -350
  16. data/stylesheets/components/_grids.scss +86 -0
  17. data/stylesheets/components/_labels.scss +26 -4
  18. data/stylesheets/components/_modals.scss +122 -38
  19. data/stylesheets/components/_navs.scss +51 -21
  20. data/stylesheets/components/_pager.scss +55 -10
  21. data/stylesheets/components/_pagination.scss +40 -25
  22. data/stylesheets/components/_responsive-navs.scss +141 -28
  23. data/stylesheets/components/_sliders.scss +45 -26
  24. data/stylesheets/components/_tables.scss +43 -16
  25. data/stylesheets/components/_tabs.scss +47 -9
  26. data/stylesheets/components/_type.scss +139 -73
  27. data/stylesheets/settings/_base.scss +73 -27
  28. data/stylesheets/settings/_colors.scss +43 -16
  29. data/stylesheets/settings/_components.scss +102 -43
  30. data/stylesheets/settings/_dimensions.scss +273 -92
  31. data/stylesheets/settings/_effects.scss +20 -12
  32. data/stylesheets/styleguide.md +33 -0
  33. data/stylesheets/utilities/_animations.scss +150 -129
  34. data/stylesheets/utilities/_debug.scss +29 -3
  35. data/stylesheets/utilities/_helper-classes.scss +135 -18
  36. data/stylesheets/utilities/_icon-fonts.scss +77 -80
  37. data/stylesheets/utilities/_mixins.scss +385 -63
  38. metadata +6 -13
  39. data/stylesheets/components/config.rb +0 -8
  40. data/stylesheets/settings/config.rb +0 -8
  41. data/stylesheets/utilities/_media-queries.scss +0 -50
  42. data/stylesheets/utilities/_sprites.scss +0 -22
  43. data/stylesheets/utilities/config.rb +0 -8
@@ -1,8 +1,34 @@
1
+ /* ====================================================================================================================
2
+
3
+ Default Styles
4
+
5
+ One of the main reason of the existence of Rapido is because I wanted to separate pure framework code form styling.
6
+ Every component refer to a silent class from `_default-style.scss`.
7
+
8
+ These are all the classes available by default, others can be added or removed based on what component you want
9
+ to enable or disable.
10
+
11
+ Styleguide 30
12
+
13
+ ==================================================================================================================== */
1
14
 
2
15
  @if $default-styles {
3
16
 
4
- // Titles
5
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
17
+ /* --------------------------------------------------------------------------------------------------------------------
18
+
19
+ Titles
20
+
21
+ %h1 # For <h1>
22
+ %h2 # For <h2>
23
+ %h3 # For <h3>
24
+ %h4 # For <h4>
25
+ %h5 # For <h5>
26
+ %h6 # For <h6>
27
+
28
+ Styleguide 30.1
29
+
30
+ -------------------------------------------------------------------------------------------------------------------- */
31
+
6
32
  %h1 {}
7
33
  %h2 {}
8
34
  %h3 {}
@@ -10,8 +36,18 @@
10
36
  %h5 {}
11
37
  %h6 {}
12
38
 
13
- // Inputs
14
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
39
+ /* --------------------------------------------------------------------------------------------------------------------
40
+
41
+ Inputs and Selects
42
+
43
+ %input # For the <input> and <textarea>
44
+ %input-addon # For the addon texts in forms
45
+ %select # Custom select style, by default it use %input
46
+
47
+ Styleguide 30.2
48
+
49
+ -------------------------------------------------------------------------------------------------------------------- */
50
+
15
51
  %input {
16
52
  border-color: $gray;
17
53
  background-color: $grayLighter;
@@ -29,58 +65,62 @@
29
65
  background-color: $grayLighter;
30
66
  }
31
67
 
32
- // Selects
33
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
68
+ %select {
69
+ @extend %input;
70
+ }
34
71
 
35
- %select {
36
- @extend %input;
37
- }
72
+ /* --------------------------------------------------------------------------------------------------------------------
38
73
 
39
- // Buttons
40
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
74
+ Buttons
75
+
76
+ %btn--default # Default button colors
77
+ %btn--primary # Default color for primary buttons
78
+ %btn--secondary # Default color for secondary buttons
79
+ %btn--scripts # Default buttons color for buttons used in scripts (slides, modals)
80
+
81
+ %btn__disabled # For disabled button
82
+ %btn__current # For current button (es. used in Pagination)
83
+
84
+ Styleguide 30.3
41
85
 
42
- // Default
43
- %btn {
86
+ -------------------------------------------------------------------------------------------------------------------- */
87
+
88
+ // Default
89
+ %btn--default {
44
90
  color: $text-color;
45
91
  border-color: $gray;
46
92
  background-color: $grayLight;
47
93
  @include box-shadow(inset 0 1px 0 rgba(255,255,255,.5));
48
94
  @include background-image(linear-gradient(bottom, $grayLight 0%, $grayLighter 100%));
49
95
 
50
- // color: #FFF;
51
- // border-color: $link-color;
52
- // background-color: $link-color;
53
- // @include box-shadow(inset 0 1px 0 rgba(255,255,255, .4));
54
- // @include background-image(linear-gradient(bottom, $link-color-hover 0%, $link-color 100%));
55
-
56
96
  // Hover/focus state
57
97
  &:hover,
98
+ &.hover,
58
99
  &:focus {
100
+ color: inherit;
59
101
  @include background-image(linear-gradient(bottom, $grayLight 0%, $white 100%));
60
- // @include background-image(linear-gradient(bottom, $link-color-hover 0%, lighten($link-color, 10) 100%));
61
102
  }
62
103
 
63
104
  // Active state
64
105
  &.active,
65
106
  &:active {
66
107
  @include background-image(linear-gradient(top, $grayLight 0%, $grayLighter 100%));
67
- // @include background-image(linear-gradient(top, $link-color-hover 0%, $link-color 100%));
68
108
  }
69
109
  }
70
110
 
71
- %btn_disabled {
111
+ %btn__disabled {
72
112
  color: $grayLight;
73
113
  border-color: $grayLight;
74
114
  background: #FFF;
75
115
  }
76
116
 
77
- %btn_current {
117
+ %btn__current {
78
118
  @include box-shadow(0 0 0);
79
119
  background: $gray;
80
120
  color: $white;
81
121
  }
82
122
 
83
- %btn-primary {
123
+ %btn--primary {
84
124
  color: #fff;
85
125
  border-color: darken(green, 10%);
86
126
  background-color: green;
@@ -88,7 +128,9 @@
88
128
 
89
129
  // Hover/focus state
90
130
  &:hover,
131
+ &.hover,
91
132
  &:focus {
133
+ color: #fff;
92
134
  @include background-image(linear-gradient(bottom, darken(green, 10%) 0%, lighten(green, 6) 100%));
93
135
  }
94
136
 
@@ -99,7 +141,7 @@
99
141
  }
100
142
  }
101
143
 
102
- %btn-secondary {
144
+ %btn--secondary {
103
145
  color: #fff;
104
146
  border-color: darken(red, 10%);
105
147
  background-color: red;
@@ -107,25 +149,22 @@
107
149
 
108
150
  // Hover/focus state
109
151
  &:hover,
152
+ &.hover,
110
153
  &:focus {
154
+ color: #fff;
111
155
  @include background-image(linear-gradient(bottom, darken(red, 10%) 0%, lighten(red, 20) 100%));
112
156
  }
113
157
 
114
158
  // Active state
115
159
  &.active,
160
+ &.hover,
116
161
  &:active {
117
162
  @include background-image(linear-gradient(bottom, darken(red, 10%) 0%, red 100%));
118
163
  }
119
164
  }
120
165
 
121
- %btn-warning {}
122
- %btn-danger {}
123
- %btn-info {}
124
- %btn-success {}
125
- %btn-inverse {}
126
-
127
- // Generic style for buttons used by the scripts
128
- %btn-scripts {
166
+ // Generic style for buttons For the scripts
167
+ %btn--scripts {
129
168
  @include alpha-color(#000, .6, background);
130
169
  color: #fff;
131
170
  cursor: pointer;
@@ -140,26 +179,50 @@
140
179
  }
141
180
 
142
181
 
143
- // Captions
144
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
182
+ /* --------------------------------------------------------------------------------------------------------------------
183
+
184
+ Captions
185
+
186
+ %caption # Used for the captions in .caption and modals
187
+
188
+ Styleguide 30.4
189
+
190
+ -------------------------------------------------------------------------------------------------------------------- */
191
+
145
192
  %caption {
146
193
  @include alpha-color(#000, .8, background);
147
194
  color: #fff;
148
195
  padding: $captions-padding;
149
196
  }
150
197
 
151
- // Pills (Labels & Badges)
152
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
198
+ /* --------------------------------------------------------------------------------------------------------------------
199
+
200
+ Labels (Badges & Pills)
201
+
202
+ %pill # For the .badge and .pill
203
+
204
+ Styleguide 30.5
205
+
206
+ -------------------------------------------------------------------------------------------------------------------- */
207
+
153
208
  %pill {
154
- // background-color: rgba(, );
155
209
  @include alpha-color(#000, .35);
156
- @include box-shadow(inset 0px 1px 1px rgba(0,0,0,.35));
157
- text-shadow: 0 1px 1px rgba(0,0,0,.35);
158
210
  color: $white;
159
211
  }
160
212
 
161
- // Dropdowns
162
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
213
+ /* --------------------------------------------------------------------------------------------------------------------
214
+
215
+ Dropdowns
216
+
217
+ %dropdown # For the dropdown's list
218
+ %dropdown--open # For the drodpown button in .open state
219
+
220
+ Styleguide 30.6
221
+
222
+ -------------------------------------------------------------------------------------------------------------------- */
223
+
224
+
225
+
163
226
  %dropdown {
164
227
  background: $grayLighter;
165
228
  border-color: $gray;
@@ -176,25 +239,28 @@
176
239
  }
177
240
  }
178
241
 
179
- %dropdown-open {
242
+ %dropdown--open {
180
243
  background: $grayLighter;
181
244
  border-bottom: 1px solid $grayLighter;
182
245
  }
183
246
 
184
247
 
185
- // Caret per Dropdown e Select
186
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
248
+ /* --------------------------------------------------------------------------------------------------------------------
187
249
 
188
- %caret {
189
- &:after {
190
- @include icon-font(\f078);
191
- }
192
- }
250
+ Tables
251
+
252
+ %table--bordered # For .table--bordered
253
+ %table--striped # For .table--striped
254
+ %table--hover # For .table--hover
255
+ %table--sortable # For .table--sortable
256
+
257
+ Styleguide 30.7
193
258
 
259
+ -------------------------------------------------------------------------------------------------------------------- */
194
260
 
195
- // Tables
196
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
197
- %table-bordered {
261
+
262
+
263
+ %table--bordered {
198
264
  thead {
199
265
  th, td {
200
266
  background-color: $gray;
@@ -206,11 +272,11 @@
206
272
  }
207
273
  }
208
274
 
209
- %table-striped { background-color: $grayLighter;}
275
+ %table--striped { background-color: $grayLighter;}
210
276
 
211
- %table-hover { background-color: $gray;}
277
+ %table--hover { background-color: $grayLighter;}
212
278
 
213
- %table-sortable {
279
+ %table--sortable {
214
280
  thead {
215
281
  th {
216
282
  &:hover {background: $grayDark }
@@ -220,22 +286,42 @@
220
286
  }
221
287
  }
222
288
 
223
- // Navs
224
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
225
- %nav-btn {}
289
+ /* --------------------------------------------------------------------------------------------------------------------
290
+
291
+ Navs
292
+
293
+ %nav--btn # For links in navs with .nav--btn
294
+ %nav--btn__hover # For the :hover state of %nav--btn
295
+ %nav--btn__current # For the current selected link
296
+ %nav--btn__disabled # For the disabled links
297
+
298
+ Styleguide 30.8
299
+
300
+ -------------------------------------------------------------------------------------------------------------------- */
226
301
 
227
- %nav-btn_hover { background-color: $grayLighter;}
302
+ %nav--btn {}
228
303
 
229
- %nav-btn_active {
304
+ %nav--btn__hover { background-color: $grayLighter;}
305
+
306
+ %nav--btn__active {
230
307
  color: $white;
231
308
  background-color: $link-color;
232
309
  }
233
310
 
234
- %nav-btn_disabled {color: $grayLight;}
311
+ %nav--btn__disabled {color: $grayLight;}
312
+
313
+
314
+ /* --------------------------------------------------------------------------------------------------------------------
315
+
316
+ Breadcrumbs
235
317
 
318
+ %breadcrumb # Base style of breadcrumbs
319
+ %breadcrumb__current # For the current selected link
320
+
321
+ Styleguide 30.9
322
+
323
+ -------------------------------------------------------------------------------------------------------------------- */
236
324
 
237
- // Breadcrumbs
238
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
239
325
  %breadcrumb {
240
326
  > li {
241
327
  &:after {
@@ -250,48 +336,83 @@
250
336
  }
251
337
  }
252
338
  }
253
- .active { color: $grayLight; }
254
339
  }
255
340
 
256
- // Pagination
257
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
258
- %pagination-btn { @extend %btn; }
259
- %pagination-btn_hover { }
260
- %pagination-btn_active { }
261
- %pagination-btn_current { @extend %btn_current; }
262
- %pagination-btn_disabled { @extend %btn_disabled; }
341
+ %breadcrumb__current { color: $grayLight; }
342
+
343
+ /* --------------------------------------------------------------------------------------------------------------------
344
+
345
+ Pagination
346
+
347
+ %pagination--btn # For links in .pagination
348
+ %pagination--btn__hover # For the :hover state of %pagination--btn
349
+ %pagination--btn__active # For the :active state of %pagination--btn
350
+ %pagination--btn__current # For the current selected link
351
+ %pagination--btn__disabled # For the disabled links
352
+
353
+ Styleguide 30.10
354
+
355
+ -------------------------------------------------------------------------------------------------------------------- */
356
+
263
357
 
264
- // Pager
265
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
266
- %pager-btn { @extend %btn;}
267
- %pager-btn_hover { }
268
- %pager-btn_active { }
269
- %pager-btn_disabled { @extend %btn_disabled; }
270
358
 
359
+ %pagination--btn { @extend %btn--default; }
360
+ %pagination--btn__hover { @extend %btn--default:hover;}
361
+ %pagination--btn__active { }
362
+ %pagination--btn__current { @extend %btn__current; }
363
+ %pagination--btn__disabled { @extend %btn__disabled; }
271
364
 
365
+ /* --------------------------------------------------------------------------------------------------------------------
272
366
 
273
- // Loader icon
274
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
275
- $loader-ico-size: 44px;
367
+ Pager
368
+
369
+ %pager--btn # For the links in .pager
370
+ %pager--btn__hover # For the :hover state of %pager--btn
371
+ %pager--btn__active # For the :active state of %pager--btn
372
+ %pager--btn__disabled # For the disabled links
373
+
374
+ Styleguide 30.11
375
+
376
+ -------------------------------------------------------------------------------------------------------------------- */
377
+
378
+ %pager--btn { @extend %btn--default; }
379
+ %pager--btn__hover { }
380
+ %pager--btn__active { }
381
+ %pager--btn__disabled { @extend %btn__disabled; }
382
+
383
+ /* --------------------------------------------------------------------------------------------------------------------
384
+
385
+ Modals
386
+
387
+ %modal__btn # For all button links in modals
388
+ %modal__close # For the default close button
389
+ %modal__close--alt # Alternative style for close button in iframes
390
+ %modal__btnbar-size # Width and height of #fancybox-buttons
391
+ %modal__overlay # Color of background overlay
392
+ %modal__skin # For the modal window
393
+ %modal__nav # For the Next and Prev buttons
394
+ %modal__caption # For the caption
395
+ %modal__loading # Position and style of the loading icon
396
+
397
+ Styleguide 30.12
398
+
399
+ -------------------------------------------------------------------------------------------------------------------- */
276
400
 
277
- %loader-ico { background: url('//cdn.jsdelivr.net/wp-advanced-ajax-page-loader/2.5.12/loaders/SMALL%20-%20Spinning%20Arrows.gif') center center no-repeat; }
278
401
 
279
- // Modals
280
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
281
- $modal-btn-size: em(30px);
282
402
 
283
403
  // Buttons
284
- %modal-btn {
285
- @extend %btn-scripts !optional;
404
+ %modal__btn {
405
+ @extend %btn--scripts;
286
406
  @include square($modal-btn-size);
287
407
  line-height: $modal-btn-size;
288
408
  }
289
409
 
290
- %modal-close {
291
- @include position(absolute, 0px (em(-5px) - $modal-btn-size) 0 0);
410
+ %modal__close {
411
+ $offset: -$modal-btn-size;
412
+ @include position(absolute, $offset .5em 0 0);
292
413
  }
293
414
 
294
- %modal-close-alt {
415
+ %modal__close--alt {
295
416
  @include position(absolute, 0px 0px 0 0);
296
417
  background-color: transparent;
297
418
  color: $link-color;
@@ -300,12 +421,14 @@
300
421
  }
301
422
  }
302
423
 
303
- %modal-btnbar-size {@include size($modal-btn-size, $modal-btn-size * 5);}
424
+ %modal__btnbar-size {@include size($modal-btn-size, $modal-btn-size * 5);}
304
425
 
305
426
  // Other styles
306
- %modal-overlay { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiqAcAAIgAgoGu+rEAAAAASUVORK5CYII='); }
427
+ %modal__overlay {
428
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiqAcAAIgAgoGu+rEAAAAASUVORK5CYII=');
429
+ }
307
430
 
308
- %modal-skin {
431
+ %modal__skin {
309
432
  @include box-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
310
433
  @include border-radius($base-border-radius);
311
434
  background: #fff;
@@ -323,30 +446,39 @@
323
446
  .btnClose:after { @include icon-font(\f00d); }
324
447
  }
325
448
 
326
- %modal-nav { margin-top: (0 - ($modal-btn-size / 2)); }
449
+ %modal__nav { margin-top: (0 - ($modal-btn-size / 2)); }
327
450
 
328
- %modal-caption { @extend %caption !optional; }
451
+ %modal__caption { @extend %caption; }
329
452
 
330
- %modal-loading {
453
+ %modal__loading {
331
454
  margin-top: -($loader-ico-size / 2);
332
455
  margin-left: -($loader-ico-size / 2);
333
- opacity: 0.8;
456
+ @include opacity(.8);
334
457
 
335
458
  div {
336
- @extend %loader-ico !optional;
459
+ @extend %loader-ico;
337
460
  @include square($loader-ico-size);
338
461
 
339
462
  }
340
463
  }
341
464
 
342
465
 
343
- // Sliders
344
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
345
- $slider-btn-size: em(30px);
466
+ /* --------------------------------------------------------------------------------------------------------------------
467
+
468
+ Sliders
469
+
470
+ %slider__btn # For all button links in sliders
471
+ %slider__pager # For the single links in the pager
472
+ %slider__caption # For the caption
473
+ %slider__loading # Position and style of the loading icon
474
+
475
+ Styleguide 30.13
476
+
477
+ -------------------------------------------------------------------------------------------------------------------- */
346
478
 
347
479
  // Buttons
348
- %slider-btn {
349
- @extend %btn-scripts !optional;
480
+ %slider__btn {
481
+ @extend %btn--scripts;
350
482
  @include square($slider-btn-size);
351
483
  line-height: $slider-btn-size;
352
484
  margin-top: -($slider-btn-size / 2);
@@ -356,7 +488,7 @@
356
488
  }
357
489
 
358
490
  // Pager
359
- %slider-pager {
491
+ %slider__pager {
360
492
  @include position(absolute, 0 0 -30px 0);
361
493
  padding-top: 20px;
362
494
  .bx-pager-item {
@@ -372,80 +504,93 @@
372
504
  }
373
505
 
374
506
  // Other styles
375
- %slider-caption { @extend %caption !optional; }
507
+ %slider__caption { @extend %caption; }
376
508
 
377
- %slider-loading {
378
- @extend %loader-ico !optional;
509
+ %slider__loading {
510
+ @extend %loader-ico;
379
511
  @include alpha-color(#000, .60);
380
512
  min-height: $loader-ico-size;
381
513
  }
382
514
 
383
- // Tabs
384
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
515
+ /* --------------------------------------------------------------------------------------------------------------------
385
516
 
386
- %tab-nav {
387
- //...
388
- }
517
+ Tabs
518
+
519
+ %tab__nav # For the tabs links container
520
+ %tab__btn # For the single tabs link
521
+ %tab__btn__hover # For the :hover state of tabs link
522
+ %tab__btn__current # For the current selected tab link
523
+ %tab__container # For the content continer
524
+
525
+ Styleguide 30.14
389
526
 
390
- %tab-btn {
527
+ -------------------------------------------------------------------------------------------------------------------- */
528
+
529
+ %tab__nav { }
530
+
531
+ %tab__btn {
391
532
  background: $grayLighter;
392
533
  border: solid 1px $grayLight;
393
534
  border-bottom: none;
394
535
  }
395
536
 
396
- %tab-btn_hover {
537
+ %tab__btn__hover {
397
538
  background: $grayLighter;
398
539
  border: solid 1px $grayLight;
399
540
  border-bottom: none;
400
541
  }
401
542
 
402
- %tab-btn_current {
543
+ %tab__btn__current {
403
544
  border-color: $gray;
404
545
  &:after { background: $grayLighter; }
405
546
  }
406
547
 
407
- %tab-container {
548
+ %tab__container {
408
549
  border: solid 1px $gray;
409
550
  background: $grayLighter;
410
551
  }
411
552
 
412
553
 
413
- // Alerts
414
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
554
+ /* --------------------------------------------------------------------------------------------------------------------
555
+
556
+ Alerts
557
+
558
+ %alert # For all alert messages
559
+
560
+ Styleguide 30.15
561
+
562
+ -------------------------------------------------------------------------------------------------------------------- */
415
563
 
416
564
  %alert {
417
565
  background-color: $grayLighter;
418
566
  border: 1px solid $grayLight;
419
567
  }
420
568
 
421
- // Responsive NAV
422
- // ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
569
+ /* --------------------------------------------------------------------------------------------------------------------
570
+
571
+ Responsive Nav
572
+
573
+ %nav--responsive # For the open nav state in responsive mode
574
+ %nav__toggle # For the toggle open/close button in responsive mode
575
+
576
+ Styleguide 30.16
423
577
 
424
- %nav-big {}
578
+ -------------------------------------------------------------------------------------------------------------------- */
425
579
 
426
- %nav-small {
580
+
581
+ %nav--responsive {
427
582
  background-color: $grayLighter;
428
583
 
429
- // li,
430
- // li * {
431
- // @include border-radius(0);
432
- // background: transparent;
433
- // border: 0;
434
- // display: block;
435
- // float: none;
436
- // margin: 0;
437
- // position: static;
438
- // text-align: left;
439
- // width: 100%;
440
- // }
441
-
442
- .btn {
443
- background: $grayLight;
584
+ a { padding: nth($btn-padding, 1) $wrapper-padding; }
585
+
586
+ > ul > li > a {
587
+ font-weight: bold;
588
+ background-color: $grayLight;
444
589
  }
445
590
 
446
591
  }
447
592
 
448
- %nav-toggle {
593
+ %nav__toggle {
449
594
  @extend .btn;
450
595
 
451
596
  span {
@@ -457,5 +602,31 @@
457
602
  }
458
603
  }
459
604
 
605
+
606
+ /* --------------------------------------------------------------------------------------------------------------------
607
+
608
+ Shared
609
+
610
+ Classes For other classes of generic elements
611
+
612
+ %caret # Side triangle For Dropdowns and Selects
613
+ %loader-ico # generic loader icon For all scripts
614
+
615
+ Styleguide 30.17
616
+
617
+ -------------------------------------------------------------------------------------------------------------------- */
618
+
619
+ %caret {
620
+ &:after {
621
+ @include icon-font(\f078);
622
+ }
623
+ }
624
+
625
+ %loader-ico {
626
+ background:
627
+ url('//cdn.jsdelivr.net/wp-advanced-ajax-page-loader/2.5.12/loaders/SMALL%20-%20Spinning%20Arrows.gif')
628
+ center center no-repeat;
629
+ }
630
+
460
631
  }
461
632