svthalia/concrexit

View on GitHub
website/documents/static/documents/css/style.scss

Summary

Maintainability
Test Coverage
.association-document-card, .annual-document-card, .event-document-card {
    .name {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .overlay {
        h5 {
            -webkit-hyphens: auto;
            -moz-hyphens: auto;
            -ms-hyphens: auto;
            hyphens: auto;
        }
    }

    &:after {
        padding-bottom: 141%;
    }
}

.annual-document-card.empty {
    &:hover {
        a {
            cursor: default;
        }
        .overlay {
            opacity: 0;
        }
        .image img {
            transform: none;
            -webkit-transform: none;
            -moz-transform: none;
        }
        .name {
            opacity: 1;
            -moz-transform: translateY(0);
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
    }
}

#documents-annual {
    .dropdown-years {
        max-height: 200px;
        overflow-y: scroll;
    }
}