@import "lesshat.less"; /* LESS Hat provides helpful css mixins */ @import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700); /*========================= Colors =========================*/ @color-black: #444444; @color-dark-gray: #767676; @color-medium-gray: #cacaca; @color-light-gray: #f1f1f1; @color-white: #ffffff; @color-light-blue: #b5dfff; @color-medium-blue: #1578c1; @color-dark-blue: #115b8d; @color-deep-blue: #003366; @color-gold: #f4bb33; @color-light-gold: #F9D275; @color-dark-gold: #e8a70c; @color-alert-red: #cd341c; @color-success-green: #3a7b43; /*========================= Structure =========================*/ html, body { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-position: center center; background-attachment: fixed; height: 100%; -webkit-tap-highlight-color: rgba(255,255,255,0); -webkit-tap-highlight-color: transparent; } body { background-color: @color-white; text-rendering: optimizelegibility; font-family: Helvetica,sans-serif; font-size: 1rem; line-height: 1.4; color: @color-black; overflow: auto; } .skip { position:absolute; top:-1000px; left:15px; width:auto; height:auto; text-align:left; overflow:hidden; -webkit-transition:0.25s; -moz-transition:0.25s; transition:0.25s } .skip:active,.skip:focus,.skip:hover { left:15px; top:15px; width:auto; height:auto; overflow:visible; background: @color-gold; padding: 1rem; color: @color-black; font-weight:bold; font-size:14px; box-shadow:0 0 10px 0 #000; z-index:10001 } .off-canvas-absolute { background-color: @color-light-gray; } #wrapper { background-color: @color-white; min-height: 100%; height: auto !important; height: 100%; margin: 0 auto; } .header { background: @color-deep-blue none repeat scroll 0% 0%; border-bottom: 3px solid @color-gold; height: 100px; padding: 12px; margin-bottom: 20px; color: @color-white; .app-heading { color: @color-white; font-size: 2.5rem; position: relative; top: 5px; font-family: Roboto Slab, serif; } a, a:active, a:focus, a:hover, a:visited { color: @color-white; text-decoration: none; } a:active, a:focus, a:hover { color: @color-white; text-decoration: underline; } /*========================= OLD eSantaFe Top Menu Links =========================*/ #headerIconLinks { margin-right: 110px; text-align: right; margin-bottom: 7px; a{ &:not(:last-child){ margin-right: 15px; } } .fa { margin-right: 5px; } /* -- Various states of the email notifications --*/ .messages, .new { position: relative; } .messages span.fa-envelope { color: @color-white; } .new span.fa-envelope { color: @color-gold; } .new span.alert-dot { background: @color-alert-red; border-radius: 10px; height: 10px; left: -4px; position: absolute; top: -2px; width: 10px; } .new-messages span.fa-bell-after { color: #444; font-family: Helvetica, Arial, sans-serif; font-size: 11px; line-height: 24px; left: calc(20% - 8px); top: calc(20% - 5px); overflow: hidden; position: absolute; text-overflow: ellipsis; text-align: center; white-space: nowrap; width: 27px; } } #headerLinks { margin-right: 110px; text-align: right; font-size: .875rem; } } .header .row .sf-brand:before { content: ""; display: block; width: 1000px; height: 108px; } .header .row .sf-brand { overflow: hidden; background-image: url("/sf/webcommon/images/sf-logo-horizontal-white.png"); background-size: cover; display: block; background-repeat: no-repeat; transition: all 0.1s ease-in-out 0s; width: 345pt; height: 40pt; display: inline-block; margin: 10px 0; } .title-bar { background: @color-deep-blue none repeat scroll 0% 0%; border-bottom: 3px solid @color-gold; height: 59px; box-shadow: none; .title-bar-title { font-size: 1.2em; margin-top: 5px; } } .title-bar .sf-brand { background: no-repeat url("/sf/webcommon/images/sf.png"); width: 35px; height: 35px; display: inline-block; } .off-canvas-wrapper { height: 100%; } .off-canvas-wrapper-inner { height: 100%; } .off-canvas { background: none; } .off-canvas-content { height: 100%; box-shadow: none; background-color: @color-white; .content { padding-top: 35px; padding-bottom: 20px; } } .off-canvas.position-right { height: 100%; } .js-off-canvas-overlay { background: none; } .content { padding: 1.2rem 0; } .push { background-color: @color-white; } .whiteContainer{ border: 1px solid @color-medium-gray; padding: 20px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; border-radius: 5px; box-shadow: 1px 1px 3px rgba(0,0,0,.2); background-color: @color-white; } #widemenu { min-height: 380px; ul.menu li a { padding-left: 0; } } ul.menu { .is-accordion-submenu-parent>a:after{ border-color: #888 transparent transparent; } li { span.fa-check { color: @color-success-green; margin-right: 5px; } a { text-decoration: none; } .is-accordion-submenu { li a { border-left: 3px solid #BAC5C6 !important; display: inline-block; padding: 8px; margin-left: 20px; } li a:hover { text-decoration: underline; } .selected { font-weight: bold; a:hover { text-decoration: none; } } } } } footer { background: #036 none repeat scroll 0% 0%; z-index: 1; padding-top: 10px; color: @color-white; font-size: 90%; p { color: @color-white; } a, a:hover { color: @color-white; text-decoration: underline; } a:focus { text-decoration: underline; color: @color-white; outline: 3px solid rgba(131,192,253,0.5); } .footer-branding { address { text-align: center; color: @color-white; font-style: normal; } img { max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; } } .footer-heading { font-family: Roboto Slab, serif; color: @color-white; margin-bottom: 10px; font-size: 20px; } .footer-links { display: table; width: 100%; li { display: table-cell; table-layout: fixed; width: 1%; vertical-align: middle; text-align: center; a:hover, a:focus { text-decoration: underline; color: @color-white; } } } .footer-container { padding: 30px 10px; max-width: 775px; margin-left: auto; margin-right: auto; } } /*========================= Typography =========================*/ h1, h2, h3, h4, h5, h6 { font-family: Helvetica, sans-serif; color: @color-deep-blue; font-weight: 300 !important; } .subheader { font-size: 80%; } h1 { font-size: 2.8rem; margin: 0 0 0.5em 0; } h2 { font-size: 2.2rem; } .h2 { font-size: 2.2rem; } .reveal h1 { font-size: 2.2rem; } .reveal h2 { font-size: 1.8rem; } .reveal h3 { font-size: 1.4rem; } .reveal .h3 { font-family: Roboto Slab, serif; color: @color-black; font-size: 1.4rem; } p { color: @color-black; } br { line-height: 1rem; } .truncate { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } a { color: @color-medium-blue; text-decoration: underline; &.has-tip{ } .media-help-icon { text-decoration: none; } } a:hover, a:focus { color: darken(@color-medium-blue, 15%); } label { font-size: 1rem; color: @color-black; } legend, select { font-size: .875rem; color: @color-black; } select { color: @color-black; } option { color: @color-black; } select option:first-child { color: @color-black; } .no-placeholder option:first-child { color: @color-black; } .callout { color: @color-black; } .alert { color: @color-alert-red; } .alert.callout{ color: @color-black; } .success { color: @color-success-green; } .success.callout{ color: @color-black; } .small-text { font-size: .8rem; } .small-italic { font-size: .8rem; font-style: italic; } .loading { display: block; opacity: 0.7; background-color: @color-white; z-index: 99; margin-left: auto; margin-right: auto; } .large-icon-button-row { margin-top: 1rem; margin-bottom: .5rem; } .large-icon-button-wrapper { display:table; min-width: 100%; margin-bottom: 1rem; .large-icon-button { display: table-cell; vertical-align: middle; color: @color-black; border: 2px solid #D6D6D6; border-radius: 5px; padding: 10px; height: 150px; min-width: 100%; &.selected { background-color: @color-gold; border: 2px solid @color-gold; } &:hover, &:focus { box-shadow: 0px 0px 6px 1px rgba(33, 153, 232, 0.5); text-decoration: none; outline: 0; } i { display: block; margin-bottom: 5px; } .large-button-heading { font-family: Roboto Slab, serif; font-size: 2.5rem; } .medium-button-heading { margin-top: -15px; font-family: Roboto Slab, serif; font-size: 2rem; } } } input[type=checkbox] { margin-bottom: 0; } input[type=radio] { margin-bottom: 0; } input[type=checkbox]:hover,input[type=radio]:hover,input[type="email"]:hover,input[type="number"]:hover,input[type="password"]:hover,input[type="search"]:hover,input[type="tel"]:hover,input[type="text"]:hover,input[type="url"]:hover,input[type="color"]:hover,input[type="date"]:hover,input[type="datetime"]:hover,input[type="datetime-local"]:hover,input[type="month"]:hover,input[type="time"]:hover,input[type="week"]:hover,textarea:hover,select:hover { border:1px solid gray; color: @color-black; } select:focus{ background-image: url("data:image/svg+xml;utf8,"); background-size: 9px 6px; background-position: right -1rem center; background-origin: content-box; background-repeat: no-repeat; padding-right: 1.5rem; } input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, textarea:focus, select:focus, input[type=file]:focus { box-shadow: 0 0 0 3px rgba(131,192,253,0.5); border: 1px solid gray; } input[readonly]{ cursor: not-allowed; } [type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea { &.ng-touched{ &.ng-invalid { border: 1px solid @color-alert-red; background-color: #FFF0F0; margin-bottom: 0; } } } select { &.ng-touched{ &.ng-invalid { border: 1px solid @color-alert-red; background-color: #FFF0F0; margin-bottom: 0; } } } form { &.ng-submitted{ [type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea { &.ng-invalid { border: 1px solid @color-alert-red; background-color: #FFF0F0; margin-bottom: 0; } } select { &.ng-invalid { border: 1px solid @color-alert-red; background-color: #FFF0F0; margin-bottom: 0; } } } } fieldset { margin-bottom: 1rem; } .fieldset legend { background: none; } .switch { margin-bottom: 0; margin-right: 1rem; input:checked ~ .switch-paddle { background-color: @color-medium-blue; } } .switch-label { padding: 10px; margin-bottom: 0; } .switch.float-left { margin-top: 5px; } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #767676; } input::-moz-placeholder, textarea::-moz-placeholder { color: #767676; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #767676; } input::placeholder, textarea::placeholder { color: #767676; } .callout.secondary { background-color: #F9F9F9; } .accordion { border-color: @color-medium-gray; .accordion-title { padding: 1rem 1rem; font-size: 1rem; border: 1px solid @color-medium-gray; border-bottom: 0; color: @color-medium-blue; text-decoration: none; &:hover, &:focus { color: darken(@color-medium-blue, 15%); background-color: #F9F9F9; text-decoration: none; } } :last-child:not(.is-active) > .accordion-title { border-radius: 0 0 0 0; border-bottom: 1px solid @color-medium-gray; } :last-child > .accordion-content:last-child { border-bottom: 1px solid @color-medium-gray; } .accordion-content { border: 1px solid @color-medium-gray; border-bottom: 0; } } /*========================= Buttons =========================*/ a.button { text-transform: uppercase; text-decoration: none; } .button { text-transform: uppercase; font-family: Helvetica, Arial, sans-serif; background-color: @color-medium-blue; } .button:active, .button:hover, .button:focus { background-color: darken(@color-medium-blue, 15%); } .button:focus-visible { outline-offset: 2px; } .button.hollow { color: @color-medium-blue; border-color: @color-medium-blue; background-color: @color-white; } .button.hollow:focus, .button.hollow:hover { background-color: darken(@color-medium-blue, 15%); color: @color-white; border-color: darken(@color-medium-blue, 15%); } .button.hollow.secondary:focus, .button.hollow.secondary:hover { background-color: #767676; color: @color-white; border-color: #767676; } .button.alert { background-color: @color-alert-red; &.hollow { background-color: @color-white; color: @color-alert-red; border: 1px solid @color-alert-red; } } .button.alert:focus, .button.alert:hover { background-color: darken(@color-alert-red, 10%); &.hollow { background-color: @color-alert-red; border: 1px solid @color-alert-red; color: @color-white; } } .button.alert.hollow:focus, .button.alert.hollow:hover { background-color: none; } .button.success { background-color: @color-success-green; color: @color-white; &.hollow { background-color: @color-white; color: @color-success-green; border: 1px solid @color-success-green; } } .button.success:focus, .button.success:hover { background-color: darken(@color-success-green, 10%); color: @color-white; &.hollow { background-color: @color-alert-red; border: 1px solid @color-alert-red; color: @color-white; } } .button.success.hollow:focus, .button.success.hollow:hover { background-color: none; } .button.float-right { margin-left: .9375rem; } .button.small { font-size: .8rem; font-family: Helvetica, sans-serif; } .link-button { text-rendering: optimizelegibility; font-family: Helvetica, sans-serif; font-size: 1rem; color: @color-medium-blue; text-decoration: underline; cursor: pointer; } .link-button:active, .link-button:focus, .link-button:hover { text-rendering: optimizelegibility; font-family: Helvetica, sans-serif; font-size: 1rem; color: darken(@color-medium-blue, 15%);; text-decoration: underline; cursor: pointer; } /*========================= Tables =========================*/ @table-header-background: #f1f1f1; @table-row-border: 1px solid #e9ecef; @table-font-color: #495057; @table-cell-padding: 1rem; table { color: @table-font-color; border-collapse: collapse; thead { border: none; border-top: @table-row-border; border-bottom: @table-row-border; th { background: @table-header-background; padding: @table-cell-padding; } } tbody { td { padding: @table-cell-padding; } tr { background-color: @color-white; border: none; border-bottom: @table-row-border; } tr:nth-child(even) { background-color: @color-white; border-bottom: @table-row-border; } } tfoot { border: 1px solid @color-medium-gray; border-top: none; } input[type=text], input[type=number] { margin-bottom: 0; } .input-group { margin-bottom: 0; } } table.sort { span.fa-sort-desc { float: right; } span.fa-sort-asc { float: right; margin-top: 4px; } span.fa-sort { float: right; margin-top: 2px; } } th.sort { cursor: pointer; } th.sorted { background-color: lighten(@color-black, 10%); background-color: @color-gold; color: @color-black; .fa { color: @color-black; } } table.simple { tr { border-bottom: 1px solid @color-medium-gray; } thead { border: none; border-bottom: 1px solid @color-medium-gray; th { background-color: @color-white; color : @color-black; border-right: none; a, a:hover, a:focus { color: @color-white; } } } tbody { border-top: 1px solid @color-medium-gray; border-right: none; border-left: none; } tbody tr:nth-child(even) { border-bottom: 1px solid @color-medium-gray; background-color: @color-white; } } table .button { margin: 3px 0; } table select { margin-bottom: 0; } .pagination-previous a::before, .pagination-previous.disabled::before { display: inline-block; margin-right: 0.5rem; content:"\2039"; } .pagination-next a::after, .pagination-next.disabled::after { display: inline-block; margin-left: 0.5rem; content:"\203A"; } .pagination-first a::before, .pagination-first.disabled::before { display: inline-block; margin-right: 0.5rem; content: '\00ab'; } .pagination-last a::after, .pagination-last.disabled::after { display: inline-block; margin-left: 0.5rem; content: '\00bb'; } .tabs { border: initial; border-bottom: 1px solid @color-medium-gray; } .tabs-title { border: 1px solid @color-medium-gray; border-bottom: none; border-right: none; } .tabs-title:last-of-type { border: 1px solid @color-medium-gray; border-bottom: none; } .tabs-title a { text-decoration: none; } .tabs-title>a { color: @color-medium-blue; font-size: .85rem; } .tabs-title>a:focus, .tabs-title>a[aria-selected=true] { background: @color-light-gray; color: @color-dark-blue; } .tabs-content { color: @color-black; border: 1px solid @color-medium-gray; border-top: 0; } .added-college .columns { hr { margin: 0; } #delete-college-btn { margin-top: .5rem; margin-bottom: .5rem; background-color: @color-alert-red; } #delete-college-btn:focus, #delete-college-btn:hover { background-color: darken(@color-alert-red, 10%); } } span.postfix, label.postfix { background: #f2f2f2; border-left: none; color: #333; border-color: #ccc; } .postfix { display: block; position: relative; z-index: 2; text-align: center; width: 100%; padding-top: 0; padding-bottom: 0; border-style: solid; border-width: 1px; overflow: hidden; line-height: 2.3125rem; }