-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
78 lines (66 loc) · 1.4 KB
/
index.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
.react-samay-wrapper {
position: relative;
display: inline-block;
}
.react-samay-panel-combobox {
position: absolute;
z-index: 100;
width: 100%;
display: flex;
flex-direction: row;
background-color: white;
border-radius: 4px;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
margin-left: -1px;
}
.react-samay-panel-select {
flex: 1;
/*
* position relative needed to make offsetTop work
* used in scrolling to selected option
*/
position: relative;
overflow-y: auto;
max-height: 12em;
border: 1px solid #e9e9e9;
scrollbar-width: 8px;
}
.react-samay-panel-select:first-child {
border-left: 0;
}
.react-samay-panel-select:last-child {
border-right: 0;
}
.react-samay-panel-select ul {
list-style: none;
box-sizing: border-box;
margin: 0;
padding: 0;
width: 100%;
}
.react-samay-panel-select li {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
height: 24px;
line-height: 24px;
text-align: center;
cursor: pointer;
user-select: none;
}
.react-samay-panel-select li:hover {
background: #edfaff;
}
.react-samay-panel-select li.react-samay-panel-select-option-selected {
background: #f7f7f7;
font-weight: bold;
}
.react-samay-panel-select li.react-samay-panel-select-option-disabled {
color: #ccc;
}
.react-samay-panel-select li.react-samay-panel-select-option-disabled:hover {
background: transparent;
cursor: not-allowed;
}