45 lines
742 B
CSS
45 lines
742 B
CSS
.dropdown {
|
|
background-clip: padding-box;
|
|
background-color: #fff;
|
|
border: 1px solid rgba(0, 0, 0, .15);
|
|
border-radius: 4px;
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
|
|
display: none;
|
|
float: left;
|
|
font-size: 1rem;
|
|
left: 0;
|
|
list-style: none;
|
|
margin: 2px 0 0;
|
|
min-width: 160px;
|
|
padding: 5px 0;
|
|
position: absolute;
|
|
text-align: left;
|
|
top: 100%;
|
|
z-index: 11;
|
|
}
|
|
|
|
.dropdown.isOpen {
|
|
display: block;
|
|
}
|
|
|
|
.link {
|
|
clear: both;
|
|
color: grey;
|
|
display: block;
|
|
font-weight: 400;
|
|
padding: 3px 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.link:hover {
|
|
background-color: #f5f5f5;
|
|
color: #737373;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.active>.link {
|
|
background-color: #00838e;
|
|
color: #fff;
|
|
outline: 0;
|
|
text-decoration: none;
|
|
} |