This repository was archived by the owner on Mar 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathfoundation-select.css
More file actions
77 lines (66 loc) · 1.75 KB
/
foundation-select.css
File metadata and controls
77 lines (66 loc) · 1.75 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
.custom-dropdown-area {
display: inline-block;
margin: 0;
position:relative;
min-width: 250px;
}
.custom-dropdown-button {
background-color: #fafafa;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
background-position: 100% center;
background-repeat: no-repeat;
border: 1px solid #cccccc;
padding: 0.5rem;
padding-right: 2rem;
font-size: 0.875rem;
color: rgba(0, 0, 0, 0.75);
line-height: normal;
border-radius: 0;
height: 2.3125rem;
width: 100%;
display: block;
}
.custom-dropdown-button.radius {
border-radius: 3px;
}
.custom-dropdown-area:hover .custom-dropdown-button {
background-color: #f3f3f3;
border-color: #999999;
color: rgba(0, 0, 0, 0.75);
}
.custom-dropdown-area:hover .custom-dropdown-options {
background-color: #f3f3f3;
border-color: #999999;
}
.custom-dropdown-button:disabled {
background-color: #dddddd;
cursor: default;
}
.custom-dropdown-options {
background-color: #fafafa;
border-top: 0;
margin-top: -3px;
max-width: 100%;
width: 100% !important;
}
.custom-dropdown-options li {
padding: 0.5rem;
}
.custom-dropdown-options li.disabled {
color: #ccc;
}
.custom-dropdown-options li.disabled:hover {
background: #f3f3f3;
}
.custom-dropdown-options li.selected:after {
content: '✓';
float: right;
}
.custom-dropdown-options:before, .custom-dropdown-options:after {
display: none;
}
@media only screen and (max-width: 40em) {
.custom-dropdown-options {
margin-left: -8px !important;
}
}