80 lines
1.2 KiB
CSS
80 lines
1.2 KiB
CSS
.button-logout {
|
|
background-color: #d32f2f;
|
|
top: 10px;
|
|
right: 10px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
|
|
.button-logout:hover {
|
|
background-color: #d12020;
|
|
}
|
|
|
|
.session{
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.userName{
|
|
background-color: white;
|
|
border-radius: 6px;
|
|
padding: 6px 12px;
|
|
z-index: 1;
|
|
}
|
|
|
|
@media(max-width: 1000px){
|
|
.session{
|
|
top: 5px;
|
|
right: 5px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.button-logout {
|
|
color: transparent;
|
|
padding: 2rem;
|
|
font-size: 0px;
|
|
}
|
|
|
|
.button-logout::after {
|
|
content: "";
|
|
border: 3px solid white;
|
|
border-radius: 2px;
|
|
height: 2rem;
|
|
width: 2rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.button-logout::before {
|
|
content: "";
|
|
border: 2px solid white;
|
|
border-radius: 1px;
|
|
height: 0px;
|
|
width: 1.5rem;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(0, -50%);
|
|
}
|
|
|
|
.userName{
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 50px;
|
|
}
|
|
}
|
|
@media(max-width:450px){
|
|
.userName{
|
|
position: absolute;
|
|
top: 50px;
|
|
right: 0px;
|
|
}
|
|
}
|