figstrap_rails 0.0.3 → 0.0.4

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: 118e64a864c21a6223d1b8ecab5d7f8bd3b792d3c2f54b7783888f83c269b289
4
- data.tar.gz: 24be6da50cbf868ac3d802e2740db548c2a9d5b7a7bc2f2d6307a90903fedb14
3
+ metadata.gz: 575fdcda764bde23979644c3f85bdb1ca7887c21cffcf44b1ee8da540aafd7ac
4
+ data.tar.gz: f3815322f5a585862995ef399bc9b03f1c321ca5d6a01d8012edde18b000ceba
5
5
  SHA512:
6
- metadata.gz: e1def45084cb408ec9d02fa68e0d5dc0979ec025f4e7dbe70f07307508971e884d84b1cf04efe4d863133d0c84149be5721f3f9a2c942a7b3b5e739654ca6c74
7
- data.tar.gz: e880e13452d6643a700f61d7356fe5277f689f1fea8c73901ab12ba7978d791e6ed0fea1f81e76823cbd0f8cfece08123df503c9a2704176ca87cbae1987a288
6
+ metadata.gz: b283e061c94c889b38de7b0176e786823a9b85967671849bf09c56763df4e262d5681bf150a719da8b2903be75815275ac9157842e2ddcabb9bf0d40b1be6f95
7
+ data.tar.gz: 6e815263552b96fd010295f8412f3905671176f0b9c519ca91bbf9e206d164947b6ccbf4797b14876be5109f2c80a97f1fe4574186a920e1a52d03de6f6ab755
data/.gitignore CHANGED
@@ -6,4 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
- .gem
9
+ *.gem
@@ -1,3 +1,3 @@
1
1
  module FigstrapRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,7 +1,18 @@
1
1
  /* FigStrap Auto Layout */
2
2
 
3
3
  .fgs-al {
4
+ display: flex;
4
5
 
6
+ /* FigStrap Auto Layout Vertical */
7
+ &.fgs-al-v {
8
+ flex-direction: column;
9
+ }
10
+
11
+ /* FigStrap Auto Layout Horizontal */
12
+ &.fgs-al-h {
13
+ flex-direction: row;
14
+ }
15
+
5
16
  /* FigStrap Auto layout padding */
6
17
  &.fgs-al-p-10 {
7
18
  padding: 10px;
@@ -15,122 +26,77 @@
15
26
  padding: 60px;
16
27
  }
17
28
 
18
- /* FigStrap Auto Layout Vertical */
19
- &.fgs-al-v {
20
- &.fgs-al-g-6 {
21
- > .fgs-ali {
22
- margin: 6px 0;
23
- }
24
- }
25
-
26
- &.fgs-al-g-10 {
27
- > .fgs-ali {
28
- margin: 10px 0;
29
- }
30
- }
31
-
32
- /* FigStrap Auto layout Gap (margin) */
33
- &.fgs-al-g-16 {
34
- > .fgs-ali {
35
- margin: 16px 0;
36
- }
37
- }
38
-
39
- &.fgs-al-g-20 {
40
- > .fgs-ali {
41
- margin: 20px 0;
42
- }
43
- }
44
-
45
- &.fgs-al-g-30 {
46
- > .fgs-ali {
47
- margin: 40px 0;
48
- }
49
- }
50
-
51
- &.fgs-al-g-40 {
52
- > .fgs-ali {
53
- margin: 40px 0;
54
- }
55
- }
56
-
57
- &.fgs-al-g-60 {
58
- > .fgs-ali {
59
- margin: 60px 0;
60
- }
61
- }
62
-
63
- .fgs-ali:first-child {
64
- margin-top: 0 !important;
65
- }
66
-
67
- .fgs-ali:last-child {
68
- margin-bottom: 0 !important;
69
- }
29
+ /* FigStrap Auto layout gap */
30
+ &.fgs-al-g-6 {
31
+ gap: 6px;
70
32
  }
71
33
 
72
- /* FigStrap Auto Layout Horizontal */
73
- &.fgs-al-h {
74
- display: flex;
75
-
76
- &.fgs-al-justify-content-space-between {
77
- justify-content: space-between;
78
- }
79
-
80
- &.fgs-al-align-center {
81
- align-items: center;
82
- }
83
-
84
- /* FigStrap Auto layout Gap (margin) */
85
- &.fgs-al-g-6 {
86
- > .fgs-ali {
87
- margin: 0 6px;
88
- }
89
- }
90
-
91
- &.fgs-al-g-10 {
92
- > .fgs-ali {
93
- margin: 0 10px;
94
- }
95
- }
96
-
97
- &.fgs-al-g-16 {
98
- > .fgs-ali {
99
- margin: 0px 16px;
100
- }
101
- }
102
-
103
- &.fgs-al-g-20 {
104
- > .fgs-ali {
105
- margin: 0 20px;
106
- }
107
- }
108
-
109
- &.fgs-al-g-30 {
110
- > .fgs-ali {
111
- margin: 0 30px;
112
- }
113
- }
114
-
115
- &.fgs-al-g-40 {
116
- > .fgs-ali {
117
- margin: 0 40px;
118
- }
119
- }
120
-
121
- &.fgs-al-g-60 {
122
- > .fgs-ali {
123
- margin: 0 40px;
124
- }
125
- }
126
-
127
- .fgs-ali:first-child {
128
- margin-left: 0 !important;
129
- }
130
-
131
- .fgs-ali:last-child {
132
- margin-right: 0 !important;
133
- }
34
+ &.fgs-al-g-10 {
35
+ gap: 10px;
36
+ }
37
+
38
+ &.fgs-al-g-16 {
39
+ gap: 16px;
40
+ }
134
41
 
42
+ &.fgs-al-g-20 {
43
+ gap: 20px;
44
+ }
45
+
46
+ &.fgs-al-g-30 {
47
+ gap: 30px;
48
+ }
49
+
50
+ &.fgs-al-g-40 {
51
+ gap: 40px;
52
+ }
53
+
54
+ &.fgs-al-g-60 {
55
+ gap: 60px;
56
+ }
57
+
58
+ /* FigStrap FlexBox Helpers */
59
+ &.fgs-al-justify-content-flex-start {
60
+ justify-content: flex-start;
61
+ }
62
+
63
+ &.fgs-al-justify-content-flex-end {
64
+ justify-content: flex-end;
65
+ }
66
+
67
+ &.fgs-al-justify-content-center {
68
+ justify-content: center;
69
+ }
70
+
71
+ &.fgs-al-justify-content-space-between {
72
+ justify-content: space-between;
73
+ }
74
+
75
+ &.fgs-al-justify-content-space-around {
76
+ justify-content: space-around;
77
+ }
78
+
79
+ &.fgs-al-justify-content-space-evenly {
80
+ justify-content: space-evenly
81
+ }
82
+
83
+ &.fgs-al-align-items-flex-start {
84
+ align-items: flex-start;
85
+ }
86
+
87
+ &.fgs-al-align-items-flex-end {
88
+ align-items: flex-end;
89
+ }
90
+
91
+ &.fgs-al-align-items-center {
92
+ align-items: center;
93
+ }
94
+
95
+ &.fgs-al-align-items-stretch {
96
+ align-items: stretch;
97
+ }
98
+
99
+ &.fgs-al-align-items-baseline {
100
+ align-items: baseline;
135
101
  }
136
102
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: figstrap_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Li
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-23 00:00:00.000000000 Z
11
+ date: 2022-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails