flake-scss 0.1.4 → 0.1.5
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c0de169eb58119dfc0baa309da7c05a1bdbb636
|
4
|
+
data.tar.gz: 5f11d3b5d539aed4d46f85182459c622179a8ad9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c422a8410f983e5b75c8be1fa23d8436bdf4ad2bfee1ced9467c5f9f6f875ed719c6d0bd9d75b2f30dcb4cb5c4ebed06204ae7474f2a51c5362e3c9e306327e6
|
7
|
+
data.tar.gz: 19761bcd29d6c7b5e2d6bd6dc00107f0254a7317064cfa29d0ffed2c3ef8acd360de776a8a967972e3967f07ab0190cce1127e104dcde6b92bdee33125ec25c2
|
data/README.md
CHANGED
data/lib/flake/scss/version.rb
CHANGED
@@ -1,12 +1,18 @@
|
|
1
|
-
$radius:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
$radius-responsive: false !default;
|
2
|
+
|
3
|
+
$radius: () !default;
|
4
|
+
@if $radius == () {
|
5
|
+
$radius: (
|
6
|
+
0: 0,
|
7
|
+
1: 1px,
|
8
|
+
2: 2px,
|
9
|
+
3: 3px,
|
10
|
+
4: 4px,
|
11
|
+
5: 5px,
|
12
|
+
round: 50%,
|
13
|
+
rounded: 999px
|
14
|
+
);
|
15
|
+
}
|
10
16
|
|
11
17
|
@each $radi, $value in $radius {
|
12
18
|
.radius-#{$radi} {
|
@@ -15,3 +21,15 @@ $radius: (
|
|
15
21
|
|
16
22
|
$addme: add-to-apply-map(radius-#{$radi}, "border-radius", "#{$value}");
|
17
23
|
}
|
24
|
+
|
25
|
+
@if $radius-responsive {
|
26
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
27
|
+
@include breakpoint($breakpoint) {
|
28
|
+
@each $radi, $value in $radius {
|
29
|
+
.#{$breakpoint}\:radius-#{$radi} {
|
30
|
+
border-radius: $value;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
@@ -1,13 +1,30 @@
|
|
1
|
-
$shadows:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
)
|
1
|
+
$shadows-hover: true !default;
|
2
|
+
|
3
|
+
$shadows: () !default;
|
4
|
+
@if $shadows == () {
|
5
|
+
$shadows: (
|
6
|
+
1: "0 1px 3px #{rgba(map-get(map-get($colors-list, gray), 900), .05)},
|
7
|
+
0 1px 2px #{rgba(map-get(map-get($colors-list, gray), 900), .11)}",
|
8
|
+
2: "0 3px 6px #{rgba(map-get(map-get($colors-list, gray), 900), .07)},
|
9
|
+
0 3px 6px #{rgba(map-get(map-get($colors-list, gray), 900), .10)}",
|
10
|
+
3: "0 10px 20px #{rgba(map-get(map-get($colors-list, gray), 900), .15)},
|
11
|
+
0 6px 6px #{rgba(map-get(map-get($colors-list, gray), 900), .10)}",
|
12
|
+
4: "0 14px 28px #{rgba(map-get(map-get($colors-list, gray), 900), .12)},
|
13
|
+
0 10px 10px #{rgba(map-get(map-get($colors-list, gray), 900), .09)}",
|
14
|
+
5: "0 19px 38px #{rgba(map-get(map-get($colors-list, gray), 900), .17)},
|
15
|
+
0 15px 12px #{rgba(map-get(map-get($colors-list, gray), 900), .09)}"
|
16
|
+
);
|
17
|
+
}
|
8
18
|
|
9
19
|
@each $shadow, $value in $shadows {
|
10
|
-
|
20
|
+
$hover: "";
|
21
|
+
|
22
|
+
@if $shadows-hover {
|
23
|
+
$hover: ", .hover\\:shadow-#{$shadow}:hover";
|
24
|
+
}
|
25
|
+
|
26
|
+
.shadow-#{$shadow}
|
27
|
+
#{$hover} {
|
11
28
|
box-shadow: #{$value};
|
12
29
|
}
|
13
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flake-scss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitcheljager
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|