-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
118 lines (99 loc) · 2.61 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
twin-col-select div.twincolselect-item[checked] {
background: var(--lumo-primary-color);
color: var(--lumo-tint-80pct);
}
twin-col-select div.twincolselect-item:focus {
box-shadow: inset 0 0 0 2px var(--lumo-base-color);
outline: unset;
background: var(--lumo-primary-color-10pct);
}
twin-col-select div.twincolselect-item {
padding: var(--lumo-space-xs);
}
twin-col-select div.twincolselect-item[disabled] {
pointer-events: none;
}
twin-col-select {
min-width: 400px;
}
twin-col-select .twincolselect-errorlabel {
color: var(--lumo-error-text-color);
font-size: var(--lumo-font-size-xs);
line-height: var(--lumo-line-height-xs);
will-change: max-height;
transition: 0.4s max-height;
max-height: 5em;
align-self: flex-end;
}
twin-col-select .twincolselect-label-styles {
align-self: flex-start;
color: var(--lumo-secondary-text-color);
font-weight: 500;
font-size: var(--lumo-font-size-s);
transition: color 0.2s;
line-height: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
position: relative;
max-width: 100%;
box-sizing: border-box;
padding-right: 1em;
padding-bottom: 0.5em;
margin-left: calc(var(--lumo-border-radius-m) / 4);
}
twin-col-select .twincolselect-label-styles::after {
content: var(--lumo-required-field-indicator, "\2022");
transition: opacity 0.2s;
opacity: var(--tcs-required-dot-opacity);
color: var(--lumo-primary-text-color);
right: 0;
width: 1em;
margin-left: 4px;
text-align: center;
}
twin-col-select .options {
width: 100%;
height: 100%;
overflow-y: auto;
}
twin-col-select .value {
width: 100%;
height: 100%;
overflow-y: auto;
}
twin-col-select vaadin-vertical-layout.options:focus {
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
outline: unset;
}
twin-col-select vaadin-vertical-layout.value:focus {
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
outline: unset;
}
twin-col-select[theme~="vertical"] > vaadin-horizontal-layout {
flex-wrap: wrap;
flex-direction: column;
}
twin-col-select:not([theme~="no-buttons"])[theme~="vertical"] .options {
width: 80% !important;
}
twin-col-select[theme~="vertical"] .options {
height: 45%;
flex-grow: 1;
}
twin-col-select:not([theme~="no-buttons"])[theme~="vertical"] .value {
width: 80% !important;
}
twin-col-select[theme~="vertical"] .value {
height: 45%;
flex-grow: 1;
}
twin-col-select[theme~="no-buttons"] .buttons {
display: none;
}
twin-col-select[theme~="vertical"] .buttons {
order: 1;
}
twin-col-select[theme~="vertical"] .twincolselect-errorlabel {
align-self: flex-start;
}