Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4254 | Rev 4256 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

.header__option {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: gray;
    position: relative;
    padding: 10px 0;
    min-width: 60px;
    &:hover,
    &.active {
        color: #000;
        &::after {
            transform: scaleX(1);
        }
    }
    &::after {
        border-bottom: 2px solid #000;
        content: "";
        bottom: 0;
        left: 0;
        position: absolute;
        transform: scaleX(0);
        transition: transform 0.2s ease-in-out;
        width: 100%;
    }
    & > span {
        display: none;
        margin: 0;
        font-size: 12px;
        font-weight: 400;
    }
}

.user__options-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    border-top-right-radius: 0;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 5%), 0 3px 3px rgb(0 0 0 / 30%);
    transition: all 0.2s ease-in-out;
    .fadeOut {
        transform: scaleY(0);
        opacity: 0;
    }
    .fadeIn {
        transform: scaleY(1);
        opacity: 1;
    }
}

.user__option-icon {
    height: 16px;
    width: 16px;
}

@media (min-width: 768px) {
    .header__option > span {
        display: flex;
        align-items: center;
    }
}