/** * common.scss contains the bulk of styles common to all Reno color themes * */ @import 'reset'; @import 'jquery-ui'; @import 'ui'; @import 'inputfields'; @import 'lang'; $wide-screen-width: 1200px; $mainnav-width: 210px; $mainnav-width-wide: 230px; // bigger sidebar for wide screen? /*********************************************************************************************** * GENERAL * */ *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } html, body { height: 100%; // required for sidebar nav -webkit-font-smoothing: subpixel-antialiased; } body { background: $body-bg; font-size: 100%; text-rendering: optimizeLegibility; position: relative; } #wrap { position: relative; // required for sidebar nav min-height: 100%; // required for sidebar nav } body, .ui-dialog, .ui-button, button, input, th, td, textarea { font-weight: $normal-weight; font-family: $regular-font; } body { color: $text-color; } body.modal { background-color: $text-bg; margin-top: 1em; } body, .ui-dialog { line-height: $base-line-height; font-size: $base-font-size; } .container { position: relative; width: 95%; max-width: $container-max-width; margin: 0 auto; } a { /* standard link color */ color: $link-color; } a:hover { /* hovered link color */ color: $link-hover-color; background: $link-hover-bg; } a.on { /* on/active link color */ background: $link-current-bg; color: $link-current-color; } a:active { color: $link-active-color; background: $link-active-bg; } .WireFatalError { background: $error-bg; color: $reverse-text-color; padding: 1em; position: relative; z-index: 999; } /*********************************************************************************************** * Font Awesome * */ .fa { font-size: 14px !important; } // font awesome renders best at 14px. .fa-lg { font-size: 22px !important; } .fa-2x { font-size: 28px !important; } .fa-3x { font-size: 42px !important; } .fa-4x { font-size: 56px !important; } .fa-5x { font-size: 70px !important; } /*********************************************************************************************** * Login Screen * */ body.id-23 { #sidebar, #breadcrumbs, #topnav, .main-nav-toggle { display: none } #main { margin-left: 0 } #logo { margin-left: 1.5em; } } /*********************************************************************************************** * MASTHEAD * */ .main-nav-toggle { height: $masthead-height; padding: 0.9em 1.5em 0 1.5em; margin: 0; background: $mainnav-toggle-bg; float: left; color: $mainnav-toggle-color; border-right: $mainnav-toggle-border; font-size: 14px !important; // font awesome renders clearer at 14px; &:hover{ color: $mainnav-toggle-hover-color; background: $mainnav-toggle-hover-bg; } &.toggle { // add styles here if you want the collapsed state to look different } } #logo { float: left; margin: 0.95em 0 0 1em; width: 140px; img.sm { display: none; } img { max-width: 100%; } } #masthead { height: $masthead-height; background: $masthead-bg; padding: 0; position: relative; z-index: 10; // keep masthead above all other elements except modals font-size: 0.9em; .container { line-height: 1; } #topnav { float: right; border-right: $topnav-border; position: relative; > li { padding: 0; margin: 0; list-style: none; float: left; } > li > a { background: $topnav-link-bg; color: $topnav-link-color; display: block; margin: 0 ; padding: 0.9em 0.8em; height: $masthead-height; font-weight: $tabs-font-weight; vertical-align: middle; border-left: $topnav-item-border; &:hover, &.hover{ color: $topnav-link-hover-color; background: $topnav-link-bg-hover; } & i { font-size: 16px; } } li.avatar { a { padding-top: 0.85em;} img{ border-radius: 50%; margin: -5px 2px 0 0; width: 26px; height: 26px; vertical-align: middle; } } // see .dropdown-menu styles below .quicklinks{ padding: 1em; i.fa { font-size: 14px !important; } } a.on:hover, a.on { color: $mainnav-link-current-color; background: $mainnav-link-current-bg; text-decoration: none; } } } /* #masthead */ /*********************************************************************************************** * Masthead dropdown