Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

.sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    height: fit-content;
    grid-area: sidebar;
}

.sidebar__top {
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, .08);
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    overflow: hidden;

    p,
    h1 {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    h2,
    h1 {
        padding: 0 1rem;
        text-align: center;
    }

    .sidebar__cover {
        width: 100%;
        height: 60px;
        object-fit: cover;
        margin-bottom: -20px;
    }
}

.sidebar__bottom {
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 0;
}

.sidebar-apps__widget {
    background-color: #fff;
    padding: 1rem;
    gap: 0.5rem;

    @media (min-width: 768px) {
        box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
        border-radius: 10px;
    }
}

.sidebar__stats {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid lightgray;
    border-top: 0;

    &:nth-last-child(2) {
        border-radius: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

.sidebar__stat {
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;

    &:hover {
        background-color: rgba(0, 0, 0, 0.08);
    }

    &>span {
        font-size: 0.9rem;
        font-weight: 600;
        color: gray;
    }
}

.sidebar__stat-number {
    font-weight: bold !important;
    color: #0a66c2 !important;
}

.sidebar__recent-item__container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sidebar__recent-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
}

.sidebar__recent-item>p {
    font-size: 0.9rem;
    font-weight: 600;
    color: gray;
}

.sidebar__recent-icon {
    background-color: #0000;
    border: none;
    border-radius: 50%;
    height: 2rem;
    width: 2rem;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar__recent-item:hover .sidebar__recent-icon {
    background-color: rgba(0, 0, 0, 0.08);
}

.sidebar__options {
    display: none;
}

.sidebar__options.show {
    display: block;
}

.sideabar__footer {
    display: grid;
    place-items: center;
}

.sideabar__footer>button {
    border: none;
    background-color: #0000;
    width: 100%;
    margin-top: 10px;
    color: gray;
}

.sideabar__footer>button:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.helper__list {
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    gap: 0.5rem;

    &.hide {
        height: 0;
    }

    &.show {
        height: auto;
    }

    .helper__list-item {
        padding: 5px 10px;
        display: flex;
        align-items: center;
        gap: 0.5rem;

        &:hover {
            background-color: rgba(0, 0, 0, 0.08);
        }

        &>span {
            font-size: 0.9rem;
            font-weight: 600;
            color: gray;
            text-align: left;
        }
    }
}

@media (min-width: 576px) {
    .sidebar__top {
        border-radius: 10px;
    }

    .sidebar__bottom {
        border-radius: 10px;
    }

    .sidebar__stats:nth-last-child(1) {
        border-radius: 10px;
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }
}

@media (min-width: 768px) {
    .sideabar__footer {
        display: none;
    }

    .sidebar__options {
        display: block;
    }
}