@firestitch/style 18.0.10 → 18.0.11
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.
- package/package.json +1 -1
- package/styles/_layout.scss +65 -90
package/package.json
CHANGED
package/styles/_layout.scss
CHANGED
|
@@ -3,128 +3,114 @@
|
|
|
3
3
|
@mixin layout() {
|
|
4
4
|
.fs-row,
|
|
5
5
|
[class*='fs-row'] {
|
|
6
|
-
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
@include attributeMixin('class');
|
|
7
10
|
}
|
|
8
11
|
|
|
9
|
-
.fs-column
|
|
12
|
+
.fs-column,
|
|
13
|
+
[class*='fs-column'] {
|
|
10
14
|
display: flex;
|
|
11
15
|
flex-direction: column;
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
align-items: start;
|
|
17
|
+
|
|
18
|
+
@include attributeMixin('class');
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
.fs-flex {
|
|
17
22
|
flex: 1;
|
|
18
23
|
}
|
|
19
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Greater than breakpoints
|
|
27
|
+
*/
|
|
20
28
|
@media (min-width: #{variables.$break-xsmall + 1px}) {
|
|
21
29
|
[fs\.gt-xs*='fs-row'] {
|
|
22
|
-
@include
|
|
30
|
+
@include attributeMixin('fs\\.gt-xs');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[fs\.gt-xs*='fs-column'] {
|
|
34
|
+
@include attributeMixin('fs\\.gt-xs');
|
|
23
35
|
}
|
|
24
36
|
}
|
|
25
37
|
|
|
26
38
|
@media (min-width: #{variables.$break-small + 1px}) {
|
|
27
39
|
[fs\.gt-sm*='fs-row'] {
|
|
28
|
-
@include
|
|
40
|
+
@include attributeMixin('fs\\.gt-sm');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[fs\.gt-sm*='fs-column'] {
|
|
44
|
+
@include attributeMixin('fs\\.gt-sm');
|
|
29
45
|
}
|
|
30
46
|
}
|
|
31
47
|
|
|
32
48
|
@media (min-width: #{variables.$break-medium + 1px}) {
|
|
33
49
|
[fs\.gt-md*='fs-row'] {
|
|
34
|
-
@include
|
|
50
|
+
@include attributeMixin('fs\\.gt-md');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[fs\.gt-md*='fs-column'] {
|
|
54
|
+
@include attributeMixin('fs\\.gt-md');
|
|
35
55
|
}
|
|
36
56
|
}
|
|
37
57
|
|
|
38
58
|
@media (min-width: #{variables.$break-large + 1px}) {
|
|
39
59
|
[fs\.gt-lg*='fs-row'] {
|
|
40
|
-
@include
|
|
60
|
+
@include attributeMixin('fs\\.gt-lg');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[fs\.gt-lg*='fs-column'] {
|
|
64
|
+
@include attributeMixin('fs\\.gt-lg');
|
|
41
65
|
}
|
|
42
66
|
}
|
|
43
|
-
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Less than breakpoints
|
|
70
|
+
*/
|
|
44
71
|
@media (max-width: variables.$break-xsmall) {
|
|
45
|
-
[fs\.lt-xs*='fs-
|
|
46
|
-
@include
|
|
72
|
+
[fs\.lt-xs*='fs-row'] {
|
|
73
|
+
@include attributeMixin('fs\\.lt-xs');
|
|
47
74
|
}
|
|
48
75
|
|
|
49
|
-
[fs\.lt-xs*='fs-
|
|
50
|
-
@include
|
|
76
|
+
[fs\.lt-xs*='fs-column'] {
|
|
77
|
+
@include attributeMixin('fs\\.lt-xs');
|
|
51
78
|
}
|
|
52
79
|
}
|
|
53
80
|
|
|
54
81
|
@media (max-width: variables.$break-small) {
|
|
55
|
-
[fs\.lt-sm*='fs-column'] {
|
|
56
|
-
@include columnLess;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
82
|
[fs\.lt-sm*='fs-row'] {
|
|
60
|
-
@include
|
|
61
|
-
}
|
|
83
|
+
@include attributeMixin('fs\\.lt-sm');
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[fs\.lt-sm*='fs-column'] {
|
|
87
|
+
@include attributeMixin('fs\\.lt-sm');
|
|
88
|
+
}
|
|
62
89
|
}
|
|
63
90
|
|
|
64
91
|
@media (max-width: variables.$break-medium) {
|
|
65
|
-
[fs\.lt-md*='fs-
|
|
66
|
-
@include
|
|
92
|
+
[fs\.lt-md*='fs-row'] {
|
|
93
|
+
@include attributeMixin('fs\\.lt-md');
|
|
67
94
|
}
|
|
68
95
|
|
|
69
|
-
[fs\.lt-md*='fs-
|
|
70
|
-
@include
|
|
71
|
-
}
|
|
96
|
+
[fs\.lt-md*='fs-column'] {
|
|
97
|
+
@include attributeMixin('fs\\.lt-md');
|
|
98
|
+
}
|
|
72
99
|
}
|
|
73
100
|
|
|
74
101
|
@media (max-width: variables.$break-large) {
|
|
75
|
-
[fs\.lt-lg*='fs-column'] {
|
|
76
|
-
@include columnLess;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
102
|
[fs\.lt-lg*='fs-row'] {
|
|
80
|
-
@include
|
|
103
|
+
@include attributeMixin('fs\\.lt-lg');
|
|
81
104
|
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@mixin rowGaps {
|
|
86
|
-
&[class*='.gap-lg'] {
|
|
87
|
-
row-gap: 40px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&[class*='.gap-md'] {
|
|
91
|
-
row-gap: 20px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&[class*='.gap-sm'] {
|
|
95
|
-
row-gap: 10px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&[class*='.gap-xs'] {
|
|
99
|
-
row-gap: 5px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@mixin rowGapNone {
|
|
104
|
-
&[fs\.lt-xs*='.gap-none'],
|
|
105
|
-
&[fs\.lt-sm*='.gap-none'],
|
|
106
|
-
&[fs\.lt-md*='.gap-none'] {
|
|
107
|
-
row-gap: 0px;
|
|
108
|
-
column-gap: 0px;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
105
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
flex-direction: column;
|
|
116
|
-
|
|
117
|
-
@include rowGaps;
|
|
118
|
-
@include rowGapNone;
|
|
106
|
+
[fs\.lt-lg*='fs-column'] {
|
|
107
|
+
@include attributeMixin('fs\\.lt-lg');
|
|
108
|
+
}
|
|
119
109
|
}
|
|
120
110
|
}
|
|
121
111
|
|
|
122
|
-
@mixin
|
|
112
|
+
@mixin attributeMixin($attributeName) {
|
|
123
113
|
& {
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: row;
|
|
126
|
-
align-items: center;
|
|
127
|
-
|
|
128
114
|
&[#{$attributeName}*='.gap-lg'],
|
|
129
115
|
&[#{$attributeName}*='.gap-large'] {
|
|
130
116
|
row-gap: 40px;
|
|
@@ -147,19 +133,21 @@
|
|
|
147
133
|
row-gap: 5px;
|
|
148
134
|
column-gap: 5px;
|
|
149
135
|
}
|
|
136
|
+
|
|
137
|
+
&[#{$attributeName}*='.gap-none'] {
|
|
138
|
+
row-gap: 0px;
|
|
139
|
+
column-gap: 0px;
|
|
140
|
+
}
|
|
150
141
|
|
|
151
|
-
&[#{$attributeName}*='.align-start']
|
|
152
|
-
&.fs-row-align-start {
|
|
142
|
+
&[#{$attributeName}*='.align-start'] {
|
|
153
143
|
align-items: flex-start;
|
|
154
144
|
}
|
|
155
145
|
|
|
156
|
-
&[#{$attributeName}*='.align-end']
|
|
157
|
-
&.fs-row-align-end {
|
|
146
|
+
&[#{$attributeName}*='.align-end'] {
|
|
158
147
|
align-items: flex-end;
|
|
159
148
|
}
|
|
160
149
|
|
|
161
|
-
&[#{$attributeName}*='.align-baseline']
|
|
162
|
-
&.fs-row-align-baseline {
|
|
150
|
+
&[#{$attributeName}*='.align-baseline'] {
|
|
163
151
|
align-items: baseline;
|
|
164
152
|
}
|
|
165
153
|
|
|
@@ -187,21 +175,8 @@
|
|
|
187
175
|
justify-content: space-evenly;
|
|
188
176
|
}
|
|
189
177
|
|
|
190
|
-
&[#{$attributeName}*='.wrap']
|
|
191
|
-
.fs-row-wrap {
|
|
178
|
+
&[#{$attributeName}*='.wrap'] {
|
|
192
179
|
flex-wrap: wrap;
|
|
193
180
|
}
|
|
194
|
-
|
|
195
|
-
&[#{$attributeName}*='.form-field'] {
|
|
196
|
-
column-gap: 10px;
|
|
197
|
-
|
|
198
|
-
.mat-form-field-infix {
|
|
199
|
-
width: auto;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
>* {
|
|
203
|
-
width: 100%;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
181
|
}
|
|
207
182
|
}
|