Buttons weiter angepasst

This commit is contained in:
ja
2021-09-02 13:55:29 +02:00
parent a9f2855a0e
commit 96993a6a02
2 changed files with 58 additions and 29 deletions

View File

@@ -325,7 +325,7 @@
<a class="navbar-brand" id="navbarhomebar" href="../newpageJulius_Sidebar.aspx"><img src="../images/Logo_small.png" style="width:90%;height:90%;" alt="VERAG Spedition AG Logo with blue word color until grey AG" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"></a>
<div class="dropdown" id="dropdownbtnmain" >
<button class="dropbtn" style="background-color:#fff;color:#043381;border:none;z-index:1031; position:absolute"
<button class="dropbtn"id="dropbtnbtnbtn"
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381"><img src="../images/samples/default-avatar.jpg"; width="15"; /><a data-bs-toggle="modal" data-bs-target="#exampleModal" <asp:LoginName class="pointer" ID="LoginName1" runat="server" style="margin-left:6px"/></a></button>
</button>
@@ -460,15 +460,15 @@
</div>
<div class="dropdown" id="dropdownbtnmain">
<button class="dropbtn" style="background-color:#fff;color:#043381;border:none;z-index:1031; position:sticky"
<button class="dropbtn" id="dropbtnbtnbtn" style=""
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381"><img src="../images/samples/default-avatar.jpg"; width="15"; /><asp:LoginName class="pointer" ID="LoginName2" runat="server" style="margin-left:6px"/></button>
</button>
<div class="dropdown-content" id="dropdownmenuecont" >
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff;color:#043381;text-align:left" ><img src="../images/Icons/main/gear_blue.png"; style="width:15px; height:15px;color:#043381;background-color:#fff;margin-right:6px;" />Profil bearbeiten </button>
<button type="button"class="btn btn-primary" onclick="LogoutButton_Click" style="background-color:#fff;color:#043381;text-align:left"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff; margin-right:6px;"/>Logout</button>
<ul class="dropdown-content" id="dropdownmenuecont">
<li> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" style="background-color:#fff; color:#043381;text-align:left;border:none"><img src="../images/Icons/main/gear_blue.png"; style="width:15px; height:15px;color:#043381;background-color:#fff;margin-right:6px;" />Profil bearbeiten</button> </li>
<li> <button type="button" onclick="LogoutButton_Click" style="text-decoration: none;background-color:#fff;color:#043381;text-align:left;border:none"><img src="../images/Icons/main/Logout.svg.png"; style="width:20px; height:20px;color:#043381;background-color:#fff; margin-right:6px;"/>Logout</button> </li>
<!-- <div class="dropdown-divider"></div>-->
</div> </div>
</ul> </div>
</nav> </div>
<!-- Container zur Ausrichtung des Contents-->
<div style="margin-left:5px;margin-right:5px">

View File

@@ -165,10 +165,21 @@ ContentPlaceHolder1 {
top: 8%;
z-index: 1031;
}
#dropdownmenuecont {
margin-right: -28%;
margin-top: 2%;
margin-right: -5px;
top: 12px;
}
#dropbtnbtnbtn {
background-color: #fff;
color: #043381;
border: none;
z-index: 1031;
position: absolute;
margin-top: -15px;
margin-right: 0px;
width: 13px;
height: 8px;
}
}
@@ -257,10 +268,29 @@ ContentPlaceHolder1 {
.pointer {
cursor: pointer;
}
#dropdownbtnmain {
background-color: #fff;
color: #043381;
position: absolute;
right: 7%;
top: 8%;
z-index: 1031;
}
#dropdownmenueuser {
margin-right: -15%;
margin-top: 2%;
}
#dropbtnbtnbtn {
background-color: #fff;
color: #043381;
border: none;
z-index: 1031;
position: sticky
}
#dropdownmenuecont {
margin-right: -5px;
top: 12px;
}
}
@media (min-width: 768px) {
body {
@@ -343,25 +373,24 @@ ContentPlaceHolder1 {
.pointer {
cursor:pointer;
}
#dropdownmenueuser {
background-color: #fff;
color: #043381;
position: absolute;
right: 5%;
top: 2%;
z-index: 1031
}
#dropdownbtnmain {
background-color: #fff;
color: #043381;
position: absolute;
right: 4%;
top: 4%;
z-index: 1031
}
#dropdownmenuecont {
margin-right: -25%;
margin-top: 2%;
position: absolute;
top: 20px;
right: -852px;
height:75px;
}
#dropbtnbtnbtn {
background-color: #fff;
color: #043381;
border: none;
z-index: 1031;
position: absolute;
top:-28px;
right:-852px;
}
#langdropdown{
height:auto;
}
}
#ContentPlaceHolder1 {