forever_style_guide 3.1.4 → 3.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 +4 -4
- data/app/assets/stylesheets/forever_style_guide/base/_typography.scss +1 -1
- data/app/assets/stylesheets/forever_style_guide/globals/_fonts.scss +20 -14
- data/app/assets/stylesheets/forever_style_guide/modules/_modal.scss +6 -0
- data/app/assets/stylesheets/forever_style_guide/utils/_font-utils.scss +6 -0
- data/lib/forever_style_guide/version.rb +1 -1
- 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: 7b1adc4d5aeb7c20c849d861d3a043b3af2b8f72
|
4
|
+
data.tar.gz: 21175bdea31f615adf97f00ca2838ad62c354ce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f05cc41d3830f31e83c1ae670e6cc0e094f3e160c2f1ddedad67b3b49e510cf3db165aa9196909ea4dc8f8cf4932747e209ccef5f3e13620cbedf2aed1fd64f
|
7
|
+
data.tar.gz: f63158d0b97749ba66b09c923932d2b6f42abdfd66220370562e7257dbcee97136473d040acfbeea27d5aa24d9451fa4334dd58319f0c960ba89bf8c8a7cc805
|
@@ -18,18 +18,24 @@
|
|
18
18
|
@include fontFace('proxima_nova-semibold', 'ProximaNova-Sbold-webfont');
|
19
19
|
@include fontFace('proxima_nova-bold', 'ProximaNova-Bold-webfont');
|
20
20
|
@include fontFace('proxima_nova-regular_italic', 'ProximaNova-RegIt-webfont');
|
21
|
-
@include fontFace('proxima_nova-
|
21
|
+
@include fontFace('proxima_nova-bold_italic', 'ProximaNova-BoldIt-webfont');
|
22
22
|
|
23
23
|
/* =font faces
|
24
24
|
---------------------------------------------------------------------------- */
|
25
|
-
$font-face-light: 'proxima_nova-light', Helvetica, Arial, sans-serif;
|
26
|
-
$font-face-regular: 'proxima_nova-regular', Helvetica, Arial, sans-serif;
|
27
|
-
$font-face-semibold: 'proxima_nova-semibold', Helvetica, Arial, sans-serif;
|
28
|
-
$font-face-bold: 'proxima_nova-bold', Helvetica, Arial, sans-serif;
|
29
|
-
$font-face-regular_italic: 'proxima_nova-regular_italic', Helvetica, Arial, sans-serif;
|
30
|
-
$font-face-bold_italic: 'proxima_nova-bold_italic', Helvetica, Arial, sans-serif;
|
25
|
+
$font-face-light: faceify('light', ('proxima_nova-light', Helvetica, Arial, sans-serif)) !default;
|
26
|
+
$font-face-regular: faceify('regular', ('proxima_nova-regular', Helvetica, Arial, sans-serif)) !default;
|
27
|
+
$font-face-semibold: faceify('semibold', ('proxima_nova-semibold', Helvetica, Arial, sans-serif)) !default;
|
28
|
+
$font-face-bold: faceify('bold', ('proxima_nova-bold', Helvetica, Arial, sans-serif)) !default;
|
29
|
+
$font-face-regular_italic: faceify('italic', ('proxima_nova-regular_italic', Helvetica, Arial, sans-serif)) !default;
|
30
|
+
$font-face-bold_italic: faceify('bold_italic', ('proxima_nova-bold_italic', Helvetica, Arial, sans-serif)) !default;
|
31
31
|
|
32
|
-
$font-face-gotham: 'Gotham A', 'Gotham B', Helvetica, Arial, sans-serif;
|
32
|
+
$font-face-gotham: faceify('gotham', ('Gotham A', 'Gotham B', Helvetica, Arial, sans-serif)) !default;
|
33
|
+
|
34
|
+
@each $id, $font-face in $font-faces {
|
35
|
+
.font-face-#{$id} {
|
36
|
+
font-family: #{$font-face};
|
37
|
+
}
|
38
|
+
}
|
33
39
|
|
34
40
|
/* =font sizes
|
35
41
|
---------------------------------------------------------------------------- */
|
@@ -44,10 +50,10 @@ $font-size-700: fontify('700', 48px) !default;
|
|
44
50
|
$font-size-800: fontify('800', 64px) !default;
|
45
51
|
|
46
52
|
/* !global to override bootstrap's $font-size-large and $font-size-small */
|
47
|
-
$font-size-large:
|
53
|
+
$font-size-large: fontify('lg', $font-size-400) !global;
|
48
54
|
$font-size-default: fontify('default', $font-size-300) !default;
|
49
|
-
$font-size-small:
|
50
|
-
$font-size-xsmall:
|
55
|
+
$font-size-small: fontify('sm', $font-size-100) !global;
|
56
|
+
$font-size-xsmall: fontify('xs', $font-size-000) !default;
|
51
57
|
|
52
58
|
@each $id, $font-size in $font-sizes {
|
53
59
|
.font-size-#{$id} {
|
@@ -67,9 +73,9 @@ $font-weight-700: weightify('700', 700) !default;
|
|
67
73
|
$font-weight-800: weightify('800', 800) !default;
|
68
74
|
$font-weight-900: weightify('900', 900) !default;
|
69
75
|
|
70
|
-
$font-weight-normal:
|
71
|
-
$font-weight-bold:
|
72
|
-
$font-weight-bolder:
|
76
|
+
$font-weight-normal: weightify('normal', normal) !default;
|
77
|
+
$font-weight-bold: weightify('bold', bold) !default;
|
78
|
+
$font-weight-bolder: weightify('bolder', bolder) !default;
|
73
79
|
$font-weight-lighter: weightify('lighter', lighter) !default;
|
74
80
|
$font-weight-initial: weightify('initial', initial) !default;
|
75
81
|
$font-weight-inherit: weightify('inherit', inherit) !default;
|
@@ -148,4 +148,10 @@ $modal-xl-screen-lg-width: 1170px;
|
|
148
148
|
@media (min-width: $screen-lg){
|
149
149
|
width: $modal-xl-screen-lg-width;
|
150
150
|
}
|
151
|
+
|
152
|
+
&.modal-dialog {
|
153
|
+
@media (min-width: $screen-md-min) {
|
154
|
+
margin-top: $header-height + 5; // prefer to have more vertical real estate available for large modals
|
155
|
+
}
|
156
|
+
}
|
151
157
|
}
|
@@ -1,6 +1,12 @@
|
|
1
|
+
$font-faces: () !default;
|
1
2
|
$font-sizes: () !default;
|
2
3
|
$font-weights: () !default;
|
3
4
|
|
5
|
+
@function faceify($id, $font-face) {
|
6
|
+
$font-faces: map-merge($font-faces, ($id: $font-face)) !global;
|
7
|
+
@return $font-face;
|
8
|
+
}
|
9
|
+
|
4
10
|
@function fontify($id, $font-size) {
|
5
11
|
$font-sizes: map-merge($font-sizes, ($id: $font-size)) !global;
|
6
12
|
@return $font-size;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forever_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas McClay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|