Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4660 | Rev 4980 | 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;
    text-align: center;
    height: fit-content;
    grid-area: sidebar;
}

.sidebar__top {
    align-items: center;
    background-color: #fff;
    border: 1px solid lightgray;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    * {
        margin-bottom: 0.5rem;
    }
    h1,
    p,
    span {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    span {
        color: rgba(0, 0, 0, 0.6);
    }
    .sidebar__cover {
        width: 100%;
        height: 60px;
        object-fit: cover;
        margin-bottom: -20px;
    }
}

.sidebar__bottom {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid lightgray;
    background-color: #fff;
    overflow: hidden;
    padding: 10px 0;
}

.sidebar-apps__widget {
    border: 1px solid #d3d3d3;
    background-color: #fff;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 10px;
    gap: 0.5rem;
}

.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 {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    &: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-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.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;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .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;
    }
}