You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
996 B
48 lines
996 B
4 years ago
|
/* Dropdown Button */
|
||
|
/* for sorting on Year, Type, License
|
||
|
.dropbtn {
|
||
|
}
|
||
|
|
||
|
/* The container <div> - needed to position the dropdown content */
|
||
|
.filter {
|
||
|
display: none;
|
||
|
}
|
||
|
.show {
|
||
|
display: block;
|
||
|
}
|
||
|
.dropdown {
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
/* Dropdown Content (Hidden by Default) */
|
||
|
.dropdown-content {
|
||
|
display: none;
|
||
|
position: absolute;
|
||
|
background-color: #f1f1f1;
|
||
|
min-width: 120px;
|
||
|
border: 3px solid black;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
/* Links inside the dropdown */
|
||
|
.dropdown-content button {
|
||
|
color: black;
|
||
|
padding: 6px;
|
||
|
border: none;
|
||
|
min-width: inherit;
|
||
|
text-align: left;
|
||
|
text-decoration: none;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Change color of dropdown links on hover */
|
||
|
.dropdown-content button:hover {background-color: #62b264;}
|
||
|
|
||
|
|
||
|
/* Show the dropdown menu on hover */
|
||
|
.dropdown:hover .dropdown-content {display: block;}
|
||
|
|
||
|
/* Change the background color of the dropdown button when the dropdown content is shown */
|
||
|
.dropdown:hover .dropbtn {background-color: #3e8e41;}
|