Skip to content
Snippets Groups Projects
_wrapper.scss 5.21 KiB
Newer Older
  • Learn to ignore specific revisions
  • .wrapper {
        width: 100%;
    
        &--small {
            max-width: $wrapper--small;
            margin: 0 auto;
        }
    
        &--medium {
            max-width: $wrapper--medium;
            margin: 0 auto;
        }
    
        &--large {
            max-width: $site-width;
            margin: 0 auto;
        }
    
        &--main {
    
            padding: 0 $mobile-gutter;
    
            @include media-query(desktop) {
                padding: 0;
            }
    
        }
    
        &--blockquote {
            padding: 1rem 0;
            margin-top: 2rem;
            margin-bottom: 2rem;
            background: $color--light-grey;
    
            @include media-query(tablet-portrait) {
                padding: 4rem 0;
                margin-top: 4rem;
                margin-bottom: 4rem;
            }
    
            svg {
                position: absolute;
                display: none;
                width: 110px;
                height: 110px;
                fill: $color--white;
    
                @include media-query(tablet-portrait) {
                    display: block;
                }
    
                &:first-child {
                    top: 0;
                    left: 0;
                    transform: rotate(90deg);
                }
    
                &:last-child {
                    right: 0;
                    bottom: 0;
                    transform: rotate(-90deg);
                }
            }
        }
    
        &--light-grey-bg {
            background-color: $color--light-grey;
        }
    
        &--media-boxes {
            max-width: 1220px;
            padding: 0 20px;
            margin: 0 auto;
        }
    
        &--form {
            padding: 20px;
            margin: 20px auto;
    
            @include media-query(tablet-portrait) {
                padding: 2rem 17rem 2rem 5rem;
                margin: 1rem auto 3rem;
            }
        }
    
        &--error {
            display: flex;
            align-items: center;
            max-width: 830px;
            padding: 10px;
            margin: 0 auto 2rem;
            background: $color--light-pink;
            border: 1px solid $color--tomato;
        }
    
    
        &--bottom-space {
            padding-bottom: 20px;
            margin-bottom: 20px;
    
    
            @include media-query(tablet-portrait) {
    
                padding-bottom: 3rem;
                margin-bottom: 3rem;
    
        // Inner spacing
        &--inner-space-small {
    
        &--inner-space-medium {
            padding: 20px 0;
    
            @include media-query(mob-landscape) {
                padding: 2rem 0;
            }
    
    
            @include media-query(tablet-portrait) {
    
                padding: 3rem 0;
            }
        }
    
        &--inner-space-xl {
            padding: 2rem 20px;
    
            @include media-query(tablet-portrait) {
                padding: 4rem 20px;
    
        &--top-outer-space-small {
            margin: 20px 0 0;
        }
    
    
        &--outer-space-medium {
            margin: 20px 0;
    
            @include media-query(mob-landscape) {
                margin: 2rem 0;
            }
        }
    
        &--outer-space-large {
            margin: 20px 0;
    
            @include media-query(tablet-portrait) {
                margin: 3rem 0;
            }
        }
    
    
        &--sidebar {
            display: flex;
            flex-direction: column;
    
            @include media-query(tablet-portrait) {
                flex-direction: row;
    
                > div:last-child {
                    flex-basis: 210px;
                }
            }
    
            > div:first-child {
                flex: 1;
    
                @include media-query(tablet-portrait) {
                    padding-right: 20px;
                }
            }
        }
    
        &--search {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
    
            @include media-query(small-tablet) {
                flex-direction: row;
            }
        }
    
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }
    
    Chris Lawton's avatar
    Chris Lawton committed
            width: 385px;
            padding: 20px;
            color: $color--default;
            background-color: $color--white;
        }
    
    
        &--applicant-dashboard {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
    
            @include media-query(tablet-portrait) {
                padding: 20px;
            }
        }
    
            padding: 20px;
            background-color: $color--white;
            border-bottom: 3px solid $color--light-grey;
    
        }
    
        &--status-bar-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 20px;
    
            @include media-query(tablet-portrait) {
                margin-bottom: 0;
    
        &--relative {
            position: relative;
        }
    
    
        &--activity-feed {
    
            padding: 0 20px;
    
            @include media-query(tablet-landscape) {
                margin-top: 70px;
    
    Chris Lawton's avatar
    Chris Lawton committed
    
        &--comments {
    
            padding-bottom: 15px;
            margin-bottom: 15px;
            border-bottom: 1px solid $color--mid-grey;
    
    Chris Lawton's avatar
    Chris Lawton committed
    
            @include media-query(tablet-portrait) {
    
                padding-bottom: 35px;
                margin-bottom: 35px;
    
    
        &--tabs {
            padding: 20px 0;
    
            @include media-query(tablet-portrait) {
                padding: 4rem 0;
            }
        }
    
    
        &--reviews-table {
            overflow-x: scroll;
    
            &:hover {
                cursor: all-scroll;
            }
        }