ejplatform/ej-server

View on GitHub
lib/scss/6_components/_error.scss

Summary

Maintainability
Test Coverage
/*
 403/404/500 COMPONENTS
 ========================================================================

$error-title-font-size: 86px !default;
$error-background-color: color('primary') !default;
$error-content-height: 70vh !default;

.Error {
    background-color: $error-background-color;
    width: 100vw;
    height: 100vh;

    &-back {
        i {
            margin: $spacing-unit 0 0 $spacing-unit;
        }
    }

    &-content {
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-direction: column;
        padding-top: $spacing-unit-large;
        height: $error-content-height;
    }

    h1 {
        margin: 0;
        color: color('primary', contrast);
        font-family: $font-stack-raleway;
        font-size: $error-title-font-size;
    }

    p {
        font-size: $font-size-large;
        font-weight: bold;
        line-height: $line-height;
        font-family: $font-stack-raleway;
        text-transform: uppercase;
        color: $color-content;
    }

}
*/