active_frontend 14.1.20 → 14.1.21

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: 8e87c2964cd2afd8513415765b895859e5390139
4
- data.tar.gz: 59c5d8d98445932cfbaee15c1b10bb2172ee08b5
3
+ metadata.gz: 461898f1f5acaf46a804b0be937f63e4231ad329
4
+ data.tar.gz: f9789b124d45877da45dcdf0cf8048611957480d
5
5
  SHA512:
6
- metadata.gz: 512aaadd208432e9ed1db344a0a2759244a36ce5d68bd83db0609b7c4fe63233efb7e3408e59c523ee709aac20d73684b539510d28aeb5aa56d9ce39c754fd1b
7
- data.tar.gz: dffcd434cd0add8b8f22974f031ae8fa82fed3043f5af6d4c984b8aec9252c314b374f6c30320d24fd1a49a5788f8c48decf84fa59e8e4a5ad3fccd14db73672
6
+ metadata.gz: 69b16e4bcc9cb6bb5b7ceaca7a267b6e63144bac46725306aecf7058bccc1e45c0f9a96c0d141a7cd754c02d8952c61ddecc02cdf0069eda4bbc207f4d1a04d3
7
+ data.tar.gz: 0ed038504cb75595f1e6711f7ef3359d723b32b39135a1b4673742397332766d6664348bd2ac1b502d7fd47586a6992540d5092bb8f66d9a95894731fdeac199
@@ -1,3 +1,3 @@
1
1
  module ActiveFrontend
2
- VERSION = '14.1.20'.freeze
2
+ VERSION = '14.1.21'.freeze
3
3
  end
@@ -2,7 +2,6 @@
2
2
  // ==================================================
3
3
  // Functions
4
4
  // Animation
5
- // Box shadow
6
5
  // Color
7
6
  // Common
8
7
  // Font
@@ -50,16 +49,6 @@ $animation-durations: (
50
49
  xxs: 0.25s
51
50
  );
52
51
 
53
- // Box shadow
54
- // ==================================================
55
- $box-shadows: (
56
- xxl: 14px,
57
- xl: 10px,
58
- l: 6px,
59
- m: 4px,
60
- b: 2px
61
- );
62
-
63
52
  // Color
64
53
  // ==================================================
65
54
  $colors-global: (
@@ -151,10 +140,17 @@ $common-border-radiuses: (
151
140
  xl: 999px,
152
141
  l: 10px,
153
142
  m: 6px,
154
- b: 3px,
155
- s: 2px,
143
+ b: 2px,
144
+ s: 1px,
156
145
  n: 0
157
146
  );
147
+ $common-box-shadows: (
148
+ xxl: 14px,
149
+ xl: 10px,
150
+ l: 6px,
151
+ m: 4px,
152
+ b: 2px
153
+ );
158
154
  $common-margins-and-paddings: (
159
155
  xxxl: 100px,
160
156
  xxl: 80px,
@@ -110,7 +110,7 @@
110
110
 
111
111
  // Box shadow insets
112
112
  // ==================================================
113
- @each $name, $spread in $box-shadows {
113
+ @each $name, $spread in $common-box-shadows {
114
114
  .box-shadow-inset-#{$name} { box-shadow: inset 0 0 $spread darker-color(dark-haze); }
115
115
  .box-shadow-inset-bottom-#{$name} { box-shadow: inset 0 1px $spread darker-color(dark-haze); }
116
116
  .box-shadow-inset-left-#{$name} { box-shadow: inset -1px 0 $spread darker-color(dark-haze); }
@@ -120,7 +120,7 @@
120
120
 
121
121
  // Box shadows
122
122
  // ==================================================
123
- @each $name, $spread in $box-shadows {
123
+ @each $name, $spread in $common-box-shadows {
124
124
  .box-shadow-#{$name} { box-shadow: 0 0 $spread darker-color(dark-haze); }
125
125
  .box-shadow-bottom-#{$name} { box-shadow: 0 1px $spread darker-color(dark-haze); }
126
126
  .box-shadow-left-#{$name} { box-shadow: -1px 0 $spread darker-color(dark-haze); }
@@ -4,47 +4,49 @@
4
4
 
5
5
  // Font-face
6
6
  // ==================================================
7
- @if index(text-family(display), 'Branding') {
8
- @each $name, $weight in $font-weights {
9
- @font-face {
10
- font-display: swap;
11
- font-family: 'Branding';
12
- font-style: normal;
13
- font-weight: $weight;
14
- src: url(font-path('branding/branding-#{$name}.woff')) format('woff');
7
+ @each $type, $families in $font-families {
8
+ @if index(text-family($type), 'Branding') {
9
+ @each $name, $weight in $font-weights {
10
+ @font-face {
11
+ font-display: swap;
12
+ font-family: 'Branding';
13
+ font-style: normal;
14
+ font-weight: $weight;
15
+ src: url(font-path('branding/branding-#{$name}.woff')) format('woff');
16
+ }
15
17
  }
16
18
  }
17
- }
18
- @if index(text-family(sans-serif), 'Fakt Pro') {
19
- @each $name, $weight in $font-weights {
20
- @font-face {
21
- font-display: swap;
22
- font-family: 'Fakt Pro';
23
- font-style: normal;
24
- font-weight: $weight;
25
- src: url(font-path('fakt-pro/fakt-pro-#{$name}.woff')) format('woff');
19
+ @if index(text-family($type), 'Blender Pro') {
20
+ @each $name, $weight in $font-weights {
21
+ @font-face {
22
+ font-display: swap;
23
+ font-family: 'Blender Pro';
24
+ font-style: normal;
25
+ font-weight: $weight;
26
+ src: url(font-path('blender-pro/blender-pro-#{$name}.woff')) format('woff');
27
+ }
26
28
  }
27
29
  }
28
- }
29
- @if index(text-family(sans-serif), 'Fakt Soft Pro') {
30
- @each $name, $weight in $font-weights {
31
- @font-face {
32
- font-display: swap;
33
- font-family: 'Fakt Soft Pro';
34
- font-style: normal;
35
- font-weight: $weight;
36
- src: url(font-path('fakt-soft-pro/fakt-soft-pro-#{$name}.woff')) format('woff');
30
+ @if index(text-family($type), 'Fakt Pro') {
31
+ @each $name, $weight in $font-weights {
32
+ @font-face {
33
+ font-display: swap;
34
+ font-family: 'Fakt Pro';
35
+ font-style: normal;
36
+ font-weight: $weight;
37
+ src: url(font-path('fakt-pro/fakt-pro-#{$name}.woff')) format('woff');
38
+ }
37
39
  }
38
40
  }
39
- }
40
- @if index(text-family(display), 'Venti CF') {
41
- @each $name, $weight in $font-weights {
42
- @font-face {
43
- font-display: swap;
44
- font-family: 'Venti CF';
45
- font-style: normal;
46
- font-weight: $weight;
47
- src: url(font-path('venti-cf/venti-cf-#{$name}.woff')) format('woff');
41
+ @if index(text-family($type), 'Fakt Soft Pro') {
42
+ @each $name, $weight in $font-weights {
43
+ @font-face {
44
+ font-display: swap;
45
+ font-family: 'Fakt Soft Pro';
46
+ font-style: normal;
47
+ font-weight: $weight;
48
+ src: url(font-path('fakt-soft-pro/fakt-soft-pro-#{$name}.woff')) format('woff');
49
+ }
48
50
  }
49
51
  }
50
52
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.20
4
+ version: 14.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-23 00:00:00.000000000 Z
11
+ date: 2017-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -162,6 +162,10 @@ files:
162
162
  - app/.DS_Store
163
163
  - app/assets/.DS_Store
164
164
  - app/assets/fonts/.DS_Store
165
+ - app/assets/fonts/blender-pro/blender-pro-bold.woff
166
+ - app/assets/fonts/blender-pro/blender-pro-normal.woff
167
+ - app/assets/fonts/blender-pro/blender-pro-semibold.woff
168
+ - app/assets/fonts/blender-pro/blender-pro-semilight.woff
165
169
  - app/assets/fonts/branding/branding-bold.woff
166
170
  - app/assets/fonts/branding/branding-normal.woff
167
171
  - app/assets/fonts/branding/branding-semibold.woff
@@ -179,10 +183,6 @@ files:
179
183
  - app/assets/fonts/fakt-soft-pro/fakt-soft-pro-normal.woff
180
184
  - app/assets/fonts/fakt-soft-pro/fakt-soft-pro-semibold.woff
181
185
  - app/assets/fonts/fakt-soft-pro/fakt-soft-pro-semilight.woff
182
- - app/assets/fonts/venti-cf/venti-cf-bold.woff
183
- - app/assets/fonts/venti-cf/venti-cf-normal.woff
184
- - app/assets/fonts/venti-cf/venti-cf-semibold.woff
185
- - app/assets/fonts/venti-cf/venti-cf-semilight.woff
186
186
  - app/assets/fonts/wysiwyg/wysiwyg.woff
187
187
  - app/assets/images/.DS_Store
188
188
  - app/assets/images/.keep