Add landing account menu
This commit is contained in:
@@ -2955,19 +2955,36 @@ input:checked + .toggleSwitchSlider:before {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
top: 50px;
|
||||
align-items: flex-start;
|
||||
align-items: flex-end;
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
|
||||
/* Right hand user content container. */
|
||||
#user_content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#avatarMenuButton {
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#avatarMenuButton:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#avatarMenuButton:disabled {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* User profile avatar container. */
|
||||
#avatarContainer {
|
||||
border-radius: 50%;
|
||||
@@ -2981,47 +2998,44 @@ input:checked + .toggleSwitchSlider:before {
|
||||
position: relative;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* Avatar edit overlay. */
|
||||
#avatarOverlay {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
#avatarMenuButton:hover #avatarContainer,
|
||||
#avatarMenuButton[aria-expanded="true"] #avatarContainer,
|
||||
#avatarMenuButton:focus #avatarContainer {
|
||||
border-color: #f1c15a;
|
||||
box-shadow: 0px 0px 18px 0px rgba(241, 193, 90, 0.55);
|
||||
}
|
||||
|
||||
#accountMenu {
|
||||
min-width: 190px;
|
||||
padding: 14px;
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
background: rgba(10, 10, 10, 0.9);
|
||||
backdrop-filter: blur(12px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transition: 0.25s ease;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
background-color: rgba(0, 0, 0, 0.35);
|
||||
-webkit-user-select: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
#avatarOverlay:hover,
|
||||
#avatarOverlay:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
#avatarOverlay:active {
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 12px;
|
||||
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
/* User profile name text. */
|
||||
#user_text {
|
||||
font-size: 12px;
|
||||
min-width: 135px;
|
||||
font-weight: 900;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 0px 0px 20px black;
|
||||
position: absolute;
|
||||
right: 95px;
|
||||
#accountMenu[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#accountMenuName {
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.04em;
|
||||
color: #ffffff;
|
||||
text-align: right;
|
||||
-webkit-user-select: initial;
|
||||
}
|
||||
|
||||
#accountMenuLogoutButton {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Social media icon content container. */
|
||||
|
||||
Reference in New Issue
Block a user