2020-12-21 18:41:55 +01:00
|
|
|
/* Dropdown Button */
|
|
|
|
/* for sorting on Year, Type, License
|
2020-12-30 00:06:45 +01:00
|
|
|
*/
|
2024-03-30 15:52:45 +01:00
|
|
|
.menu {
|
|
|
|
display:flex;
|
|
|
|
gap: 0.3em;
|
|
|
|
position: relative;
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
2020-12-21 18:41:55 +01:00
|
|
|
.filter {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-12-30 00:06:45 +01:00
|
|
|
.activebtn {
|
|
|
|
background-color: #62b264;
|
|
|
|
}
|
2020-12-21 18:41:55 +01:00
|
|
|
.show {
|
|
|
|
display: 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;
|
|
|
|
}
|
2024-03-30 15:52:45 +01:00
|
|
|
.dropbtn .dropdown {
|
2020-12-29 22:56:28 +01:00
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2020-12-21 18:41:55 +01:00
|
|
|
/* 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;}
|
2021-05-03 12:31:08 +02:00
|
|
|
|
2024-03-30 15:52:45 +01:00
|
|
|
#booksearch{
|
|
|
|
background: #f1f1f1;
|
|
|
|
text-decoration: none;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 3px solid black;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 100%;
|
|
|
|
box-shadow: 0.3em 0.35em rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
border: 3px solid black;
|
|
|
|
padding: 0.8em;
|
|
|
|
color: black;
|
|
|
|
min-width: auto;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 100%;
|
|
|
|
box-shadow: 0.3em 0.35em rgba(0,0,0,0.3);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-05-03 12:31:08 +02:00
|
|
|
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
|
|
|
|
.dropdown-content button {
|
2021-05-03 16:26:02 +02:00
|
|
|
font-size: 0.7em;
|
2021-05-03 12:31:08 +02:00
|
|
|
}
|
|
|
|
.container > button {
|
2021-05-03 16:26:02 +02:00
|
|
|
font-size: 0.7em;
|
2021-05-03 12:31:08 +02:00
|
|
|
}
|
2021-05-03 16:26:02 +02:00
|
|
|
.dropdown > button {
|
|
|
|
font-size: 0.7em;
|
2021-05-03 12:31:08 +02:00
|
|
|
}
|
|
|
|
}
|