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