@trilogy-ds/styles 0.0.1-beta.8 → 0.0.3-beta-v4
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/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_color.scss +9 -39
- package/framework/src/base/_generic.scss +4 -1
- package/framework/src/base/_helpers.scss +13 -38
- package/framework/src/base/_loading.scss +8 -1
- package/framework/src/base/_reset.scss +8 -3
- package/framework/src/components/_accordion.scss +53 -88
- package/framework/src/components/_all.scss +1 -7
- package/framework/src/components/_autolayout.scss +302 -0
- package/framework/src/components/_breadcrumb.scss +39 -34
- package/framework/src/components/_card.scss +8 -79
- package/framework/src/components/_countdown.scss +49 -47
- package/framework/src/components/_divider.scss +10 -15
- package/framework/src/components/_fab.scss +25 -38
- package/framework/src/components/_modal.scss +161 -158
- package/framework/src/components/_otp.scss +10 -29
- package/framework/src/components/_pagination.scss +59 -161
- package/framework/src/components/_plus-symbol.scss +1 -1
- package/framework/src/components/_popover.scss +260 -260
- package/framework/src/components/_price.scss +119 -170
- package/framework/src/components/_product-tour.scss +2 -4
- package/framework/src/components/_progress-radial.scss +24 -19
- package/framework/src/components/_range.scss +73 -72
- package/framework/src/components/_segmented-control.scss +51 -53
- package/framework/src/components/_stepper.scss +42 -222
- package/framework/src/components/_tabs.scss +46 -81
- package/framework/src/components/_timeline.scss +27 -112
- package/framework/src/elements/_alert.scss +13 -10
- package/framework/src/elements/_all.scss +1 -4
- package/framework/src/elements/_autocomplete.scss +32 -0
- package/framework/src/elements/_badge.scss +67 -61
- package/framework/src/elements/_box.scss +64 -161
- package/framework/src/elements/_button.scss +15 -141
- package/framework/src/elements/_checkbox.scss +29 -26
- package/framework/src/elements/_chips.scss +69 -85
- package/framework/src/elements/_container.scss +7 -39
- package/framework/src/elements/_entry.scss +76 -88
- package/framework/src/elements/_form.scss +26 -23
- package/framework/src/elements/_icon.scss +4 -4
- package/framework/src/elements/_image.scss +50 -40
- package/framework/src/elements/_input-gauge.scss +32 -33
- package/framework/src/elements/_input-icons.scss +33 -31
- package/framework/src/elements/_link.scss +38 -65
- package/framework/src/elements/_list.scss +45 -44
- package/framework/src/elements/_loader.scss +2 -2
- package/framework/src/elements/_other.scss +0 -37
- package/framework/src/elements/_paragraph.scss +35 -69
- package/framework/src/elements/_progress.scss +33 -22
- package/framework/src/elements/_radio.scss +45 -31
- package/framework/src/elements/_select.scss +85 -304
- package/framework/src/elements/_sticker.scss +12 -27
- package/framework/src/elements/_switch.scss +101 -99
- package/framework/src/elements/_table.scss +175 -228
- package/framework/src/elements/_tag.scss +104 -105
- package/framework/src/elements/_textarea.scss +113 -105
- package/framework/src/elements/_title.scss +89 -87
- package/framework/src/elements/_toaster.scss +4 -5
- package/framework/src/grid/_columns.scss +257 -764
- package/framework/src/grid/_rows.scss +45 -38
- package/framework/src/layout/_all.scss +0 -1
- package/framework/src/layout/_hero.scss +89 -215
- package/framework/src/layout/_section.scss +5 -29
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -0
- package/framework/src/utilities/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +4 -0
- package/framework/src/utilities/_background.scss +19 -0
- package/framework/src/utilities/_colors.scss +40 -0
- package/framework/src/utilities/_controls.scss +38 -49
- package/framework/src/utilities/_derived-variables.scss +4 -15
- package/framework/src/utilities/_initial-variables.scss +4 -36
- package/framework/src/utilities/_mixins.scss +483 -592
- package/framework/src/utilities/_pre.scss +1 -0
- package/package.json +3 -3
- package/framework/src/components/_autolayout2.scss +0 -38
- package/framework/src/components/_disclaimer.scss +0 -84
- package/framework/src/components/_dropdown.scss +0 -128
- package/framework/src/components/_level.scss +0 -120
- package/framework/src/components/_media.scss +0 -64
- package/framework/src/components/_menu.scss +0 -213
- package/framework/src/components/_search-modal.scss +0 -197
- package/framework/src/components/_slices.scss +0 -316
- package/framework/src/components/_slider.scss +0 -92
- package/framework/src/components/_switch.scss +0 -209
- package/framework/src/elements/_checkradio.scss +0 -173
- package/framework/src/elements/_dot.scss +0 -6
- package/framework/src/elements/_notification.scss +0 -151
- package/framework/src/elements/_options.scss +0 -146
- package/framework/src/elements/_timeline.scss +0 -283
- package/framework/src/layout/_toolbar.scss +0 -100
|
@@ -1,59 +1,69 @@
|
|
|
1
1
|
.image {
|
|
2
|
+
display: block;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&.is-justified-start,
|
|
6
|
+
&.is-justified-center,
|
|
7
|
+
&.is-justified-end {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
img {
|
|
2
12
|
display: block;
|
|
3
|
-
|
|
13
|
+
max-width: 100%;
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
15
|
+
&.b-loaded {
|
|
16
|
+
height: auto;
|
|
17
|
+
}
|
|
8
18
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
19
|
+
&.is-circled {
|
|
20
|
+
border-radius: 50%;
|
|
12
21
|
}
|
|
22
|
+
}
|
|
13
23
|
}
|
|
14
24
|
|
|
15
25
|
.b-lazy {
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
transition: opacity 250ms ease-in-out;
|
|
27
|
+
opacity: 0;
|
|
18
28
|
|
|
19
|
-
|
|
20
|
-
|
|
29
|
+
&.b-loaded {
|
|
30
|
+
opacity: 1;
|
|
21
31
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
}
|
|
32
|
+
&.has-bg-image {
|
|
33
|
+
&.has-bg-gradient {
|
|
34
|
+
&::before {
|
|
35
|
+
opacity: 0;
|
|
28
36
|
}
|
|
37
|
+
}
|
|
29
38
|
}
|
|
39
|
+
}
|
|
30
40
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
&.has-bg-image {
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
background-position: center center;
|
|
44
|
+
background-size: cover;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
height: 100%;
|
|
51
|
+
|
|
52
|
+
&.has-bg-gradient {
|
|
53
|
+
z-index: zindex('void');
|
|
54
|
+
opacity: 1;
|
|
55
|
+
|
|
56
|
+
&::before {
|
|
57
|
+
content: '';
|
|
58
|
+
opacity: 1;
|
|
35
59
|
position: absolute;
|
|
36
60
|
top: 0;
|
|
37
|
-
bottom: 0;
|
|
38
61
|
left: 0;
|
|
39
62
|
right: 0;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
opacity: 1;
|
|
45
|
-
|
|
46
|
-
&::before {
|
|
47
|
-
content: '';
|
|
48
|
-
opacity: 1;
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: 0;
|
|
51
|
-
left: 0;
|
|
52
|
-
right: 0;
|
|
53
|
-
bottom: 0;
|
|
54
|
-
z-index: zindex('tiny');
|
|
55
|
-
transition: opacity 750ms ease-in-out;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
63
|
+
bottom: 0;
|
|
64
|
+
z-index: zindex('tiny');
|
|
65
|
+
transition: opacity 750ms ease-in-out;
|
|
66
|
+
}
|
|
58
67
|
}
|
|
68
|
+
}
|
|
59
69
|
}
|
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.security-gauge {
|
|
5
|
-
height: 4px;
|
|
6
|
-
background: getColor('grey-disabled');
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
margin: 8px 0;
|
|
9
|
-
.gauge {
|
|
10
|
-
height: 100%;
|
|
11
|
-
border-radius: 4px;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
2
|
+
.field .security-gauge-container {
|
|
3
|
+
width: 100%;
|
|
14
4
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
margin-bottom: 4px;
|
|
23
|
-
.icon {
|
|
24
|
-
position: relative;
|
|
25
|
-
color: getColor('grey');
|
|
26
|
-
width: 16px;
|
|
27
|
-
margin-right: 8px;
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
margin-bottom: -1px;
|
|
5
|
+
.security-gauge {
|
|
6
|
+
height: 4px;
|
|
7
|
+
background: getColor('disabled');
|
|
8
|
+
border-radius: var(--radius-small);
|
|
9
|
+
margin: 8px 0;
|
|
30
10
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
11
|
+
.gauge {
|
|
12
|
+
height: 100%;
|
|
13
|
+
border-radius: var(--radius-small);
|
|
37
14
|
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.security-gauge-verifies {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
|
|
22
|
+
.security {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
margin-bottom: 4px;
|
|
26
|
+
|
|
27
|
+
.icon {
|
|
28
|
+
position: relative;
|
|
29
|
+
width: 16px;
|
|
30
|
+
margin-right: 8px;
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
margin-bottom: -1px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
.field {
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
position: absolute;
|
|
13
|
-
height: 100%;
|
|
14
|
-
width: 45px;
|
|
15
|
-
left: 0;
|
|
3
|
+
.has-icons-left {
|
|
4
|
+
input {
|
|
5
|
+
padding-left: 45px;
|
|
6
|
+
|
|
7
|
+
&:active,
|
|
8
|
+
&:focus,
|
|
9
|
+
&:focus-visible:not(.has-icons-left):not(disabled) {
|
|
10
|
+
padding-left: 44px !important;
|
|
11
|
+
}
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
label {
|
|
14
|
+
left: 45px;
|
|
15
|
+
}
|
|
16
|
+
.icon-left {
|
|
17
|
+
position: absolute;
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 45px;
|
|
20
|
+
left: 0;
|
|
21
|
+
i {
|
|
22
|
+
font-size: 20px;
|
|
20
23
|
}
|
|
24
|
+
}
|
|
21
25
|
|
|
22
26
|
|
|
23
27
|
}
|
|
28
|
+
}
|
|
29
|
+
.has-icons-right {
|
|
30
|
+
.icon-right {
|
|
31
|
+
position: absolute;
|
|
32
|
+
height: 100%;
|
|
33
|
+
width: 45px;
|
|
34
|
+
z-index: 10;
|
|
35
|
+
right: 0;
|
|
36
|
+
left: auto;
|
|
24
37
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
position: absolute;
|
|
29
|
-
height: 100%;
|
|
30
|
-
width: 45px;
|
|
31
|
-
z-index: 10;
|
|
32
|
-
right: 0;
|
|
33
|
-
left: auto;
|
|
34
|
-
i {
|
|
35
|
-
font-size: 20px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
+
i {
|
|
39
|
+
font-size: 20px;
|
|
40
|
+
}
|
|
38
41
|
}
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
}
|
|
41
43
|
}
|
|
@@ -1,79 +1,52 @@
|
|
|
1
|
-
.link
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
box-decoration-break: clone;
|
|
7
|
-
padding: $spacing-2;
|
|
8
|
-
margin: -8px;
|
|
9
|
-
text-decoration: underline;
|
|
10
|
-
cursor: pointer;
|
|
1
|
+
.link {
|
|
2
|
+
[disabled] {
|
|
3
|
+
@include disabledRulesWithoutBG;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
text-decoration-style: solid;
|
|
15
|
-
text-decoration-thickness: 2px;
|
|
16
|
-
text-underline-offset: 4px;
|
|
17
|
-
}
|
|
7
|
+
.link:not([disabled]) {
|
|
8
|
+
@extend %link-states;
|
|
18
9
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
position: relative;
|
|
11
|
+
font-weight: $weight-normal;
|
|
12
|
+
color: getColor($link-colors);
|
|
13
|
+
box-decoration-break: clone;
|
|
14
|
+
text-decoration: underline 2px solid;
|
|
15
|
+
text-underline-offset: 4px;
|
|
16
|
+
cursor: pointer;
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
&:active,
|
|
27
|
-
&.is-active {
|
|
28
|
-
filter: brightness(50%);
|
|
29
|
-
}
|
|
18
|
+
&.has-icon {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
30
21
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
border-bottom-width: 0;
|
|
35
|
-
}
|
|
22
|
+
&::after {
|
|
23
|
+
width: calc(100% - 48px);
|
|
24
|
+
bottom: 5.5px;
|
|
36
25
|
}
|
|
26
|
+
}
|
|
37
27
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
align-items: center;
|
|
41
|
-
|
|
42
|
-
&::after {
|
|
43
|
-
width: calc(100% - 48px);
|
|
44
|
-
bottom: 5.5px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
28
|
+
&.is-inverted {
|
|
29
|
+
color: getColor('background');
|
|
47
30
|
|
|
48
|
-
&.
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.is-inverted {
|
|
31
|
+
&.has-icon {
|
|
32
|
+
> .icon {
|
|
53
33
|
color: getColor('background');
|
|
54
|
-
|
|
55
|
-
&.has-icon {
|
|
56
|
-
> .icon {
|
|
57
|
-
color: getColor('background');
|
|
58
|
-
}
|
|
59
34
|
}
|
|
60
35
|
}
|
|
36
|
+
}
|
|
61
37
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
38
|
+
@include touch {
|
|
39
|
+
white-space: normal !important;
|
|
40
|
+
box-decoration-break: clone;
|
|
41
|
+
display: inline;
|
|
42
|
+
}
|
|
67
43
|
}
|
|
68
44
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
left: 0;
|
|
77
|
-
right: 100%;
|
|
78
|
-
}
|
|
45
|
+
.text .link:not([disabled]) {
|
|
46
|
+
text-underline-offset: 2px;
|
|
47
|
+
text-decoration: underline 1px solid;
|
|
48
|
+
&:hover {
|
|
49
|
+
font-weight: $weight-normal;
|
|
50
|
+
filter: brightness(0.8);
|
|
51
|
+
}
|
|
79
52
|
}
|
|
@@ -1,61 +1,62 @@
|
|
|
1
1
|
// Bullet list classiques
|
|
2
|
-
ul.list
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
ul.list,
|
|
3
|
+
ol.list {
|
|
4
|
+
list-style: disc inside;
|
|
5
|
+
display: grid;
|
|
6
|
+
row-gap: $spacing-3;
|
|
7
|
+
|
|
8
|
+
li.list-item {
|
|
9
|
+
&:has(.icon) {
|
|
10
|
+
list-style: none;
|
|
11
|
+
display: flex;
|
|
6
12
|
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
ul.list {
|
|
10
|
-
list-style: disc;
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
// Listes avec icônes
|
|
18
|
-
ul.icon-list > li {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
|
|
22
|
-
span[disabled] {
|
|
23
|
-
opacity: 0.5;
|
|
14
|
+
.icon {
|
|
15
|
+
margin-right: $spacing-2;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
align-items: flex-start;
|
|
24
18
|
}
|
|
25
19
|
|
|
26
|
-
.
|
|
27
|
-
|
|
20
|
+
.list-item-content {
|
|
21
|
+
display: inline-grid;
|
|
22
|
+
|
|
23
|
+
&_puce {
|
|
24
|
+
margin-right: $spacing-4;
|
|
25
|
+
}
|
|
28
26
|
}
|
|
29
|
-
}
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
&.has-action {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
align-items: center;
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
.list-item_action {
|
|
34
|
+
& > :first-child {
|
|
35
|
+
margin: 0 !important;
|
|
36
|
+
cursor: pointer;
|
|
38
37
|
}
|
|
39
|
-
}
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
.radio label.radio-label:empty,
|
|
40
|
+
.checkbox label.checkbox-label:empty {
|
|
41
|
+
padding: $spacing-1 $spacing-1 $spacing-1 calc($spacing-1 + 10px);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
div b {
|
|
47
|
+
margin-bottom: $spacing-2;
|
|
48
48
|
}
|
|
49
|
+
}
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
51
|
+
&.has-divider {
|
|
52
|
+
li {
|
|
53
|
+
border-bottom: var(--border);
|
|
54
|
+
padding-bottom: $spacing-3;
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
&:last-child {
|
|
57
|
+
border-bottom: none;
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
}
|
|
60
60
|
}
|
|
61
|
+
}
|
|
61
62
|
}
|
|
@@ -16,12 +16,12 @@ $loader-items-bottom-offset: -40px;
|
|
|
16
16
|
display: block;
|
|
17
17
|
width: $loader-item-width;
|
|
18
18
|
height: $loader-item-height;
|
|
19
|
-
border-radius:
|
|
19
|
+
border-radius: 9999px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.loader-body {
|
|
23
23
|
visibility: hidden;
|
|
24
|
-
background-color: getColor('
|
|
24
|
+
background-color: getColor('accent');
|
|
25
25
|
animation: 2.5s linear 0s forwards infinite top_item;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -5,40 +5,3 @@
|
|
|
5
5
|
.delete {
|
|
6
6
|
@include delete;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
.heading {
|
|
10
|
-
display: block;
|
|
11
|
-
font-size: 11px;
|
|
12
|
-
letter-spacing: 1px;
|
|
13
|
-
margin-bottom: 5px;
|
|
14
|
-
text-transform: uppercase;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.highlight {
|
|
18
|
-
@include block;
|
|
19
|
-
|
|
20
|
-
font-weight: $weight-normal;
|
|
21
|
-
max-width: 100%;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
padding: 0;
|
|
24
|
-
|
|
25
|
-
pre {
|
|
26
|
-
overflow: auto;
|
|
27
|
-
max-width: 100%;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.number {
|
|
32
|
-
align-items: center;
|
|
33
|
-
background-color: getColor('grey-light');
|
|
34
|
-
border-radius: $radius-rounded;
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
font-size: $size-medium;
|
|
37
|
-
height: 2em;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
margin-right: 15px;
|
|
40
|
-
min-width: 2.5em;
|
|
41
|
-
padding: 2.5px 5px;
|
|
42
|
-
text-align: center;
|
|
43
|
-
vertical-align: top;
|
|
44
|
-
}
|
|
@@ -12,90 +12,56 @@ $text-levels-mobile: (
|
|
|
12
12
|
);
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
.paragraph {
|
|
16
|
-
&.text {
|
|
17
|
-
@each $text-level in $text-levels {
|
|
18
|
-
$i: index($text-levels, $text-level);
|
|
19
|
-
$font-size: nth($text-level, 1);
|
|
20
|
-
$line-height: nth($text-level, 2);
|
|
21
|
-
$margin-bottom: nth($text-level, 3);
|
|
22
|
-
|
|
23
|
-
&.is-level-#{$i} {
|
|
24
|
-
font-size: $font-size;
|
|
25
|
-
line-height: $line-height;
|
|
26
|
-
font-family: $family-primary;
|
|
27
|
-
margin-bottom: $margin-bottom;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.is-inverted {
|
|
31
|
-
color: getColor('background');
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include mobile {
|
|
36
|
-
@each $text-level-mobile in $text-levels-mobile {
|
|
37
|
-
$i: index($text-levels-mobile, $text-level-mobile);
|
|
38
|
-
$margin-bottom: nth($text-level-mobile, 3);
|
|
39
|
-
|
|
40
|
-
&.is-level-#{$i} {
|
|
41
|
-
margin-bottom: $margin-bottom;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.is-wrapped {
|
|
47
|
-
word-break: break-word;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.bold {
|
|
51
|
-
font-weight: $weight-bold;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.paragraph,
|
|
58
15
|
.text {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
16
|
+
@each $text-level in $text-levels {
|
|
17
|
+
$i: index($text-levels, $text-level);
|
|
18
|
+
$font-size: nth($text-level, 1);
|
|
19
|
+
$line-height: nth($text-level, 2);
|
|
20
|
+
|
|
21
|
+
&.is-level-#{$i} {
|
|
22
|
+
font-size: $font-size;
|
|
23
|
+
line-height: $line-height;
|
|
24
|
+
font-family: $family-primary;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
66
27
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
28
|
+
&.is-inverted {
|
|
29
|
+
color: getColor('background');
|
|
30
|
+
}
|
|
70
31
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
32
|
+
@include mobile {
|
|
33
|
+
@each $text-level-mobile in $text-levels-mobile {
|
|
34
|
+
$i: index($text-levels-mobile, $text-level-mobile);
|
|
74
35
|
}
|
|
75
|
-
}
|
|
36
|
+
}
|
|
76
37
|
|
|
77
|
-
|
|
78
|
-
|
|
38
|
+
&.is-wrapped {
|
|
39
|
+
word-break: break-word;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.bold {
|
|
43
|
+
font-weight: $weight-bold;
|
|
44
|
+
}
|
|
79
45
|
}
|
|
80
46
|
|
|
81
47
|
.span {
|
|
82
|
-
|
|
83
|
-
|
|
48
|
+
font-style: inherit;
|
|
49
|
+
font-weight: inherit;
|
|
84
50
|
}
|
|
85
51
|
|
|
86
52
|
.strong {
|
|
87
|
-
|
|
88
|
-
|
|
53
|
+
color: inherit;
|
|
54
|
+
font-weight: $weight-bold;
|
|
89
55
|
}
|
|
90
56
|
|
|
91
57
|
.sup {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
58
|
+
line-height: 0;
|
|
59
|
+
position: relative;
|
|
60
|
+
vertical-align: baseline;
|
|
61
|
+
top: -0.4em;
|
|
62
|
+
font-size: 0.7em;
|
|
97
63
|
}
|
|
98
64
|
|
|
99
65
|
.small {
|
|
100
|
-
|
|
66
|
+
font-size: 0.875em;
|
|
101
67
|
}
|