@trilogy-ds/styles 4.3.1-beta-3 → 4.4.0-beta-2
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/_autolayout.scss +11 -11
- package/framework/src/components/_select.scss +3 -0
- package/framework/src/components/_textarea.scss +4 -92
- package/framework/src/components/input/_entry.scss +16 -11
- package/framework/src/components/input/_form.scss +3 -8
- package/framework/src/components/input/_input-icons.scss +1 -1
- package/package.json +1 -1
|
@@ -120,19 +120,19 @@ body:not(.is-tight) {
|
|
|
120
120
|
margin-bottom: 40px;
|
|
121
121
|
}
|
|
122
122
|
.title.is-level-2:not(:last-child) {
|
|
123
|
-
margin-bottom:
|
|
123
|
+
margin-bottom: 40px;
|
|
124
124
|
}
|
|
125
125
|
.title.is-level-3:not(:last-child) {
|
|
126
|
-
margin-bottom:
|
|
126
|
+
margin-bottom: 24px;
|
|
127
127
|
}
|
|
128
128
|
.title.is-level-4:not(:last-child) {
|
|
129
|
-
margin-bottom:
|
|
129
|
+
margin-bottom: 24px;
|
|
130
130
|
}
|
|
131
131
|
.title.is-level-5:not(:last-child) {
|
|
132
|
-
margin-bottom:
|
|
132
|
+
margin-bottom: 16px;
|
|
133
133
|
}
|
|
134
134
|
.title.is-level-6:not(:last-child) {
|
|
135
|
-
margin-bottom:
|
|
135
|
+
margin-bottom: 8px;
|
|
136
136
|
}
|
|
137
137
|
.overline:not(:last-child) {
|
|
138
138
|
margin-bottom: 0px;
|
|
@@ -220,7 +220,7 @@ body:not(.is-tight) {
|
|
|
220
220
|
margin-bottom: 12px;
|
|
221
221
|
}
|
|
222
222
|
p.text:not(:last-child) {
|
|
223
|
-
margin-bottom:
|
|
223
|
+
margin-bottom: 12px;
|
|
224
224
|
}
|
|
225
225
|
.progress:not(:last-child) {
|
|
226
226
|
margin-bottom: 8px;
|
|
@@ -283,19 +283,19 @@ body:not(.is-tight) {
|
|
|
283
283
|
margin-bottom: 32px;
|
|
284
284
|
}
|
|
285
285
|
.title.is-level-2:not(:last-child) {
|
|
286
|
-
margin-bottom:
|
|
286
|
+
margin-bottom: 32px;
|
|
287
287
|
}
|
|
288
288
|
.title.is-level-3:not(:last-child) {
|
|
289
|
-
margin-bottom:
|
|
289
|
+
margin-bottom: 24px;
|
|
290
290
|
}
|
|
291
291
|
.title.is-level-4:not(:last-child) {
|
|
292
|
-
margin-bottom:
|
|
292
|
+
margin-bottom: 16px;
|
|
293
293
|
}
|
|
294
294
|
.title.is-level-5:not(:last-child) {
|
|
295
|
-
margin-bottom:
|
|
295
|
+
margin-bottom: 12px;
|
|
296
296
|
}
|
|
297
297
|
.title.is-level-6:not(:last-child) {
|
|
298
|
-
margin-bottom:
|
|
298
|
+
margin-bottom: 12px;
|
|
299
299
|
}
|
|
300
300
|
.overline:not(:last-child) {
|
|
301
301
|
margin-bottom: 0px;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
.textarea-wrapper {
|
|
2
|
-
display: inline;
|
|
3
|
-
position: relative;
|
|
4
|
-
margin: 16px 0;
|
|
5
2
|
|
|
6
3
|
.textarea-label {
|
|
7
4
|
display: inline-block;
|
|
@@ -13,88 +10,14 @@
|
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
textarea.textarea {
|
|
16
|
-
|
|
17
|
-
border-radius: var(--radius-small);
|
|
18
|
-
outline: none;
|
|
19
|
-
|
|
20
|
-
&:focus,
|
|
21
|
-
&:focus-visible {
|
|
22
|
-
padding: 15px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&::placeholder {
|
|
13
|
+
&::placeholder, label {
|
|
26
14
|
font-size: 16px;
|
|
27
15
|
}
|
|
28
|
-
|
|
29
|
-
&.has-dynamic-label {
|
|
30
|
-
&.has-icon ~ label {
|
|
31
|
-
left: $spacing-9;
|
|
32
|
-
margin-right: 2px;
|
|
33
|
-
width: calc(100% - 98px);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
~ label {
|
|
37
|
-
visibility: visible;
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 2px;
|
|
40
|
-
left: $spacing-4;
|
|
41
|
-
padding-top: $spacing-2;
|
|
42
|
-
width: calc(100% - 28px - 2px);
|
|
43
|
-
font-size: 12px;
|
|
44
|
-
color: getColor('font');
|
|
45
|
-
filter: grayscale(100%);
|
|
46
|
-
transition: top 0.2s ease-out;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&:placeholder-shown {
|
|
50
|
-
~ label {
|
|
51
|
-
visibility: hidden;
|
|
52
|
-
top: $spacing-4;
|
|
53
|
-
background-color: getColor('background');
|
|
54
|
-
transition: none;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:not(:placeholder-shown) {
|
|
59
|
-
padding-top: $spacing-5;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.has-icon {
|
|
64
|
-
padding-left: $spacing-9;
|
|
65
|
-
padding-right: $spacing-9;
|
|
66
|
-
|
|
67
|
-
&:focus,
|
|
68
|
-
&:focus-visible {
|
|
69
|
-
padding-left: 55px !important;
|
|
70
|
-
padding-right: 55px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
label {
|
|
76
|
-
font-size: 16px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.textarea-label + .textarea-sample ~ span.icon {
|
|
80
|
-
top: 72px !important;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.textarea-label ~ span.icon {
|
|
84
|
-
top: 45px !important;
|
|
85
16
|
}
|
|
86
17
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
top:
|
|
90
|
-
|
|
91
|
-
&:first-of-type {
|
|
92
|
-
left: $spacing-4;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&:nth-of-type(2) {
|
|
96
|
-
right: $spacing-4;
|
|
97
|
-
}
|
|
18
|
+
.icon {
|
|
19
|
+
align-items: flex-start !important;
|
|
20
|
+
padding-top: 18px !important;
|
|
98
21
|
}
|
|
99
22
|
|
|
100
23
|
// Colors
|
|
@@ -105,19 +28,8 @@
|
|
|
105
28
|
&.is-#{$brandName} {
|
|
106
29
|
textarea.textarea {
|
|
107
30
|
border-color: $color;
|
|
108
|
-
|
|
109
|
-
&:active,
|
|
110
|
-
&:focus,
|
|
111
|
-
&:focus-visible {
|
|
112
|
-
&:not(:placeholder-shown) {
|
|
113
|
-
padding-top: 29px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
31
|
}
|
|
117
32
|
|
|
118
|
-
span.icon:nth-of-type(2) {
|
|
119
|
-
color: $color;
|
|
120
|
-
}
|
|
121
33
|
}
|
|
122
34
|
}
|
|
123
35
|
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.input, .textarea {
|
|
2
|
+
&:not(:disabled) {
|
|
3
|
+
&:active,
|
|
4
|
+
&:focus,
|
|
5
|
+
&:focus-visible:not(.icon) {
|
|
6
|
+
padding-left: 15px ;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.input,
|
|
2
12
|
.textarea {
|
|
3
13
|
@include input;
|
|
@@ -19,12 +29,6 @@
|
|
|
19
29
|
}
|
|
20
30
|
}
|
|
21
31
|
|
|
22
|
-
&:active,
|
|
23
|
-
&:focus,
|
|
24
|
-
&:focus-visible:not(.icon) {
|
|
25
|
-
padding-left: 15px !important;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
32
|
// Sizes
|
|
29
33
|
&.is-small {
|
|
30
34
|
@include control-small;
|
|
@@ -43,10 +47,6 @@
|
|
|
43
47
|
display: inline;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
|
-
.icon-status {
|
|
47
|
-
color: aqua !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
50
|
& label {
|
|
51
51
|
margin-top: 10px;
|
|
52
52
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
-webkit-appearance: none;
|
|
88
88
|
background-repeat: no-repeat;
|
|
89
89
|
background-color: getColor('background') ;
|
|
90
|
-
background-position: center;
|
|
90
|
+
background-position: center;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&[type="search"] {
|
|
@@ -127,4 +127,9 @@
|
|
|
127
127
|
&.has-fixed-size {
|
|
128
128
|
resize: none;
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
&:focus-visible{
|
|
132
|
+
padding-top: 14px;
|
|
133
|
+
padding-bottom: 4px;
|
|
134
|
+
}
|
|
130
135
|
}
|
|
@@ -248,6 +248,7 @@ $label-weight: $weight-bold;
|
|
|
248
248
|
|
|
249
249
|
&.has-icons-left {
|
|
250
250
|
.input,
|
|
251
|
+
.textarea,
|
|
251
252
|
.select select {
|
|
252
253
|
padding-left: 45px;
|
|
253
254
|
}
|
|
@@ -259,13 +260,6 @@ $label-weight: $weight-bold;
|
|
|
259
260
|
padding: 0 24px;
|
|
260
261
|
}
|
|
261
262
|
|
|
262
|
-
.textarea {
|
|
263
|
-
padding-left: 50px;
|
|
264
|
-
padding-right: $spacing-4;
|
|
265
|
-
padding-bottom: $spacing-4 !important;
|
|
266
|
-
padding-top: $spacing-4;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
263
|
& .textarea + label {
|
|
270
264
|
left: 5rem;
|
|
271
265
|
}
|
|
@@ -291,6 +285,7 @@ $label-weight: $weight-bold;
|
|
|
291
285
|
|
|
292
286
|
&.has-icons-right {
|
|
293
287
|
.input,
|
|
288
|
+
.textarea,
|
|
294
289
|
.select select {
|
|
295
290
|
padding-right: 45px;
|
|
296
291
|
}
|
|
@@ -445,7 +440,7 @@ $label-weight: $weight-bold;
|
|
|
445
440
|
}
|
|
446
441
|
}
|
|
447
442
|
|
|
448
|
-
&:has(input[disabled]), &:has(select[disabled]) {
|
|
443
|
+
&:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
|
|
449
444
|
@include disabledRulesWithoutBG;
|
|
450
445
|
.icon {
|
|
451
446
|
color: getColor('disabled');
|