-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (82 loc) · 1.67 KB
/
Copy pathstyle.css
File metadata and controls
96 lines (82 loc) · 1.67 KB
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
.opm-container * {
box-sizing: border-box;
}
.opm-container {
position: relative;
max-width: 100%;
margin-top: 5px;
font-size: 16px;
text-align: left;
outline: none;
transition: transform 0.3s, box-shadow 0.2s;
}
.opm-container:focus {
box-shadow: 0 2px 5px -3px rgba(0, 0, 0, 0.2);
}
.opm-shrink {
transform: scaleY(0.92);
}
.opm-selected {
display: flex;
justify-content: space-between;
align-items: center;
border-radius: inherit;
cursor: pointer;
user-select: none;
transition: transform 0.3s;
}
.opm-shrink .opm-selected {
transform: scaleY(1.07);
}
.opm-selected-text {
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.opm-placeholder {
opacity: 0.5;
}
.opm-list {
--maxHeight: none;
--hover: rgba(0, 0, 0, 0.1);
--scrollbar: rgba(0, 0, 0, 0.1);
--scrollbarThumb: rgba(0, 0, 0, 0.3);
position: absolute;
z-index: 11;
width: 100%;
margin: 0;
padding: 0;
border: inherit;
border-radius: inherit;
background: inherit;
list-style: none;
overflow: auto;
max-height: var(--maxHeight);
transition: clip-path 0.48s cubic-bezier(0.2, 1, 0.22, 1), opacity 0.18s;
will-change: clip-path, opacity;
}
.opm-list::-webkit-scrollbar {
width: 4px;
background-color: var(--scrollbar);
}
.opm-list::-webkit-scrollbar-thumb {
background-color: var(--scrollbarThumb);
border-radius: 2px;
}
.opm-list.opm-hidden {
display: none;
}
.opm-item {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
user-select: none;
white-space: nowrap;
overflow: hidden;
transition: background-color 0.05s;
}
.opm-item:hover {
background-color: var(--hover);
}