DropDown.css wurde erstellt und bei AVISO-TV ausgelagert.
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="css/status.css"/>
|
<link rel="stylesheet" type="text/css" href="css/status.css"/>
|
||||||
<link rel="SHORTCUT ICON" href="images/Icons/favicon/favicon.ico" />
|
<link rel="SHORTCUT ICON" href="images/Icons/favicon/favicon.ico" />
|
||||||
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
|
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/Dropdown.css" />
|
||||||
<style>
|
<style>
|
||||||
body{
|
body{
|
||||||
background-image: url(images/road.jpg);
|
background-image: url(images/road.jpg);
|
||||||
@@ -86,50 +86,14 @@
|
|||||||
background-color:aliceblue;
|
background-color:aliceblue;
|
||||||
color:#043381;
|
color:#043381;
|
||||||
}
|
}
|
||||||
.dropbtn {
|
|
||||||
background-color: #043381;
|
|
||||||
position: absolute;
|
|
||||||
color: #043381;
|
|
||||||
background-color:#fff;
|
|
||||||
padding: 1em;
|
|
||||||
font-size: 1em;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
#bodycontent{
|
#bodycontent{
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
/*padding:2px 13px 0px 13px;*/
|
/*padding:2px 13px 0px 13px;*/
|
||||||
padding: 0.07849293563579278vw 0.5102040816326531vw 0vw 0.5102040816326531vw;
|
padding: 0.07849293563579278vw 0.5102040816326531vw 0vw 0.5102040816326531vw;
|
||||||
max-width: /*575px;*/ 126.65198237885463vw;
|
max-width: /*575px;*/ 126.65198237885463vw;
|
||||||
}
|
}
|
||||||
/* 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: 1;
|
|
||||||
}
|
|
||||||
/* Links inside the dropdown */
|
|
||||||
.dropdown-content a {
|
|
||||||
color: black;
|
|
||||||
padding:0.75em 1em;
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
table{
|
table{
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0px;
|
border-spacing: 0px;
|
||||||
@@ -185,61 +149,7 @@
|
|||||||
color: #000;
|
color: #000;
|
||||||
border-color: #cbccce
|
border-color: #cbccce
|
||||||
}
|
}
|
||||||
/*Button Dropdown Menue Language Picker*/
|
|
||||||
.dropbtn {
|
|
||||||
background-color: #fff;
|
|
||||||
left: 65%;
|
|
||||||
right: auto;
|
|
||||||
width: 100px;
|
|
||||||
height: 20%;
|
|
||||||
position: relative;
|
|
||||||
color: #043381;
|
|
||||||
padding: 0px;
|
|
||||||
font-size:16px;
|
|
||||||
font-size: 1em;
|
|
||||||
border: none;
|
|
||||||
z-index:562;
|
|
||||||
}
|
|
||||||
/* Dropdown Content (Hidden by Default) */
|
|
||||||
.dropdown-content {
|
|
||||||
display: none;
|
|
||||||
position: relative;
|
|
||||||
left: 65%;
|
|
||||||
color:#043381;
|
|
||||||
background-color: #fff;
|
|
||||||
min-width: 30px;
|
|
||||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
|
||||||
/* Links inside the dropdown */
|
|
||||||
.dropdown-content a {
|
|
||||||
color: black;
|
|
||||||
/*padding: 12px 16px;*/
|
|
||||||
padding: 0.8492569002123143vw 1.132342533616419vw;
|
|
||||||
text-decoration: none;
|
|
||||||
z-index:812;
|
|
||||||
}
|
|
||||||
/* Change color of dropdown links on hover */
|
|
||||||
.dropdown-content a:hover {
|
|
||||||
background-color: #fff;
|
|
||||||
color:#043381;
|
|
||||||
background-color: floralwhite;
|
|
||||||
}
|
|
||||||
/* Show the dropdown menu on hover */
|
|
||||||
.dropdown:hover .dropdown-content {
|
|
||||||
display: block;
|
|
||||||
z-index:5000;
|
|
||||||
}
|
|
||||||
/* Change the background color of the dropdown button when the dropdown content is shown */
|
|
||||||
.dropdown:hover .dropbtn {
|
|
||||||
background-color: #fff;
|
|
||||||
color:#043381;
|
|
||||||
}
|
|
||||||
.btn btn-primary btn-sm{
|
|
||||||
background-color: #fff;
|
|
||||||
color:#043381;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*Um alle Items der navbar nach rechts zu shiften außer das Nav-Brand(Logo) */
|
/*Um alle Items der navbar nach rechts zu shiften außer das Nav-Brand(Logo) */
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
.dropbtn {
|
/*Button Dropdown Menue Language Picker*/
|
||||||
background-color: #043381;
|
.dropbtn {
|
||||||
top:5%;
|
background-color: #043381;
|
||||||
left: 75%;
|
|
||||||
width: 100px;
|
|
||||||
height: 40px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
color: white;
|
color: #043381;
|
||||||
|
background-color: #fff;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
/*padding: 1em;
|
||||||
|
padding: 2.083333333333333vw;*/
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
/* font-size:1em;*/
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -15,11 +16,10 @@
|
|||||||
.dropdown-content {
|
.dropdown-content {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 85%;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-width: 160px;
|
min-width: 160px;
|
||||||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
||||||
z-index: 1;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links inside the dropdown */
|
/* Links inside the dropdown */
|
||||||
@@ -45,3 +45,13 @@
|
|||||||
.dropdown:hover .dropbtn {
|
.dropdown:hover .dropbtn {
|
||||||
background-color: #043381;
|
background-color: #043381;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
btn btn-primary btn-sm {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
@media (min-width: 558.98px) {
|
||||||
|
.dropdown {
|
||||||
|
position: sticky;
|
||||||
|
margin-left: 645px;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="js/toptions/top_up-min.js"></script>
|
<script type="text/javascript" src="js/toptions/top_up-min.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/Dropdown.css"/>
|
||||||
<style>
|
<style>
|
||||||
p{
|
p{
|
||||||
font-size:1em;
|
font-size:1em;
|
||||||
@@ -149,57 +149,7 @@
|
|||||||
margin-top:-23px;
|
margin-top:-23px;
|
||||||
margin-right:5%
|
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) */
|
/*Um alle Einträge der navbar nach rechts zu shiften außer das Nav-Brand(Logo) */
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
@@ -369,10 +319,7 @@
|
|||||||
font-size: initial;
|
font-size: initial;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.dropdown{
|
|
||||||
position:sticky;
|
|
||||||
margin-left: 645px;
|
|
||||||
}
|
|
||||||
#sidebar.active {
|
#sidebar.active {
|
||||||
margin-left: -0px;
|
margin-left: -0px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user