forked from ionic-team/ionic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect.css
More file actions
52 lines (43 loc) · 806 Bytes
/
Copy pathselect.css
File metadata and controls
52 lines (43 loc) · 806 Bytes
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
.Select {
cursor: pointer;
display: inline-block;
font-weight: 500;
}
.Select .Dropdown-button {
align-items: center;
border: solid 1px #DEE3EA;
border-radius: 6px;
display: inline-flex;
justify-content: space-between;
min-width: 100px;
padding: 0.5em 1em;
}
.Select .Dropdown-panel {
padding: 0.5em 0;
}
.Select .Dropdown-arrow {
margin-left: 0.5em;
}
.Select-option {
--bg-alpha: 0;
background-color: rgba(0, 0, 0, var(--bg-alpha));
padding: 0.5em 1.5em;
}
.Select-option:focus {
--bg-alpha: 0.025;
outline: none;
}
.Select-option--selected {
--bg-alpha: 0.05;
}
.Select-option--selected:focus {
--bg-alpha: 0.075;
}
@media (hover: hover) {
.Select-option:hover {
--bg-alpha: 0.025;
}
.Select-option--selected:hover {
--bg-alpha: 0.075;
}
}