forked from smart-components/smart-modal-dialog
/
multiple-value-selector.css
60 lines (55 loc) · 1.44 KB
/
multiple-value-selector.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
.multiple-value-selector .selector-list-container {
display: inline-block;
margin-left: 23.8rem;
margin-right: 15rem;
max-height: 70.8rem;
overflow-y: hidden;
/* 67.2rem - 23.8rem - 15rem */
width: calc(100% - 106rem);
padding: 0;
vertical-align: middle;
scroll-behavior: smooth;
outline: none;
}
.multiple-value-selector .modal-dialog-button-group {
margin-right: 20.8rem;
width: 46.4rem;
vertical-align: middle;
}
.multiple-value-selector .selector-list-item {
display: block;
/* substract 9.4rem for tick icon */
width: calc(100% - 9.4rem);
height: 13.6rem;
font-family: "Fira Sans";
font-size: 4.4rem;
font-style: italic;
color: #ffffff;
text-align: center;
line-height: 13.6rem;
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
position: relative;
/* refer https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight */
font-weight: 100;
}
.multiple-value-selector .selector-list-item.checked:after {
position: absolute;
right: 0;
font-family: 'fxos-tv-icons';
content: 'check';
display: inline-block;
font-weight: 500;
font-style: normal;
text-decoration: inherit;
text-transform: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
.multiple-value-selector .selector-list-item.focused {
color: #00caf2;
transform: scale(1.2);
}
.multiple-value-selector .selector-list-item.focused.checked:after {
color: #00caf2;
transform: scale(1);
}