JacobFitzp/nova-canvas

View on GitHub
resources/scss/field.scss

Summary

Maintainability
Test Coverage
// -----------------------
// Stacked form input.
// -----------------------
.form-input {
    &.form-input--top {
        border-bottom: 0 !important;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    &.form-input--bottom {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

// -----------------------
// Nova Canvas.
// -----------------------
.nova-canvas {

    &--disabled {
        cursor: not-allowed;
    }

    // Format dropdown.
    .format-dropdown:disabled {
        opacity: 50%;
    }

    .format-dropdown:focus {
        outline-color: rgba(var(--colors-primary-600));
    }

    // Header (Editor toolbar)
    &-header {
        &.top-sticky {
            border-radius: 0;
            box-shadow: none;
        }
    }
}