Logout now pretty, working on quickbar elements

This commit is contained in:
2023-10-25 01:44:12 +03:00
parent a583f4b765
commit f164d220a1
2 changed files with 20 additions and 9 deletions

View File

@@ -23,7 +23,7 @@
height: 100px; height: 100px;
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
background-color: #d3d3d3; background-color: #212942;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
transition: all 0.3s cubic-bezier(.25,.8,.25,1); transition: all 0.3s cubic-bezier(.25,.8,.25,1);
} }

View File

@@ -76,8 +76,7 @@
deleteCookie('refresh_token'); deleteCookie('refresh_token');
window.location.href = '/auth/login'; window.location.href = '/auth/login';
} }
}} }}>
>
Log out Log out
</div> </div>
@@ -130,10 +129,22 @@
#profileSpace { #profileSpace {
margin-bottom: 20px; margin-bottom: 20px;
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: center; align-items: center;
color: white; color: white;
font-weight: 900; font-weight: 900;
font-size: larger; font-size: larger;
} }
#logout {
background: none;
cursor: pointer;
border-radius: 10px;
transition: background 0.3s ease;
padding: 5px;
}
#logout:hover {
background: rgba(128, 128, 128, 0.5);
}
</style> </style>