.userMenu { position: relative; .userName { display: flex; align-items: center; gap: var(--Space-x1); cursor: pointer; color: white; padding: 0; &:hover { color: white; text-decoration: none; } } } .userMenu .avatar { background-color: white; color: var(--SAS-Default); span { color: currentColor; } } .userDetailsContainer { padding: var(--Space-x1); color: var(--SAS-Gray-20); } .logoutLink, .loginLink { color: var(--SAS-Gray-20); text-decoration: none; } .userDetailsContainer .logoutLink { text-decoration: none; font-weight: normal; &:hover { color: var(--SAS-Gray-20); text-decoration: none; } } .modal { position: fixed; top: calc(var(--main-menu-mobile-height) + var(--alert-and-banner-height)); right: auto; bottom: 0; width: 100%; background-color: var(--Base-Surface-Primary-light-Normal); transition: right 0.3s; z-index: var(--menu-overlay-z-index); } .dialog { height: 100%; overflow-y: auto; display: flex; align-content: space-between; padding: var(--Space-x3) var(--Space-x2) var(--Space-x4); flex-direction: column; gap: var(--Space-x2); } @keyframes openUpAfter { to { top: 0; transform-origin: 50% 50%; width: 32px; transform: rotate(-45deg); } } @keyframes openUpBefore { to { top: 0; transform-origin: 50% 50%; width: 32px; transform: rotate(45deg); } } .pointsDetails { display: flex; gap: var(--Space-x1); align-items: center; white-space: nowrap; } @media screen and (min-width: 768px) { .userMenu { padding: 0; color: white; } .userDetailsContainer { background-color: white; border-radius: 12px; padding: var(--Space-x2) var(--Space-x3); box-shadow: 0 0 14px 6px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; gap: var(--Space-x2); } .loginLink { color: white; display: flex; align-items: center; gap: var(--Space-x1); &:hover { color: white; } } }