pallote-css 0.3.12 → 0.4.0
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/dist/pallote.min.css +1 -1
- package/dist/pallote.min.css.map +1 -1
- package/dist/pallote.scss +37 -31
- package/dist/styles/common/_editor.scss +3 -3
- package/dist/styles/common/_fontface.scss +2 -2
- package/dist/styles/common/_global.scss +3 -3
- package/dist/styles/common/_mixins.scss +21 -22
- package/dist/styles/common/_reset.scss +2 -2
- package/dist/styles/common/_variables.scss +33 -33
- package/dist/styles/components/_accordion.scss +6 -7
- package/dist/styles/components/_alert.scss +55 -65
- package/dist/styles/components/_breadcrumbs.scss +38 -18
- package/dist/styles/components/_button.scss +23 -17
- package/dist/styles/components/_buttons.scss +2 -2
- package/dist/styles/components/_card.scss +134 -86
- package/dist/styles/components/_divider.scss +12 -11
- package/dist/styles/components/_form.scss +2 -2
- package/dist/styles/components/_grid.scss +64 -127
- package/dist/styles/components/_input.scss +37 -7
- package/dist/styles/components/_link.scss +14 -9
- package/dist/styles/components/_list.scss +7 -8
- package/dist/styles/components/_nav.scss +3 -3
- package/dist/styles/components/_navbar.scss +2 -2
- package/dist/styles/components/_section.scss +18 -34
- package/dist/styles/components/_sidebar.scss +3 -3
- package/dist/styles/components/_snippet.scss +4 -4
- package/dist/styles/components/_status.scss +7 -7
- package/dist/styles/components/_switch.scss +2 -2
- package/dist/styles/components/_table.scss +153 -0
- package/dist/styles/components/_tabs.scss +2 -2
- package/dist/styles/components/_tag.scss +5 -5
- package/dist/styles/utilities/_color.scss +2 -2
- package/dist/styles/utilities/_global.scss +2 -2
- package/dist/styles/utilities/_grid.scss +124 -0
- package/dist/styles/utilities/_layout.scss +127 -0
- package/dist/styles/utilities/_text.scss +37 -45
- package/package.json +6 -7
|
@@ -2,54 +2,40 @@
|
|
|
2
2
|
@use "../common/variables";
|
|
3
3
|
|
|
4
4
|
// —————————————————————————————————————————————————————————————————
|
|
5
|
-
// variables
|
|
6
5
|
// elements
|
|
7
6
|
// wrap
|
|
8
7
|
// direction
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
// spacing
|
|
14
|
-
// width
|
|
8
|
+
// justify
|
|
9
|
+
// items
|
|
10
|
+
// self
|
|
11
|
+
// gap and col
|
|
15
12
|
// —————————————————————————————————————————————————————————————————
|
|
16
13
|
|
|
17
|
-
// —————————————————————————————————————————————————————————————————
|
|
18
|
-
// variables
|
|
19
|
-
// —————————————————————————————————————————————————————————————————
|
|
20
|
-
|
|
21
|
-
variables.$col: calc(100% / 12);
|
|
22
|
-
|
|
23
14
|
// —————————————————————————————————————————————————————————————————
|
|
24
15
|
// elements
|
|
25
16
|
// —————————————————————————————————————————————————————————————————
|
|
26
17
|
|
|
27
|
-
.
|
|
18
|
+
.flex,
|
|
19
|
+
.flex_item {
|
|
28
20
|
display: flex;
|
|
29
21
|
box-sizing: border-box;
|
|
30
22
|
flex-direction: row;
|
|
31
23
|
flex-wrap: wrap;
|
|
32
|
-
|
|
33
|
-
&__item:not(.grid) {
|
|
34
|
-
position: relative;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
float: left;
|
|
38
|
-
}
|
|
39
24
|
}
|
|
40
25
|
|
|
41
26
|
// —————————————————————————————————————————————————————————————————
|
|
42
27
|
// wrap
|
|
43
28
|
// —————————————————————————————————————————————————————————————————
|
|
44
29
|
|
|
45
|
-
|
|
30
|
+
// have children wrap automatically
|
|
31
|
+
.flex-wrap {
|
|
32
|
+
justify-content: center;
|
|
46
33
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
justify-content: center;
|
|
34
|
+
> .flex_item {
|
|
35
|
+
flex: 1 0 0;
|
|
50
36
|
|
|
51
|
-
>
|
|
52
|
-
|
|
37
|
+
> * {
|
|
38
|
+
width: 100%;
|
|
53
39
|
}
|
|
54
40
|
}
|
|
55
41
|
}
|
|
@@ -58,133 +44,84 @@ variables.$col: calc(100% / 12);
|
|
|
58
44
|
// direction
|
|
59
45
|
// —————————————————————————————————————————————————————————————————
|
|
60
46
|
|
|
61
|
-
.
|
|
62
|
-
.
|
|
63
|
-
.
|
|
64
|
-
.
|
|
47
|
+
.flex-column { flex-direction: column; }
|
|
48
|
+
.flex-columnReverse { flex-direction: column-reverse; }
|
|
49
|
+
.flex-row { flex-direction: row; flex-wrap: wrap; }
|
|
50
|
+
.flex-rowReverse { flex-direction: row-reverse; flex-wrap: wrap; }
|
|
65
51
|
|
|
66
52
|
// —————————————————————————————————————————————————————————————————
|
|
67
|
-
//
|
|
53
|
+
// justify
|
|
68
54
|
// —————————————————————————————————————————————————————————————————
|
|
69
55
|
|
|
70
|
-
.
|
|
71
|
-
.
|
|
72
|
-
.
|
|
73
|
-
.
|
|
74
|
-
.
|
|
75
|
-
.
|
|
56
|
+
.flex-jc-center { justify-content: center;}
|
|
57
|
+
.flex-jc-end { justify-content: flex-end;}
|
|
58
|
+
.flex-jc-start { justify-content: flex-start;}
|
|
59
|
+
.flex-jc-spaceAround { justify-content: space-around;}
|
|
60
|
+
.flex-jc-spaceBetween { justify-content: space-between;}
|
|
61
|
+
.flex-jc-spaceEvenly { justify-content: space-evenly;}
|
|
76
62
|
|
|
77
63
|
// —————————————————————————————————————————————————————————————————
|
|
78
|
-
//
|
|
64
|
+
// items
|
|
79
65
|
// —————————————————————————————————————————————————————————————————
|
|
80
66
|
|
|
81
|
-
.
|
|
82
|
-
.
|
|
83
|
-
.
|
|
84
|
-
.
|
|
85
|
-
.
|
|
86
|
-
|
|
87
|
-
// —————————————————————————————————————————————————————————————————
|
|
88
|
-
// alignSelf
|
|
89
|
-
// —————————————————————————————————————————————————————————————————
|
|
90
|
-
|
|
91
|
-
.grid--as-stretch { align-self: stretch; }
|
|
92
|
-
.grid--as-center { align-self: center; }
|
|
93
|
-
.grid--as-end { align-self: flex-end; }
|
|
94
|
-
.grid--as-start { align-self: flex-start; }
|
|
95
|
-
.grid--as-baseline { align-self: baseline; }
|
|
96
|
-
|
|
67
|
+
.flex-ai-stretch { align-items: stretch; }
|
|
68
|
+
.flex-ai-center { align-items: center; }
|
|
69
|
+
.flex-ai-end { align-items: flex-end; }
|
|
70
|
+
.flex-ai-start { align-items: flex-start; }
|
|
71
|
+
.flex-ai-baseline { align-items: baseline; }
|
|
97
72
|
|
|
98
73
|
// —————————————————————————————————————————————————————————————————
|
|
99
|
-
//
|
|
74
|
+
// self
|
|
100
75
|
// —————————————————————————————————————————————————————————————————
|
|
101
76
|
|
|
102
|
-
.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
77
|
+
.flex-as-stretch { align-self: stretch; }
|
|
78
|
+
.flex-as-center { align-self: center; }
|
|
79
|
+
.flex-as-end { align-self: flex-end; }
|
|
80
|
+
.flex-as-start { align-self: flex-start; }
|
|
81
|
+
.flex-as-baseline { align-self: baseline; }
|
|
108
82
|
|
|
109
83
|
// —————————————————————————————————————————————————————————————————
|
|
110
|
-
//
|
|
84
|
+
// gap and col
|
|
111
85
|
// —————————————————————————————————————————————————————————————————
|
|
112
86
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
87
|
+
$columns: 12;
|
|
88
|
+
$breakpoints: (
|
|
89
|
+
xs: mobile-sm,
|
|
90
|
+
sm: mobile,
|
|
91
|
+
md: tablet,
|
|
92
|
+
lg: laptop,
|
|
93
|
+
xl: desktop
|
|
94
|
+
);
|
|
122
95
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
96
|
+
@for $i from 1 through $columns {
|
|
97
|
+
.col-#{$i} {
|
|
98
|
+
width: variables.$col * $i;
|
|
126
99
|
}
|
|
127
100
|
}
|
|
128
101
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
@for $colWidth from 1 through 12 {
|
|
134
|
-
|
|
135
|
-
.grid--#{$colWidth} {
|
|
136
|
-
width: $colWidth*variables.$col;
|
|
137
|
-
|
|
138
|
-
&.grid {
|
|
139
|
-
width: $colWidth*variables.$col;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
@for $spacingWidth from 1 through 12 {
|
|
102
|
+
[class*="gap-"],
|
|
103
|
+
[class*="col-"] {
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
143
106
|
|
|
144
|
-
|
|
145
|
-
|
|
107
|
+
@for $i from 1 through $columns {
|
|
108
|
+
.gap-#{$i} {
|
|
109
|
+
gap: #{$i * .25}rem;
|
|
110
|
+
|
|
111
|
+
@for $j from 1 through $columns {
|
|
112
|
+
> .col-#{$j} {
|
|
113
|
+
width: calc((variables.$col * $j) - (#{$i * .25}rem * (($columns / $j - 1) / ($columns / $j))));
|
|
146
114
|
}
|
|
147
115
|
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@mixin break-width($breakpoint) {
|
|
152
|
-
|
|
153
|
-
@include mixins.responsive(up, $breakpoint) {
|
|
154
|
-
|
|
155
|
-
@for $colWidth from 1 through 12 {
|
|
156
116
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@for $spacingWidth from 1 through 12 {
|
|
165
|
-
|
|
166
|
-
&.grid--spacing#{$spacingWidth} {
|
|
167
|
-
width: calc(#{$colWidth*variables.$col} + #{$spacingWidth * 0.5rem});
|
|
117
|
+
@each $suffix, $breakpoint in $breakpoints {
|
|
118
|
+
@include mixins.responsive(up, $breakpoint) {
|
|
119
|
+
@for $j from 1 through $columns {
|
|
120
|
+
> .col-#{$suffix}-#{$j} {
|
|
121
|
+
width: calc((variables.$col * $j) - (#{$i * .25}rem * (($columns / $j - 1) / ($columns / $j))));
|
|
168
122
|
}
|
|
169
123
|
}
|
|
170
124
|
}
|
|
171
125
|
}
|
|
172
126
|
}
|
|
173
127
|
}
|
|
174
|
-
|
|
175
|
-
[class*="grid--xs"],
|
|
176
|
-
[class*="grid--sm"],
|
|
177
|
-
[class*="grid--md"],
|
|
178
|
-
[class*="grid--lg"],
|
|
179
|
-
[class*="grid--xl"] {
|
|
180
|
-
width: 100%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.grid {
|
|
184
|
-
|
|
185
|
-
&--xs { @include break-width(mobile-sm); }
|
|
186
|
-
&--sm { @include break-width(mobile); }
|
|
187
|
-
&--md { @include break-width(tablet); }
|
|
188
|
-
&--lg { @include break-width(laptop); }
|
|
189
|
-
&--xl { @include break-width(desktop); }
|
|
190
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
1
|
+
@use '../common/mixins';
|
|
2
|
+
@use '../common/variables';
|
|
3
|
+
@use '../utilities/text';
|
|
4
4
|
|
|
5
5
|
// —————————————————————————————————————————————————————————————————
|
|
6
6
|
// elements / default
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
// error
|
|
11
11
|
// disabled
|
|
12
12
|
// optional
|
|
13
|
+
// dense
|
|
13
14
|
// icon
|
|
14
15
|
// —————————————————————————————————————————————————————————————————
|
|
15
16
|
|
|
@@ -25,8 +26,8 @@
|
|
|
25
26
|
width: 100%;
|
|
26
27
|
max-width: variables.$max-width-form;
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
margin-
|
|
29
|
+
& + & {
|
|
30
|
+
margin-top: 1rem;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&_label {
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
&_control {
|
|
50
51
|
@include mixins.transition(variables.$transition-md, border-color);
|
|
51
52
|
font-size: 1rem;
|
|
52
|
-
font-family: variables.$font-fallback;
|
|
53
|
+
font-family: variables.$font, variables.$font-fallback;
|
|
53
54
|
width: 100%;
|
|
54
55
|
border-radius: variables.$border-radius-md !important;
|
|
55
56
|
padding: .325rem .5rem;
|
|
@@ -60,6 +61,10 @@
|
|
|
60
61
|
background-color: variables.$input-background;
|
|
61
62
|
}
|
|
62
63
|
|
|
64
|
+
&:focus {
|
|
65
|
+
outline: 2px solid variables.$primary;
|
|
66
|
+
}
|
|
67
|
+
|
|
63
68
|
&:not(textarea):not(.checkboxes):not(.radios) {
|
|
64
69
|
display: inline-block;
|
|
65
70
|
align-items: center;
|
|
@@ -86,7 +91,7 @@
|
|
|
86
91
|
// —————————————————————————————————————————————————————————————————
|
|
87
92
|
|
|
88
93
|
.select {
|
|
89
|
-
|
|
94
|
+
|
|
90
95
|
&:after {
|
|
91
96
|
content: '';
|
|
92
97
|
border: solid variables.$text;
|
|
@@ -102,6 +107,7 @@
|
|
|
102
107
|
.input_control {
|
|
103
108
|
display: flex;
|
|
104
109
|
align-items: center;
|
|
110
|
+
padding-right: 2rem;
|
|
105
111
|
}
|
|
106
112
|
}
|
|
107
113
|
|
|
@@ -162,6 +168,7 @@ input[type='radio'] {
|
|
|
162
168
|
background-color: variables.$input-background;
|
|
163
169
|
border: variables.$border;
|
|
164
170
|
margin-right: .5rem;
|
|
171
|
+
color: variables.$primary;
|
|
165
172
|
}
|
|
166
173
|
|
|
167
174
|
input[type='checkbox'] { border-radius: variables.$border-radius-sm; }
|
|
@@ -260,6 +267,29 @@ input[type='radio']:checked {
|
|
|
260
267
|
}
|
|
261
268
|
}
|
|
262
269
|
|
|
270
|
+
// —————————————————————————————————————————————————————————————————
|
|
271
|
+
// dense
|
|
272
|
+
// —————————————————————————————————————————————————————————————————
|
|
273
|
+
|
|
274
|
+
.input-dense {
|
|
275
|
+
|
|
276
|
+
.input_control:not(textarea) {
|
|
277
|
+
height: 2rem;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&.select {
|
|
281
|
+
|
|
282
|
+
&:after {
|
|
283
|
+
bottom: 0.9rem;
|
|
284
|
+
right: 0.75rem;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.input_control {
|
|
288
|
+
padding-right: 1.5rem;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
263
293
|
// —————————————————————————————————————————————————————————————————
|
|
264
294
|
// icon
|
|
265
295
|
// —————————————————————————————————————————————————————————————————
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../common/mixins';
|
|
2
|
+
@use '../common/variables';
|
|
3
3
|
|
|
4
4
|
// —————————————————————————————————————————————————————————————————
|
|
5
5
|
// elements
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
display: inline-flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
font-weight: variables.$font-regular;
|
|
17
|
+
border-radius: variables.$border-radius-sm;
|
|
17
18
|
text-decoration: underline;
|
|
18
|
-
text-underline-offset:
|
|
19
|
+
text-underline-offset: .15em;
|
|
19
20
|
white-space: nowrap;
|
|
20
21
|
|
|
21
|
-
&
|
|
22
|
+
&_icon {
|
|
22
23
|
display: flex;
|
|
23
24
|
margin-top: 0.1em;
|
|
24
25
|
margin-left: 0.25em;
|
|
@@ -34,13 +35,17 @@
|
|
|
34
35
|
// color
|
|
35
36
|
// —————————————————————————————————————————————————————————————————
|
|
36
37
|
|
|
37
|
-
//
|
|
38
|
+
// change the link colour using text utililty classes
|
|
38
39
|
|
|
39
40
|
.link {
|
|
40
41
|
color: variables.$primary;
|
|
41
|
-
text-decoration: underline
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
text-decoration: underline
|
|
42
|
+
text-decoration: underline currentColor;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
text-decoration: underline 3px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.text-inherit {
|
|
49
|
+
color: inherit;
|
|
45
50
|
}
|
|
46
51
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use '../utilities/text';
|
|
2
2
|
|
|
3
3
|
// —————————————————————————————————————————————————————————————————
|
|
4
4
|
// elements
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
&_item {
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
margin-
|
|
21
|
+
|
|
22
|
+
& + & {
|
|
23
|
+
margin-top: .5rem;
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
&Icon {
|
|
27
27
|
display: flex;
|
|
28
28
|
height: 1em;
|
|
@@ -39,10 +39,9 @@
|
|
|
39
39
|
.list-dense .list_item,
|
|
40
40
|
.list_item-dense {
|
|
41
41
|
@extend %caption;
|
|
42
|
-
margin-top: 0 !important;
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
margin-
|
|
43
|
+
+ .list_item {
|
|
44
|
+
margin-top: .25rem;
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
3
|
-
@use
|
|
1
|
+
@use '../common/mixins';
|
|
2
|
+
@use '../common/variables';
|
|
3
|
+
@use '../utilities/text';
|
|
4
4
|
|
|
5
5
|
// —————————————————————————————————————————————————————————————————
|
|
6
6
|
// elements
|
|
@@ -51,37 +51,23 @@
|
|
|
51
51
|
&_label {
|
|
52
52
|
color: variables.$text-alt;
|
|
53
53
|
font-weight: variables.$font-bold;
|
|
54
|
+
margin-bottom: .5rem;
|
|
54
55
|
}
|
|
55
|
-
|
|
56
|
+
|
|
56
57
|
&_title {
|
|
57
58
|
@extend %h3;
|
|
58
59
|
color: variables.$primary;
|
|
59
60
|
max-width: variables.$desktop*0.75;
|
|
60
|
-
|
|
61
|
-
.section_label + & {
|
|
62
|
-
margin-top: .5rem;
|
|
63
|
-
}
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
&_subtitle {
|
|
67
64
|
@extend %subtitle;
|
|
68
65
|
max-width: variables.$max-width-subtitle;
|
|
69
|
-
|
|
70
|
-
.section_title + & {
|
|
71
|
-
margin-top: 2rem - 1rem;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
& + & {
|
|
75
|
-
margin-top: 1rem;
|
|
76
|
-
}
|
|
66
|
+
margin-top: 1rem;
|
|
77
67
|
}
|
|
78
68
|
|
|
79
69
|
&_actions {
|
|
80
|
-
|
|
81
|
-
.section_title + &,
|
|
82
|
-
.section_subtitle + & {
|
|
83
|
-
margin-top: 2rem;
|
|
84
|
-
}
|
|
70
|
+
margin-top: 2rem;
|
|
85
71
|
}
|
|
86
72
|
}
|
|
87
73
|
|
|
@@ -112,7 +98,7 @@
|
|
|
112
98
|
// color
|
|
113
99
|
// —————————————————————————————————————————————————————————————————
|
|
114
100
|
|
|
115
|
-
@mixin color(
|
|
101
|
+
@mixin section-color(
|
|
116
102
|
$background-color,
|
|
117
103
|
$title-color: variables.$primary,
|
|
118
104
|
$color: variables.$text,
|
|
@@ -137,16 +123,16 @@
|
|
|
137
123
|
}
|
|
138
124
|
|
|
139
125
|
.section {
|
|
140
|
-
&-default { @include color(variables.$background-default); }
|
|
141
|
-
&-paper { @include color(variables.$background-paper); }
|
|
142
|
-
&-primary { @include color(
|
|
126
|
+
&-default { @include section-color(variables.$background-default); }
|
|
127
|
+
&-paper { @include section-color(variables.$background-paper); }
|
|
128
|
+
&-primary { @include section-color(
|
|
143
129
|
variables.$primary, // background-color
|
|
144
130
|
variables.$primary-contrast, // title-color
|
|
145
131
|
variables.$primary-contrast, // color
|
|
146
132
|
variables.$hover-contrast, // paper-color
|
|
147
133
|
variables.$border-color-contrast // border-color
|
|
148
134
|
);}
|
|
149
|
-
&-primaryLight { @include color(
|
|
135
|
+
&-primaryLight { @include section-color(
|
|
150
136
|
variables.$primary-light, // background-color
|
|
151
137
|
variables.$text, // title-color
|
|
152
138
|
variables.$text, // color
|
|
@@ -168,11 +154,10 @@
|
|
|
168
154
|
@include mixins.clamp(padding-bottom, 2rem, 10vw, 7rem);
|
|
169
155
|
}
|
|
170
156
|
|
|
157
|
+
&_label { margin-bottom: 1rem; }
|
|
171
158
|
&_title { @extend %h1; max-width: variables.$desktop*0.5; }
|
|
172
|
-
&_subtitle { @extend %h5; }
|
|
173
|
-
&
|
|
174
|
-
&_title + .section_actions,
|
|
175
|
-
&_subtitle + .section_actions { margin-top: 3rem; }
|
|
159
|
+
&_subtitle { @extend %h5; margin-top: 2rem; }
|
|
160
|
+
&_actions { margin-top: 4rem; }
|
|
176
161
|
}
|
|
177
162
|
}
|
|
178
163
|
|
|
@@ -184,10 +169,9 @@
|
|
|
184
169
|
|
|
185
170
|
.section {
|
|
186
171
|
|
|
172
|
+
&_label { margin-bottom: .75rem; }
|
|
187
173
|
&_title { @extend %h2; }
|
|
188
|
-
&_subtitle {
|
|
189
|
-
&
|
|
190
|
-
&_title + .section_actions,
|
|
191
|
-
&_subtitle + .section_actions { margin-top: 2.5rem; }
|
|
174
|
+
&_subtitle { margin-top: 1.5rem; }
|
|
175
|
+
&_actions { margin-top: 2.5rem; }
|
|
192
176
|
}
|
|
193
177
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../common/variables';
|
|
2
|
+
@use '../utilities/text';
|
|
3
3
|
|
|
4
4
|
// —————————————————————————————————————————————————————————————————
|
|
5
5
|
// elements
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.tag {
|
|
36
|
-
font-family: variables.$font-fallback;
|
|
36
|
+
font-family: variables.$font, variables.$font-fallback;
|
|
37
37
|
float: right;
|
|
38
38
|
margin-top: 1px;
|
|
39
39
|
margin-right: -(variables.$spacing-xs);
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
&:after {
|
|
50
50
|
@extend %overline;
|
|
51
51
|
content: "Default";
|
|
52
|
-
font-family: variables.$font-fallback;
|
|
52
|
+
font-family: variables.$font, variables.$font-fallback;
|
|
53
53
|
float: right;
|
|
54
54
|
margin-top: 1px;
|
|
55
55
|
margin-right: -(variables.$spacing-xs);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../common/variables';
|
|
2
|
+
@use '../utilities/text';
|
|
3
3
|
|
|
4
4
|
// —————————————————————————————————————————————————————————————————
|
|
5
5
|
// elements
|
|
@@ -31,7 +31,7 @@ $spacing-status: .5rem;
|
|
|
31
31
|
// color
|
|
32
32
|
// —————————————————————————————————————————————————————————————————
|
|
33
33
|
|
|
34
|
-
@mixin color($color) {
|
|
34
|
+
@mixin status-color($color) {
|
|
35
35
|
|
|
36
36
|
&:before {
|
|
37
37
|
background-color: $color;
|
|
@@ -40,10 +40,10 @@ $spacing-status: .5rem;
|
|
|
40
40
|
|
|
41
41
|
.status {
|
|
42
42
|
|
|
43
|
-
&-success { @include color(variables.$success); }
|
|
44
|
-
&-info { @include color(variables.$info); }
|
|
45
|
-
&-warning { @include color(variables.$warning); }
|
|
46
|
-
&-error { @include color(variables.$error); }
|
|
43
|
+
&-success { @include status-color(variables.$success); }
|
|
44
|
+
&-info { @include status-color(variables.$info); }
|
|
45
|
+
&-warning { @include status-color(variables.$warning); }
|
|
46
|
+
&-error { @include status-color(variables.$error); }
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// —————————————————————————————————————————————————————————————————
|