rapido-css 0.1.1 → 0.1.2
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.
- 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
|
Modals
|
4
4
|
|
@@ -16,231 +16,225 @@ Markup:
|
|
16
16
|
});
|
17
17
|
</script>
|
18
18
|
|
19
|
-
Styleguide 11
|
19
|
+
Styleguide 11
|
20
20
|
|
21
|
-
|
21
|
+
*/
|
22
22
|
|
23
23
|
.modal { display: none; }
|
24
24
|
|
25
25
|
@if $modal {
|
26
26
|
|
27
27
|
// Resets
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
}
|
28
|
+
|
29
|
+
%modal-reset {
|
30
|
+
padding: 0;
|
31
|
+
margin: 0;
|
32
|
+
border: 0;
|
33
|
+
vertical-align: top;
|
34
|
+
list-style-type: none;
|
35
|
+
}
|
36
|
+
|
37
|
+
.fancybox-wrap,
|
38
|
+
.fancybox-wrap iframe,
|
39
|
+
.fancybox-wrap object,
|
40
|
+
.fancybox-skin,
|
41
|
+
.fancybox-outer,
|
42
|
+
.fancybox-inner,
|
43
|
+
.fancybox-image,
|
44
|
+
.fancybox-nav span,
|
45
|
+
.fancybox-tmp {
|
46
|
+
@extend %modal-reset;
|
47
|
+
}
|
49
48
|
|
50
49
|
// Container
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
} // 1st
|
50
|
+
|
51
|
+
// Overlay | 1st level
|
52
|
+
.fancybox-overlay {
|
53
|
+
@extend %modal__overlay !optional;
|
54
|
+
@include position(absolute, 0px 0 0 0px);
|
55
|
+
display: none;
|
56
|
+
overflow: hidden;
|
57
|
+
z-index: ($zindex-modal - 1);
|
58
|
+
|
59
|
+
&.fancybox-overlay-fixed {
|
60
|
+
@include position(fixed, 0 0px 0px 0 );
|
61
|
+
}
|
62
|
+
|
63
|
+
// Wrap | 2nd Level
|
64
|
+
.fancybox-wrap {
|
65
|
+
@include position(absolute, 0px 0 0 0px);
|
66
|
+
z-index: $zindex-modal;
|
67
|
+
|
68
|
+
&.fancybox-opened { z-index: ($zindex-modal + 1); }
|
69
|
+
|
70
|
+
// for Iframes
|
71
|
+
&.fancybox-type-iframe .fancybox-inner {
|
72
|
+
-webkit-overflow-scrolling: touch;
|
73
|
+
}
|
74
|
+
|
75
|
+
// for Iframes, Inline and Ajax
|
76
|
+
&.fancybox-type-inline,
|
77
|
+
&.fancybox-type-iframe,
|
78
|
+
&.fancybox-type-ajax {
|
79
|
+
|
80
|
+
.fancybox-close {
|
81
|
+
@extend %modal__close--alt !optional;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// Skin | 3rd Level
|
86
|
+
.fancybox-skin {
|
87
|
+
@extend %modal__skin !optional;
|
88
|
+
position: relative;
|
89
|
+
padding: 0 !important;
|
90
|
+
|
91
|
+
// Outer | 4th Level
|
92
|
+
.fancybox-outer {
|
93
|
+
position: relative;
|
94
|
+
|
95
|
+
// Inner | 5th Level
|
96
|
+
.fancybox-inner {
|
97
|
+
position: relative;
|
98
|
+
overflow: hidden;
|
99
|
+
|
100
|
+
> div { padding: rhythm(1); }
|
101
|
+
|
102
|
+
} // 5thst
|
103
|
+
} // 4th
|
104
|
+
} // 3rd
|
105
|
+
} // 2nd
|
106
|
+
} // 1st
|
109
107
|
|
110
108
|
|
111
109
|
// Backtground temp
|
112
|
-
// --------------------------------------------------------------------------------------------------------------------
|
113
110
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
111
|
+
.fancybox-tmp {
|
112
|
+
@include position(absolute, -9999px 0 0 -9999px);
|
113
|
+
visibility: hidden;
|
114
|
+
max-width: 99999px;
|
115
|
+
max-height: 99999px;
|
116
|
+
overflow: visible !important;
|
117
|
+
}
|
121
118
|
|
122
|
-
|
119
|
+
.fancybox-lock { overflow: hidden; }
|
123
120
|
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
121
|
+
.fancybox-lock .fancybox-overlay {
|
122
|
+
overflow: auto;
|
123
|
+
overflow-y: scroll;
|
124
|
+
}
|
128
125
|
|
129
126
|
|
130
127
|
// Content
|
131
|
-
// --------------------------------------------------------------------------------------------------------------------
|
132
128
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
129
|
+
.fancybox-error {
|
130
|
+
margin: 0;
|
131
|
+
padding: $modals-error-padding;
|
132
|
+
white-space: nowrap;
|
133
|
+
}
|
138
134
|
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
135
|
+
.fancybox-image,
|
136
|
+
.fancybox-iframe {
|
137
|
+
display: block;
|
138
|
+
@include square(100%);
|
139
|
+
}
|
144
140
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
141
|
+
.fancybox-image {
|
142
|
+
max-width: 100%;
|
143
|
+
max-height: 100%;
|
144
|
+
// @include border-radius($base-border-radius);
|
145
|
+
}
|
150
146
|
|
151
147
|
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
148
|
+
#fancybox-loading {
|
149
|
+
@include position(fixed, 50% 0 0 50%);
|
150
|
+
@extend %modal__loading !optional;
|
151
|
+
cursor: pointer;
|
152
|
+
z-index: $zindex-modal +4;
|
153
|
+
}
|
158
154
|
|
159
155
|
|
160
156
|
// Buttons and Navigation
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
}
|
157
|
+
|
158
|
+
.fancybox-close {
|
159
|
+
@extend %modal__btn !optional;
|
160
|
+
@extend %modal__close !optional;
|
161
|
+
// @include border-radius($base-border-radius);
|
162
|
+
z-index: ($zindex-modal + 3);
|
163
|
+
}
|
164
|
+
|
165
|
+
.fancybox-nav {
|
166
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
167
|
+
@include position(absolute, 0px 0 0 0);
|
168
|
+
@include size(100%, 40%);
|
169
|
+
z-index: ($zindex-modal + 2);
|
170
|
+
|
171
|
+
span {
|
172
|
+
@extend %modal__btn !optional;
|
173
|
+
@extend %modal__nav !optional;
|
174
|
+
@include position(absolute, 50% 0 0 0);
|
175
|
+
@include opacity(0);
|
176
|
+
z-index: ($zindex-modal + 2);
|
177
|
+
}
|
178
|
+
|
179
|
+
&:hover span { @include opacity(1); }
|
180
|
+
|
181
|
+
&.fancybox-prev {
|
182
|
+
left: 0;
|
183
|
+
span { left: 0; }
|
184
|
+
}
|
185
|
+
|
186
|
+
&.fancybox-next {
|
187
|
+
right: 0;
|
188
|
+
span { right: 0; }
|
189
|
+
}
|
190
|
+
}
|
196
191
|
|
197
192
|
|
198
193
|
// Titles
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
/* --------------------------------------------------------------------------------------------------------------------
|
194
|
+
|
195
|
+
.fancybox-title {
|
196
|
+
visibility: hidden;
|
197
|
+
position: relative;
|
198
|
+
text-shadow: none;
|
199
|
+
z-index: ($zindex-modal + 3);
|
200
|
+
}
|
201
|
+
|
202
|
+
.fancybox-opened .fancybox-title {
|
203
|
+
visibility: visible;
|
204
|
+
}
|
205
|
+
|
206
|
+
.fancybox-title-float-wrap {
|
207
|
+
@include position(absolute, 0 50% 0px 0);
|
208
|
+
margin-bottom: em(-35px);
|
209
|
+
text-align: center;
|
210
|
+
z-index: ($zindex-modal + 3);
|
211
|
+
|
212
|
+
.child {
|
213
|
+
@include alpha-color(#000, .8, background);
|
214
|
+
@include border-radius($base-border-radius);
|
215
|
+
display: inline-block;
|
216
|
+
margin-right: -100%;
|
217
|
+
padding: em(2px) em($input-padding-side);
|
218
|
+
color: #FFF;
|
219
|
+
font-weight: bold;
|
220
|
+
white-space: nowrap;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
.fancybox-title-outside-wrap {
|
225
|
+
position: relative;
|
226
|
+
margin-top: em($input-padding-top);
|
227
|
+
color: #fff;
|
228
|
+
}
|
229
|
+
|
230
|
+
.fancybox-title-over-wrap {
|
231
|
+
@include position(absolute, 0 0 0px 0px);
|
232
|
+
@extend %modal__caption !optional;
|
233
|
+
}
|
234
|
+
|
235
|
+
}
|
236
|
+
|
237
|
+
/*
|
244
238
|
|
245
239
|
Modal Buttons
|
246
240
|
|
@@ -270,37 +264,37 @@ Markup:
|
|
270
264
|
|
271
265
|
Styleguide 11.1
|
272
266
|
|
273
|
-
|
267
|
+
*/
|
274
268
|
|
275
269
|
@if $modal-buttons {
|
276
270
|
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
271
|
+
#fancybox-buttons {
|
272
|
+
@include position(fixed, 0 0 0 0px);
|
273
|
+
width: 100%;
|
274
|
+
z-index: ($zindex-modal + 3);
|
275
|
+
&.top { top: em(10px); }
|
276
|
+
&.bottom { bottom: em(10px); }
|
277
|
+
|
278
|
+
ul {
|
279
|
+
@extend %modal__btnbar-size !optional;
|
280
|
+
display: block;
|
281
|
+
list-style: none;
|
282
|
+
margin: 0 auto;
|
283
|
+
li {
|
284
|
+
float: left;
|
285
|
+
margin: 0;
|
286
|
+
a {
|
287
|
+
@extend %modal__btn !optional;
|
288
|
+
position: relative;
|
289
|
+
&:hover { @include opacity(1); }
|
290
|
+
&:after { @include position(absolute, 0px 0px 0 0px); }
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
301
295
|
}
|
302
296
|
|
303
|
-
/*
|
297
|
+
/*
|
304
298
|
|
305
299
|
Modal Thumbs
|
306
300
|
|
@@ -334,38 +328,38 @@ Markup:
|
|
334
328
|
|
335
329
|
Styleguide 11.2
|
336
330
|
|
337
|
-
|
331
|
+
*/
|
338
332
|
|
339
333
|
@if $modal-thumbs {
|
340
334
|
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
335
|
+
#fancybox-thumbs {
|
336
|
+
@include position(fixed, 0 0 0 0px);
|
337
|
+
overflow: hidden;
|
338
|
+
width: 100%;
|
339
|
+
z-index: ($zindex-modal + 3);
|
346
340
|
|
347
|
-
|
348
|
-
|
341
|
+
&.bottom { bottom: em(10px); }
|
342
|
+
&.top { top: em(10px); }
|
349
343
|
|
350
|
-
|
351
|
-
|
352
|
-
|
344
|
+
ul {
|
345
|
+
@extend %modal-reset;
|
346
|
+
position: relative;
|
353
347
|
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
348
|
+
li {
|
349
|
+
float: left;
|
350
|
+
margin-right: em(4px);
|
351
|
+
@include opacity(.5);
|
358
352
|
|
359
|
-
|
360
|
-
|
353
|
+
&:hover { @include opacity(.75); }
|
354
|
+
&.active { @include opacity(1); }
|
361
355
|
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
356
|
+
a {
|
357
|
+
display: block;
|
358
|
+
overflow: hidden;
|
359
|
+
text-align: center;
|
360
|
+
}
|
367
361
|
|
368
|
-
|
369
|
-
|
370
|
-
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}
|
371
365
|
}
|