.as-modal { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; display: none; justify-content: center; align-items: center; &.opened { display: flex; } .as-content { width: 400px; background: #fff; border-radius: 20px; box-sizing: border-box; position: relative; .as-close { position: absolute; right: 15px; top: 17.5px; cursor: pointer; } .as-login { form { padding: 30px; padding-top: 50px; margin: 0px; > input { width: 100%; margin-bottom: 10px; border-radius: 10px; padding: 0.6180469716em; background-color: #f2f2f2; color: #43454b; border: 0; box-sizing: border-box; font-weight: 400; box-shadow: inset 0 1px 1px rgb(0 0 0 / 13%); } label { margin-bottom: 10px; display: flex; align-items: center; > input { margin-right: 5px; } } } } .as-users { .as-title { padding: 10px; font-size: 20px; border-bottom: 1px solid #eee; text-align: center; } .as-login-exist-account { padding: 10px; font-size: 16px; border-top: 1px solid #eee; cursor: pointer; text-align: center; color: #0095F6; } .as-user-list { ul { margin: 0; padding: 0; list-style: none; li { padding: 15px; display: flex; align-items: center; position: relative; width: 100%; span.avatar { width: 50px; height: 50px; margin-right: 10px; img { width: 50px; height: 50px; border-radius: 50%; display: inline-block; } } .logged-in { width: 24px; height: 24px; position: absolute; right: 15px; } &:hover:not(.current-user) { background: #eee; cursor: pointer; } } } } } .as-login, .as-users { display: none; &.active { display: block; } } } } .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--account-switcher a:before{ content: "\f0c0" }