DropDown.css wurde erstellt und bei AVISO-TV ausgelagert.

This commit is contained in:
ja
2021-08-18 15:56:23 +02:00
parent dfc0ff6a03
commit e8051b672e
3 changed files with 26 additions and 159 deletions

View File

@@ -79,7 +79,7 @@
}
</script>
<script type="text/javascript" src="js/toptions/top_up-min.js"></script>
<link rel="stylesheet" type="text/css" href="css/Dropdown.css"/>
<style>
p{
font-size:1em;
@@ -149,57 +149,7 @@
margin-top:-23px;
margin-right:5%
}
/*Button Dropdown Menue Language Picker*/
.dropbtn {
background-color: #043381;
position: absolute;
color: #043381;
background-color:#fff;
padding: 16px;
/*padding: 1em;
padding: 2.083333333333333vw;*/
font-size: 16px;
/* font-size:1em;*/
border: none;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #fff;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 10;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #043381;
color: #fff;
}
/* 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: #043381;
}
btn btn-primary btn-sm{
background-color:#fff;
}
/*Um alle Einträge der navbar nach rechts zu shiften außer das Nav-Brand(Logo) */
.navbar-nav {
margin-left: auto;
@@ -369,10 +319,7 @@
font-size: initial;
overflow: hidden;
}
.dropdown{
position:sticky;
margin-left: 645px;
}
#sidebar.active {
margin-left: -0px;
}