forever_style_guide 3.7.1 → 3.7.2

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
  SHA256:
3
- metadata.gz: 9bb2013fe9c48c1bc93864fa8357a82639c877a3474be173473af3318d22dfe8
4
- data.tar.gz: 3d9b6681451a0996f4725e5ea8fcf4d2ab656363fbd70e09e69ac9e8d0785a97
3
+ metadata.gz: 3227bc9e6ece12089260eb14191509bdb1c56de06cced838a0e226609a946093
4
+ data.tar.gz: 0d1f361f2eab9ca62c10ea2473141c27ddcd615b11c400208aa2df5e58bf51c9
5
5
  SHA512:
6
- metadata.gz: e996710d796c4811b19de49f60ae783608e6e0c3e8b6ff95c88f6044ce8d083b4e34561e994ae16883ac78e788fb4b190a85f7616c9829196644dc5745604cc9
7
- data.tar.gz: 0f2205ddef2e68640cfa5c81e198a4328a3b147d1ce736f9c891779d16c822ae10a62d04cc24e60bfd5acf984d8634fc35d2905de51bad0643bca570e68bb3df
6
+ metadata.gz: c69ccc4b9d9e7c81ab09586a459dabfc513852422eab778d18d86ec137a7de51a711feed0c5074de8cc8151550be8045f32656a2cb0e14c4f59ca774378453ee
7
+ data.tar.gz: c8391ece5d0c222bf5c2aca436c3fc00f26a19ff3876d2c8fae4515086946b21327b955f8561b5bc3c3f8890d0d355e571a905c838c7e74d845cb452974e3168
@@ -84,53 +84,35 @@ $f-grid-col-count: 24;
84
84
  }
85
85
  }
86
86
 
87
- /* justify center columns */
88
- .f-grid-center {
89
- justify-content: center;
90
- }
91
-
92
- .f-grid-align-right {
93
- justify-content: flex-end;
94
- }
95
-
96
- .f-grid-valign-top {
97
- align-items: flex-start;
98
- }
99
-
100
- .f-grid-valign-middle {
101
- align-items: center;
102
- }
103
-
104
- .f-grid-valign-bottom {
105
- align-items: flex-end;
106
- }
107
-
108
- .f-grid-reverse {
109
- flex-direction: row-reverse;
110
- }
111
-
112
- .f-grid-around {
113
- justify-content: space-around;
114
- }
115
-
116
- .f-grid-between {
117
- justify-content: space-between;
87
+ /* alignment and justification modifiers */
88
+ .f-grid-center { justify-content: center; }
89
+ .f-grid-align-right { justify-content: flex-end; }
90
+ .f-grid-valign-top { align-items: flex-start; }
91
+ .f-grid-valign-middle { align-items: center; }
92
+ .f-grid-valign-bottom { align-items: flex-end; }
93
+ .f-grid-reverse { flex-direction: row-reverse; }
94
+ .f-grid-around { justify-content: space-around; }
95
+ .f-grid-between { justify-content: space-between; }
96
+
97
+ /* padding modifiers */
98
+ .f-grid.f-grid-no_padding {
99
+ margin: 0;
100
+ [class*="f-col"] { padding: 0; }
101
+ }
102
+
103
+ .f-grid.f-grid-bs_padding {
104
+ margin-left: -$f-grid-bootstrap-padding;
105
+ margin-right: -$f-grid-bootstrap-padding;
106
+ [class*="f-col"] { padding: 0 $f-grid-bootstrap-padding; }
118
107
  }
119
108
 
120
- .f-grid-no_padding {
121
- margin-left: 0;
122
- margin-right: 0;
123
109
 
124
- [class*="f-col"] {
125
- padding: 0;
110
+ $grid-gutter: 2;
111
+ @while $grid-gutter < 30 {
112
+ .f-grid.f-grid-gutter-#{$grid-gutter} {
113
+ margin: -#{$grid-gutter / 2}px;
114
+ [class*="f-col"] { padding: #{$grid-gutter / 2}px; }
126
115
  }
127
- }
128
116
 
129
- .f-grid-bs_padding {
130
- margin-left: -$f-grid-bootstrap-padding;
131
- margin-right: -$f-grid-bootstrap-padding;
132
-
133
- [class*="f-col"] {
134
- padding: 0 $f-grid-bootstrap-padding;
135
- }
117
+ $grid-gutter: $grid-gutter + 2;
136
118
  }
@@ -1,3 +1,3 @@
1
1
  module ForeverStyleGuide
2
- VERSION = "3.7.1"
2
+ VERSION = "3.7.2"
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.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas McClay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-11 00:00:00.000000000 Z
11
+ date: 2020-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails