-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-select-element.css
63 lines (55 loc) · 1.28 KB
/
react-select-element.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
body {
font-family: arial, helvetica, sans-serif;
}
.react-select-element {
font-size: .75rem;
cursor: default;
user-select: none;
margin: 2px 0;
position: relative;
}
.react-select-element .selected-option {
padding: 2px 8px;
background-color: white;
border: 1px solid #ccc;
margin: 0;
border-radius: 4px;
}
.react-select-element.disabled .selected-option {
border-color: #ebebeb;
color: #808080;
}
/*
Default focus outline is bobbins
In Chrome, there's a margin between the element and the outline
In FF, the outline is dashed
*/
.react-select-element .selected-option:focus {
outline: none;
box-shadow: 0px 0px 4px 2px rgba(59, 153, 252, 1);
}
.react-select-element ul {
position:absolute;
margin: -1px 0 0;
width: 100%;
padding: 8px 0;
background-color: #f0f0f0;
border: 1px solid #aaa;
border-radius: 4px;
box-shadow: 10px 10px 30px 0px rgba(0, 0, 0, 0.25);
display: none;
z-index: 1;
}
.react-select-element ul.active {
display: block;
}
.react-select-element li {
display: block;
list-style-type: none;
padding: 0 1rem;
cursor: default;
}
.react-select-element li.active {
background-color: #3991fc;
color: white;
}