flake-scss 0.1.11 → 0.1.12
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 +4 -4
- data/lib/flake/scss/version.rb +1 -1
- data/vendor/assets/stylesheets/_variables.scss +8 -0
- data/vendor/assets/stylesheets/animations/_transitions.scss +20 -22
- data/vendor/assets/stylesheets/background/_colors.scss +4 -4
- data/vendor/assets/stylesheets/background/_position.scss +1 -1
- data/vendor/assets/stylesheets/background/_sizes.scss +1 -1
- data/vendor/assets/stylesheets/border/_colors.scss +39 -41
- data/vendor/assets/stylesheets/border/_general.scss +12 -14
- data/vendor/assets/stylesheets/border/_radius.scss +12 -14
- data/vendor/assets/stylesheets/flake/_functions.scss +0 -4
- data/vendor/assets/stylesheets/general/_display.scss +21 -23
- data/vendor/assets/stylesheets/general/_overflow.scss +12 -14
- data/vendor/assets/stylesheets/general/_position.scss +14 -16
- data/vendor/assets/stylesheets/general/_z-index.scss +5 -7
- data/vendor/assets/stylesheets/layout/_flex.scss +28 -30
- data/vendor/assets/stylesheets/shadows/_shadows.scss +17 -19
- data/vendor/assets/stylesheets/sizing/_grid.scss +43 -45
- data/vendor/assets/stylesheets/sizing/_spacing.scss +31 -33
- data/vendor/assets/stylesheets/text/_align.scss +12 -14
- data/vendor/assets/stylesheets/text/_colors.scss +25 -27
- data/vendor/assets/stylesheets/text/_fonts.scss +5 -7
- data/vendor/assets/stylesheets/text/_sizes.scss +5 -7
- data/vendor/assets/stylesheets/text/_style.scss +20 -28
- data/vendor/assets/stylesheets/text/_titles.scss +5 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bae1c46e37e957be66d2237ddd8b9bea43cd356
|
4
|
+
data.tar.gz: 6ab7f8411de6096c687b7e5f4f2e6af846e1f939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c70e060f89541d4eff0f6e3ff36f74ce79f3b2ca4646ca4f911451b1c42b93d924acaa17712bb23697255da610dccb8a496e2442e148e16c1193d47403b592a
|
7
|
+
data.tar.gz: 4312a50502d9f85d21f1b803d043b9403b4a7cd354eb1e93a316432d84da2e2dba9ebf7e435e808f4d3e42ef29c399a6e926936a34ebf9d263a2ef4ad6595d54
|
data/lib/flake/scss/version.rb
CHANGED
@@ -7,32 +7,30 @@ $transitions: (
|
|
7
7
|
) !default;
|
8
8
|
|
9
9
|
@if index($components, transition) {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
16
|
-
|
17
|
-
.#{map-get($classnames, transition)}#{$sep}#{$transition} {
|
18
|
-
transition: #{$value};
|
19
|
-
}
|
10
|
+
@each $transition, $value in $transitions {
|
11
|
+
$sep: "";
|
12
|
+
@if $transition != "" {
|
13
|
+
$sep: "-"
|
14
|
+
}
|
20
15
|
|
21
|
-
|
16
|
+
.#{map-get($classnames, transition)}#{$sep}#{$transition} {
|
17
|
+
transition: #{$value} #{$important};
|
22
18
|
}
|
23
19
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
20
|
+
$addme: add-to-apply-map(#{map-get($classnames, transition)}#{$sep}#{$transition}, "transition", "#{$value}");
|
21
|
+
}
|
22
|
+
|
23
|
+
@if $transitions-responsive {
|
24
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
25
|
+
@include breakpoint($breakpoint) {
|
26
|
+
@each $transition, $value in $transitions {
|
27
|
+
$sep: "";
|
28
|
+
@if $transition != "" {
|
29
|
+
$sep: "-";
|
30
|
+
}
|
32
31
|
|
33
|
-
|
34
|
-
|
35
|
-
}
|
32
|
+
.#{$breakpoint}\:#{map-get($classnames, transition)}#{$sep}#{$transition} {
|
33
|
+
transition: #{$value} #{$important};
|
36
34
|
}
|
37
35
|
}
|
38
36
|
}
|
@@ -12,7 +12,7 @@ $bg-responsive: true !default;
|
|
12
12
|
|
13
13
|
.#{map-get($classnames, background)}-#{"" + $color}
|
14
14
|
#{$hover} {
|
15
|
-
background-color: #{$value};
|
15
|
+
background-color: #{$value} #{$important};
|
16
16
|
}
|
17
17
|
|
18
18
|
$addme: add-to-apply-map(#{map-get($classnames, background)}-#{"" + $color}, "background-color", "#{$value}");
|
@@ -32,7 +32,7 @@ $bg-responsive: true !default;
|
|
32
32
|
|
33
33
|
.#{map-get($classnames, background)}-#{"" + $color}-#{"" + $shade}
|
34
34
|
#{$hover} {
|
35
|
-
background-color: $value;
|
35
|
+
background-color: #{$value} #{$important};
|
36
36
|
}
|
37
37
|
|
38
38
|
$addme: add-to-apply-map(#{map-get($classnames, background)}-#{"" + $color}-#{"" + $shade}, "background-color", "#{$value}");
|
@@ -46,7 +46,7 @@ $bg-responsive: true !default;
|
|
46
46
|
@if $theme-colors != () {
|
47
47
|
@each $color, $value in $theme-colors {
|
48
48
|
.#{$breakpoint}\:#{map-get($classnames, background)}-#{"" + $color} {
|
49
|
-
background-color: #{$value};
|
49
|
+
background-color: #{$value} #{$important};
|
50
50
|
}
|
51
51
|
}
|
52
52
|
}
|
@@ -57,7 +57,7 @@ $bg-responsive: true !default;
|
|
57
57
|
|
58
58
|
@each $shade, $value in $medium {
|
59
59
|
.#{$breakpoint}\:#{map-get($classnames, background)}-#{"" + $color}-#{"" + $shade} {
|
60
|
-
background-color: $value;
|
60
|
+
background-color: $value #{$important};
|
61
61
|
}
|
62
62
|
}
|
63
63
|
}
|
@@ -6,7 +6,7 @@ $background-positions: (
|
|
6
6
|
:root {
|
7
7
|
@each $value in $background-positions {
|
8
8
|
.#{map-get($classnames, background)}-#{$value} {
|
9
|
-
background-position: $value;
|
9
|
+
background-position: $value #{$important};
|
10
10
|
}
|
11
11
|
|
12
12
|
$addme: add-to-apply-map(#{map-get($classnames, background)}-#{$value}, "background-position", "#{$value}");
|
@@ -7,7 +7,7 @@ $background-sizes: (
|
|
7
7
|
:root {
|
8
8
|
@each $value in $background-sizes {
|
9
9
|
.#{map-get($classnames, background)}-#{$value} {
|
10
|
-
background-size: $value;
|
10
|
+
background-size: $value #{$important};
|
11
11
|
}
|
12
12
|
|
13
13
|
$addme: add-to-apply-map(#{map-get($classnames, background)}-#{$value}, "background-size", "#{$value}");
|
@@ -2,63 +2,61 @@ $border-color-hover: true !default;
|
|
2
2
|
$border-color-responsive: false !default;
|
3
3
|
|
4
4
|
@if index($components, border-colors) {
|
5
|
-
|
6
|
-
@
|
7
|
-
|
8
|
-
$hover: "";
|
5
|
+
@if $theme-colors != () {
|
6
|
+
@each $color, $value in $theme-colors {
|
7
|
+
$hover: "";
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
.#{map-get($classnames, border)}-#{"" + $color}
|
15
|
-
#{$hover} {
|
16
|
-
border-color: #{$value};
|
17
|
-
}
|
9
|
+
@if $border-color-hover {
|
10
|
+
$hover: ", .hover\\:#{map-get($classnames, border)}-#{"" + $color}:hover";
|
11
|
+
}
|
18
12
|
|
19
|
-
|
13
|
+
.#{map-get($classnames, border)}-#{"" + $color}
|
14
|
+
#{$hover} {
|
15
|
+
border-color: #{$value} #{$important};
|
20
16
|
}
|
21
|
-
}
|
22
17
|
|
23
|
-
|
24
|
-
|
25
|
-
|
18
|
+
$addme: add-to-apply-map(#{map-get($classnames, border)}-#{"" + $color}, "border-color", "#{$value}");
|
19
|
+
}
|
20
|
+
}
|
26
21
|
|
27
|
-
|
28
|
-
|
22
|
+
@if $full-colors {
|
23
|
+
@each $color in $colors {
|
24
|
+
$medium: map-get($colors-list, $color);
|
29
25
|
|
30
|
-
|
31
|
-
|
32
|
-
}
|
26
|
+
@each $shade, $value in $medium {
|
27
|
+
$hover: "";
|
33
28
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
}
|
29
|
+
@if $border-color-hover {
|
30
|
+
$hover: ", .hover\\:#{map-get($classnames, border)}-#{"" + $color}-#{"" + $shade}:hover";
|
31
|
+
}
|
38
32
|
|
39
|
-
|
33
|
+
.#{map-get($classnames, border)}-#{"" + $color}-#{"" + $shade}
|
34
|
+
#{$hover} {
|
35
|
+
border-color: $value #{$important};
|
40
36
|
}
|
37
|
+
|
38
|
+
$addme: add-to-apply-map(#{map-get($classnames, border)}-#{"" + $color}-#{"" + $shade}, "border-color", "#{$value}");
|
41
39
|
}
|
42
40
|
}
|
41
|
+
}
|
43
42
|
|
44
43
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
}
|
44
|
+
@if $border-color-responsive {
|
45
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
46
|
+
@include breakpoint($breakpoint) {
|
47
|
+
@if $theme-colors != () {
|
48
|
+
@each $color, $value in $theme-colors {
|
49
|
+
.#{$breakpoint}\:#{map-get($classnames, border)}-#{"" + $color} {
|
50
|
+
border-color: #{$value} #{$important};
|
53
51
|
}
|
54
52
|
}
|
53
|
+
}
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
55
|
+
@if $full-colors {
|
56
|
+
@each $color in $colors {
|
57
|
+
@each $shade, $value in $medium {
|
58
|
+
.#{$breakpoint}\:#{map-get($classnames, border)}-#{"" + $color}-#{"" + $shade} {
|
59
|
+
border-color: $value #{$important};
|
62
60
|
}
|
63
61
|
}
|
64
62
|
}
|
@@ -31,11 +31,11 @@ $border-sizes: (
|
|
31
31
|
}
|
32
32
|
|
33
33
|
.#{$bp}b#{$space}-#{$size} {
|
34
|
-
border#{$sep}#{$value}: #{$size}px solid black;
|
34
|
+
border#{$sep}#{$value}: #{$size}px solid black #{$important};
|
35
35
|
}
|
36
36
|
|
37
37
|
.#{$bp}b#{$space}-0 {
|
38
|
-
border#{$sep}#{$value}: 0;
|
38
|
+
border#{$sep}#{$value}: 0 #{$important};
|
39
39
|
}
|
40
40
|
|
41
41
|
@if $breakpoint == 0 {
|
@@ -45,20 +45,18 @@ $border-sizes: (
|
|
45
45
|
}
|
46
46
|
|
47
47
|
@if index($components, borders) {
|
48
|
-
|
49
|
-
@each $
|
50
|
-
@
|
51
|
-
@include makeBorder($border, $value, $size);
|
52
|
-
}
|
48
|
+
@each $border, $value in $borders {
|
49
|
+
@each $size in $border-sizes {
|
50
|
+
@include makeBorder($border, $value, $size);
|
53
51
|
}
|
52
|
+
}
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
54
|
+
@if $border-responsive {
|
55
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
56
|
+
@include breakpoint($breakpoint) {
|
57
|
+
@each $border, $value in $borders {
|
58
|
+
@each $size in $border-sizes {
|
59
|
+
@include makeBorder($border, $value, $size, $breakpoint);
|
62
60
|
}
|
63
61
|
}
|
64
62
|
}
|
@@ -13,22 +13,20 @@ $radius: (
|
|
13
13
|
) !default;
|
14
14
|
|
15
15
|
@if index($components, border-radius) {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
border-radius: $value;
|
20
|
-
}
|
21
|
-
|
22
|
-
$addme: add-to-apply-map(#{map-get($classnames, border-radius)}-#{$radi}, "border-radius", "#{$value}");
|
16
|
+
@each $radi, $value in $radius {
|
17
|
+
.#{map-get($classnames, border-radius)}-#{$radi} {
|
18
|
+
border-radius: $value #{$important};
|
23
19
|
}
|
24
20
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
21
|
+
$addme: add-to-apply-map(#{map-get($classnames, border-radius)}-#{$radi}, "border-radius", "#{$value}");
|
22
|
+
}
|
23
|
+
|
24
|
+
@if $radius-responsive {
|
25
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
26
|
+
@include breakpoint($breakpoint) {
|
27
|
+
@each $radi, $value in $radius {
|
28
|
+
.#{$breakpoint}\:#{map-get($classnames, border-radius)}-#{$radi} {
|
29
|
+
border-radius: $value #{$important};
|
32
30
|
}
|
33
31
|
}
|
34
32
|
}
|
@@ -9,37 +9,35 @@ $display: (
|
|
9
9
|
) !default;
|
10
10
|
|
11
11
|
@if index($components, display) {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
display: $property;
|
16
|
-
}
|
17
|
-
|
18
|
-
$addme: add-to-apply-map(#{$property}, "display", "#{$property}");
|
12
|
+
@each $property in $display {
|
13
|
+
.#{$property} {
|
14
|
+
display: $property #{$important};
|
19
15
|
}
|
20
16
|
|
21
|
-
|
22
|
-
|
23
|
-
}
|
17
|
+
$addme: add-to-apply-map(#{$property}, "display", "#{$property}");
|
18
|
+
}
|
24
19
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
20
|
+
.hidden {
|
21
|
+
display: none #{$important};
|
22
|
+
}
|
23
|
+
|
24
|
+
@if $display-responsive {
|
25
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
26
|
+
@include breakpoint($breakpoint) {
|
27
|
+
@each $property in $display {
|
28
|
+
.#{$breakpoint}\:#{$property} {
|
29
|
+
display: $property #{$important};
|
32
30
|
}
|
33
31
|
}
|
34
32
|
}
|
35
33
|
}
|
34
|
+
}
|
36
35
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
}
|
36
|
+
@if $display-responsive {
|
37
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
38
|
+
@include breakpoint($breakpoint) {
|
39
|
+
.#{$breakpoint}\:hidden {
|
40
|
+
display: none #{$important};
|
43
41
|
}
|
44
42
|
}
|
45
43
|
}
|
@@ -10,22 +10,20 @@ $overflow: (
|
|
10
10
|
) !default;
|
11
11
|
|
12
12
|
@if index($components, overflow) {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
overflow: $property;
|
17
|
-
}
|
18
|
-
|
19
|
-
$addme: add-to-apply-map(#{map-get($classnames, overflow)}-#{$property}, "overflow", "#{$property}");
|
13
|
+
@each $property in $overflow {
|
14
|
+
.#{map-get($classnames, overflow)}-#{$property} {
|
15
|
+
overflow: $property #{$important};
|
20
16
|
}
|
21
17
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
18
|
+
$addme: add-to-apply-map(#{map-get($classnames, overflow)}-#{$property}, "overflow", "#{$property}");
|
19
|
+
}
|
20
|
+
|
21
|
+
@if $overflow-responsive {
|
22
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
23
|
+
@include breakpoint($breakpoint) {
|
24
|
+
@each $property in $overflow {
|
25
|
+
.#{$breakpoint}\:overflow-#{$property} {
|
26
|
+
overflow: $property #{$important};
|
29
27
|
}
|
30
28
|
}
|
31
29
|
}
|
@@ -9,22 +9,20 @@ $positions: (
|
|
9
9
|
) !default;
|
10
10
|
|
11
11
|
@if index($components, position) {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
position: $position;
|
16
|
-
}
|
17
|
-
|
18
|
-
$addme: add-to-apply-map(#{$position}, "position", "#{$position}");
|
12
|
+
@each $position in $positions {
|
13
|
+
.#{$position} {
|
14
|
+
position: $position #{$important};
|
19
15
|
}
|
20
16
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
17
|
+
$addme: add-to-apply-map(#{$position}, "position", "#{$position}");
|
18
|
+
}
|
19
|
+
|
20
|
+
@if $positions-responsive {
|
21
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
22
|
+
@include breakpoint($breakpoint) {
|
23
|
+
@each $position in $positions {
|
24
|
+
.#{$breakpoint}\:#{$position} {
|
25
|
+
position: $position #{$important};
|
28
26
|
}
|
29
27
|
}
|
30
28
|
}
|
@@ -43,7 +41,7 @@ $positions: (
|
|
43
41
|
@if index($components, position) {
|
44
42
|
@each $pin, $value in $pins {
|
45
43
|
.pin-#{$pin} {
|
46
|
-
#{$value}: 0;
|
44
|
+
#{$value}: 0 #{$important};
|
47
45
|
}
|
48
46
|
|
49
47
|
$addme: add-to-apply-map(pin-#{$pin}, "#{$value}", "0");
|
@@ -54,7 +52,7 @@ $positions: (
|
|
54
52
|
@include breakpoint($breakpoint) {
|
55
53
|
@each $pin, $value in $pins {
|
56
54
|
.#{$breakpoint}\:pin-#{$pin} {
|
57
|
-
#{$value}: 0;
|
55
|
+
#{$value}: 0 #{$important};
|
58
56
|
}
|
59
57
|
}
|
60
58
|
}
|
@@ -9,13 +9,11 @@ $z-index: (
|
|
9
9
|
) !default;
|
10
10
|
|
11
11
|
@if index($components, z-index) {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
z-index: $value;
|
16
|
-
}
|
17
|
-
|
18
|
-
$addme: add-to-apply-map(#{map-get($classnames, z-index)}-#{$value}, "z-index", "#{$value}");
|
12
|
+
@each $value in $z-index {
|
13
|
+
.#{map-get($classnames, z-index)}-#{$value} {
|
14
|
+
z-index: $value #{$important};
|
19
15
|
}
|
16
|
+
|
17
|
+
$addme: add-to-apply-map(#{map-get($classnames, z-index)}-#{$value}, "z-index", "#{$value}");
|
20
18
|
}
|
21
19
|
}
|
@@ -56,45 +56,43 @@ $flex-list: (
|
|
56
56
|
);
|
57
57
|
|
58
58
|
@if index($components, flex) {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
$classstart: "";
|
59
|
+
@each $property in $flex {
|
60
|
+
$medium: map-get($flex-list, $property);
|
61
|
+
$classstart: "";
|
63
62
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
@if $name == "values" {
|
70
|
-
@each $value-name, $value-value in $value {
|
71
|
-
.#{$classstart}-#{$value-name} {
|
72
|
-
#{$property}: #{$value-value};
|
73
|
-
}
|
63
|
+
@each $name, $value in $medium {
|
64
|
+
@if $name == "class" {
|
65
|
+
$classstart: #{map-get($classnames, flex)}#{$value};
|
66
|
+
}
|
74
67
|
|
75
|
-
|
68
|
+
@if $name == "values" {
|
69
|
+
@each $value-name, $value-value in $value {
|
70
|
+
.#{$classstart}-#{$value-name} {
|
71
|
+
#{$property}: #{$value-value} #{$important};
|
76
72
|
}
|
73
|
+
|
74
|
+
$addme: add-to-apply-map(#{$classstart}-#{$value-name}, "#{$property}", "#{$value-value}");
|
77
75
|
}
|
78
76
|
}
|
79
77
|
}
|
78
|
+
}
|
80
79
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
80
|
+
@if $flex-responsive {
|
81
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
82
|
+
@include breakpoint($breakpoint) {
|
83
|
+
@each $property in $flex {
|
84
|
+
$medium: map-get($flex-list, $property);
|
85
|
+
$classstart: "";
|
87
86
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
87
|
+
@each $name, $value in $medium {
|
88
|
+
@if $name == "class" {
|
89
|
+
$classstart: #{$value};
|
90
|
+
}
|
92
91
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
}
|
92
|
+
@if $name == "values" {
|
93
|
+
@each $value-name, $value-value in $value {
|
94
|
+
.#{$breakpoint}\:#{$classstart}-#{$value-name} {
|
95
|
+
#{$property}: #{$value-value} #{$important};
|
98
96
|
}
|
99
97
|
}
|
100
98
|
}
|
@@ -11,29 +11,27 @@ $shadows: (
|
|
11
11
|
) !default;
|
12
12
|
|
13
13
|
@if index($components, shadows) {
|
14
|
-
|
15
|
-
|
16
|
-
$hover: "";
|
14
|
+
@each $shadow, $value in $shadows {
|
15
|
+
$hover: "";
|
17
16
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
.#{map-get($classnames, shadow)}-#{$shadow}
|
23
|
-
#{$hover} {
|
24
|
-
box-shadow: #{$value};
|
25
|
-
}
|
17
|
+
@if $shadows-hover {
|
18
|
+
$hover: ", .hover\\:#{map-get($classnames, shadow)}-#{$shadow}:hover";
|
19
|
+
}
|
26
20
|
|
27
|
-
|
21
|
+
.#{map-get($classnames, shadow)}-#{$shadow}
|
22
|
+
#{$hover} {
|
23
|
+
box-shadow: #{$value} #{$important};
|
28
24
|
}
|
29
25
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
$addme: add-to-apply-map(#{map-get($classnames, shadow)}-#{$shadow}, "box-shadow", "#{$value}");
|
27
|
+
}
|
28
|
+
|
29
|
+
@if $shadows-responsive {
|
30
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
31
|
+
@include breakpoint($breakpoint) {
|
32
|
+
@each $shadow, $value in $shadows {
|
33
|
+
.#{$breakpoint}\:#{map-get($classnames, shadow)}-#{$shadow} {
|
34
|
+
box-shadow: #{$value} #{$important};
|
37
35
|
}
|
38
36
|
}
|
39
37
|
}
|
@@ -18,67 +18,65 @@ $grid-full: true !default;
|
|
18
18
|
$grid-single: false !default;
|
19
19
|
|
20
20
|
@if index($components, grid) {
|
21
|
-
|
22
|
-
|
23
|
-
@
|
24
|
-
|
25
|
-
|
26
|
-
width: (100% / $grid-size) * $i;
|
27
|
-
}
|
28
|
-
|
29
|
-
$addme: add-to-apply-map("#{map-get($classnames, width)}-#{$i}", "width", "#{(100% / $grid-size) * $i}");
|
21
|
+
// No Breakpoints
|
22
|
+
@if $grid-single {
|
23
|
+
@for $i from 1 through $grid-size {
|
24
|
+
.#{map-get($classnames, width)}-#{$i} {
|
25
|
+
width: (100% / $grid-size) * $i #{$important};
|
30
26
|
}
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
@include widthify($i,
|
27
|
+
|
28
|
+
$addme: add-to-apply-map("#{map-get($classnames, width)}-#{$i}", "width", "#{(100% / $grid-size) * $i}");
|
29
|
+
}
|
30
|
+
} @else {
|
31
|
+
@for $i from 1 through $grid-size {
|
32
|
+
@if $grid-full {
|
33
|
+
@for $j from 1 through $i {
|
34
|
+
@include widthify($i, $j);
|
39
35
|
}
|
36
|
+
} @else {
|
37
|
+
@include widthify($i, 1);
|
40
38
|
}
|
41
39
|
}
|
40
|
+
}
|
42
41
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
}
|
42
|
+
// Breakpoints
|
43
|
+
@if $grid-single {
|
44
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
45
|
+
@include breakpoint($breakpoint) {
|
46
|
+
@for $i from 1 through $grid-size {
|
47
|
+
.#{$breakpoint}\:#{map-get($classnames, width)}-#{$i} {
|
48
|
+
width: (100% / $grid-size) * $i #{$important};
|
51
49
|
}
|
52
50
|
}
|
53
51
|
}
|
54
|
-
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
} @else {
|
63
|
-
@include widthify($i, 1, $breakpoint);
|
52
|
+
}
|
53
|
+
} @else {
|
54
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
55
|
+
@include breakpoint($breakpoint) {
|
56
|
+
@for $i from 1 through $grid-size {
|
57
|
+
@if $grid-full {
|
58
|
+
@for $j from 1 through $i {
|
59
|
+
@include widthify($i, $j, $breakpoint);
|
64
60
|
}
|
61
|
+
} @else {
|
62
|
+
@include widthify($i, 1, $breakpoint);
|
65
63
|
}
|
66
64
|
}
|
67
65
|
}
|
68
66
|
}
|
67
|
+
}
|
69
68
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
}
|
69
|
+
@if map-get($breakpoints, mw) {
|
70
|
+
.#{map-get($classnames, width)}-max {
|
71
|
+
max-width: map-get($breakpoints, mw) #{$important};
|
74
72
|
}
|
73
|
+
}
|
75
74
|
|
76
|
-
|
77
|
-
|
78
|
-
|
75
|
+
.h-1\/1 {
|
76
|
+
height: 100% #{$important};
|
77
|
+
}
|
79
78
|
|
80
|
-
|
81
|
-
|
82
|
-
}
|
79
|
+
.h-auto {
|
80
|
+
height: auto #{$important};
|
83
81
|
}
|
84
82
|
}
|
@@ -55,7 +55,7 @@ $types: (
|
|
55
55
|
|
56
56
|
$map: (#{$type-value}#{$sep}#{$loc-value}: "");
|
57
57
|
$properties: map-merge($properties, $map);
|
58
|
-
#{$type-value}#{$sep}#{$loc-value}: $value;
|
58
|
+
#{$type-value}#{$sep}#{$loc-value}: $value #{$important};
|
59
59
|
}
|
60
60
|
|
61
61
|
@if $bp == "" {
|
@@ -67,7 +67,7 @@ $types: (
|
|
67
67
|
$sep: "-";
|
68
68
|
}
|
69
69
|
|
70
|
-
#{$type-value}#{$sep}#{$location-value}: $value;
|
70
|
+
#{$type-value}#{$sep}#{$location-value}: $value #{$important};
|
71
71
|
|
72
72
|
@if $bp == "" {
|
73
73
|
$addme: add-to-apply-map(#{$bp}#{$type}#{$l}#{$s}, "#{$type-value}#{$sep}#{$location-value}", "#{$value}");
|
@@ -78,49 +78,47 @@ $types: (
|
|
78
78
|
}
|
79
79
|
|
80
80
|
@if index($components, spacing) {
|
81
|
-
|
82
|
-
@
|
83
|
-
@include paddingmargin($space, $value);
|
81
|
+
@each $space, $value in $spacing {
|
82
|
+
@include paddingmargin($space, $value);
|
84
83
|
|
85
|
-
|
86
|
-
|
87
|
-
}
|
84
|
+
@each $location, $location-value in $spacing-locations {
|
85
|
+
@include paddingmargin($space, $value, 0, $location, $location-value);
|
88
86
|
}
|
87
|
+
}
|
89
88
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
89
|
+
@if $spacing-responsive {
|
90
|
+
@each $space, $value in $spacing {
|
91
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
92
|
+
@include breakpoint($breakpoint) {
|
93
|
+
@include paddingmargin($space, $value, $breakpoint);
|
95
94
|
|
96
|
-
|
97
|
-
|
98
|
-
}
|
95
|
+
@each $location, $location-value in $spacing-locations {
|
96
|
+
@include paddingmargin($space, $value, $breakpoint, $location, $location-value);
|
99
97
|
}
|
100
98
|
}
|
101
99
|
}
|
102
100
|
}
|
101
|
+
}
|
103
102
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
}
|
110
|
-
|
111
|
-
$addme: add-to-apply-map(-mx-#{$space}, ("margin-left": "", "margin-right": ""), "#{$value * -1}");
|
103
|
+
@each $space, $value in $spacing {
|
104
|
+
@if type-of($value) == "number" {
|
105
|
+
.-mx-#{$space} {
|
106
|
+
margin-left: $value * -1 #{$important};
|
107
|
+
margin-right: $value * -1 #{$important};
|
112
108
|
}
|
109
|
+
|
110
|
+
$addme: add-to-apply-map(-mx-#{$space}, ("margin-left": "", "margin-right": ""), "#{$value * -1}");
|
113
111
|
}
|
112
|
+
}
|
114
113
|
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
}
|
114
|
+
@if $spacing-responsive {
|
115
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
116
|
+
@include breakpoint($breakpoint) {
|
117
|
+
@each $space, $value in $spacing {
|
118
|
+
@if type-of($value) == "number" {
|
119
|
+
.#{$breakpoint}\:-mx-#{$space} {
|
120
|
+
margin-left: $value * -1 #{$important};
|
121
|
+
margin-right: $value * -1 #{$important};
|
124
122
|
}
|
125
123
|
}
|
126
124
|
}
|
@@ -7,22 +7,20 @@ $align: (
|
|
7
7
|
) !default;
|
8
8
|
|
9
9
|
@if index($components, text-align) {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
text-align: $value;
|
14
|
-
}
|
15
|
-
|
16
|
-
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-align", "#{$value}");
|
10
|
+
@each $value in $align {
|
11
|
+
.#{map-get($classnames, text)}-#{$value} {
|
12
|
+
text-align: $value #{$important};
|
17
13
|
}
|
18
14
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
15
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-align", "#{$value}");
|
16
|
+
}
|
17
|
+
|
18
|
+
@if $text-align-responsive {
|
19
|
+
@each $breakpoint, $breakpoint-value in $breakpoints {
|
20
|
+
@include breakpoint($breakpoint) {
|
21
|
+
@each $value in $align {
|
22
|
+
.#{$breakpoint}\:#{map-get($classnames, text)}-#{$value} {
|
23
|
+
text-align: $value #{$important};
|
26
24
|
}
|
27
25
|
}
|
28
26
|
}
|
@@ -1,42 +1,40 @@
|
|
1
1
|
$text-colors-hover: true !default;
|
2
2
|
|
3
3
|
@if index($components, text-colors) {
|
4
|
-
|
5
|
-
@
|
6
|
-
|
7
|
-
$hover: "";
|
8
|
-
|
9
|
-
@if $text-colors-hover {
|
10
|
-
$hover: ", .hover\\:#{map-get($classnames, text)}-#{"" + $color}:hover";
|
11
|
-
}
|
4
|
+
@if $theme-colors != () {
|
5
|
+
@each $color, $value in $theme-colors {
|
6
|
+
$hover: "";
|
12
7
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
8
|
+
@if $text-colors-hover {
|
9
|
+
$hover: ", .hover\\:#{map-get($classnames, text)}-#{"" + $color}:hover";
|
10
|
+
}
|
17
11
|
|
18
|
-
|
12
|
+
.#{map-get($classnames, text)}-#{"" + $color}
|
13
|
+
#{$hover} {
|
14
|
+
color: #{$value} #{$important};
|
19
15
|
}
|
20
|
-
}
|
21
16
|
|
22
|
-
|
23
|
-
|
24
|
-
|
17
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{"" + $color}, "color", "#{$value}");
|
18
|
+
}
|
19
|
+
}
|
25
20
|
|
26
|
-
|
27
|
-
|
21
|
+
@if $full-colors {
|
22
|
+
@each $color in $colors {
|
23
|
+
$medium: map-get($colors-list, $color);
|
28
24
|
|
29
|
-
|
30
|
-
|
31
|
-
}
|
25
|
+
@each $shade, $value in $medium {
|
26
|
+
$hover: "";
|
32
27
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
}
|
28
|
+
@if $text-colors-hover {
|
29
|
+
$hover: ", .hover\\:#{map-get($classnames, text)}-#{"" + $color}-#{"" + $shade}:hover";
|
30
|
+
}
|
37
31
|
|
38
|
-
|
32
|
+
.#{map-get($classnames, text)}-#{"" + $color}-#{"" + $shade}
|
33
|
+
#{$hover} {
|
34
|
+
color: $value #{$important};
|
39
35
|
}
|
36
|
+
|
37
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{"" + $color}-#{"" + $shade}, "color", "#{$value}");
|
40
38
|
}
|
41
39
|
}
|
42
40
|
}
|
@@ -59,13 +59,11 @@ $font-families: (
|
|
59
59
|
);
|
60
60
|
|
61
61
|
@if index($components, fonts) {
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
font-family: $value;
|
66
|
-
}
|
67
|
-
|
68
|
-
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$font-family}, "font-family", "#{$value}");
|
62
|
+
@each $font-family, $value in $font-families {
|
63
|
+
.#{map-get($classnames, font)}-#{$font-family} {
|
64
|
+
font-family: $value #{$important};
|
69
65
|
}
|
66
|
+
|
67
|
+
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$font-family}, "font-family", "#{$value}");
|
70
68
|
}
|
71
69
|
}
|
@@ -5,13 +5,11 @@ $font-sizes: (
|
|
5
5
|
) !default;
|
6
6
|
|
7
7
|
@if index($components, font-sizes) {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
font-size: $value;
|
12
|
-
}
|
13
|
-
|
14
|
-
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$size}, "font-size", "#{$value}");
|
8
|
+
@each $size, $value in $font-sizes {
|
9
|
+
.#{map-get($classnames, text)}-#{$size} {
|
10
|
+
font-size: $value #{$important};
|
15
11
|
}
|
12
|
+
|
13
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$size}, "font-size", "#{$value}");
|
16
14
|
}
|
17
15
|
}
|
@@ -6,14 +6,12 @@ $decoration: (
|
|
6
6
|
) !default;
|
7
7
|
|
8
8
|
@if index($components, text-decoration) {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
text-decoration: $value;
|
13
|
-
}
|
14
|
-
|
15
|
-
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-decoration", "#{$value}");
|
9
|
+
@each $value in $decoration {
|
10
|
+
.#{map-get($classnames, text)}-#{$value} {
|
11
|
+
text-decoration: $value #{$important};
|
16
12
|
}
|
13
|
+
|
14
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-decoration", "#{$value}");
|
17
15
|
}
|
18
16
|
}
|
19
17
|
|
@@ -24,14 +22,12 @@ $font-style: (
|
|
24
22
|
) !default;
|
25
23
|
|
26
24
|
@if index($components, font-style) {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
font-style: $value;
|
31
|
-
}
|
32
|
-
|
33
|
-
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$value}, "font-style", "#{$value}");
|
25
|
+
@each $value in $font-style {
|
26
|
+
.#{map-get($classnames, font)}-#{$value} {
|
27
|
+
font-style: $value #{$important};
|
34
28
|
}
|
29
|
+
|
30
|
+
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$value}, "font-style", "#{$value}");
|
35
31
|
}
|
36
32
|
}
|
37
33
|
|
@@ -43,14 +39,12 @@ $font-weights: (
|
|
43
39
|
) !default;
|
44
40
|
|
45
41
|
@if index($components, font-weights) {
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
font-weight: $value;
|
50
|
-
}
|
51
|
-
|
52
|
-
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$value}, "font-weight", "#{$value}");
|
42
|
+
@each $value in $font-weights {
|
43
|
+
.#{map-get($classnames, font)}-#{$value} {
|
44
|
+
font-weight: $value #{$important};
|
53
45
|
}
|
46
|
+
|
47
|
+
$addme: add-to-apply-map(#{map-get($classnames, font)}-#{$value}, "font-weight", "#{$value}");
|
54
48
|
}
|
55
49
|
}
|
56
50
|
|
@@ -61,13 +55,11 @@ $text-transform: (
|
|
61
55
|
) !default;
|
62
56
|
|
63
57
|
@if index($components, text-transform) {
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
text-transform: $value;
|
68
|
-
}
|
69
|
-
|
70
|
-
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-transform", "#{$value}");
|
58
|
+
@each $value in $text-transform {
|
59
|
+
.#{map-get($classnames, text)}-#{$value} {
|
60
|
+
text-transform: $value #{$important};
|
71
61
|
}
|
62
|
+
|
63
|
+
$addme: add-to-apply-map(#{map-get($classnames, text)}-#{$value}, "text-transform", "#{$value}");
|
72
64
|
}
|
73
65
|
}
|
@@ -7,13 +7,11 @@ $title-sizes: (
|
|
7
7
|
) !default;
|
8
8
|
|
9
9
|
@if index($components, title-sizes) {
|
10
|
-
|
11
|
-
|
12
|
-
#{$
|
13
|
-
font-size: $value;
|
14
|
-
}
|
15
|
-
|
16
|
-
$addme: add-to-apply-map(#{$size}, "font-size", "#{$value}");
|
10
|
+
@each $size, $value in $title-sizes {
|
11
|
+
#{$size} {
|
12
|
+
font-size: $value #{$important};
|
17
13
|
}
|
14
|
+
|
15
|
+
$addme: add-to-apply-map(#{$size}, "font-size", "#{$value}");
|
18
16
|
}
|
19
17
|
}
|
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.12
|
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
|
+
date: 2017-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|