rapido-css 0.1.6 → 0.1.7

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWI0NDQxMjY4MTY3YWVkMTg4YmVlZTBiZGU0MjI4OWFiZjJhYjdiZA==
4
+ ZjVhNGVlMDFlZDU1OTc4YWUyYTk5N2ZjOWVhYTAyNDEzMTNmNmE1Zg==
5
5
  data.tar.gz: !binary |-
6
- OTFiZmRjMGQ5YzI1Nzg3NjdlYTU1YmVlZDM3OTA4NGZkZTczZjkzMA==
6
+ NzViNTBmNWU3YzNiY2M1YjQ3NjVjYThkOTEzYTgzOWI1NmYxNTQ5YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTA3YWIxZmU1NWM5MDFhNDgyOWUzMTZmNTdkMmI0NzkzYjM2YzFiNGUwYzQ5
10
- ZDYzMTgwYzQ4MmRiMmZkN2JlODViZjExOTFlODMyZTczZDU3YzU2YzYyNWQ5
11
- ZDJiYzllZjczNTBmZjViMWIxOWNiN2I5MGU5ZDk4MDRkZDQ5YjI=
9
+ MDNiZTE2ZTI1NjFlZGQ0OGMzMTUyZmE5YWQwMmU0YWYyMTEyOGQwYmMwYWY0
10
+ YzM3NjgxNmY0NDg2NGQ2YWIyMjU1MjNlMGJkY2YzMTMzZmQxN2ZhMWMzNGMy
11
+ YTAzYjJkYmUwMDE0NWFiZjIwMDc0N2MzM2U1NTQ0Njc0NWE5Yzc=
12
12
  data.tar.gz: !binary |-
13
- YjM4YmM3ZDJiM2QxZWM1YjBlNTI4N2FhMDgwMDBiZTZjOGQ0YzE5NjFjYzI4
14
- MzNlZWE5MDU1Y2NlOTZmYTk2NDZmZjdkZTBlYWRmYjg5MTJiYmNiYzJhNmY2
15
- NDFhOWRlNTNlODQyNWIzOTU5Yzg5YzRlNWFiOTkwZjEyMDVlNGQ=
13
+ ZTYwYmZhMGNjNDU0OTQxYjk0ZWQ4NGZhZTA1MGYyMzc5MTcyMzcxZDFhMDNl
14
+ MDhiODZhYzQ0ODg3MTVlZjRiZWMyNDVlOGE0NmEwNmNiMzMzMTVlZWMwYWJh
15
+ ZGIxMDgxYzQzMmUzNDM5YmIzOWY5YzkwZTBlN2VlYmJiOGFhZGY=
@@ -8,7 +8,7 @@ Every component refer to a silent class from `_default-style.scss`.
8
8
  These are all the classes available by default, others can be added or removed based on what component you want
9
9
  to enable or disable.
10
10
 
11
- Styleguide 30
11
+ Styleguide 32
12
12
 
13
13
  */
14
14
 
@@ -25,7 +25,7 @@ Titles
25
25
  %h5 # For <h5>
26
26
  %h6 # For <h6>
27
27
 
28
- Styleguide 30.1
28
+ Styleguide 32.1
29
29
 
30
30
  */
31
31
 
@@ -40,15 +40,19 @@ Styleguide 30.1
40
40
 
41
41
  Inputs and Selects
42
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
43
+ %form__label # For the <label>
44
+ %form__input # For the <input> and <textarea>
45
+ %form__addon # For the addon texts in forms
46
+ %form__select # Custom select style, by default it use %input
47
+ %form__suggest # Styling for suggest dropdowns
46
48
 
47
- Styleguide 30.2
49
+ Styleguide 32.2
48
50
 
49
51
  */
50
52
 
51
- %input {
53
+ %form__label {}
54
+
55
+ %form__input {
52
56
  border-color: $gray;
53
57
  background-color: $grayLighter;
54
58
  @include box-shadow(inset 0 1px 0 #fff);
@@ -59,16 +63,31 @@ Styleguide 30.2
59
63
  }
60
64
  }
61
65
 
62
- %input-addon {
66
+ %form__addon {
63
67
  color: $text-color;
64
68
  border-color: $grayLight;
65
69
  background-color: $grayLighter;
66
70
  }
67
71
 
68
- %select {
69
- @extend %input;
72
+ %form__select {
73
+ @extend %form__input;
74
+ }
75
+
76
+ %form__suggest {
77
+ @include opacity(0);
78
+ background-color: $gray;
79
+
80
+ &.open {
81
+ @include opacity(1);
82
+ }
83
+
84
+ a {
85
+ color: white;
86
+ }
87
+
70
88
  }
71
89
 
90
+
72
91
  /*
73
92
 
74
93
  Buttons
@@ -81,7 +100,7 @@ Buttons
81
100
  %btn__disabled # For disabled button
82
101
  %btn__current # For current button (es. used in Pagination)
83
102
 
84
- Styleguide 30.3
103
+ Styleguide 32.3
85
104
 
86
105
  */
87
106
 
@@ -185,7 +204,7 @@ Captions
185
204
 
186
205
  %caption # Used for the captions in .caption and modals
187
206
 
188
- Styleguide 30.4
207
+ Styleguide 32.4
189
208
 
190
209
  */
191
210
 
@@ -201,7 +220,7 @@ Labels (Badges & Pills)
201
220
 
202
221
  %pill # For the .badge and .pill
203
222
 
204
- Styleguide 30.5
223
+ Styleguide 32.5
205
224
 
206
225
  */
207
226
 
@@ -217,7 +236,7 @@ Dropdowns
217
236
  %dropdown # For the dropdown's list
218
237
  %dropdown--open # For the drodpown button in .open state
219
238
 
220
- Styleguide 30.6
239
+ Styleguide 32.6
221
240
 
222
241
  */
223
242
 
@@ -254,7 +273,7 @@ Tables
254
273
  %table--hover # For .table--hover
255
274
  %table--sortable # For .table--sortable
256
275
 
257
- Styleguide 30.7
276
+ Styleguide 32.7
258
277
 
259
278
  */
260
279
 
@@ -295,7 +314,7 @@ Navs
295
314
  %nav--btn__current # For the current selected link
296
315
  %nav--btn__disabled # For the disabled links
297
316
 
298
- Styleguide 30.8
317
+ Styleguide 32.8
299
318
 
300
319
  */
301
320
 
@@ -318,7 +337,7 @@ Breadcrumbs
318
337
  %breadcrumbs # Base style of breadcrumbs
319
338
  %breadcrumbs__current # For the current selected link
320
339
 
321
- Styleguide 30.9
340
+ Styleguide 32.9
322
341
 
323
342
  */
324
343
 
@@ -350,7 +369,7 @@ Pagination
350
369
  %pagination--btn__current # For the current selected link
351
370
  %pagination--btn__disabled # For the disabled links
352
371
 
353
- Styleguide 30.10
372
+ Styleguide 32.10
354
373
 
355
374
  */
356
375
 
@@ -371,7 +390,7 @@ Pager
371
390
  %pager--btn__active # For the :active state of %pager--btn
372
391
  %pager--btn__disabled # For the disabled links
373
392
 
374
- Styleguide 30.11
393
+ Styleguide 32.11
375
394
 
376
395
  */
377
396
 
@@ -393,27 +412,27 @@ Modals
393
412
  %modal__caption # For the caption
394
413
  %modal__loading # Position and style of the loading icon
395
414
 
396
- Styleguide 30.12
415
+ Styleguide 32.12
397
416
 
398
417
  */
399
418
 
400
419
  // Buttons
401
420
 
402
- .btnPlay:after { @include icon-font(\f04b); }
403
- .btnPlayOn:after { @include icon-font(\f04c); }
404
- .btnToggle:after { @include icon-font(\f065); }
405
- .btnToggleOn:after { @include icon-font(\f066); }
406
- .btnPrev:after { @include icon-font(\f04a); }
407
- .btnNext:after { @include icon-font(\f051); }
408
- .btnClose:after { @include icon-font(\f00d); }
409
- .fancybox-close:after { @include icon-font(\f00d); }
421
+ .btnPlay:after { content: "▶" }
422
+ .btnPlayOn:after { content: "‖" }
423
+ .btnToggle:after { content: "◉" }
424
+ .btnToggleOn:after { content: "⦿" }
425
+ .btnPrev:after { content: "≪" }
426
+ .btnNext:after { content: "≫" }
427
+ .btnClose:after { content: "×" }
428
+ .fancybox-close:after { content: "×" }
410
429
 
411
430
  .fancybox-prev {
412
- span:after { @include icon-font(\f053); }
431
+ span:after { content: "<" }
413
432
  }
414
433
 
415
434
  .fancybox-next {
416
- span:after { @include icon-font(\f054); }
435
+ span:after { content: ">" }
417
436
  }
418
437
 
419
438
  %modal__btn {
@@ -473,7 +492,7 @@ Sliders
473
492
  %slider__caption # For the caption
474
493
  %slider__loading # Position and style of the loading icon
475
494
 
476
- Styleguide 30.13
495
+ Styleguide 32.13
477
496
 
478
497
  */
479
498
 
@@ -484,8 +503,8 @@ Styleguide 30.13
484
503
  line-height: $slider-btn-size;
485
504
  margin-top: -($slider-btn-size / 2);
486
505
 
487
- &.bx-prev i:after { @include icon-font(\f053); }
488
- &.bx-next i:after { @include icon-font(\f054); }
506
+ &.bx-prev i:after { content: "<" }
507
+ &.bx-next i:after { content: ">" }
489
508
  }
490
509
 
491
510
  // Pager
@@ -523,7 +542,7 @@ Tabs
523
542
  %tab__btn__current # For the current selected tab link
524
543
  %tab__container # For the content continer
525
544
 
526
- Styleguide 30.14
545
+ Styleguide 32.14
527
546
 
528
547
  */
529
548
 
@@ -558,7 +577,7 @@ Alerts
558
577
 
559
578
  %alert # For all alert messages
560
579
 
561
- Styleguide 30.15
580
+ Styleguide 32.15
562
581
 
563
582
  */
564
583
 
@@ -571,11 +590,11 @@ Styleguide 30.15
571
590
 
572
591
  OffCanvas Nav
573
592
 
574
- %nav--offcanvas #
575
- %nav--offcanvas__dim #
576
- %nav__toggle # For the toggle open/close button in responsive mode
593
+ %nav--offcanvas # For the sidebar
594
+ %nav--offcanvas__dim # For the dimming the content on menu open
595
+ %nav__toggle # For the toggle open/close button
577
596
 
578
- Styleguide 30.16
597
+ Styleguide 32.16
579
598
 
580
599
  */
581
600
 
@@ -602,10 +621,52 @@ Styleguide 30.16
602
621
  }
603
622
 
604
623
  &:before {
605
- @include icon-font(\f0c9);
624
+ content: "≡"
625
+ }
626
+ }
627
+
628
+
629
+
630
+ /*
631
+
632
+ Overlays
633
+
634
+ %overlay__close # For the default close button
635
+
636
+ %overlay__content # For styling the main content area
637
+ %overlay__content--open # Animation for showing the content
638
+ %overlay__content--close # Animation for hiding the content
639
+
640
+ %overlay__background # Color of background overlay
641
+ %overlay__background--open # Animation for showing the background
642
+ %overlay__background--close # Animation for hiding the background
643
+
644
+ Styleguide 32.17
645
+
646
+ */
647
+
648
+
649
+ %overlay__close {
650
+ @include position(absolute, 2em 2em 0 0);
651
+ color: #CCCCCC;
652
+ &:hover {
653
+ color: #FFFFFF;
606
654
  }
655
+
656
+ }
657
+
658
+ %overlay__content {
659
+ color: $white;
607
660
  }
608
661
 
662
+ %overlay__background {
663
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiqAcAAIgAgoGu+rEAAAAASUVORK5CYII=');
664
+ }
665
+
666
+ %overlay__content--open { @extend .fadeInDown; }
667
+ %overlay__content--close { @extend .fadeOutUp; }
668
+ %overlay__background--open { @extend .fadeIn; }
669
+ %overlay__background--close { @extend .fadeOut; }
609
670
 
610
671
  /*
611
672
 
@@ -614,23 +675,25 @@ Shared
614
675
  Classes For other classes of generic elements
615
676
 
616
677
  %caret # Side triangle For Dropdowns and Selects
617
- %loader-ico # generic loader icon For all scripts
678
+ %loader-ico # Generic loader icon For all scripts
679
+ %tooltip # Additional style for tooltips.
680
+ To change the colors see the 'colors' sections
618
681
 
619
- Styleguide 30.17
682
+ Styleguide 32.18
620
683
 
621
684
  */
622
685
 
623
686
  %caret {
624
687
  &:after {
625
- @include icon-font(\f078);
688
+ content: "▼"
626
689
  }
627
690
  }
628
691
 
629
692
  %loader-ico {
630
- background:
631
- url('//cdn.jsdelivr.net/wp-advanced-ajax-page-loader/2.5.12/loaders/SMALL%20-%20Spinning%20Arrows.gif')
632
- center center no-repeat;
693
+ background: url('//cdn.jsdelivr.net/wp-advanced-ajax-page-loader/2.5.12/loaders/SMALL%20-%20Spinning%20Arrows.gif') center center no-repeat;
633
694
  }
634
695
 
696
+ %tooltip { }
697
+
635
698
  }
636
699
 
@@ -4,7 +4,7 @@ Functions
4
4
 
5
5
  For 99% of the framework I used Compass' and Susy's functions but I've made some for covering edge cases.
6
6
 
7
- Styleguide 25
7
+ Styleguide 27
8
8
 
9
9
  */
10
10
 
@@ -19,7 +19,7 @@ There are lots of easing options available, from the basic ``linear`` or ``ease-
19
19
  * **easeOut**: easeOutQuad, easeOutCubic, easeOutQuart, easeOutQuint, easeOutSine, easeOutExpo, easeOutCirc, easeOutBack
20
20
  * **easeInOut**: easeInOutQuad, easeInOutCubic, easeInOutQuart, easeInOutQuint, easeInOutSine, easeInOutExpo, easeInOutCirc, easeInOutBack
21
21
 
22
- Styleguide 21.2
22
+ Styleguide 23.2
23
23
 
24
24
  */
25
25
 
@@ -76,7 +76,7 @@ Become:
76
76
 
77
77
  left: -10em
78
78
 
79
- Styleguide 25.2
79
+ Styleguide 27.2
80
80
 
81
81
  */
82
82
 
@@ -99,7 +99,7 @@ Become:
99
99
 
100
100
  margin-left: -1.42857em;
101
101
 
102
- Styleguide 25.3
102
+ Styleguide 27.3
103
103
 
104
104
  */
105
105
 
@@ -115,7 +115,7 @@ space_neg()
115
115
  Similar to `rhythm_neg()` but for Susy's `space()` function, more info:
116
116
  [Susy Reference](http://susy.oddbird.net/guides/reference/#ref-space).
117
117
 
118
- Styleguide 25.4
118
+ Styleguide 27.4
119
119
 
120
120
  */
121
121
 
@@ -130,7 +130,7 @@ strip_units()
130
130
  Remove eny type of unit from a number, more info:
131
131
  [StackOverflow](http://stackoverflow.com/questions/12328259/how-do-you-strip-the-unit-from-any-number-in-sass).
132
132
 
133
- Styleguide 25.5
133
+ Styleguide 27.5
134
134
 
135
135
  */
136
136
 
@@ -26,11 +26,10 @@ Styleguide 3
26
26
  border-style: solid;
27
27
  border-width: $input-border;
28
28
  cursor: pointer;
29
- display: inline-block;
29
+ @include inline-block;
30
30
  line-height: 1em;
31
31
  margin-bottom: 0;
32
32
  text-align: center;
33
- vertical-align: middle;
34
33
 
35
34
  &:hover, &.hover, &:focus { text-decoration: none; }
36
35
 
@@ -136,14 +136,12 @@ Styleguide 5
136
136
  figcaption {
137
137
  top: 0;
138
138
  left: 0;
139
- @include translateX(100%) ;
140
- @include rotate(20deg);
139
+ @include simple-transform($rotate: 20deg, $trans-x:100%);
141
140
  opacity: 0;
142
141
  }
143
142
  &:hover, &:active {
144
143
  figcaption {
145
- @include translateX(0) ;
146
- @include rotate(0deg);
144
+ @include simple-transform($rotate: 0deg, $trans-x:0);
147
145
  opacity: 1;
148
146
  }
149
147
  }
@@ -54,7 +54,7 @@ Styleguide 7
54
54
  .dropdown,
55
55
  .dropdown__toggle {
56
56
  position: relative;
57
- display: inline-block;
57
+ @include inline-block;
58
58
  }
59
59
 
60
60
  .dropdown__toggle:focus { outline: 0; }
@@ -110,6 +110,8 @@ Styleguide 7.2
110
110
  min-width: 10em;
111
111
  overflow: hidden;
112
112
  z-index: $zindex-dropdown;
113
+ max-width: em($dropdowns-width);
114
+
113
115
 
114
116
  &[data-content] { min-width: em(600px); }
115
117
 
@@ -177,7 +179,7 @@ Styleguide 7.2
177
179
  .dropdown__menu {
178
180
  @include opacity(1);
179
181
  display/*\**/: block\9; // Ugly IE8 Hack
180
- max-height: $dropdowns-height;
182
+ max-height: em($dropdowns-height);
181
183
  }
182
184
 
183
185
  }