@trilogy-ds/styles 0.0.1-beta.30 → 0.0.1-beta.32
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/components/_price.scss +10 -0
- package/framework/src/components/_segmented-control.scss +0 -1
- package/framework/src/components/_tabs.scss +0 -1
- package/framework/src/elements/_button.scss +1 -2
- package/framework/src/elements/_entry.scss +6 -1
- package/framework/src/elements/_input-icons.scss +35 -30
- package/framework/src/elements/_link.scss +1 -1
- package/framework/src/elements/_select.scss +1 -2
- package/framework/src/utilities/_mixins.scss +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,16 @@ $price-levels: (
|
|
|
25
25
|
&.is-level-#{$i} {
|
|
26
26
|
font-size: $font-size;
|
|
27
27
|
|
|
28
|
+
@if $i < 4 {
|
|
29
|
+
+ .price-tag {
|
|
30
|
+
span:nth-child(2) {
|
|
31
|
+
font-size: 10px;
|
|
32
|
+
place-self: flex-end;
|
|
33
|
+
margin-bottom: 3px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
@if $i > 4 {
|
|
29
39
|
.price-details {
|
|
30
40
|
padding-left: 2px !important;
|
|
@@ -40,7 +40,6 @@ $button-border-width: 2px !default;
|
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
text-align: center;
|
|
43
|
-
font-family: $body-family;
|
|
44
43
|
white-space: nowrap;
|
|
45
44
|
padding: 0 $spacing-4;
|
|
46
45
|
text-decoration: inherit;
|
|
@@ -62,7 +61,7 @@ $button-border-width: 2px !default;
|
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
|
|
65
|
-
&[disabled],
|
|
64
|
+
&[disabled],
|
|
66
65
|
&[aria-disabled=true] {
|
|
67
66
|
background-color: getBGColorValue('main') !important;
|
|
68
67
|
color: getBGColorValue('disabled') !important
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
padding-left: $spacing-4;
|
|
6
6
|
padding-right: $spacing-4;
|
|
7
|
-
font-family: $body-family;
|
|
8
7
|
font-size: $size-medium;
|
|
9
8
|
max-width: 100%;
|
|
10
9
|
width: 100%;
|
|
@@ -20,6 +19,12 @@
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
|
|
22
|
+
&:active,
|
|
23
|
+
&:focus,
|
|
24
|
+
&:focus-visible:not(.icon) {
|
|
25
|
+
padding-left: 15px !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
// Sizes
|
|
24
29
|
&.is-small {
|
|
25
30
|
@include control-small;
|
|
@@ -1,41 +1,46 @@
|
|
|
1
1
|
.field {
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
}
|
|
12
|
+
|
|
13
|
+
label {
|
|
14
|
+
left: 45px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.icon-left {
|
|
18
|
+
position: absolute;
|
|
19
|
+
height: 100%;
|
|
20
|
+
width: 45px;
|
|
21
|
+
left: 0;
|
|
22
|
+
|
|
23
|
+
i {
|
|
24
|
+
font-size: 20px;
|
|
20
25
|
}
|
|
26
|
+
}
|
|
21
27
|
|
|
22
28
|
|
|
23
29
|
}
|
|
24
30
|
|
|
25
31
|
.has-icons-right {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
32
|
+
.icon-right {
|
|
33
|
+
position: absolute;
|
|
34
|
+
height: 100%;
|
|
35
|
+
width: 45px;
|
|
36
|
+
z-index: 10;
|
|
37
|
+
right: 0;
|
|
38
|
+
left: auto;
|
|
39
|
+
|
|
40
|
+
i {
|
|
41
|
+
font-size: 20px;
|
|
37
42
|
}
|
|
43
|
+
}
|
|
38
44
|
}
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
}
|
|
41
46
|
}
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
display: inline-block;
|
|
21
21
|
max-width: 100%;
|
|
22
22
|
position: relative;
|
|
23
|
-
font-family: $body-family;
|
|
24
23
|
border-radius: var(--radius-small);
|
|
25
24
|
background-color: getColor('background');
|
|
26
25
|
display: block;
|
|
@@ -37,7 +36,7 @@
|
|
|
37
36
|
max-width: 100%;
|
|
38
37
|
width: 100%;
|
|
39
38
|
font-size: 1em;
|
|
40
|
-
font-family: $
|
|
39
|
+
font-family: $family-sans-serif;
|
|
41
40
|
color: getColor('font');
|
|
42
41
|
cursor: pointer;
|
|
43
42
|
-webkit-appearance: none;
|