sugarcss 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sugarcss.rb +2 -2
- data/stylesheets/sugar/_animations.scss +6 -5
- data/stylesheets/sugar/_functions.scss +23 -37
- data/stylesheets/sugar/_loaders.scss +1224 -0
- data/stylesheets/sugar/_sugar.scss +13 -8
- metadata +3 -2
@@ -28,9 +28,9 @@
|
|
28
28
|
// |------------------------------------------------------
|
29
29
|
// |------------------------------------------------------
|
30
30
|
// @created 20.11.15
|
31
|
-
// @updated
|
31
|
+
// @updated 08.01.16
|
32
32
|
// @author Olivier Bossel <olivier.bossel@gmail.com>
|
33
|
-
// @version 1.0.
|
33
|
+
// @version 1.0.2
|
34
34
|
// |------------------------------------------------------
|
35
35
|
// |------------------------------------------------------
|
36
36
|
|
@@ -98,6 +98,11 @@
|
|
98
98
|
//
|
99
99
|
@import 'lists';
|
100
100
|
|
101
|
+
//
|
102
|
+
// Loaders
|
103
|
+
//
|
104
|
+
@import 'loaders';
|
105
|
+
|
101
106
|
//
|
102
107
|
// Images
|
103
108
|
//
|
@@ -381,13 +386,13 @@ $_sugar-settings-cache : ();
|
|
381
386
|
$classes : map-get($color, classes);
|
382
387
|
@if $classes {
|
383
388
|
@if $classes == true or in-list($classes, color c) {
|
384
|
-
$cls : str-replace($classes-color, '{color}', #{$name});
|
389
|
+
$cls : str-replace($classes-color, '{color}', "#{$name}");
|
385
390
|
#{unquote(".#{$cls}")} {
|
386
391
|
color : $c;
|
387
392
|
}
|
388
393
|
}
|
389
394
|
@if $classes == true or in-list($classes, background-color background bkg) {
|
390
|
-
$cls : str-replace($classes-bkg, '{color}', #{$name});
|
395
|
+
$cls : str-replace($classes-bkg, '{color}', "#{$name}");
|
391
396
|
#{unquote(".#{$cls}")} {
|
392
397
|
background-color : $c;
|
393
398
|
}
|
@@ -396,15 +401,15 @@ $_sugar-settings-cache : ();
|
|
396
401
|
@if $modifiers {
|
397
402
|
@each $mod-name, $mod in $modifiers {
|
398
403
|
@if $classes == true or in-list($classes, color c) {
|
399
|
-
$cls : str-replace($classes-color-mod, '{color}', #{$name});
|
400
|
-
$cls : str-replace($cls, '{modifier}',
|
404
|
+
$cls : str-replace($classes-color-mod, '{color}', "#{$name}");
|
405
|
+
$cls : str-replace($cls, '{modifier}', $mod-name);
|
401
406
|
#{unquote(".#{$cls}")} {
|
402
407
|
color : s-color($name, $mod-name);
|
403
408
|
}
|
404
409
|
}
|
405
410
|
@if $classes == true or in-list($classes, background-color background bkg) {
|
406
|
-
$cls : str-replace($classes-bkg-mod, '{color}', #{$name});
|
407
|
-
$cls : str-replace($cls, '{modifier}',
|
411
|
+
$cls : str-replace($classes-bkg-mod, '{color}', "#{$name}");
|
412
|
+
$cls : str-replace($cls, '{modifier}', $mod-name);
|
408
413
|
#{unquote(".#{$cls}")} {
|
409
414
|
background-color : s-color($name, $mod-name);
|
410
415
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugarcss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Bossel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- stylesheets/sugar/_icons.scss
|
50
50
|
- stylesheets/sugar/_images.scss
|
51
51
|
- stylesheets/sugar/_lists.scss
|
52
|
+
- stylesheets/sugar/_loaders.scss
|
52
53
|
- stylesheets/sugar/_medias.scss
|
53
54
|
- stylesheets/sugar/_reset.scss
|
54
55
|
- stylesheets/sugar/_shapes.scss
|