rapido-css 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/stylesheets/_default-styles.scss +352 -352
  2. data/stylesheets/_functions.scss +77 -50
  3. data/stylesheets/_susy.scss +15 -12
  4. data/stylesheets/components/_alerts.scss +21 -21
  5. data/stylesheets/components/_breadcrumbs.scss +15 -15
  6. data/stylesheets/components/_button-groups.scss +51 -53
  7. data/stylesheets/components/_buttons.scss +94 -97
  8. data/stylesheets/components/_captions.scss +45 -45
  9. data/stylesheets/components/_close.scss +27 -27
  10. data/stylesheets/components/_dropdowns.scss +121 -121
  11. data/stylesheets/components/_forms.scss +246 -248
  12. data/stylesheets/components/_grids.scss +35 -35
  13. data/stylesheets/components/_labels.scss +38 -38
  14. data/stylesheets/components/_modals.scss +242 -248
  15. data/stylesheets/components/_navs.scss +86 -91
  16. data/stylesheets/components/_pager.scss +53 -53
  17. data/stylesheets/components/_pagination.scss +83 -85
  18. data/stylesheets/components/_responsive-navs.scss +84 -84
  19. data/stylesheets/components/_sliders.scss +54 -58
  20. data/stylesheets/components/_tables.scss +69 -74
  21. data/stylesheets/components/_tabs.scss +54 -54
  22. data/stylesheets/components/_type.scss +134 -140
  23. data/stylesheets/{_rapido.scss → rapido.scss} +0 -8
  24. data/stylesheets/settings/_base.scss +23 -23
  25. data/stylesheets/settings/_colors.scss +13 -13
  26. data/stylesheets/settings/_components.scss +43 -42
  27. data/stylesheets/settings/_dimensions.scss +91 -91
  28. data/stylesheets/settings/_effects.scss +28 -14
  29. data/stylesheets/susy/{_susy_background.scss → _background.scss} +0 -0
  30. data/stylesheets/susy/{_susy_functions.scss → _functions.scss} +0 -0
  31. data/stylesheets/susy/{_susy_grid.scss → _grid.scss} +0 -0
  32. data/stylesheets/susy/{_susy_isolation.scss → _isolation.scss} +1 -0
  33. data/stylesheets/susy/{_susy_margin.scss → _margin.scss} +0 -0
  34. data/stylesheets/susy/{_susy_media.scss → _media.scss} +0 -0
  35. data/stylesheets/susy/{_susy_padding.scss → _padding.scss} +0 -0
  36. data/stylesheets/susy/{_susy_settings.scss → _settings.scss} +0 -0
  37. data/stylesheets/susy/{_susy_support.scss → _support.scss} +0 -0
  38. data/stylesheets/susy/{_susy_units.scss → _units.scss} +0 -0
  39. data/stylesheets/utilities/_animations.scss +638 -597
  40. data/stylesheets/utilities/_debug.scss +43 -43
  41. data/stylesheets/utilities/_helper-classes.scss +70 -54
  42. data/stylesheets/utilities/_icon-fonts.scss +90 -90
  43. data/stylesheets/utilities/_mixins.scss +390 -357
  44. metadata +20 -17
  45. checksums.yaml +0 -15
  46. data/stylesheets/config.rb +0 -8
@@ -1,4 +1,4 @@
1
- /* ====================================================================================================================
1
+ /*
2
2
 
3
3
  Responsive Navs
4
4
 
@@ -6,49 +6,49 @@ The main nav can be made fully responsive (with two layouts available) with js a
6
6
 
7
7
  Styleguide 15
8
8
 
9
- ==================================================================================================================== */
9
+ */
10
10
 
11
11
  @if $navs-responsive {
12
12
 
13
- .nav--responsive.active { @extend %nav--responsive !optional; }
14
- .nav--responsive.close { max-height: none; }
13
+ .nav--responsive.active { @extend %nav--responsive !optional; }
14
+ .nav--responsive.close { max-height: none; }
15
15
 
16
- #nav-toggle {
17
- @extend %nav__toggle !optional;
18
- display: none;
19
- float: $navs-responsive-dropdown-pos;
20
- }
16
+ #nav-toggle {
17
+ @extend %nav__toggle !optional;
18
+ display: none;
19
+ float: $navs-responsive-dropdown-pos;
20
+ }
21
21
 
22
- @include media($navs-responsive-breakpoint) {
22
+ @include media($navs-responsive-breakpoint) {
23
23
 
24
- #nav-toggle { display: block; }
24
+ #nav-toggle { display: block; }
25
25
 
26
26
 
27
- // Reset styling of normal nav
28
- .nav.nav--responsive {
27
+ // Reset styling of normal nav
28
+ .nav.nav--responsive {
29
29
 
30
- display: block;
31
- margin: 0;
32
- overflow: hidden;
33
- zoom: 1;
30
+ display: block;
31
+ margin: 0;
32
+ overflow: hidden;
33
+ zoom: 1;
34
34
 
35
- * {
36
- @include border-radius(0);
37
- background: transparent;
38
- border: 0;
39
- display: block;
40
- float: none;
41
- margin: 0;
42
- padding: 0;
43
- position: static;
44
- text-align: left;
45
- width: 100%;
46
- max-height: $dropdowns-height;
47
- opacity: 1;
48
- }
49
- }
35
+ * {
36
+ @include border-radius(0);
37
+ background: transparent;
38
+ border: 0;
39
+ display: block;
40
+ float: none;
41
+ margin: 0;
42
+ padding: 0;
43
+ position: static;
44
+ text-align: left;
45
+ width: 100%;
46
+ max-height: $dropdowns-height;
47
+ opacity: 1;
48
+ }
49
+ }
50
50
 
51
- /* --------------------------------------------------------------------------------------------------------------------
51
+ /*
52
52
 
53
53
  SlideIn Layout
54
54
 
@@ -127,25 +127,25 @@ That's it, when the with of the page reace the breakpoint for the nav defined wi
127
127
 
128
128
  Styleguide 15.1
129
129
 
130
- -------------------------------------------------------------------------------------------------------------------- */
130
+ */
131
131
 
132
132
 
133
- @if $navs-responsive-type == 'slide' {
133
+ @if $navs-responsive-type == 'slide' {
134
134
 
135
- .nav--responsive {
136
- clip: rect(0 0 0 0);
137
- max-height: 0;
138
- width: 100%;
135
+ .nav--responsive {
136
+ clip: rect(0 0 0 0);
137
+ max-height: 0;
138
+ width: 100%;
139
139
 
140
- &.opened {
141
- max-height: 9999px;
142
- }
140
+ &.opened {
141
+ max-height: 9999px;
142
+ }
143
143
 
144
- }
144
+ }
145
145
 
146
- }
146
+ }
147
147
 
148
- /* --------------------------------------------------------------------------------------------------------------------
148
+ /*
149
149
 
150
150
  Offset Layout
151
151
 
@@ -180,54 +180,54 @@ Add this js instead of `var navigation = responsiveNav("#nav");`:
180
180
 
181
181
  Styleguide 15.2
182
182
 
183
- -------------------------------------------------------------------------------------------------------------------- */
183
+ */
184
184
 
185
185
 
186
- @if $navs-responsive-type == 'off-canvas' {
186
+ @if $navs-responsive-type == 'off-canvas' {
187
187
 
188
- // Wrappers
189
- #{$navs-responsive-outside-wrapper},
190
- #{$navs-responsive-inside-wrapper} {
191
- position: relative;
192
- width: 100%;
193
- }
188
+ // Wrappers
189
+ #{$navs-responsive-outside-wrapper},
190
+ #{$navs-responsive-inside-wrapper} {
191
+ position: relative;
192
+ width: 100%;
193
+ }
194
194
 
195
- #{$navs-responsive-outside-wrapper} {
196
- overflow-x: hidden;
197
- }
195
+ #{$navs-responsive-outside-wrapper} {
196
+ overflow-x: hidden;
197
+ }
198
198
 
199
- // Transitions
200
- #{$navs-responsive-inside-wrapper},
201
- .nav--responsive {
202
- @include transition();
203
- @include backface-visibility(hidden);
204
- }
199
+ // Transitions
200
+ #{$navs-responsive-inside-wrapper},
201
+ .nav--responsive {
202
+ @include transition();
203
+ @include backface-visibility(hidden);
204
+ }
205
205
 
206
206
 
207
- // Animations
208
- #{$navs-responsive-inside-wrapper} {
209
- @include transform(translate3d(0,0,0));
210
- left: 0;
211
- }
207
+ // Animations
208
+ #{$navs-responsive-inside-wrapper} {
209
+ @include transform(translate3d(0,0,0));
210
+ left: 0;
211
+ }
212
212
 
213
- .nav--responsive {
214
- @include position(absolute, 0px 0px 0px 0);
215
- @include transform(translate3d(100%,0,0));
216
- height: 100%;
217
- width: $navs-responsive-offset;
218
- }
213
+ .nav--responsive {
214
+ @include position(absolute, 0px 0px 0px 0);
215
+ @include transform(translate3d(100%,0,0));
216
+ height: 100%;
217
+ width: $navs-responsive-offset;
218
+ }
219
219
 
220
- .nav-open {
221
- #{$navs-responsive-inside-wrapper} {
222
- @include transform(translate3d((0 - $navs-responsive-offset),0,0));
223
- position: relative;
224
- }
220
+ .nav-open {
221
+ #{$navs-responsive-inside-wrapper} {
222
+ @include transform(translate3d((0 - $navs-responsive-offset),0,0));
223
+ position: relative;
224
+ }
225
225
 
226
- .nav--responsive {
227
- @include transform(translate3d(0,0,0));
228
- }
229
- }
226
+ .nav--responsive {
227
+ @include transform(translate3d(0,0,0));
228
+ }
229
+ }
230
230
 
231
- }
232
- }
231
+ }
232
+ }
233
233
  }
@@ -1,4 +1,4 @@
1
- /* ====================================================================================================================
1
+ /*
2
2
 
3
3
  Sliders
4
4
 
@@ -20,91 +20,87 @@ Markup:
20
20
  });
21
21
  </script>
22
22
 
23
- Styleguide 16.
23
+ Styleguide 16
24
24
 
25
- ==================================================================================================================== */
25
+ */
26
26
 
27
27
 
28
28
  @if $slider {
29
29
 
30
- .bx-wrapper {
31
- position: relative;
32
- padding: 0;
33
- *zoom: 1;
34
- z-index: $zindex-slider;
35
- margin-bottom: rhythm();
30
+ .bx-wrapper {
31
+ position: relative;
32
+ padding: 0;
33
+ *zoom: 1;
34
+ z-index: $zindex-slider;
35
+ margin-bottom: rhythm();
36
36
 
37
- img {
38
- max-width: 100%;
39
- display: block;
40
- }
37
+ img {
38
+ max-width: 100%;
39
+ display: block;
40
+ }
41
41
 
42
- ul {@extend .list_style_none;}
43
- }
42
+ ul {@extend .list_style_none;}
43
+ }
44
44
 
45
- .bx-viewport { }
45
+ .bx-viewport { }
46
46
 
47
47
  // Directions
48
- // --------------------------------------------------------------------------------------------------------------------
49
48
 
50
- .bx-controls-direction {
51
- a {
52
- @extend %slider__btn !optional;
53
- @include position(absolute, 50% 0 0 0);
49
+ .bx-controls-direction {
50
+ a {
51
+ @extend %slider__btn !optional;
52
+ @include position(absolute, 50% 0 0 0);
54
53
 
55
- z-index: 200;
54
+ z-index: 200;
56
55
 
57
- i {font-style: normal;}
58
- span {@include hide-text;}
59
- }
56
+ i {font-style: normal;}
57
+ span {@include hide-text;}
58
+ }
60
59
 
61
- .disabled { display: none; }
60
+ .disabled { display: none; }
62
61
 
63
- }
62
+ }
64
63
 
65
- .bx-prev { left: 0; }
66
- .bx-next { right: 0; }
64
+ .bx-prev { left: 0; }
65
+ .bx-next { right: 0; }
67
66
 
68
67
  // Pager
69
- // --------------------------------------------------------------------------------------------------------------------
70
68
 
71
- .bx-pager {
72
- width: 100%;
73
- text-align: center;
74
- @extend %slider__pager !optional;
69
+ .bx-pager {
70
+ width: 100%;
71
+ text-align: center;
72
+ @extend %slider__pager !optional;
75
73
 
76
- }
74
+ }
77
75
 
78
- .bx-pager-item {
79
- display: inline-block;
80
- a {
81
- display: inline-block;
82
- // @include hide-text;
83
- }
84
- }
76
+ .bx-pager-item {
77
+ display: inline-block;
78
+ a {
79
+ display: inline-block;
80
+ // @include hide-text;
81
+ }
82
+ }
85
83
 
86
84
  // Loading
87
- // --------------------------------------------------------------------------------------------------------------------
88
85
 
89
- .bx-loading {
90
- @include square(100%);
91
- @include position(absolute, 0px 0 0 0px);
92
- @extend %slider__loading-style !optional;
93
- z-index: 2000;
94
- }
86
+ .bx-loading {
87
+ @include square(100%);
88
+ @include position(absolute, 0px 0 0 0px);
89
+ @extend %slider__loading-style !optional;
90
+ z-index: 2000;
91
+ }
95
92
 
96
93
 
97
94
  // Captions
98
- // --------------------------------------------------------------------------------------------------------------------
99
95
 
100
- .bx-caption {
101
- @include position(absolute, 0 0 0px 0px);
102
- width: 100%;
96
+ .bx-caption {
97
+ @include position(absolute, 0 0 0px 0px);
98
+ width: 100%;
103
99
 
104
- span {
105
- display: inline-block;
106
- @extend %slider__caption !optional;
107
- }
108
- }
100
+ span {
101
+ display: inline-block;
102
+ @extend %slider__caption !optional;
103
+ }
104
+ }
109
105
 
110
106
  }
@@ -1,4 +1,4 @@
1
- /* ====================================================================================================================
1
+ /*
2
2
 
3
3
  Tables
4
4
 
@@ -29,104 +29,99 @@ Markup:
29
29
  .table--hover - Enable a hover state on table rows within a `<tbody>`.
30
30
  .table--condensed - Makes tables more compact by cutting cell padding in half.
31
31
 
32
- Styleguide 17.
32
+ Styleguide 17
33
33
 
34
- ==================================================================================================================== */
34
+ */
35
35
 
36
36
  @if $tables {
37
37
 
38
- table {
39
- max-width: 100%;
40
- border-collapse: collapse;
41
- border-spacing: 0;
42
- }
38
+ table {
39
+ max-width: 100%;
40
+ border-collapse: collapse;
41
+ border-spacing: 0;
42
+ }
43
43
 
44
- .table {
45
- width: 100%;
46
- margin-bottom: rhythm(1);
44
+ .table {
45
+ width: 100%;
46
+ margin-bottom: rhythm(1);
47
47
 
48
- th,
49
- td {
50
- padding: $tables-padding;
51
- line-height: rhythm(1);
52
- text-align: left;
53
- vertical-align: top;
54
- }
48
+ th,
49
+ td {
50
+ padding: $tables-padding;
51
+ line-height: rhythm(1);
52
+ text-align: left;
53
+ vertical-align: top;
54
+ }
55
55
 
56
- th { font-weight: bold; }
56
+ th { font-weight: bold; }
57
57
 
58
- thead th { vertical-align: bottom; }
58
+ thead th { vertical-align: bottom; }
59
59
 
60
- caption + thead tr:first-child th,
61
- caption + thead tr:first-child td,
62
- colgroup + thead tr:first-child th,
63
- colgroup + thead tr:first-child td,
64
- thead:first-child tr:first-child th,
65
- thead:first-child tr:first-child td {
66
- border-top: 0;
60
+ caption + thead tr:first-child th,
61
+ caption + thead tr:first-child td,
62
+ colgroup + thead tr:first-child th,
63
+ colgroup + thead tr:first-child td,
64
+ thead:first-child tr:first-child th,
65
+ thead:first-child tr:first-child td {
66
+ border-top: 0;
67
67
 
68
- }
68
+ }
69
69
 
70
- tbody + tbody { border-top: 2px solid $grayLight; }
70
+ tbody + tbody { border-top: 2px solid $grayLight; }
71
71
 
72
- }
72
+ }
73
73
 
74
74
  // Condensed Table w/ Half Padding
75
- // --------------------------------------------------------------------------------------------------------------------
76
75
 
77
- .table--condensed {
78
- $half-top: nth($tables-padding, 1) / 2;
79
- $half-side: nth($tables-padding, 2) / 2;
76
+ .table--condensed {
77
+ $half-top: nth($tables-padding, 1) / 2;
78
+ $half-side: nth($tables-padding, 2) / 2;
80
79
 
81
- th, td { padding: $half-top $half-side; }
82
- }
80
+ th, td { padding: $half-top $half-side; }
81
+ }
83
82
 
84
83
  // Zebra-striping
85
- // --------------------------------------------------------------------------------------------------------------------
86
84
 
87
- .table--striped {
88
- tbody {
89
- > tr:nth-child(odd) > td,
90
- > tr:nth-child(odd) > th {
91
- @extend %table--striped !optional;
92
- }
93
- }
94
- }
85
+ .table--striped {
86
+ tbody {
87
+ > tr:nth-child(odd) > td,
88
+ > tr:nth-child(odd) > th {
89
+ @extend %table--striped !optional;
90
+ }
91
+ }
92
+ }
95
93
 
96
94
  // Bordered Version
97
- // --------------------------------------------------------------------------------------------------------------------
98
95
 
99
- .table--bordered {
100
- @extend %table--bordered !optional;
101
- }
96
+ .table--bordered {
97
+ @extend %table--bordered !optional;
98
+ }
102
99
 
103
100
  // Hover effect
104
- // --------------------------------------------------------------------------------------------------------------------
105
101
 
106
- .table--hover {
107
- tbody {
108
- tr:hover > td,
109
- tr:hover > th {
110
- @extend %table--hover !optional;
111
- }
112
- }
113
- }
102
+ .table--hover {
103
+ tbody {
104
+ tr:hover > td,
105
+ tr:hover > th {
106
+ @extend %table--hover !optional;
107
+ }
108
+ }
109
+ }
114
110
 
115
111
  // Sortable
116
- // --------------------------------------------------------------------------------------------------------------------
117
-
118
- .table--sortable {
119
- @extend %table--sortable !optional;
120
-
121
- thead {
122
- th {
123
- cursor: pointer;
124
-
125
- &.sorting-asc:after,
126
- &.sorting-desc:after {
127
- float: right;
128
- }
129
- }
130
- }
131
- }
112
+
113
+ .table--sortable {
114
+ @extend %table--sortable !optional;
115
+
116
+ thead {
117
+ th {
118
+ cursor: pointer;
119
+
120
+ &.sorting-asc:after,
121
+ &.sorting-desc:after {
122
+ float: right;
123
+ }
124
+ }
125
+ }
126
+ }
132
127
  }
@@ -1,4 +1,4 @@
1
- /* ====================================================================================================================
1
+ /*
2
2
 
3
3
  Tabs
4
4
 
@@ -34,64 +34,64 @@ Markup:
34
34
  });
35
35
  </script>
36
36
 
37
- Styleguide 18.
37
+ Styleguide 18
38
38
 
39
- ==================================================================================================================== */
39
+ */
40
40
 
41
41
 
42
42
 
43
43
  @if $tabs {
44
44
 
45
- .tabs {
46
- margin-bottom: rhythm();
47
-
48
- .etabs {
49
- margin: 0;
50
- padding: 0;
51
- @extend %tab__nav !optional;
52
-
53
- li {
54
- display: inline-block;
55
- zoom: 1;
56
-
57
- a {
58
- line-height: 1em;
59
- display: block;
60
- padding: $tabs-tab-padding;
61
- outline: none;
62
- @include border-radius($base-border-radius $base-border-radius 0 0);
63
- @extend %tab__btn !optional;
64
-
65
- &:hover {
66
- @extend %tab__btn__hover !optional;
67
- }
68
- }
69
-
70
- &.active {
71
- a {
72
- position: relative;
73
- font-weight: bold;
74
- @extend %tab__btn__current !optional;
75
-
76
- &:after {
77
- @include position(absolute, 0 0px -1px 0px);
78
- height: 2px;
79
- display: block;
80
- content: "";
81
- }
82
- }
83
-
84
- }
85
-
86
- }
87
- }
88
-
89
- .panel-container {
90
- @extend %tab__container !optional;
91
- @include border-radius(0 $base-border-radius $base-border-radius );
92
- > div {padding: $tabs-content-padding;}
93
- }
94
-
95
- }
45
+ .tabs {
46
+ margin-bottom: rhythm();
47
+
48
+ .etabs {
49
+ margin: 0;
50
+ padding: 0;
51
+ @extend %tab__nav !optional;
52
+
53
+ li {
54
+ display: inline-block;
55
+ zoom: 1;
56
+
57
+ a {
58
+ line-height: 1em;
59
+ display: block;
60
+ padding: $tabs-tab-padding;
61
+ outline: none;
62
+ @include border-radius($base-border-radius $base-border-radius 0 0);
63
+ @extend %tab__btn !optional;
64
+
65
+ &:hover {
66
+ @extend %tab__btn__hover !optional;
67
+ }
68
+ }
69
+
70
+ &.active {
71
+ a {
72
+ position: relative;
73
+ font-weight: bold;
74
+ @extend %tab__btn__current !optional;
75
+
76
+ &:after {
77
+ @include position(absolute, 0 0px -1px 0px);
78
+ height: 2px;
79
+ display: block;
80
+ content: "";
81
+ }
82
+ }
83
+
84
+ }
85
+
86
+ }
87
+ }
88
+
89
+ .panel-container {
90
+ @extend %tab__container !optional;
91
+ @include border-radius(0 $base-border-radius $base-border-radius );
92
+ > div {padding: $tabs-content-padding;}
93
+ }
94
+
95
+ }
96
96
 
97
97
  }