Skip to content
Snippets Groups Projects
_docs-block.scss 3.13 KiB
Newer Older
  • Learn to ignore specific revisions
  • .docs-block {
        border: 1px solid $color--light-blue;
    
        @include media-query(tablet-portrait) {
            max-width: 610px;
        }
    
        &__header {
            background-color: $color--light-blue;
            color: $color--white;
            padding: 1rem;
        }
    
        &__heading {
            margin: 0;
        }
    
        &__inner {
            padding: 1rem;
        }
    
        &__row {
            padding-bottom: 1rem;
            margin-bottom: 1rem;
            border-bottom: 1px solid $color--mid-grey;
    
            @include media-query(tablet-portrait) {
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
            }
    
            &:last-child {
                border-bottom: 0;
                padding-bottom: 0;
                margin-bottom: 0;
            }
        }
    
        &__row-inner {
            display: flex;
            align-items: center;
    
            &:first-child {
                margin-bottom: 1rem;
            }
    
            @include media-query(tablet-portrait) {
                &:first-child {
                    margin: 0 1rem 0 0;
                    flex: 1;
                }
            }
        }
    
        &__title {
            margin: 0;
    
            @include media-query(tablet-landscape) {
                flex: 1;
            }
        }
    
        &__icon {
            width: 20px;
            height: 20px;
            stroke: $color--mid-grey;
            fill: transparent;
            margin-right: .5rem;
    
            @include media-query(tablet-landscape) {
                margin-right: 1rem;
            }
    
            &.is-complete {
                stroke: $color--light-blue;
            }
        }
    
        &__link {
            font-weight: $weight--bold;
            margin-right: 1rem;
    
    
            &:disabled,
            &.is-disabled {
                color: $color--mid-grey;
                cursor: default;
            }
    
    
            &:last-child {
                margin-right: 0;
            }
        }
    
    
    Chris Lawton's avatar
    Chris Lawton committed
        &__info-text {
            @include media-query(tablet-landscape) {
                max-width: 65%;
    
    Chris Lawton's avatar
    Chris Lawton committed
                margin-left: 3rem;
    
    Chris Lawton's avatar
    Chris Lawton committed
            }
        }
    
        &__buttons {
            padding: 0 1rem 1rem;
    
            .button {
                padding: .5rem 1rem;
                margin: 0 .5rem .5rem 0;
    
                &:last-child {
                    margin: 0;
                }
            }
        }
    
    
        &__document-list {
            width: 100%;
            margin-top: 1.5rem;
            padding-left: 0;
    
            @include media-query(tablet-landscape) {
                padding-left: 3rem;
            }
        }
    
        &__document {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 1rem;
            margin: 1rem 0;
            border-bottom: 1px solid $color--light-mid-grey;
            flex-wrap: wrap;
    
            &:last-child {
                padding-bottom: 0;
                margin: 0;
                border-bottom: 0;
            }
        }
    
        &__document-inner {
            &:first-child {
                margin: 0 1rem 1rem 0;
            }
    
            @include media-query(tablet-portrait) {
                &:first-child {
                    margin: 0 1rem 0 0;
                }
            }
        }
    
        &__document-info {
            margin: 0;
        }
    
        &__document-link {
            margin-right: 1rem;
    
            &:last-child {
                margin-right: 0;
            }
        }
    
    
        &__document-form {
            display: inline;
        }