Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6830 | 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__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);
}


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