forked from crunk/distribusi-verse
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.
69 lines
1.3 KiB
69 lines
1.3 KiB
/* Dropdown Button */
|
|
/* for sorting on year and category
|
|
*/
|
|
button {
|
|
background-color: #9de457;
|
|
text-decoration: none;
|
|
border: none;
|
|
}
|
|
.filter {
|
|
display: none;
|
|
}
|
|
|
|
.activebtn {
|
|
background-color: #62b264;
|
|
}
|
|
|
|
.show {
|
|
display: block;
|
|
}
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Dropdown Content (Hidden by Default) */
|
|
.dropdown-content {
|
|
display: none;
|
|
position: absolute;
|
|
background-color: #9de457;
|
|
min-width: 120px;
|
|
border: 2px solid;
|
|
z-index: 1;
|
|
border-style: outset;
|
|
}
|
|
|
|
/* Links inside the dropdown */
|
|
.dropdown-content button {
|
|
color: black;
|
|
padding: 6px;
|
|
border: none;
|
|
min-width: inherit;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
display: block;
|
|
}
|
|
.dropbtn {
|
|
margin-top: 1em;
|
|
}
|
|
/* 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: #62b264;}
|
|
|
|
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
|
|
.dropdown-content button {
|
|
font-size: 0.7em;
|
|
}
|
|
.container > button {
|
|
font-size: 0.7em;
|
|
}
|
|
.dropdown > button {
|
|
font-size: 0.7em;
|
|
}
|
|
}
|
|
|