rapido-css 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rapido-css.rb +2 -0
- data/stylesheets/_default-styles.scss +5 -5
- data/stylesheets/components/_alerts.scss +1 -1
- data/stylesheets/components/_breadcrumbs.scss +1 -1
- data/stylesheets/components/_button-groups.scss +5 -5
- data/stylesheets/components/_buttons.scss +8 -8
- data/stylesheets/components/_captions.scss +8 -8
- data/stylesheets/components/_close.scss +9 -9
- data/stylesheets/components/_dropdowns.scss +8 -8
- data/stylesheets/components/_forms.scss +48 -48
- data/stylesheets/components/_grids.scss +16 -20
- data/stylesheets/components/_labels.scss +4 -4
- data/stylesheets/components/_modals.scss +17 -17
- data/stylesheets/components/_navs.scss +14 -14
- data/stylesheets/components/_off-canvas.scss +4 -4
- data/stylesheets/components/_overlay.scss +2 -2
- data/stylesheets/components/_pager.scss +7 -7
- data/stylesheets/components/_pagination.scss +8 -8
- data/stylesheets/components/_picker.scss +13 -13
- data/stylesheets/components/_sliders.scss +7 -7
- data/stylesheets/components/_tables.scss +4 -4
- data/stylesheets/components/_tabs.scss +6 -6
- data/stylesheets/components/_toggle.scss +2 -2
- data/stylesheets/components/_tooltip.scss +1 -1
- data/stylesheets/components/_type.scss +25 -24
- data/stylesheets/rapido.scss +2 -0
- data/stylesheets/settings/_dimensions.scss +11 -4
- data/stylesheets/utilities/_helper-classes.scss +13 -13
- data/stylesheets/utilities/_icon-fonts.scss +8 -8
- data/stylesheets/utilities/_mixins.scss +29 -49
- metadata +16 -2
@@ -33,14 +33,14 @@ Styleguide 16
|
|
33
33
|
|
34
34
|
.bx-wrapper {
|
35
35
|
position: relative;
|
36
|
-
padding
|
36
|
+
@extend %no-padding;
|
37
37
|
*zoom: 1;
|
38
38
|
z-index: $zindex-slider;
|
39
39
|
margin-bottom: rhythm();
|
40
40
|
|
41
41
|
img {
|
42
42
|
max-width: 100%;
|
43
|
-
display
|
43
|
+
@extend %display-block;
|
44
44
|
}
|
45
45
|
|
46
46
|
ul {@extend .list_style_none;}
|
@@ -61,7 +61,7 @@ Styleguide 16
|
|
61
61
|
span {@extend .visuallyhidden;}
|
62
62
|
}
|
63
63
|
|
64
|
-
.disabled { display
|
64
|
+
.disabled { @extend %display-none; }
|
65
65
|
|
66
66
|
}
|
67
67
|
|
@@ -72,15 +72,15 @@ Styleguide 16
|
|
72
72
|
|
73
73
|
.bx-pager {
|
74
74
|
width: 100%;
|
75
|
-
text-align
|
75
|
+
@extend %text-align-center;
|
76
76
|
@extend %slider__pager !optional;
|
77
77
|
|
78
78
|
}
|
79
79
|
|
80
80
|
.bx-pager-item {
|
81
|
-
@
|
81
|
+
@extend %display-inline-block;
|
82
82
|
a {
|
83
|
-
@
|
83
|
+
@extend %display-inline-block;
|
84
84
|
// @include hide-text;
|
85
85
|
}
|
86
86
|
}
|
@@ -102,7 +102,7 @@ Styleguide 16
|
|
102
102
|
width: 100%;
|
103
103
|
|
104
104
|
span {
|
105
|
-
@
|
105
|
+
@extend %display-inline-block;
|
106
106
|
@extend %slider__caption !optional;
|
107
107
|
}
|
108
108
|
}
|
@@ -49,11 +49,11 @@ Styleguide 20
|
|
49
49
|
td {
|
50
50
|
padding: $tables-padding;
|
51
51
|
line-height: rhythm(1);
|
52
|
-
text-align
|
52
|
+
@extend %text-align-left;
|
53
53
|
vertical-align: top;
|
54
54
|
}
|
55
55
|
|
56
|
-
th { font-weight
|
56
|
+
th { @extend %font-weight-bold; }
|
57
57
|
|
58
58
|
thead th { vertical-align: bottom; }
|
59
59
|
|
@@ -115,11 +115,11 @@ Styleguide 20
|
|
115
115
|
|
116
116
|
thead {
|
117
117
|
th {
|
118
|
-
cursor
|
118
|
+
@extend %cursor-pointer;
|
119
119
|
|
120
120
|
&.sorting-asc:after,
|
121
121
|
&.sorting-desc:after {
|
122
|
-
float
|
122
|
+
@extend %float-right;
|
123
123
|
}
|
124
124
|
}
|
125
125
|
}
|
@@ -50,16 +50,16 @@ Styleguide 21
|
|
50
50
|
margin-bottom: rhythm();
|
51
51
|
|
52
52
|
.etabs {
|
53
|
-
margin
|
54
|
-
padding
|
53
|
+
@extend %no-margin;
|
54
|
+
@extend %no-padding;
|
55
55
|
@extend %tab__nav !optional;
|
56
56
|
|
57
57
|
li {
|
58
|
-
@
|
58
|
+
@extend %display-inline-block;
|
59
59
|
|
60
60
|
a {
|
61
61
|
line-height: 1em;
|
62
|
-
display
|
62
|
+
@extend %display-block;
|
63
63
|
padding: $tabs-tab-padding;
|
64
64
|
outline: none;
|
65
65
|
@include border-radius($base-border-radius $base-border-radius 0 0);
|
@@ -73,13 +73,13 @@ Styleguide 21
|
|
73
73
|
&.active {
|
74
74
|
a {
|
75
75
|
position: relative;
|
76
|
-
font-weight
|
76
|
+
@extend %font-weight-bold;
|
77
77
|
@extend %tab__btn__current !optional;
|
78
78
|
|
79
79
|
&:after {
|
80
80
|
@include position(absolute, 0 0px -1px 0px);
|
81
81
|
height: 2px;
|
82
|
-
display
|
82
|
+
@extend %display-block;
|
83
83
|
content: "";
|
84
84
|
}
|
85
85
|
}
|
@@ -34,8 +34,8 @@ when you have two animation that you don't wont to start at the same time.
|
|
34
34
|
Remeber to add closed and open state in the css, this module doesn't have
|
35
35
|
default styling, es:
|
36
36
|
|
37
|
-
[data-toggle-content] { display
|
38
|
-
[data-toggle-content].open { display
|
37
|
+
[data-toggle-content] { @extend %display-none; }
|
38
|
+
[data-toggle-content].open { @extend %display-block; }
|
39
39
|
|
40
40
|
Styleguide 17
|
41
41
|
|
@@ -29,14 +29,14 @@ html {
|
|
29
29
|
|
30
30
|
body {
|
31
31
|
@include adjust-font-size-to($base-font-size);
|
32
|
-
margin
|
32
|
+
@extend %no-margin;
|
33
33
|
font-family: $base-font-family;
|
34
34
|
color: $text-color;
|
35
35
|
}
|
36
36
|
|
37
37
|
img {
|
38
38
|
max-width: 100%;
|
39
|
-
@
|
39
|
+
@extend %display-inline-block;
|
40
40
|
}
|
41
41
|
|
42
42
|
a, button, textarea, input { outline: none; }
|
@@ -45,12 +45,12 @@ a, button, textarea, input { outline: none; }
|
|
45
45
|
|
46
46
|
a {
|
47
47
|
color: $link-color;
|
48
|
-
text-decoration
|
48
|
+
@extend %text-decoration-none;
|
49
49
|
|
50
50
|
&:hover,
|
51
51
|
&:focus {
|
52
52
|
color: $link-color-hover;
|
53
|
-
text-decoration
|
53
|
+
@extend %text-decoration-none;
|
54
54
|
}
|
55
55
|
|
56
56
|
}
|
@@ -89,8 +89,8 @@ p { margin: 0 0 rhythm(1);}
|
|
89
89
|
|
90
90
|
small { @include adjust-font-size-to($small-size); }
|
91
91
|
|
92
|
-
strong { font-weight
|
93
|
-
em { font-style
|
92
|
+
strong { @extend %font-weight-bold; }
|
93
|
+
em { @extend %font-style-italic; }
|
94
94
|
cite { font-style: normal; }
|
95
95
|
|
96
96
|
/*
|
@@ -115,7 +115,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
115
115
|
margin-top: 0;
|
116
116
|
|
117
117
|
small {
|
118
|
-
font-weight
|
118
|
+
@extend %font-weight-normal;
|
119
119
|
line-height: rhythm();
|
120
120
|
color: $grayLight;
|
121
121
|
}
|
@@ -182,16 +182,17 @@ Styleguide 22.3
|
|
182
182
|
|
183
183
|
*/
|
184
184
|
|
185
|
-
.list_style_none,
|
186
|
-
|
187
|
-
|
188
|
-
|
185
|
+
.list_style_none,
|
186
|
+
.list-style-none {
|
187
|
+
@extend %list-style-none;
|
188
|
+
@extend %no-margin;
|
189
|
+
@extend %no-padding;
|
189
190
|
}
|
190
191
|
|
191
192
|
// Unordered and Ordered lists
|
192
193
|
|
193
194
|
ul, ol {
|
194
|
-
padding
|
195
|
+
@extend %no-padding;
|
195
196
|
margin: 0 0 rhythm(1) 25px;
|
196
197
|
}
|
197
198
|
|
@@ -213,7 +214,7 @@ ol.inline {
|
|
213
214
|
margin-left: 0;
|
214
215
|
list-style: none;
|
215
216
|
> li {
|
216
|
-
@
|
217
|
+
@extend %display-inline-block;
|
217
218
|
}
|
218
219
|
}
|
219
220
|
|
@@ -235,7 +236,7 @@ Styleguide 22.4
|
|
235
236
|
|
236
237
|
dl { margin-bottom: rhythm(1); }
|
237
238
|
dt, dd { }
|
238
|
-
dt { font-weight
|
239
|
+
dt { @extend %font-weight-bold; }
|
239
240
|
dd { margin-left: 0; }
|
240
241
|
|
241
242
|
/*
|
@@ -255,12 +256,12 @@ Styleguide 22.4.1
|
|
255
256
|
*/
|
256
257
|
|
257
258
|
.dl-horizontal {
|
258
|
-
@extend
|
259
|
+
@extend %clearfix;
|
259
260
|
dt {
|
260
261
|
@include text-overflow();
|
261
262
|
clear: left;
|
262
|
-
float
|
263
|
-
text-align
|
263
|
+
@extend %float-left;
|
264
|
+
@extend %text-align-right;
|
264
265
|
width: em($horizontal-offset) - 20;
|
265
266
|
}
|
266
267
|
|
@@ -279,7 +280,7 @@ Styleguide 22.5
|
|
279
280
|
|
280
281
|
hr {
|
281
282
|
margin: rhythm(1) 0;
|
282
|
-
border
|
283
|
+
@extend %no-border;
|
283
284
|
border-bottom: 1px solid $gray;
|
284
285
|
}
|
285
286
|
|
@@ -292,7 +293,7 @@ abbr[data-original-title] {
|
|
292
293
|
}
|
293
294
|
abbr.initialism {
|
294
295
|
font-size: 90%;
|
295
|
-
text-transform
|
296
|
+
@extend %text-transform-uppercase;
|
296
297
|
}
|
297
298
|
|
298
299
|
/*
|
@@ -311,7 +312,7 @@ Styleguide 22.6
|
|
311
312
|
|
312
313
|
blockquote {
|
313
314
|
padding: 0 0 0 rhythm(1);
|
314
|
-
margin
|
315
|
+
@extend %no-margin;
|
315
316
|
margin: 0 0 rhythm(1);
|
316
317
|
border-left: 5px solid $grayLighter;
|
317
318
|
|
@@ -321,7 +322,7 @@ blockquote {
|
|
321
322
|
}
|
322
323
|
|
323
324
|
cite {
|
324
|
-
display
|
325
|
+
@extend %display-block;
|
325
326
|
color: $grayLight;
|
326
327
|
&:before {
|
327
328
|
content: '\2014 \00A0';
|
@@ -329,7 +330,7 @@ blockquote {
|
|
329
330
|
}
|
330
331
|
|
331
332
|
&.pull-right {
|
332
|
-
float
|
333
|
+
@extend %float-right;
|
333
334
|
padding-right: 15px;
|
334
335
|
padding-left: 0;
|
335
336
|
border-right: 5px solid $grayLighter;
|
@@ -337,7 +338,7 @@ blockquote {
|
|
337
338
|
|
338
339
|
p,
|
339
340
|
small {
|
340
|
-
text-align
|
341
|
+
@extend %text-align-right;
|
341
342
|
}
|
342
343
|
|
343
344
|
small {
|
@@ -359,7 +360,7 @@ blockquote:after {
|
|
359
360
|
// Addresses
|
360
361
|
|
361
362
|
address {
|
362
|
-
display
|
363
|
+
@extend %display-block;
|
363
364
|
margin-bottom: rhythm(1);
|
364
365
|
font-style: normal;
|
365
366
|
line-height: rhythm(1);
|
data/stylesheets/rapido.scss
CHANGED
@@ -151,12 +151,10 @@ Components
|
|
151
151
|
$tooltips-padding: $input-padding # Tooltips padding
|
152
152
|
$picker-padding: 1em 1em # Date picker padding
|
153
153
|
|
154
|
-
|
155
154
|
Styleguide 31.3
|
156
155
|
|
157
156
|
*/
|
158
157
|
|
159
|
-
|
160
158
|
// Helper classes
|
161
159
|
$wrapper-padding: 20px !default;
|
162
160
|
|
@@ -252,6 +250,13 @@ $desk-end: 1080px
|
|
252
250
|
$palm-end: $lap-start - 1px;
|
253
251
|
$lap-end: $desk-start - 1px;
|
254
252
|
|
253
|
+
// Failback for =< 2.2.1
|
254
|
+
$palm: $palm-end max-width !default;
|
255
|
+
$lap: $lap-start $lap-end !default;
|
256
|
+
$lap-and-up: $lap-start !default;
|
257
|
+
$portable: $lap-end max-width !default;
|
258
|
+
$desk: $desk-start !default;
|
259
|
+
|
255
260
|
/*
|
256
261
|
|
257
262
|
Grid (Susy)
|
@@ -261,17 +266,19 @@ Default settings for susy grid. More info: [Susy](http://susy.oddbird.net/).
|
|
261
266
|
$total-columns: 12 # Number of columns
|
262
267
|
$column-width: 50px # Columns width
|
263
268
|
$gutter-width: 30px # Gutter width
|
264
|
-
$container-style: fluid # Grid style
|
265
269
|
|
266
270
|
Styleguide 31.8
|
267
271
|
|
268
272
|
*/
|
269
273
|
|
270
274
|
|
275
|
+
// Failback for =< 2.2.1
|
271
276
|
$total-columns: 12 !default;
|
272
277
|
$column-width: 50px !default;
|
273
278
|
$gutter-width: 30px !default;
|
274
|
-
|
279
|
+
|
280
|
+
$susy: ( columns: $total-columns, gutters: $gutter-width / $column-width ) !default;;
|
281
|
+
|
275
282
|
|
276
283
|
/*
|
277
284
|
|
@@ -27,7 +27,7 @@ Styleguide 25.1
|
|
27
27
|
.clearfix {
|
28
28
|
&:after {
|
29
29
|
content: "";
|
30
|
-
display
|
30
|
+
@extend %display-table;
|
31
31
|
clear: both;
|
32
32
|
}
|
33
33
|
}
|
@@ -59,7 +59,7 @@ Styleguide 25.2
|
|
59
59
|
*/
|
60
60
|
|
61
61
|
.wrapper, .w {
|
62
|
-
@extend
|
62
|
+
@extend %clearfix;
|
63
63
|
margin: 0 auto;
|
64
64
|
max-width: $desk-end;
|
65
65
|
padding-left: em($wrapper-padding);
|
@@ -67,14 +67,14 @@ Styleguide 25.2
|
|
67
67
|
}
|
68
68
|
|
69
69
|
.fixed-wrapper, .fw {
|
70
|
-
@extend
|
70
|
+
@extend %clearfix;
|
71
71
|
margin: 0 auto;
|
72
72
|
width: $desk-end;
|
73
73
|
}
|
74
74
|
|
75
75
|
|
76
|
-
.left {float
|
77
|
-
.right {float
|
76
|
+
.left {@extend %float-left;}
|
77
|
+
.right {@extend %float-right;}
|
78
78
|
|
79
79
|
|
80
80
|
/*
|
@@ -99,8 +99,8 @@ Styleguide 25.3
|
|
99
99
|
|
100
100
|
*/
|
101
101
|
|
102
|
-
|
103
|
-
|
102
|
+
@for $j from 1 through 20 {
|
103
|
+
$i: 5 * $j;
|
104
104
|
%width-#{$i} { width: $i * 1% !important; }
|
105
105
|
@if $width-helper-classes {
|
106
106
|
[data-width="#{$i}"] { @extend %width-#{$i}; }
|
@@ -130,12 +130,12 @@ Styleguide 25.4
|
|
130
130
|
.lead { @include adjust-font-size-to($h4-size); }
|
131
131
|
.muted { color: $gray; }
|
132
132
|
|
133
|
-
.pull-left { float
|
134
|
-
.pull-right { float
|
133
|
+
.pull-left { @extend %float-left; }
|
134
|
+
.pull-right { @extend %float-right; }
|
135
135
|
|
136
|
-
.text-left { text-align
|
137
|
-
.text-right { text-align
|
138
|
-
.text-center { text-align
|
136
|
+
.text-left { @extend %text-align-left; }
|
137
|
+
.text-right { @extend %text-align-right; }
|
138
|
+
.text-center { @extend %text-align-center; }
|
139
139
|
|
140
140
|
/*
|
141
141
|
|
@@ -152,7 +152,7 @@ Styleguide 25.5
|
|
152
152
|
.s {
|
153
153
|
@include transition(none);
|
154
154
|
content: "";
|
155
|
-
@
|
155
|
+
@extend %display-inline-block;
|
156
156
|
font-style:normal;
|
157
157
|
overflow:hidden;
|
158
158
|
text-align:center;
|
@@ -20,7 +20,7 @@ Icon Fonts
|
|
20
20
|
}
|
21
21
|
|
22
22
|
.branico {
|
23
|
-
display
|
23
|
+
@extend %display-inline-block;
|
24
24
|
font-family: 'branico';
|
25
25
|
}
|
26
26
|
}
|
@@ -40,7 +40,7 @@ Icon Fonts
|
|
40
40
|
}
|
41
41
|
|
42
42
|
.entypo {
|
43
|
-
display
|
43
|
+
@extend %display-inline-block;
|
44
44
|
font-family: 'entypo';
|
45
45
|
}
|
46
46
|
}
|
@@ -60,7 +60,7 @@ Icon Fonts
|
|
60
60
|
}
|
61
61
|
|
62
62
|
.fontawesome {
|
63
|
-
display
|
63
|
+
@extend %display-inline-block;
|
64
64
|
font-family: 'FontAwesome';
|
65
65
|
}
|
66
66
|
}
|
@@ -80,7 +80,7 @@ Icon Fonts
|
|
80
80
|
}
|
81
81
|
|
82
82
|
.fontelico {
|
83
|
-
display
|
83
|
+
@extend %display-inline-block;
|
84
84
|
font-family: 'fontelico';
|
85
85
|
}
|
86
86
|
}
|
@@ -100,7 +100,7 @@ Icon Fonts
|
|
100
100
|
}
|
101
101
|
|
102
102
|
.maki {
|
103
|
-
display
|
103
|
+
@extend %display-inline-block;
|
104
104
|
font-family: 'maki';
|
105
105
|
}
|
106
106
|
}
|
@@ -120,7 +120,7 @@ Icon Fonts
|
|
120
120
|
}
|
121
121
|
|
122
122
|
.openwebicons {
|
123
|
-
display
|
123
|
+
@extend %display-inline-block;
|
124
124
|
font-family: 'OpenWeb Icons';
|
125
125
|
}
|
126
126
|
}
|
@@ -140,7 +140,7 @@ Icon Fonts
|
|
140
140
|
}
|
141
141
|
|
142
142
|
.typicons {
|
143
|
-
display
|
143
|
+
@extend %display-inline-block;
|
144
144
|
font-family: 'Typicons';
|
145
145
|
}
|
146
146
|
}
|
@@ -160,7 +160,7 @@ Icon Fonts
|
|
160
160
|
}
|
161
161
|
|
162
162
|
.zocial {
|
163
|
-
display
|
163
|
+
@extend %display-inline-block;
|
164
164
|
font-family: 'zocial';
|
165
165
|
}
|
166
166
|
}
|