// // UF FRAME HEADER // .uf-header { padding-top: $gutter; padding-bottom: $gutter; } .uf-header-tagline { color: $middle-gray; font-size: 18px; font-weight: 600; line-height: 1.48em; } // // UF FRAME NAVIGATION // .uf-nav { @include dark-gray-background; } .uf-nav-list { a { float: left; color: $white; padding: 10px; text-decoration: none; &:hover { @include middle-gray-background; } &.current { @include middle-blue-2-background; } } } // // UF FRAME CONTENT // .uf-container { margin-top: 20px; padding: $gutter 0; background-color: white; @include box-shadow($light-gray 0 2px 5px); } // // UF PATTERN SUBNAV // .uf-subnav { > li { border-bottom: 1px solid $lighter-gray; padding: $gutter $gutter; a { color: $dark-gray; font-size: 14px; font-weight: $normal-weight; line-height: 1.48em; text-decoration: none; display: block; } &:hover { background-color: $lighter-gray; } } } // // UF PATTERN // .uf-pattern { margin-bottom: 6*$gutter; .example { .rendered { border: 1px solid #ccc; .CodeRay { border: none; font-size: 16px !important; padding: .75em 10px; color: $dark-gray; background-color: $lightest-gray; pre { white-space: pre-wrap; font-family: monospace; font-size: .75em; } } } > pre { margin: 0; padding: 10px; background: #eee; } } } .uf-pattern-view-modes { a { padding: 2px; text-decoration: none; } } // // UF DESCRIPTION (MARKDOWN FORMATTED) // .uf-description { h1 { font-size: 1rem; font-weight: 600; text-transform: uppercase; line-height: 1.429rem; } h2 { font-size: 1rem; font-weight: 600; line-height: 1.643rem; } p { margin-bottom: 1em; } b, strong { font-weight: bold; } i, em { font-style: italic; } li { margin-left: $gutter*2; } ol { margin-bottom: 1em; ol { margin-bottom: 0; } li { list-style: decimal; li { list-style: lower-latin; } } } ul { margin-bottom: 1em; ul { margin-bottom: 0; } li { list-style: disc; li { list-style: circle; } } } blockquote { margin-bottom: 1em; padding: $gutter; border: 1px solid $light-gray; @include border-radius(2px); background-color: $lighter-gray; p { margin: 0; + p { margin-top: 1em; } } blockquote { margin-top: 1em; } } code { padding: 0 $gutter/2; border: 1px solid $light-gray; @include border-radius(2px); font-family: monospace; font-size: 0.8rem; color: $middle-gray; white-space: nowrap; background-color: $lighter-gray; } pre { padding: 0 $gutter*0.3; border: 1px solid $light-gray; @include border-radius(2px); background-color: $lighter-gray; code { padding: 0; border: 0; white-space: normal; background: transparent; } } } // // UF COLORS TABLE // .uf-colors { line-height: $small-line-height; col { background-image: image-url("backgrounds/checkerboard_tile.png"); } } // // UF UTILITY CLASSES // .uf-hidden { display: none; } .uf-bc-gray { background-color: $light-gray; } // // KEY VALUES // .uf-key { width: 400px; } .uf-value { padding: 5px 0 5px 30px; } // // UF TYPE CLASSES // .uf-h1 { color: $dark-gray; font-size: 36px; font-weight: $semibold-weight; line-height: 1.48em; } .uf-h2 { color: $dark-gray; font-size: 16px; font-weight: $semibold-weight; line-height: 1.48em; } .uf-h3 { color: $dark-gray; font-size: 14px; font-weight: $semibold-weight; line-height: 1.48em; } // // ICONS // .uf-icon { line-height: 20px; @include transition(all 300ms); padding-top: 5px; padding-bottom: 5px; &:before { font-size: 20px; vertical-align: middle; } &:hover { cursor: default; background-color: $darker-blue; color: white; } } .uf-icon-after:after { font-size: 20px; @include icon-inline-block; content: $uc-icon-thumbs-up; } // // STUFF TO HELP DISPLAY UC // .uf-dummy-block-thin { height: 20px; margin-bottom: 10px; }