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.
- data/stylesheets/_default-styles.scss +352 -352
- data/stylesheets/_functions.scss +77 -50
- data/stylesheets/_susy.scss +15 -12
- data/stylesheets/components/_alerts.scss +21 -21
- data/stylesheets/components/_breadcrumbs.scss +15 -15
- data/stylesheets/components/_button-groups.scss +51 -53
- data/stylesheets/components/_buttons.scss +94 -97
- data/stylesheets/components/_captions.scss +45 -45
- data/stylesheets/components/_close.scss +27 -27
- data/stylesheets/components/_dropdowns.scss +121 -121
- data/stylesheets/components/_forms.scss +246 -248
- data/stylesheets/components/_grids.scss +35 -35
- data/stylesheets/components/_labels.scss +38 -38
- data/stylesheets/components/_modals.scss +242 -248
- data/stylesheets/components/_navs.scss +86 -91
- data/stylesheets/components/_pager.scss +53 -53
- data/stylesheets/components/_pagination.scss +83 -85
- data/stylesheets/components/_responsive-navs.scss +84 -84
- data/stylesheets/components/_sliders.scss +54 -58
- data/stylesheets/components/_tables.scss +69 -74
- data/stylesheets/components/_tabs.scss +54 -54
- data/stylesheets/components/_type.scss +134 -140
- data/stylesheets/{_rapido.scss → rapido.scss} +0 -8
- data/stylesheets/settings/_base.scss +23 -23
- data/stylesheets/settings/_colors.scss +13 -13
- data/stylesheets/settings/_components.scss +43 -42
- data/stylesheets/settings/_dimensions.scss +91 -91
- data/stylesheets/settings/_effects.scss +28 -14
- data/stylesheets/susy/{_susy_background.scss → _background.scss} +0 -0
- data/stylesheets/susy/{_susy_functions.scss → _functions.scss} +0 -0
- data/stylesheets/susy/{_susy_grid.scss → _grid.scss} +0 -0
- data/stylesheets/susy/{_susy_isolation.scss → _isolation.scss} +1 -0
- data/stylesheets/susy/{_susy_margin.scss → _margin.scss} +0 -0
- data/stylesheets/susy/{_susy_media.scss → _media.scss} +0 -0
- data/stylesheets/susy/{_susy_padding.scss → _padding.scss} +0 -0
- data/stylesheets/susy/{_susy_settings.scss → _settings.scss} +0 -0
- data/stylesheets/susy/{_susy_support.scss → _support.scss} +0 -0
- data/stylesheets/susy/{_susy_units.scss → _units.scss} +0 -0
- data/stylesheets/utilities/_animations.scss +638 -597
- data/stylesheets/utilities/_debug.scss +43 -43
- data/stylesheets/utilities/_helper-classes.scss +70 -54
- data/stylesheets/utilities/_icon-fonts.scss +90 -90
- data/stylesheets/utilities/_mixins.scss +390 -357
- metadata +20 -17
- checksums.yaml +0 -15
- data/stylesheets/config.rb +0 -8
@@ -1,4 +1,4 @@
|
|
1
|
-
/*
|
1
|
+
/*
|
2
2
|
|
3
3
|
Debug mode
|
4
4
|
|
@@ -7,65 +7,65 @@ usefull for debugging code and finding errors. Taken form [Inuit](https://github
|
|
7
7
|
|
8
8
|
Enable it with `$debug-mode: true;`.
|
9
9
|
|
10
|
-
Styleguide 21
|
10
|
+
Styleguide 21
|
11
11
|
|
12
|
-
|
12
|
+
*/
|
13
13
|
|
14
14
|
@if $debug-mode {
|
15
15
|
|
16
|
-
|
16
|
+
:empty { outline:5px solid yellow;}
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
img {outline: 5px solid red;}
|
19
|
+
img[alt] {outline: none;}
|
20
|
+
img[alt=""] {outline: 5px solid yellow;}
|
21
21
|
|
22
|
-
|
22
|
+
a {outline: 5px solid yellow;}
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
a[title] {outline: none;}
|
25
|
+
a[href="#"], a[href*="javascript"] {outline: 5px solid yellow;}
|
26
26
|
|
27
27
|
|
28
|
-
|
28
|
+
a[target] {outline: 5px solid yellow;}
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
ul, ol {
|
31
|
+
> *:not(li){
|
32
|
+
outline:5px solid red;
|
33
|
+
}
|
34
|
+
}
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
th {outline: 5px solid yellow;}
|
37
|
+
th[scope] {outline: none;}
|
38
|
+
table > tr {outline: 5px solid yellow;}
|
39
|
+
tbody + tfoot {outline: 5px solid yellow;}
|
40
40
|
|
41
41
|
|
42
|
-
|
43
|
-
|
42
|
+
form {outline: 5px solid red;}
|
43
|
+
form[action] {outline: none;}
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
textarea, input {outline: 5px solid red;}
|
46
|
+
input[type] {outline: none;}
|
47
|
+
textarea[rows][cols] {outline: none;}
|
48
|
+
input[type=submit] {outline: 5px solid red;}
|
49
|
+
input[type=submit][value] {outline: none;}
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
[style] {outline: 5px solid yellow;}
|
52
|
+
[id] {outline: 5px solid yellow;}
|
53
53
|
|
54
54
|
|
55
55
|
// btn-groups
|
56
|
-
//
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
56
|
+
//
|
57
|
+
.btn-group > li:first-child .btn { background: YellowGreen !important; }
|
58
|
+
.btn-group > li:last-child .btn { background: Wheat !important; }
|
59
|
+
div.btn-group .btn { background: Tomato !important; }
|
60
|
+
|
61
|
+
.form__controls--multi {
|
62
|
+
.btn-group:first-child > li:first-child .btn { background: red !important; }
|
63
|
+
.btn-group:first-child > li:last-child .btn { background: blue !important; }
|
64
|
+
div.btn-group:first-child .btn { background: green !important; }
|
65
|
+
|
66
|
+
.btn-group:last-child > li:first-child .btn { background: purple !important; }
|
67
|
+
.btn-group:last-child > li:last-child .btn { background: yellow !important; }
|
68
|
+
div.btn-group:last-child > .btn { background: teal !important; }
|
69
|
+
}
|
70
70
|
|
71
71
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
/*
|
1
|
+
/*
|
2
2
|
|
3
3
|
Helper Classes
|
4
4
|
|
5
5
|
There are provided some helper classes usually used with `@extend` for applying effects or common styles.
|
6
6
|
|
7
|
-
Styleguide 22
|
7
|
+
Styleguide 22
|
8
8
|
|
9
|
-
|
9
|
+
*/
|
10
10
|
|
11
|
-
/*
|
11
|
+
/*
|
12
12
|
|
13
13
|
Generic
|
14
14
|
|
@@ -19,25 +19,25 @@ Simple divider class used in some components (like dropdowns).␣␣
|
|
19
19
|
|
20
20
|
Styleguide 22.1
|
21
21
|
|
22
|
-
|
22
|
+
*/
|
23
23
|
|
24
24
|
.clearfix {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
&:after {
|
26
|
+
content: "";
|
27
|
+
display: table;
|
28
|
+
clear: both;
|
29
|
+
}
|
30
30
|
}
|
31
31
|
|
32
32
|
.transition {
|
33
|
-
|
33
|
+
@include transition();
|
34
34
|
}
|
35
35
|
|
36
36
|
.divider {
|
37
|
-
|
37
|
+
@include nav-divider();
|
38
38
|
}
|
39
39
|
|
40
|
-
/*
|
40
|
+
/*
|
41
41
|
|
42
42
|
Wrappers
|
43
43
|
|
@@ -53,20 +53,20 @@ Same a `.wrapper` but with fixed width.
|
|
53
53
|
|
54
54
|
Styleguide 22.2
|
55
55
|
|
56
|
-
|
56
|
+
*/
|
57
57
|
|
58
58
|
.wrapper, .w {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
59
|
+
@extend .clearfix;
|
60
|
+
margin: 0 auto;
|
61
|
+
max-width: $desk-end;
|
62
|
+
padding-left: $wrapper-padding;
|
63
|
+
padding-right: $wrapper-padding;
|
64
64
|
}
|
65
65
|
|
66
66
|
.fixed-wrapper, .fw {
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
@extend .clearfix;
|
68
|
+
margin: 0 auto;
|
69
|
+
width: $desk-end;
|
70
70
|
}
|
71
71
|
|
72
72
|
|
@@ -74,7 +74,7 @@ Styleguide 22.2
|
|
74
74
|
.right {float: right;}
|
75
75
|
|
76
76
|
|
77
|
-
/*
|
77
|
+
/*
|
78
78
|
|
79
79
|
Elements width
|
80
80
|
|
@@ -86,65 +86,81 @@ Add `data-width="n"` to any html element to set the width.
|
|
86
86
|
|
87
87
|
Example:
|
88
88
|
|
89
|
-
|
89
|
+
data-width="50"
|
90
90
|
|
91
91
|
Corrispond to:
|
92
92
|
|
93
|
-
|
93
|
+
width: 50% !important;
|
94
94
|
|
95
95
|
Styleguide 22.3
|
96
96
|
|
97
|
-
|
97
|
+
*/
|
98
98
|
|
99
99
|
$i: 100;
|
100
100
|
@while $i > 0 {
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
101
|
+
%width-#{$i} { width: $i * 1% !important; }
|
102
|
+
@if $width-helper-classes {
|
103
|
+
[data-width="#{$i}"] { @extend %width-#{$i}; }
|
104
|
+
}
|
105
|
+
$i: $i - 1;
|
106
106
|
}
|
107
107
|
|
108
|
-
/*
|
108
|
+
/*
|
109
109
|
|
110
110
|
Typography
|
111
111
|
|
112
|
+
Some common classes for fixing the typography, to be used sparingly.
|
113
|
+
|
114
|
+
.lead # Bigger font size
|
115
|
+
.muted # color: $gray
|
116
|
+
|
117
|
+
.pull-left # float: left
|
118
|
+
.pull-right # float: right
|
119
|
+
|
120
|
+
.text-left # text-align: left
|
121
|
+
.text-right # text-align: right
|
122
|
+
.text-center # text-align: center
|
123
|
+
|
112
124
|
Styleguide 22.4
|
113
125
|
|
114
|
-
|
126
|
+
*/
|
115
127
|
|
116
|
-
.lead
|
117
|
-
.muted
|
128
|
+
.lead { @include adjust-font-size-to($h4-size); }
|
129
|
+
.muted { color: $gray; }
|
118
130
|
|
119
|
-
.pull-left
|
120
|
-
.pull-right
|
131
|
+
.pull-left { float: left; }
|
132
|
+
.pull-right { float: right; }
|
121
133
|
|
122
|
-
.text-left
|
123
|
-
.text-right
|
124
|
-
.text-center
|
134
|
+
.text-left { text-align: left; }
|
135
|
+
.text-right { text-align: right; }
|
136
|
+
.text-center { text-align: center; }
|
125
137
|
|
126
|
-
/*
|
138
|
+
/*
|
127
139
|
|
128
140
|
Sprites
|
129
141
|
|
142
|
+
Simple class used for spriting.
|
143
|
+
|
144
|
+
.s
|
145
|
+
|
130
146
|
Styleguide 22.5
|
131
147
|
|
132
|
-
|
148
|
+
*/
|
133
149
|
|
134
150
|
.s {
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
151
|
+
@include transition(none);
|
152
|
+
content: "";
|
153
|
+
display: inline-block;
|
154
|
+
font-style:normal;
|
155
|
+
overflow:hidden;
|
156
|
+
text-align:center;
|
157
|
+
text-indent:-9999px;
|
158
|
+
vertical-align:middle;
|
159
|
+
zoom:1;
|
144
160
|
|
145
161
|
}
|
146
162
|
|
147
|
-
/*
|
163
|
+
/*
|
148
164
|
|
149
165
|
Text replacement
|
150
166
|
|
@@ -159,11 +175,11 @@ All the text replacement classes from from [html5boilerplate](http://html5boiler
|
|
159
175
|
|
160
176
|
Styleguide 22.6
|
161
177
|
|
162
|
-
|
178
|
+
*/
|
163
179
|
|
164
180
|
.ir{background-color:transparent;border:0;overflow:hidden;text-indent:-9999px;line-height:0;font-size:0;}
|
165
181
|
.ir:before{content:"";display:block;width:0;height:150%}
|
166
182
|
.hidden{display:none!important;visibility:hidden}
|
167
183
|
.visuallyhidden{border:0;clip:rect(0000);height:1px;overflow:hidden;position:absolute;width:1px;margin:-1px;padding:0}
|
168
184
|
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;overflow:visible;position:static;width:auto;margin:0}
|
169
|
-
.invisible{visibility:hidden}
|
185
|
+
.invisible{visibility:hidden}
|
@@ -1,133 +1,133 @@
|
|
1
|
-
/*
|
1
|
+
/*
|
2
2
|
|
3
3
|
Icon Fonts
|
4
4
|
|
5
|
-
|
5
|
+
*/
|
6
6
|
|
7
7
|
// Brandico
|
8
|
-
//
|
8
|
+
//
|
9
9
|
|
10
10
|
@if $use-brandico {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
11
|
+
@font-face {
|
12
|
+
font-family: 'brandico';
|
13
|
+
font-style: 'normal';
|
14
|
+
font-weight: 'normal';
|
15
|
+
src: url('http://weloveiconfonts.com/api/fonts/brandico/brandico.eot');
|
16
|
+
src: url('http://weloveiconfonts.com/api/fonts/brandico/brandico.eot?#iefix') format('eot'),
|
17
|
+
url('http://weloveiconfonts.com/api/fonts/brandico/brandico.woff') format('woff'),
|
18
|
+
url('http://weloveiconfonts.com/api/fonts/brandico/brandico.ttf') format('truetype'),
|
19
|
+
url('http://weloveiconfonts.com/api/fonts/brandico/brandico.svg#brandico') format('svg');
|
20
|
+
}
|
21
21
|
}
|
22
22
|
|
23
23
|
// Entypo
|
24
|
-
//
|
24
|
+
//
|
25
25
|
|
26
26
|
@if $use-entypo {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
27
|
+
@font-face {
|
28
|
+
font-family: 'entypo';
|
29
|
+
font-style: 'normal';
|
30
|
+
font-weight: 'normal';
|
31
|
+
src: url('http://weloveiconfonts.com/api/fonts/entypo/entypo.eot');
|
32
|
+
src: url('http://weloveiconfonts.com/api/fonts/entypo/entypo.eot?#iefix') format('eot'),
|
33
|
+
url('http://weloveiconfonts.com/api/fonts/entypo/entypo.woff') format('woff'),
|
34
|
+
url('http://weloveiconfonts.com/api/fonts/entypo/entypo.ttf') format('truetype'),
|
35
|
+
url('http://weloveiconfonts.com/api/fonts/entypo/entypo.svg#entypo') format('svg');
|
36
|
+
}
|
37
37
|
}
|
38
38
|
|
39
39
|
// Fontawesome
|
40
|
-
//
|
40
|
+
//
|
41
41
|
|
42
42
|
@if $use-fontawesome {
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
43
|
+
@font-face {
|
44
|
+
font-family: 'FontAwesome';
|
45
|
+
font-style: 'normal';
|
46
|
+
font-weight: 'normal';
|
47
|
+
src: url('http://weloveiconfonts.com/api/fonts/fontawesome/fontawesome-webfont.eot');
|
48
|
+
src: url('http://weloveiconfonts.com/api/fonts/fontawesome/fontawesome-webfont.eot?#iefix') format('eot'),
|
49
|
+
url('http://weloveiconfonts.com/api/fonts/fontawesome/fontawesome-webfont.woff') format('woff'),
|
50
|
+
url('http://weloveiconfonts.com/api/fonts/fontawesome/fontawesome-webfont.ttf') format('truetype'),
|
51
|
+
url('http://weloveiconfonts.com/api/fonts/fontawesome/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
|
52
|
+
}
|
53
53
|
}
|
54
54
|
|
55
55
|
// Fontelico
|
56
|
-
//
|
56
|
+
//
|
57
57
|
|
58
58
|
@if $use-fontelico {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
59
|
+
@font-face {
|
60
|
+
font-family: 'fontelico';
|
61
|
+
font-style: 'normal';
|
62
|
+
font-weight: 'normal';
|
63
|
+
src: url('http://weloveiconfonts.com/api/fonts/fontelico/fontelico.eot');
|
64
|
+
src: url('http://weloveiconfonts.com/api/fonts/fontelico/fontelico.eot?#iefix') format('eot'),
|
65
|
+
url('http://weloveiconfonts.com/api/fonts/fontelico/fontelico.woff') format('woff'),
|
66
|
+
url('http://weloveiconfonts.com/api/fonts/fontelico/fontelico.ttf') format('truetype'),
|
67
|
+
url('http://weloveiconfonts.com/api/fonts/fontelico/fontelico.svg#fontelico') format('svg');
|
68
|
+
}
|
69
69
|
}
|
70
70
|
|
71
71
|
// Maki
|
72
|
-
//
|
72
|
+
//
|
73
73
|
|
74
74
|
@if $use-maki {
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
75
|
+
@font-face {
|
76
|
+
font-family: 'maki';
|
77
|
+
font-style: 'normal';
|
78
|
+
font-weight: 'normal';
|
79
|
+
src: url('http://weloveiconfonts.com/api/fonts/maki/maki.eot');
|
80
|
+
src: url('http://weloveiconfonts.com/api/fonts/maki/maki.eot?#iefix') format('eot'),
|
81
|
+
url('http://weloveiconfonts.com/api/fonts/maki/maki.woff') format('woff'),
|
82
|
+
url('http://weloveiconfonts.com/api/fonts/maki/maki.ttf') format('truetype'),
|
83
|
+
url('http://weloveiconfonts.com/api/fonts/maki/maki.svg#maki') format('svg');
|
84
|
+
}
|
85
85
|
}
|
86
86
|
|
87
87
|
// Openweb Icons
|
88
|
-
//
|
88
|
+
//
|
89
89
|
|
90
90
|
@if $use-openweb-icons {
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
91
|
+
@font-face {
|
92
|
+
font-family: 'OpenWeb Icons';
|
93
|
+
font-style: 'normal';
|
94
|
+
font-weight: 'normal';
|
95
|
+
src: url('http://weloveiconfonts.com/api/fonts/openwebicons/openwebicons.eot');
|
96
|
+
src: url('http://weloveiconfonts.com/api/fonts/openwebicons/openwebicons.eot?#iefix') format('eot'),
|
97
|
+
url('http://weloveiconfonts.com/api/fonts/openwebicons/openwebicons.woff') format('woff'),
|
98
|
+
url('http://weloveiconfonts.com/api/fonts/openwebicons/openwebicons.ttf') format('truetype'),
|
99
|
+
url('http://weloveiconfonts.com/api/fonts/openwebicons/openwebicons.svg#openweb_iconsregular') format('svg');
|
100
|
+
}
|
101
101
|
}
|
102
102
|
|
103
103
|
// Typicons
|
104
|
-
//
|
104
|
+
//
|
105
105
|
|
106
106
|
@if $use-typicons {
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
107
|
+
@font-face {
|
108
|
+
font-family: 'Typicons';
|
109
|
+
font-style: 'normal';
|
110
|
+
font-weight: 'normal';
|
111
|
+
src: url('http://weloveiconfonts.com/api/fonts/typicons/typicons-regular-webfont.eot');
|
112
|
+
src: url('http://weloveiconfonts.com/api/fonts/typicons/typicons-regular-webfont.eot?#iefix') format('eot'),
|
113
|
+
url('http://weloveiconfonts.com/api/fonts/typicons/typicons-regular-webfont.woff') format('woff'),
|
114
|
+
url('http://weloveiconfonts.com/api/fonts/typicons/typicons-regular-webfont.ttf') format('truetype'),
|
115
|
+
url('http://weloveiconfonts.com/api/fonts/typicons/typicons-regular-webfont.svg#TypiconsRegular') format('svg');
|
116
|
+
}
|
117
117
|
}
|
118
118
|
|
119
119
|
// Zocial
|
120
|
-
//
|
120
|
+
//
|
121
121
|
|
122
122
|
@if $use-zocial {
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
123
|
+
@font-face {
|
124
|
+
font-family: 'zocial';
|
125
|
+
font-style: 'normal';
|
126
|
+
font-weight: 'normal';
|
127
|
+
src: url('http://weloveiconfonts.com/api/fonts/zocial/zocial-regular-webfont.eot');
|
128
|
+
src: url('http://weloveiconfonts.com/api/fonts/zocial/zocial-regular-webfont.eot?#iefix') format('eot'),
|
129
|
+
url('http://weloveiconfonts.com/api/fonts/zocial/zocial-regular-webfont.woff') format('woff'),
|
130
|
+
url('http://weloveiconfonts.com/api/fonts/zocial/zocial-regular-webfont.ttf') format('truetype'),
|
131
|
+
url('http://weloveiconfonts.com/api/fonts/zocial/zocial-regular-webfont.svg#zocialregular') format('svg');
|
132
|
+
}
|
133
133
|
}
|