forever_style_guide 3.1.4 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28048dbcaa8d7fa4a572210179e6fdf15b63f77f
4
- data.tar.gz: e70b2d8fe9d5691c055819d4f7a54b011c15de70
3
+ metadata.gz: 7b1adc4d5aeb7c20c849d861d3a043b3af2b8f72
4
+ data.tar.gz: 21175bdea31f615adf97f00ca2838ad62c354ce0
5
5
  SHA512:
6
- metadata.gz: d3605908f5bf2d2d4aaba2c2050ccd90cca545c991e8f430a5fe6a8b32041b254f83646e2405c0d1c6f1ffe743bbd002e564ed7660af71144f910fd913b62ee5
7
- data.tar.gz: 53f916ce94fc2b091e6ae3f7f1b039ca9c44c0a447716133b61e7f8165846a9301e766b52eb81fa54cafcf4902a88a87ccf8a8468ca7050635823e306635f283
6
+ metadata.gz: 1f05cc41d3830f31e83c1ae670e6cc0e094f3e160c2f1ddedad67b3b49e510cf3db165aa9196909ea4dc8f8cf4932747e209ccef5f3e13620cbedf2aed1fd64f
7
+ data.tar.gz: f63158d0b97749ba66b09c923932d2b6f42abdfd66220370562e7257dbcee97136473d040acfbeea27d5aa24d9451fa4334dd58319f0c960ba89bf8c8a7cc805
@@ -1,5 +1,5 @@
1
1
  * {
2
- font-family: 'proxima_nova-regular';
2
+ font-family: $font-face-regular;
3
3
  }
4
4
 
5
5
  /* Headers */
@@ -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-regular_bold_italic', 'ProximaNova-BoldIt-webfont');
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: fontify('lg', $font-size-400) !global;
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: fontify('sm', $font-size-100) !global;
50
- $font-size-xsmall: fontify('xs', $font-size-000) !default;
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: weightify('normal', normal) !default;
71
- $font-weight-bold: weightify('bold', bold) !default;
72
- $font-weight-bolder: weightify('bolder', bolder) !default;
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;
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.1.4"
2
+ VERSION = "3.1.5"
3
3
  end
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
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-03-28 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails