/* * Global styles for Ghost which are used throughout the admin interface * Utility classes defined here to keep other libraries (Normalize) from * being modified, preventing upgrade later. * * Table of Contents * * Utility Classes * Global Styles * Global Navigation * Mobile Navigation * Drop-down / Pop-up Menu * Notifications * Modals * Main Elements * Floating Headers * Image Uploader * Misc */ /* ========================================================================== Utility Classes ========================================================================== */ .hidden { @include hidden; } // TODO: Merge this with .visuallyhidden .invisible { visibility: hidden; } .right { float: right; } .left { float: left; } .markdown, pre, code { font-family: $font-family-mono; } .visuallyhidden, .screen-reader-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } /* ========================================================================== Global Styles ========================================================================== */ html { font: normal 81.2%/1.65 "Open Sans", sans-serif; } body { width:100%; color: $darkgrey; font-weight: 300; background: $lightbrown; @include breakpoint($mobile) { background: #fff; } } ::-moz-selection { color: $darkgrey; background: lighten($blue, 20%); text-shadow: none; } ::selection { color: $darkgrey; background: lighten($blue, 20%); text-shadow: none; } article aside { width: 30%; padding: 0 2.2em; margin: 0 2.2em 1.6em 2.2em; float: right; background: $lightbrown; border-radius: 3px; } // Headings h1, h2, h3, h4, h5, h6 { color: $darkgrey; text-rendering: optimizeLegibility; line-height: 1; margin-top: 0; } h2 { padding-top: 0.8em; margin-top: 0.8em; border-top: $lightbrown 1px solid; } h1 a:hover { text-decoration: none; box-shadow: $blue 0 -5px 0 inset; } h2 a:hover { text-decoration: none; box-shadow: $blue 0 -4px 0 inset; } h3 a:hover { text-decoration: none; box-shadow: $blue 0 -3px 0 inset; } h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: none; box-shadow: $blue 0 -1px 0 inset; } hgroup { @include baseline; h1, h2, h3, h4, h5, h6 { padding:0; margin:0; border:none; margin-bottom: 5px; a { color: $darkgrey; &:hover { box-shadow: $darkgrey 0 -1px 0 inset; } } /* * Make everything except the first * heading appear smaller/thinner. */ &:nth-child(n+2) { font-size: 1.8em; font-weight: 300; color: $brown; } } } // Text elements p, ul, ol { @include baseline; } ol ol, ul ul, ul ol, ol ul { margin: 0.4em 0; } a { color:$blue; text-decoration:none; @include transition(all 0.15s ease-in-out); &:hover { text-decoration:underline; } &.highlight { color: $orange; font-weight: bold; } } hr { display: block; height: 1px; border: 0; border-top: 1px solid $lightbrown; margin: 3.2em 0; padding: 0; } blockquote { @include baseline; @include box-sizing(border-box); padding: 0 1.6em 0 1.6em; border-left: $lightbrown 0.6em solid; p { margin:0.8em 0; font-size:1.2em; font-weight: 300; } small { display: inline-block; margin: 0.8em 0 0.8em 1.5em;; font-size:0.9em; color: $brown; &:before { content: '\2014 \00A0'; } } cite { font-weight:bold; a { font-weight: normal; } } } dl { @include baseline; dt { float: left; width: 180px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-weight: bold; margin-bottom: 1em } dd { margin-left: 200px; margin-bottom: 1em } } mark { background-color: #ffc336; } code, tt { font-family: $font-family-mono; font-size: 0.85em; white-space: pre; background: lighten($lightbrown, 2%); border: 1px solid darken($lightbrown, 8%); border-radius: 2px; padding: 1px 3px; } pre { @include baseline; @include box-sizing(border-box); background: lighten($lightbrown, 2%); border: 1px solid darken($lightbrown, 8%); width: 100%; padding: 10px; font-family: $font-family-mono; font-size: 0.9em; white-space: pre; overflow: auto; border-radius: 3px; code, tt { font-size: inherit; white-space: -moz-pre-wrap; white-space: pre-wrap; background: transparent; border: none; padding: 0; } } kbd { display: inline-block; margin-bottom: 0.4em; padding: 1px 8px; border: #ccc 1px solid; color: $darkgrey; text-shadow: #fff 0 1px 0; font-size: 0.9em; font-weight: bold; background: #f4f4f4; border-radius: 4px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 0 #fff inset; } // Tabular Data table { @include baseline; @include box-sizing(border-box); width:100%; max-width: 100%; background-color: transparent; th, td { padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top: 1px solid $lightbrown; } th { color: $brown; } caption + thead tr:first-child th, caption + thead tr:first-child td, colgroup + thead tr:first-child th, colgroup + thead tr:first-child td, thead:first-child tr:first-child th, thead:first-child tr:first-child td { border-top: 0; } tbody + tbody { border-top: 2px solid $lightbrown; } table table { background-color: #fff; } tbody > tr:nth-child(odd) > td, tbody > tr:nth-child(odd) > th { background-color: lighten($lightbrown, 5%); } &.plain { tbody > tr:nth-child(odd) > td, tbody > tr:nth-child(odd) > th { background: transparent; } } } // General Navigation nav { ul { list-style: none; margin:0; padding:0; border-top:$lightbrown 1px solid; } li { font-size:1.1em; a { display:block; padding:10px 15px; color:$brown; border-bottom:$lightbrown 1px solid; &:hover { color:$darkgrey; background: $lightbrown; text-decoration: none; } &:before { margin-right:1em; } // Make space for icons } } } /* ========================================================================== Main Navigation ========================================================================== */ .ghost-logo { @include icon($i-ghost); display: block; float:left; height:40px; padding:12px 15px; color: lighten($grey, 10%); @include box-sizing(border-box); &:hover {text-decoration:none;} } .ghost-logo:hover { color: $lightgrey; background:darken($darkgrey, 2%); } .navbar { height: 40px; font-size: 0.85em; background: $darkgrey; @include breakpoint($netbook) {font-weight:normal} // The main navbar styles, apply to to everything. nav { ul { float:left; border-left:$grey 1px solid; border-top:none; } li { float:left; font-size: 1em; position:relative; border-right:$grey 1px solid; a { display: block; height:40px; padding:11px 15px; border-bottom:none; color: $midgrey; text-transform: uppercase; @include box-sizing(border-box); } a:hover, &.active a { color: $lightgrey; text-decoration: none; position:relative; background:darken($grey, 2%); box-shadow: 0 -2px 2px rgba(0,0,0,0.2) inset; } // Make a little arrow pointing up at the currently active menu item &.active a:after { content:""; position:absolute; bottom:0; left:50%; margin-left:-5px; border-width:0 5px 5px 5px; border-style:solid; border-color:$lightbrown transparent; display:block; width:0; @include breakpoint($mobile) { border-color: #fff transparent; } } ul { position: absolute; top:40px; right:0; min-width:200px; background: $darkgrey; } li { width: 100%; border-right: none; } } // Add some icons to specific nav items a:before {margin-right: 5px;} .dashboard a { @include icon($i-stats) {vertical-align: -10%} } .content a { @include icon($i-content) } .editor a { @include icon($i-add) } .settings a { @include icon($i-settings2) } }//nav ul // Style any nav items which have dropdowns .subnav { position: relative; // The anchor which toggles the menu open/closed > a { @include icon-after($i-chevron-down, 8px) {margin-left: 8px}; &.active { color: $lightgrey; background: darken($grey, 3%); @include transition(none); box-shadow: none; } } // The dropdown menu ul { display: none; padding: 7px 0; border-left: none; position: absolute; top:40px; left:-1px; z-index: 800; background:darken($grey, 3%); box-shadow: rgba(0,0,0,0.2) 0 4px 6px; } li { a { color: $lightgrey; &:hover { background: darken($darkgrey, 10%); @include transition(none); box-shadow: none; } &:before { margin-right: 1em; } // space for icons } } .divider { height: 1px; margin: 7px 0; overflow: hidden; background: $grey; } }//.subnav }//.navbar // The user menu in the top right corner of the screen #usermenu { position:absolute; top:0; right:0; border-right:none; border-left:$grey 1px solid; > a { padding-left:43px; //15px + 18px avatar + 10px } .avatar { height:18px; width:18px; border-radius: 50px; position:absolute; top:11px; left:15px; } > ul { right: 0; left: auto; } //Add some icons to specific items .usermenu-profile a { @include icon($i-user) } .usermenu-help a { @include icon($i-support, 1.1em) } .usermenu-shortcuts a { @include icon($i-pc) } .usermenu-signout a { @include icon($i-power) } } /* ========================================================================== Mobile Navigation ========================================================================== */ // Yo dawg, I heard you like nav menus so I put nav menus in your nav menus #global-header { @include breakpoint(650px) { .ghost-logo { @include icon($i-menu, 14px); height:40px; width: 40px; text-align: center; padding:12px 0; @include transition(margin-left 0.3s ease 0s); .off-canvas & { margin-left: 280px; @include transition(margin-left 0.3s ease 0.1s); } } ul { position: fixed; overflow: auto; top: 0; right: auto; bottom: 0; left: -280px; z-index: 980; width: 280px; padding-top: 40px; font-weight:normal; background: $darkgrey; border-left:none; @include transition(left 0.3s ease 0.2s); .off-canvas & { left: 0; @include transition(left 0.3s ease 0s); } } li { float:none; border-right:none; border-bottom:$grey 1px solid; a:hover, &.active a {box-shadow: none;} &.active a:after {display:none;} a:before {margin-right: 1em;} ul { position: static; min-width:0; background: $darkgrey; } li {width: auto;} } #usermenu { position:fixed; top:0; right:auto; bottom: auto; left:-280px; height:40px; z-index: 990; width:279px; border-left:none; border-right: darken($grey, 7%) 1px solid; border-bottom: darken($grey, 5%) 1px solid; @include gradient(darken($darkgrey, 8%), darken($darkgrey, 3%)); @include transition(left 0.3s ease 0.2s); .off-canvas & { left: 0; @include transition(left 0.3s ease 0s); } > a { &:hover { background: inherit; } &.active { background: darken($grey, 3%); } } > ul { padding: 0; box-shadow: none; width: 100%; font-weight: 300; } .open { box-shadow: rgba(0,0,0,0.4) 0 10px 20px; } li { border-bottom: darken($grey, 3%) 1px solid; a { background: darken($grey, 3%); &:hover {background: darken($grey, 8%)} &:before { margin-right: 1em; } // space for icons } } .divider {display: none} } } } /* ========================================================================== Drop-down / Pop-up Menu ========================================================================== */ .dropdown { @include icon-after($i-chevron-down, 8px) { padding-left: 6px; vertical-align: 0; }; &.active { color: $darkgrey; @include icon-after($i-chevron-down, 8px); } } // This is the base menu extend used for styles on interaction menus %menu { display: inline-block; position:absolute; z-index: 960; padding:6px 0; border:none; list-style: none; color: $lightgrey; background: $darkgrey; border-radius: 3px; box-shadow: rgba(0,0,0,0.5) 0 1px 15px; // The triangle chiclet that points to where the menu came from // By default, this is bottom center. &:before { content:""; position:absolute; bottom:-10px; left:50%; margin-left:-10px; border-width:10px 10px 0 10px; border-style:solid; border-color:$darkgrey transparent; display:block; width:0; } li {overflow:hidden;} // Stop :hover shadow from overflowing a, p { @include box-sizing(border-box); display: block; position: relative; padding:10px 25px 10px 35px; border: none; @include box-sizing(border-box); color: $lightgrey !important; // It's dirty, but it's needed. text-transform: none; text-decoration: none; &:hover { background: $blue; box-shadow: rgba(255,255,255,0.2) 0 1px 0 inset, rgba(0,0,0,0.5) 0 1px 5px; } } // Add a check mark to the currently active menu item .active a { @include icon($i-check) { position: absolute; top: 14px; left: 11px; } } } // This extend moves the chiclet to the top, for menus which drop down. %menu-drop { &:before { top: -10px; bottom: auto; border-width:0 10px 10px 10px; } } // Chiclet to the left, for menus appearing close to left edge of the screen. %menu-left { &:before { left:10px; margin-left:0; } } // Chiclet to the right, for menus appearing close to right edge of the screen. %menu-right { &:before { left: auto; right:10px; margin-left:0; } } // Pop menu, chiclet bottom center. .menu { @extend %menu; } // Pop left, chiclet bottom left. .menu-left { @extend %menu; @extend %menu-left; } // Pop right, chiclet bottom right. .menu-right { @extend %menu; @extend %menu-right; } // Drop menu, chiclet top center. .menu-drop { @extend %menu; @extend %menu-drop; } // Drop left, chiclet top left. .menu-drop-left { @extend %menu; @extend %menu-drop; @extend %menu-left; } // Drop right, chiclet top right. .menu-drop-right { @extend %menu; @extend %menu-drop; @extend %menu-right; } /* ========================================================================== Post Settings ========================================================================== */ .post-setting { min-width: 260px; border-bottom: 1px solid #35393b; &:first-child { margin-top: -6px; } input { width: 100%; background: none; border: none; color: #e2edf2; line-height: 1.68em; } } .post-setting-label { float: left; width: 26%; text-align: right; padding: 10px 2%; border-right: 1px solid #35393b; } .post-setting-field { float: left; width: 64%; padding: 8px 2%; input:focus { outline: none; } } .post-settings { @include icon($i-settings, 14px); padding: 5px; /* margin-right: -5px;*/ } .post-setting-calendar { @include icon-after($i-calendar, 18px); width: 18px; height: 18px; position: absolute; margin-top: -25px; /* This doesn't work in FF */ right: 10px; } /* ========================================================================== Notifications ========================================================================== */ #notifications { @include breakpoint($mobile) { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; } } .js-bb-notification { @include transform(translateZ(0)); } %notification, .notification { @include box-sizing(border-box); width: 100%; min-height: 40px; padding: 10px 43px 10px 57px; margin: 0 0 15px 0; color: rgba(255,255,255,0.9); background: $blue; position:relative; box-shadow: $shadow; @include transform(translateZ(0)); @include icon($i-notification) { position: absolute; top: 0; left: 0; @include box-sizing(border-box); height: 100%; width: 44px; padding: 14px 15px; text-align: center; color: rgba(255,255,255,0.8); background: rgba(0,0,0,0.1); }; .close { @include icon-after($i-close) { padding:6px; position:absolute; top:8px; right:9px; }; display: inline-block; color: rgba(255,255,255,0.6); cursor: pointer; &:hover { color: #fff; } } a { color: inherit; text-decoration: underline; } } .notification-success { @extend %notification; @include icon($i-success); background: $green; &.notification-passive { @include animation(fade-out 1s linear); @include animation-delay(3s); @include animation-iteration-count(1); @include animation-fill-mode(forwards); } } .notification-error { @extend %notification; @include icon($i-error); background: $red; } .notification-warn { @extend %notification; @include icon($i-info); background: $orange; } .notification-info { @extend %notification; @include icon($i-info); background: $blue; } /* ========================================================================== Modals ========================================================================== */ #modal-container { @include box-sizing(border-box); display: none; position: fixed; top: 0; bottom: 0; left: 0; right: 0; overflow-x: auto; overflow-y: scroll; z-index: 1040; pointer-events: none; @include transition(all 0.15s linear 0s); @include transform(translateZ(0)); } .fade { opacity: 0; @include transition(opacity 0.2s linear 0s); @include transform(translateZ(0)); &.in { opacity: 1; } } .modal-background { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.4); z-index: 1030; } body.blur > *:not(#modal-container) { @include transition(all 0.15s linear 0s); -webkit-filter: blur(2px); -moz-filter: blur(2px); -ms-filter: blur(2px); -o-filter: blur(2px); @include transform(translateZ(0)); } %modal, .modal { @include box-sizing(border-box); left: 50%; right: auto; width: 450px; margin-left: auto; margin-right: auto; padding-top: 30px; padding-bottom: 30px; z-index: 1050; pointer-events: auto; @include breakpoint($tablet) { width: auto; padding: 10px; }; button { min-width: 100px; } @include breakpoint($tablet) { width: 100%; margin-left: 0; } } .modal-info { @extend %modal; } .modal-action { @extend %modal; padding: 60px 0 30px; @include breakpoint($tablet) { padding: 30px 0; } .modal-footer { margin-top: 20px; } } .modal-content { @include box-sizing(padding-box); position: relative; background-clip: padding-box; background-color: #FFFFFF; border-radius: $rounded; box-shadow: rgba(0,0,0,0.2) 0 0 0 6px; .close { @include box-sizing(border-box); position: absolute; top: 15px; right: 15px; width: 16px; min-height: 16px; padding: 0; margin: 0; border: none; z-index: 9999; @include icon($i-x, 1em, $midgrey); @include transition(opacity 0.3s linear); &:hover { color: $darkgrey; } } } .modal-header { position: relative; padding: 20px; border-bottom: 1px solid $lightbrown; h1 { display: inline-block; margin: 0; font-size: 1.5em; font-weight: bold; } } .modal-body { position: relative; min-height: 100px; padding: 0 20px; overflow-y: auto; } .modal-footer { padding: 20px; padding-top: 0; } .modal-style-wide { width: 550px; @include breakpoint($tablet) { width: 100%; } } .modal-style-centered { text-align: center; } /* ========================================================================== Main Elements ========================================================================== */ main { position: absolute; top: 55px; right: 15px; bottom: 0; left: 15px; padding: 0; @include breakpoint($mobile) { top: 40px; left:0; right:0; } } /* ========================================================================== Floating Headers ========================================================================== */ // Semi-opaque fixed-position headers - used on content/editor .floatingheader { @include box-sizing(border-box); position: absolute; top:0; left:0; right:0; z-index: 400; height: 40px; padding: 12px 15px; text-transform: uppercase; font-size: 0.85em; color: $brown; //Transparent gradient to make bg fade out as it goes out the top. background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0.90) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(25%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0.90))); background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0.90) 100%); background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0.90) 100%); background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0.90) 100%); background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 25%,rgba(255,255,255,0.90) 100%); button, .button { display: inline-block; font-size: 10px; min-height: 20px; height: 20px; padding: 3px 4px; vertical-align: top; &.button-back { position: relative; top: -2px; left: 3px; display: none; padding: 0 6px 0 3px; &:before { left: -8px; border-width: 10px 8px 10px 0; } @include breakpoint($tablet) { display: inline-block; } } } a { color: $brown; &:hover { color: $darkgrey; } } }//.floatingheader // Special case, when scrolling, add shadows to content headers. .scrolling { .floatingheader { box-shadow: rgba(0,0,0,0.02) 0 1px 2px, rgba(255, 255, 255, 0.5) 0 -1px 0 inset; &::before { content: ""; height:40px; width: 80%; position:absolute; bottom:0; left:50%; margin-left: -40%; box-shadow: rgba(0,0,0,0.02) 0 2px 2px; } &::after { content: ""; height:40px; width: 30%; position:absolute; bottom:0; left:50%; margin-left: -15%; box-shadow: rgba(0,0,0,0.02) 0 3px 3px; } } } /* ========================================================================== Image Uploader ========================================================================== */ .image-uploader { @include box-sizing(border-box); @include baseline; position: relative; overflow:hidden; padding: 55px 60px 65px 60px; border: $lightbrown 3px dashed; width: 100%; height: auto; text-align: center; color: $brown; background: #F9F8F5; a { color: $brown; text-decoration: none; &:hover { color: $darkgrey; } } .description { margin-top: 10px; margin-bottom: -40px; } .centre{ position: relative; top: 50px; margin-bottom: -6px; } .media { @include icon($i-image, 60px, darken($lightbrown, 3%)) { display:inline-block; @include transition(transform 1s ease); } } .image-url { @include icon($i-link, 12px); line-height: 12px; padding: 10px; display: block; position: absolute; bottom: 0; left: 0; color: $brown; text-decoration: none; } .button-add { display: inline-block; position:relative; z-index: 700; color: #fff; padding-left:5px; } .image-webcam { @include icon($i-camera, 12px); line-height: 12px; padding: 10px; display: block; position: absolute; bottom: 0; right: 0; color: $brown; text-decoration: none; } .image-cancel { @include icon($i-x, 16px); position: absolute; color: white; text-shadow: rgba(0,0,0,0.3) 0 0 3px; top: 10px; right: 10px; text-decoration: none; &:hover { cursor: pointer; color: white; } } input { &.main{ position: absolute; right: 0; margin: 0; opacity: 0; @include transform-origin(right); @include transform( scale(14)); font-size: 23px; direction: ltr; cursor: pointer; &.right { position: relative; right: 9999px; } } &.url{ font: -webkit-small-control; box-sizing: border-box; width: 276px; padding: 5px 7px; margin: 0; margin-top: -10px; margin-bottom: -1px; outline: 0; font-size: 1.1em; line-height: 1.4em; background: #fff; border: #e3e1d5 1px solid; border-radius: 4px; -webkit-transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; } } .progress { position: relative; top: -22px; margin: auto; margin-bottom: -12px; display: block; overflow: hidden; @include linear-gradient(to bottom, #f5f5f5, #f9f9f9); border-radius: 12px; box-shadow: (rgba(0,0,0,0.1) 0 1px 2px inset); } .fileupload-loading { display: block; top: 50%; width: 35px; height: 28px; margin: -28px auto 0; background-size: contain; } .failed { position: relative; top: -40px; font-size: 16px; } .bar { height: 12px; background: $blue; &.fail { background: $red; } } } .pre-image-uploader { @include box-sizing(border-box); @include baseline; position: relative; overflow: hidden; height: auto; color: $brown; background: rgba(0,0,0,0.1); border-radius: 2px; input { position: absolute; left: 9999px; opacity: 0; } a { z-index: 10000; color: $brown; text-decoration: none; &:hover { color: $darkgrey; } } img { display: block; max-width: 100%; margin: 0 auto; line-height: 0; } .image-cancel { @include icon($i-trash, 11px); position: absolute; top: 10px; right: 10px; padding: 8px; background: rgba(0,0,0,0.3); border-radius: $rounded; color: white; text-decoration: none; line-height: 0; &:hover { background: rgba(0,0,0,0.5); cursor: pointer; color: white; } } }//.pre-image-uploader /* ========================================================================== Misc ========================================================================== */ //Simple .wrapper { position:relative; } .palette { margin-bottom: 15px; section { padding:5px 10px; width: 90px; height:90px; float:left; color:rgba(0,0,0,0.5); position:relative; font-size:12px; font-weight: bold; font-family: $font-family-mono; overflow: hidden; @include transition(all 0.15s ease-in-out); &:hover { box-shadow: rgba(0,0,0,0.05) 5px 0 0 inset, rgba(0,0,0,0.05) -5px 0 0 inset, rgba(0,0,0,0.05) 0 5px 0 inset, rgba(0,0,0,0.05) 0 -5px 0 inset; @include transition(all 0.15s ease-in-out); } small { position:absolute; top:20px; left:10px; font-size:11px; font-weight: normal; font-family: $font-family; display: block; width:100px; opacity: 0.6; @include transition(all 0.15s ease-in-out); } &:hover small { opacity: 1; @include transition(all 0.15s ease-in-out); } } .brown { background:$brown; } .midbrown { background:$midbrown; } .lightbrown { background:$lightbrown; } .darkgrey { color:rgba(255,255,255,0.5); background:$darkgrey; } .grey { color:rgba(255,255,255,0.5); background:$grey; } .midgrey { background:$midgrey; } .lightgrey { background:$lightgrey; } .blue { color:#fff; background:$blue; } .red { color:#fff; background:$red; } .orange { color:#fff; background:$orange; } } .status-draft { color: $red; } .status-scheduled { color: $orange; }