rapido-css 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDFmZDgxMTA4ZTBkYzEyY2RhZDc1ZGQ4ZDQ0N2RmMWUyZjQyOWZhMQ==
5
- data.tar.gz: !binary |-
6
- YWFkNjhlNjQwZmE4OGE3M2QyN2Q5OTMxMzNlYmU1ZDA5MGJkMDJiOA==
2
+ SHA1:
3
+ metadata.gz: 7007fd03a575bbb9b5e82919b24e2f1f11eff809
4
+ data.tar.gz: 31f94c41ee91621e0db52daf4a5f4d6a1cdcc934
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjRmOTJiZTllOGYzODgzNWVmZjY5MGFhOGNhNjZkYjcwNjAzYThiMjI1NTBm
10
- MTQ0YTMyZmJiODZmNjc4ZDFjODhiMTcyMGQ3ZGIwODRiMjQ0MGM3ZGVmZjg4
11
- Y2JlODUyM2ExNmE5MDgzYTAyZWE4YTIwM2E3YmMyNTM4Yzc5MTE=
12
- data.tar.gz: !binary |-
13
- NzI0YzdhNGE1OTVlMWYyNzZhYmM1NTU1N2FlYmU3NmQwZjFkMDg0YjcyOGJm
14
- Y2I2ODFhZWFhZjJmMWJiNWU1NGE4MWYyYzY5NDJhZWQzMjZiMTEyOWY3NzFh
15
- YTllMTNlZTQ0Njc2M2VkNTA3Zjk5MmI3ZWRhYzFjZTdmZjliYzg=
6
+ metadata.gz: 6e0bf28308533fbf87b65d8f03314ffe8c1d32199a11cb2a4c463a4eb6c515b047288c09bd359b2cbaae3c36d0b8cb922a1bf42bde669d114b652d3889d2fc70
7
+ data.tar.gz: 162bd05bfd2f1b164d489c7a8b1a8c6a77f55f0f54810ff7b8d493d4d0027975d87982fd5eb1e691333d000c60ef2e41becf355fdafe13882faa2ab6d5edab44
data/lib/rapido-css.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'compass'
2
2
  require 'susy'
3
3
  require 'sass-media_query_combiner'
4
+ require 'sass-globbing'
4
5
 
5
6
  extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
6
7
  Compass::Frameworks.register('rapido-css', :path => extension_path)
@@ -42,9 +42,10 @@ Styleguide 5
42
42
 
43
43
  .caption {
44
44
  position: relative;
45
- float: left;
46
45
  overflow: hidden;
47
46
  @include perspective(1000);
47
+ @include inline-block;
48
+
48
49
 
49
50
  &:nth-child(2n) {
50
51
  margin-right: 0;
@@ -71,11 +72,11 @@ Styleguide 5
71
72
  figcaption {
72
73
  bottom: 0;
73
74
  left: 0;
74
- opacity: 0;
75
+ @include opacity(0);
75
76
  }
76
- &:hover, &:active {
77
+ &:hover, &.hover, &:active {
77
78
  figcaption {
78
- opacity: 1;
79
+ @include opacity(1);
79
80
  }
80
81
  }
81
82
  }
@@ -86,12 +87,12 @@ Styleguide 5
86
87
  figcaption {
87
88
  bottom: 0;
88
89
  left: 0;
89
- opacity: 0;
90
+ @include opacity(0);
90
91
  @include translateY(100%);
91
92
  }
92
- &:hover, &:active {
93
+ &:hover, &.hover, &:active {
93
94
  figcaption {
94
- opacity: 1;
95
+ @include opacity(1);
95
96
  @include translateY(0);
96
97
  }
97
98
  }
@@ -103,12 +104,12 @@ Styleguide 5
103
104
  figcaption {
104
105
  left: 0;
105
106
  bottom: 0;
106
- opacity: 0;
107
+ @include opacity(0);
107
108
  @include translateX(100%);
108
109
  }
109
- &:hover, &:active {
110
+ &:hover, &.hover, &:active {
110
111
  figcaption {
111
- opacity: 1;
112
+ @include opacity(1);
112
113
  @include translateX(0);
113
114
  }
114
115
  }
@@ -121,11 +122,11 @@ Styleguide 5
121
122
  top: 0;
122
123
  left: 0;
123
124
  height: 100%;
124
- opacity: 0;
125
+ @include opacity(0);
125
126
  }
126
- &:hover, &:active {
127
+ &:hover, &.hover, &:active {
127
128
  figcaption {
128
- opacity: 1;
129
+ @include opacity(1);
129
130
  }
130
131
  }
131
132
  }
@@ -137,12 +138,12 @@ Styleguide 5
137
138
  top: 0;
138
139
  left: 0;
139
140
  @include simple-transform($rotate: 20deg, $trans-x:100%);
140
- opacity: 0;
141
+ @include opacity(0);
141
142
  }
142
- &:hover, &:active {
143
+ &:hover, &.hover, &:active {
143
144
  figcaption {
144
145
  @include simple-transform($rotate: 0deg, $trans-x:0);
145
- opacity: 1;
146
+ @include opacity(1);
146
147
  }
147
148
  }
148
149
  }
@@ -154,17 +155,17 @@ Styleguide 5
154
155
  top: 0;
155
156
  left: 0;
156
157
  @include translateX(-100%);
157
- opacity: 0;
158
+ @include opacity(0);
158
159
  z-index: 2;
159
160
  }
160
161
  .effect-figcaption-wrap {
161
162
  transition: $caption-animations-duration $caption-animations-duration/2;
162
163
  @include translateX(200%);
163
164
  }
164
- &:hover, &:active {
165
+ &:hover, &.hover, &:active {
165
166
  figcaption {
166
167
  @include translateX(0);
167
- opacity: 1;
168
+ @include opacity(1);
168
169
  }
169
170
  .effect-figcaption-wrap {
170
171
  @include translateX(0);
@@ -180,16 +181,16 @@ Styleguide 5
180
181
  left: 0;
181
182
  height: 100%;
182
183
  @include translateX(-100%);
183
- opacity: 0;
184
+ @include opacity(0);
184
185
  }
185
186
  img {
186
187
  transition: $caption-animations-duration;
187
188
  @include translateX(0);
188
189
  }
189
- &:hover, &:active {
190
+ &:hover, &.hover, &:active {
190
191
  figcaption {
191
192
  @include translateX(0);
192
- opacity: 1;
193
+ @include opacity(1);
193
194
  }
194
195
  img {
195
196
  @include translateX(100%);
@@ -204,15 +205,15 @@ Styleguide 5
204
205
  left: 0;
205
206
  height: 100%;
206
207
  @include translateY(-100%);
207
- opacity: 0;
208
+ @include opacity(0);
208
209
  }
209
210
  img {
210
211
  transition: $caption-animations-duration;
211
212
  }
212
- &:hover, &:active {
213
+ &:hover, &.hover, &:active {
213
214
  figcaption {
214
215
  @include translateY(0);
215
- opacity: 1;
216
+ @include opacity(1);
216
217
  }
217
218
  }
218
219
  }
@@ -225,15 +226,15 @@ Styleguide 5
225
226
  left: 0;
226
227
  @include scale(2);
227
228
  text-align: center;
228
- opacity: 0;
229
+ @include opacity(0);
229
230
  }
230
231
  img {
231
232
  transition: $caption-animations-duration;
232
233
  }
233
- &:hover, &:active {
234
+ &:hover, &.hover, &:active {
234
235
  figcaption {
235
236
  @include scale(1);
236
- opacity: 1;
237
+ @include opacity(1);
237
238
  }
238
239
  img {
239
240
  @include scale(1.1);
@@ -257,7 +258,7 @@ Styleguide 5
257
258
 
258
259
  transition: $caption-animations-duration;
259
260
  }
260
- &:hover, &:active {
261
+ &:hover, &.hover, &:active {
261
262
  figcaption {
262
263
  @include rotateY(0deg);
263
264
  }
@@ -279,7 +280,7 @@ Styleguide 5
279
280
  img {
280
281
  transition: $caption-animations-duration;
281
282
  }
282
- &:hover, &:active {
283
+ &:hover, &.hover, &:active {
283
284
  figcaption {
284
285
 
285
286
  @include rotateY(360deg);
@@ -303,7 +304,7 @@ Styleguide 5
303
304
 
304
305
  transition: $caption-animations-duration;
305
306
  }
306
- &:hover, &:active {
307
+ &:hover, &.hover, &:active {
307
308
  figcaption {
308
309
  @include rotateX(360deg);
309
310
  }
@@ -326,7 +327,7 @@ Styleguide 5
326
327
 
327
328
  transition: $caption-animations-duration;
328
329
  }
329
- &:hover, &:active {
330
+ &:hover, &.hover, &:active {
330
331
  figcaption {
331
332
  @include rotateX(0deg);
332
333
  }
@@ -343,16 +344,16 @@ Styleguide 5
343
344
  top: 0;
344
345
  left: 0;
345
346
  text-align: center;
346
- opacity: 0;
347
+ @include opacity(0);
347
348
  height: 100%;
348
349
  }
349
350
  img {
350
351
  transition: $caption-animations-duration;
351
352
  }
352
- &:hover, &:active {
353
+ &:hover, &.hover, &:active {
353
354
  figcaption {
354
355
  @include translate(15px, 15px);
355
- opacity: 1;
356
+ @include opacity(1);
356
357
  z-index: 100; //prevent ovarslap
357
358
  overflow: hidden;
358
359
  }
@@ -373,7 +374,7 @@ Styleguide 5
373
374
  z-index:10;
374
375
  transition: $caption-animations-duration;
375
376
  }
376
- &:hover, &:active {
377
+ &:hover, &.hover, &:active {
377
378
  img {
378
379
  @include translateY(-100%);
379
380
  }
@@ -393,7 +394,7 @@ Styleguide 5
393
394
  position:relative;
394
395
  transition: $caption-animations-duration;
395
396
  }
396
- &:hover, &:active {
397
+ &:hover, &.hover, &:active {
397
398
  img {
398
399
  @include translateY(-50%);
399
400
  }
@@ -444,15 +444,23 @@ Styleguide 8.6
444
444
  max-height: 0;
445
445
  overflow: hidden;
446
446
  position: absolute;
447
- z-index: 5;
448
- padding: $input-padding;
447
+ z-index: 999;
449
448
 
450
449
  &.open {
451
450
  max-height: $dropdowns-height;
452
451
  }
453
452
 
454
453
  a {
455
- display: block
454
+ display: block;
455
+ }
456
+
457
+ > * {
458
+ padding: $input-padding;
459
+ display: block;
460
+ }
461
+
462
+ > * + * {
463
+ padding-top: 0;
456
464
  }
457
465
 
458
466
  ul {
@@ -622,7 +630,8 @@ Styleguide 8.10
622
630
  .form--grid {
623
631
  .form__group {
624
632
  min-height: $control-min-height;
625
- margin: 0 0 em($control-margin-bottom) 0;
633
+ margin-top: 0;
634
+ margin-bottom: em($control-margin-bottom);
626
635
  }
627
636
 
628
637
  .form__multi,
@@ -39,7 +39,8 @@ $media-queries: palm, lap, portable, lap-and-up, desk;
39
39
  $nth: $total-columns / $i;
40
40
 
41
41
  .#{$device}-#{$i} {
42
- @include span-columns($i);
42
+ @include span($i);
43
+ @include nth-omega(#{$i}n);
43
44
  }
44
45
 
45
46
  $i: $i - 1;
@@ -44,6 +44,7 @@ Styleguide 12
44
44
  &, ul {
45
45
  @extend .clearfix;
46
46
  @extend .list-style-none;
47
+ margin-bottom: 0;
47
48
  }
48
49
 
49
50
  li {
@@ -45,9 +45,11 @@ Styleguide 18
45
45
  @include position(fixed, -100% 0em 0em 0em);
46
46
  height: 0;
47
47
  overflow: hidden;
48
+ visibility: hidden;
48
49
  &.open {
49
50
  @extend %overlay__content--open !optional;
50
51
  overflow: auto;
52
+ visibility: visible;
51
53
  z-index: $zindex-modal;
52
54
  }
53
55
  &.close {
@@ -19,7 +19,7 @@ Script required: **rapido.js**.
19
19
 
20
20
  Include this js after including rapido.js.
21
21
 
22
- $('.toggle').rapido_Toggle();
22
+ $('.news').rapido_Toggle();
23
23
 
24
24
  You can also pass a delay between the removing and adding the class, usefull
25
25
  when you have two animation that you don't wont to start at the same time.
@@ -28,7 +28,8 @@ when you have two animation that you don't wont to start at the same time.
28
28
 
29
29
  titleClass: [data-toggle-name]
30
30
  contentClass: [data-toggle-content]
31
- delay: 0
31
+ delay: 500
32
+ closable: true # Enable/disable the ability to close all panels
32
33
 
33
34
  Remeber to add closed and open state in the css, this module doesn't have
34
35
  default styling, es:
@@ -110,9 +110,9 @@ Styleguide 22.2
110
110
  */
111
111
 
112
112
  h1, h2, h3, h4, h5, h6 {
113
- margin: 0 0 rhythm();
114
113
  text-rendering: optimizelegibility;
115
114
  font-family: $titles-font-family;
115
+ margin-top: 0;
116
116
 
117
117
  small {
118
118
  font-weight: normal;
@@ -124,31 +124,37 @@ h1, h2, h3, h4, h5, h6 {
124
124
  h1, .h1 {
125
125
  @include adjust-font-size-to($h1-size, $h1-line-height);
126
126
  @extend %h1 !optional;
127
+ margin-bottom: rhythm(1, $font-size: $h1-size);
127
128
  }
128
129
 
129
130
  h2, .h2 {
130
131
  @include adjust-font-size-to($h2-size, $h2-line-height);
131
132
  @extend %h2 !optional;
133
+ margin-bottom: rhythm(1, $font-size: $h2-size);
132
134
  }
133
135
 
134
136
  h3, .h3 {
135
137
  @include adjust-font-size-to($h3-size, $h3-line-height);
136
138
  @extend %h3 !optional;
139
+ margin-bottom: rhythm(1, $font-size: $h3-size);
137
140
  }
138
141
 
139
142
  h4, .h4 {
140
143
  @include adjust-font-size-to($h4-size, $h4-line-height);
141
144
  @extend %h4 !optional;
145
+ margin-bottom: rhythm(1, $font-size: $h4-size);
142
146
  }
143
147
 
144
148
  h5, .h5 {
145
149
  @include adjust-font-size-to($h5-size, $h5-line-height);
146
150
  @extend %h5 !optional;
151
+ margin-bottom: rhythm(1, $font-size: $h5-size);
147
152
  }
148
153
 
149
154
  h6, .h6 {
150
155
  @include adjust-font-size-to($h6-size, $h6-line-height);
151
156
  @extend %h6 !optional;
157
+ margin-bottom: rhythm(1, $font-size: $h6-size);
152
158
  }
153
159
 
154
160
  h1 small { @include adjust-font-size-to($h3-size); }
@@ -28,6 +28,7 @@
28
28
  @import "utilities/debug";
29
29
  @import "utilities/animations";
30
30
  @import "utilities/icon-fonts";
31
+ @import "utilities/susy-old-syntax";
31
32
 
32
33
  // Components
33
34
 
@@ -69,33 +69,6 @@ $font-mono: Monaco, Menlo, Consolas, "Courier New",
69
69
  $base-font-family: $font-sans !default;
70
70
  $titles-font-family: $font-sans !default;
71
71
 
72
- /*
73
-
74
- Prefixes
75
-
76
- Enable or disable specific broweser prefixes used by Compass mixins.
77
-
78
- $experimental-support-for-mozilla: true
79
- $experimental-support-for-webkit: true
80
- $support-for-original-webkit-gradients: false
81
- $experimental-support-for-opera: false
82
- $experimental-support-for-microsoft: true
83
- $experimental-support-for-khtml: false
84
-
85
-
86
- Styleguide 28.4
87
-
88
- */
89
-
90
- $experimental-support-for-mozilla: true !default;
91
- $experimental-support-for-webkit: true !default;
92
- $support-for-original-webkit-gradients: false !default;
93
- $experimental-support-for-opera: false !default;
94
- $experimental-support-for-microsoft: true !default;
95
- $experimental-support-for-khtml: false !default;
96
-
97
-
98
-
99
72
  /*
100
73
 
101
74
  em()
@@ -12,21 +12,6 @@ Used for scaffolding
12
12
  $grayLighter: lighten($black, 95)
13
13
  $white: #fff
14
14
 
15
- # Better defaults from https://github.com/mrmrs/colors
16
- $aqua: #7FDBFF
17
- $blue: #0074D9
18
- $navy: #001F3F
19
- $teal: #39CCCC
20
- $green: #2ECC40
21
- $olive: #3D9970
22
- $lime: #01FF70
23
- $yellow: #FFDC00
24
- $orange: #FF851B
25
- $red: #FF4136
26
- $fuchsia: #F012BE
27
- $purple: #B10DC9
28
- $maroon: #85144B
29
-
30
15
  Styleguide 29
31
16
 
32
17
  */
@@ -39,20 +24,6 @@ $grayLight: lighten($black, 85);
39
24
  $grayLighter: lighten($black, 95);
40
25
  $white: lighten($black, 100);
41
26
 
42
- $aqua: #7FDBFF;
43
- $blue: #0074D9;
44
- $navy: #001F3F;
45
- $teal: #39CCCC;
46
- $green: #2ECC40;
47
- $olive: #3D9970;
48
- $lime: #01FF70;
49
- $yellow: #FFDC00;
50
- $orange: #FF851B;
51
- $red: #FF4136;
52
- $fuchsia: #F012BE;
53
- $purple: #B10DC9;
54
- $maroon: #85144B;
55
-
56
27
  /*
57
28
 
58
29
  Default colors
@@ -60,13 +31,13 @@ Default colors
60
31
  $body-color: #FFFFFF
61
32
  $text-color: #333
62
33
 
63
- $link-color: #0066cc
34
+ $link-color: #0074D9
64
35
  $link-color-hover: darken($link-color, 10%)
65
36
 
66
37
  $placeholder-color: $gray
67
38
 
68
39
  $selection-color: $white
69
- $selection-bacground: $gray
40
+ $selection-bacground: #39CCCC
70
41
 
71
42
  $tooltip-color: $white
72
43
  $tooltip-background: rgba(0,0,0,.75)
@@ -78,13 +49,13 @@ Styleguide 29.1
78
49
  $body-color: $white !default;
79
50
  $text-color: $grayDarker !default;
80
51
 
81
- $link-color: $blue !default;
52
+ $link-color: #0074D9 !default;
82
53
  $link-color-hover: darken($link-color, 10) !default;
83
54
 
84
55
  $placeholder-color: $gray !default;
85
56
 
86
57
  $selection-color: $white !default;
87
- $selection-background: $teal !default;
58
+ $selection-background: #39CCCC !default;
88
59
 
89
60
  $tooltip-color: $white !default;
90
61
  $tooltip-background: rgba(0,0,0,.75) !default;
@@ -113,9 +113,9 @@ $input-padding-side: 10px
113
113
  $checkbox-padding-left: 20px !default;
114
114
 
115
115
  // Do · not · edit
116
- $input-padding: em($input-padding-top) em($input-padding-side) ;
117
- $input-height: em($base-font-size + ($input-padding-top * 2) + ($input-border * 2)) ;
118
- $control-min-height: em($base-line-height + $label-margin-bottom) + $input-height - em(5px) ;
116
+ $input-padding: em($input-padding-top) em($input-padding-side) !default;
117
+ $input-height: em($base-font-size + ($input-padding-top * 2) + ($input-border * 2)) !default;
118
+ $control-min-height: em($base-line-height + $label-margin-bottom) + $input-height - em(5px) !default;
119
119
 
120
120
 
121
121
  /*
@@ -64,48 +64,48 @@ $tada : false !default;
64
64
  // Enable animation from the settings
65
65
 
66
66
  @each $animation in $animations {
67
- @if $animation == 'fadeIn' {$fadeIn : true;}
68
- @if $animation == 'fadeOut' {$fadeOut : true;}
69
- @if $animation == 'fadeInUp' {$fadeInUp : true;}
70
- @if $animation == 'fadeOutUp' {$fadeOutUp : true;}
71
- @if $animation == 'fadeInDown' {$fadeInDown : true;}
72
- @if $animation == 'fadeOutDown' {$fadeOutDown : true;}
73
- @if $animation == 'fadeInRight' {$fadeInRight : true;}
74
- @if $animation == 'fadeOutLeft' {$fadeOutLeft : true;}
75
- @if $animation == 'fadeInLeft' {$fadeInLeft : true;}
76
- @if $animation == 'fadeOutRight' {$fadeOutRight : true;}
77
- @if $animation == 'fadeInUpBig' {$fadeInUpBig : true;}
78
- @if $animation == 'fadeOutUpBig' {$fadeOutUpBig : true;}
79
- @if $animation == 'fadeInDownBig' {$fadeInDownBig : true;}
80
- @if $animation == 'fadeOutDownBig' {$fadeOutDownBig : true;}
81
- @if $animation == 'fadeInRightBig' {$fadeInRightBig : true;}
82
- @if $animation == 'fadeOutLeftBig' {$fadeOutLeftBig : true;}
83
- @if $animation == 'fadeInLeftBig' {$fadeInLeftBig : true;}
84
- @if $animation == 'fadeOutRightBig' {$fadeOutRightBig : true;}
85
- @if $animation == 'bounceIn' {$bounceIn : true;}
86
- @if $animation == 'bounceInDown' {$bounceInDown : true;}
87
- @if $animation == 'bounceInUp' {$bounceInUp : true;}
88
- @if $animation == 'bounceInRight' {$bounceInRight : true;}
89
- @if $animation == 'bounceInLeft' {$bounceInLeft : true;}
90
- @if $animation == 'bounceOut' {$bounceOut : true;}
91
- @if $animation == 'bounceOutUp' {$bounceOutUp : true;}
92
- @if $animation == 'bounceOutDown' {$bounceOutDown : true;}
93
- @if $animation == 'bounceOutLeft' {$bounceOutLeft : true;}
94
- @if $animation == 'bounceOutRight' {$bounceOutRight : true;}
95
- @if $animation == 'flash' {$flash : true;}
96
- @if $animation == 'bounce' {$bounce : true;}
97
- @if $animation == 'shake' {$shake : true;}
98
- @if $animation == 'rotateInDownLeft' {$rotateInDownLeft : true;}
99
- @if $animation == 'rotateInUpLeft' {$rotateInUpLeft : true;}
100
- @if $animation == 'rotateInUpRight' {$rotateInUpRight : true;}
101
- @if $animation == 'rotateInDownRight' {$rotateInDownRight : true;}
102
- @if $animation == 'rotateOutDownLeft' {$rotateOutDownLeft : true;}
103
- @if $animation == 'rotateOutUpLeft' {$rotateOutUpLeft : true;}
104
- @if $animation == 'rotateOutDownRight' {$rotateOutDownRight : true;}
105
- @if $animation == 'rotateOutUpRight' {$rotateOutUpRight : true;}
106
- @if $animation == 'rotateIn' {$rotateIn : true;}
107
- @if $animation == 'rotateOut' {$rotateOut : true;}
108
- @if $animation == 'tada' {$tada : true;}
67
+ @if $animation == 'fadeIn' {$fadeIn : true !global;}
68
+ @if $animation == 'fadeOut' {$fadeOut : true !global;}
69
+ @if $animation == 'fadeInUp' {$fadeInUp : true !global;}
70
+ @if $animation == 'fadeOutUp' {$fadeOutUp : true !global;}
71
+ @if $animation == 'fadeInDown' {$fadeInDown : true !global;}
72
+ @if $animation == 'fadeOutDown' {$fadeOutDown : true !global;}
73
+ @if $animation == 'fadeInRight' {$fadeInRight : true !global;}
74
+ @if $animation == 'fadeOutLeft' {$fadeOutLeft : true !global;}
75
+ @if $animation == 'fadeInLeft' {$fadeInLeft : true !global;}
76
+ @if $animation == 'fadeOutRight' {$fadeOutRight : true !global;}
77
+ @if $animation == 'fadeInUpBig' {$fadeInUpBig : true !global;}
78
+ @if $animation == 'fadeOutUpBig' {$fadeOutUpBig : true !global;}
79
+ @if $animation == 'fadeInDownBig' {$fadeInDownBig : true !global;}
80
+ @if $animation == 'fadeOutDownBig' {$fadeOutDownBig : true !global;}
81
+ @if $animation == 'fadeInRightBig' {$fadeInRightBig : true !global;}
82
+ @if $animation == 'fadeOutLeftBig' {$fadeOutLeftBig : true !global;}
83
+ @if $animation == 'fadeInLeftBig' {$fadeInLeftBig : true !global;}
84
+ @if $animation == 'fadeOutRightBig' {$fadeOutRightBig : true !global;}
85
+ @if $animation == 'bounceIn' {$bounceIn : true !global;}
86
+ @if $animation == 'bounceInDown' {$bounceInDown : true !global;}
87
+ @if $animation == 'bounceInUp' {$bounceInUp : true !global;}
88
+ @if $animation == 'bounceInRight' {$bounceInRight : true !global;}
89
+ @if $animation == 'bounceInLeft' {$bounceInLeft : true !global;}
90
+ @if $animation == 'bounceOut' {$bounceOut : true !global;}
91
+ @if $animation == 'bounceOutUp' {$bounceOutUp : true !global;}
92
+ @if $animation == 'bounceOutDown' {$bounceOutDown : true !global;}
93
+ @if $animation == 'bounceOutLeft' {$bounceOutLeft : true !global;}
94
+ @if $animation == 'bounceOutRight' {$bounceOutRight : true !global;}
95
+ @if $animation == 'flash' {$flash : true !global;}
96
+ @if $animation == 'bounce' {$bounce : true !global;}
97
+ @if $animation == 'shake' {$shake : true !global;}
98
+ @if $animation == 'rotateInDownLeft' {$rotateInDownLeft : true !global;}
99
+ @if $animation == 'rotateInUpLeft' {$rotateInUpLeft : true !global;}
100
+ @if $animation == 'rotateInUpRight' {$rotateInUpRight : true !global;}
101
+ @if $animation == 'rotateInDownRight' {$rotateInDownRight : true !global;}
102
+ @if $animation == 'rotateOutDownLeft' {$rotateOutDownLeft : true !global;}
103
+ @if $animation == 'rotateOutUpLeft' {$rotateOutUpLeft : true !global;}
104
+ @if $animation == 'rotateOutDownRight' {$rotateOutDownRight : true !global;}
105
+ @if $animation == 'rotateOutUpRight' {$rotateOutUpRight : true !global;}
106
+ @if $animation == 'rotateIn' {$rotateIn : true !global;}
107
+ @if $animation == 'rotateOut' {$rotateOut : true !global;}
108
+ @if $animation == 'tada' {$tada : true !global;}
109
109
  }
110
110
 
111
111
 
@@ -148,7 +148,7 @@ Styleguide 24.4
148
148
  */
149
149
 
150
150
  @if $animations-classes {
151
- $delays: 0.25s, 0.50s, 0.75s, 1.00s, 1.25s, 1.50s, 1.75s, 2.00s;
151
+ $delays: 0s, 0.25s, 0.50s, 0.75s, 1.00s, 1.25s, 1.50s, 1.75s, 2.00s, 2.25s, 2.50s, 2.75s, 3.00s;
152
152
  @each $delay in $delays {
153
153
  $delays-class: strip_units($delay)*100;
154
154
  .delay-#{$delays-class} {
@@ -99,13 +99,12 @@ Styleguide 25.3
99
99
 
100
100
  */
101
101
 
102
- $i: 100;
103
- @while $i > 0 {
102
+
103
+ @for $i from 1 through 100 {
104
104
  %width-#{$i} { width: $i * 1% !important; }
105
105
  @if $width-helper-classes {
106
106
  [data-width="#{$i}"] { @extend %width-#{$i}; }
107
107
  }
108
- $i: $i - 1;
109
108
  }
110
109
 
111
110
  /*
@@ -711,10 +711,8 @@ Responsive grid
711
711
  * `$cols-container`: Columns of the container (default: $total-columns)
712
712
  * `$omega`: Bolean, us if is the last column
713
713
  * `$nth-omega`: If is a multi-row grid list use nth to apply omega to each element at the end of each row (example: `3n` to use omega every 3th element )
714
- * `$remove-omega`: Remove omega on previously applied omega (ignore it)
715
- * `$from`: Direction, left or right
714
+ * `$from`: Direction, ltr or rtl
716
715
  * `$media`: Media query to to use, for responsive grids
717
- * `$highlight-omega`: Bolean, used for debugging nth
718
716
 
719
717
  Styleguide 26.21
720
718
 
@@ -725,25 +723,14 @@ Styleguide 26.21
725
723
  $cols-container: $total-columns,
726
724
  $omega: false,
727
725
  $nth-omega: false,
728
- $remove-omega: false,
729
- $from: left,
730
- $media: null,
731
- $highlight-omega: false
726
+ $from: ltr,
727
+ $media: null
732
728
  ) {
733
729
 
734
730
  @include media($media) {
735
- $direction: left;
736
-
737
- @if $from != left { $direction: right; }
738
-
739
- @include span-columns($cols, $cols-container, $from: $direction);
740
- @if $omega { @include omega($from: $direction); }
741
- @if $nth-omega { @include nth-omega($nth-omega, $from: $direction); }
742
- @if $remove-omega { @include remove-omega; }
743
- @if $highlight-omega {
744
- @if $omega { background: blue; }
745
- @if $nth-omega { &:nth-child(#{$nth-omega}) {background: blue;} }
746
- }
731
+ @include span($cols of $cols-container $from);
732
+ @if $omega { @include omega; }
733
+ @if $nth-omega { @include nth-omega($nth-omega); }
747
734
  }
748
735
  }
749
736
 
@@ -0,0 +1,15 @@
1
+ @mixin nth-omega ($n) {
2
+ &:nth-child(#{$n}) {
3
+ @include omega;
4
+ }
5
+ }
6
+
7
+ @function space($columns, $context: 12) {
8
+ @return span($columns of $context wide)
9
+ }
10
+
11
+ @function columns($columns, $context: 12) {
12
+ @return span($columns of $context)
13
+ }
14
+
15
+
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapido-css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raffaele Rasini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-23 00:00:00.000000000 Z
11
+ date: 2014-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: susy
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.8
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.8
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sass-media_query_combiner
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.6
33
+ version: '0.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.6
40
+ version: '0.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sass-globbing
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
41
55
  description: An easy and quick Sass + Compass + Susy + OOCSS + BEM prototyping framework.
42
56
  email: raffaele.rasini@gmail.com
43
57
  executables: []
@@ -85,6 +99,7 @@ files:
85
99
  - stylesheets/utilities/_helper-classes.scss
86
100
  - stylesheets/utilities/_icon-fonts.scss
87
101
  - stylesheets/utilities/_mixins.scss
102
+ - stylesheets/utilities/_susy-old-syntax.scss
88
103
  - templates/project/manifest.rb
89
104
  - templates/project/screen.scss
90
105
  homepage: https://github.com/raffone/rapido
@@ -97,17 +112,17 @@ require_paths:
97
112
  - lib
98
113
  required_ruby_version: !ruby/object:Gem::Requirement
99
114
  requirements:
100
- - - ! '>='
115
+ - - '>='
101
116
  - !ruby/object:Gem::Version
102
117
  version: '0'
103
118
  required_rubygems_version: !ruby/object:Gem::Requirement
104
119
  requirements:
105
- - - ! '>='
120
+ - - '>='
106
121
  - !ruby/object:Gem::Version
107
122
  version: '0'
108
123
  requirements: []
109
124
  rubyforge_project:
110
- rubygems_version: 2.2.1
125
+ rubygems_version: 2.0.14
111
126
  signing_key:
112
127
  specification_version: 4
113
128
  summary: A quick css prototyping framework