@import "config"; /* --------------------------------------------------------------- LEGACY SUPPORT --------------------------------------------------------------- */ // ===== NAV ===== #chooser-popup { &.dijitTooltipBelow { padding: 0 0 0 0 !important; } #chooser-selection { background: transparent !important; border: none; height: auto !important; width: 22em; .dgrid-scroller { overflow-y: auto; position: relative !important; } .dgrid, .dgrid-row { background: transparent !important; color: #fff !important; } div.dgrid-content { padding-left: 5px; div.dgrid-row { cursor: pointer; line-height: 1.25em; padding: 5px 0; &:hover, &:focus { background: @linkcolor !important; border-radius: 2px; margin-left: -5px; padding: 5px; } } } } .dijitTooltipConnector { display: none; } .dijitTooltipContainer { background: @darkblue; border: 0; box-shadow: none !important; color: #fff; } } #switcher { background: transparent; font-size: 11px; height: 24px; position: absolute; right: 0; top: 0; span.navlabel { display: none !important; } span.nav-thumb { display: none !important; } ul { padding: 0; li { display: inline; float: left; padding: 0; &.name { padding-left: 10px; } span.navlink { background: transparent; color: @darkblue; display: inline-block; font-family: Helvetica, Arial, sans-serif; height: 23px; line-height: 23px; padding: 0 8px; } &:hover, &:focus, &.active-tab { span.navlink { background: @lightblue; cursor: pointer; } } &.active-tab { span.navlink { background: @mediumblue; border-radius: 0; color: #fff !important; padding-bottom: 5px; } } } #login-link, .logout-link { span.navlink { } } } } #switcher ul, .logout-link, .login-link, #switcher li.name, #switcher li.glossary, #switcher li.overview, #switcher .solo { border-radius: 0 0 5px 5px; } // gets swapped in at narrower browser sizes #mobile_menu { display: none; font-family: Helvetica, Arial, sans-serif; position: absolute; right: 200px; text-align: right; top: 36px; z-index: 99; span.navlabel { display: none; } span.nav-thumb { background-color: rgb(255,255,255); background-color: rgba(255,255,255,0.2); background-image: url("@{hcimgpath}/icon_list_bullets.png"); background-position: 5px 50%; background-repeat: no-repeat; border-radius: 2px; box-shadow: 0 0 3px rgba(90,90,90,0.2); color: #fff; cursor: pointer; display: inline-block; float: right; height: 40px; margin-top: -10px; padding: 6px 15px 6px 40px; position: relative; z-index: 3; } &.menu-active { span.nav-thumb { background-color: @neutraldark; background-image: url("@{hcimgpath}/icon_list_bullets_dark.png"); border-radius: 5px 5px 0 0; box-shadow: none; span { color: @neutral !important; } } } ul { background: @neutraldark; border-radius: 4px 0 4px 4px; box-shadow: 0 0 15px rgba(99,99,99,0.5); clear: both; display: none; float: right; list-style: none; margin: 0; padding: 4px 2px 1px; position: relative; text-align: center; width: 300px; z-index: 2; li { display: block; float: none; margin: 0; width: 100%; &.overview, &.name, &.logout-link { margin-top: 15px; } span { /*background: #fff;*/ background-color: @darkblue; border-radius: 4px; /*color: @blue;*/ color: #fff; display: block; font-size: 16px; font-weight: bold; line-height: 1.5; margin: 3px 5px; padding: 0.75em; position: relative; &.navlabel { background-color: transparent; left: -65px; top: -51px; } } &:hover, &:focus, &.active-tab, &.item-selected { span.navlink { background: @mediumblue; box-shadow: 0 0 2px #222; color: #fff; cursor: pointer; z-index: 9; } &.chooser { span.navlink { background: @mediumblue; } } } &.active-tab { span.navlink { color: #bbb !important; } } } } } // ===== FOOTER ===== #portal-footer { background: url("@{imgpath}/bg_footer.png") repeat-x 0 0 #2A2A2A; height: 100px; margin-top: -100px; padding: 0; .hc-inner-container { background: transparent; height: auto; min-height: 90px; padding: 10px 0 0; max-width: 960px; } a { border-bottom: 0; color: #eee; text-decoration: none; } p { padding-top: 0; } ul { margin: 0; } #admin-nav { bottom: 0; list-style: none; margin: 0; padding: 0; position: absolute; li { /*&.version { color: rgb(0,33,50) !important; font-weight: bold; }*/ &.logout { a { background: rgb(167,167,167); background: rgba(0,0,0,0.3); color: #ddd; display: inline-block; line-height: 25px; padding-left: 15px; padding-right: 15px; text-decoration: none; &:hover, &:focus { background: #000; color: #fff; } } } } } #copyright { margin: 0 0 5px 5px; position: relative; } #terms, #privacy { color: #555; float: left; font-size: 11px; margin: 15px 15px 0 5px; } } /* --------------------------------------------------------------- LCS SITES --------------------------------------------------------------- */ @afp-logo-blue: rgb(0, 43, 73); @afp-primary: rgb(40, 110, 144); @afp-secondary: rgb(167, 178, 29); @black: #000; @darkgrey: #6A737B; @lightgrey: #BEC0C2; @white: #fff; @pale: @lightgrey; @dark-grey: @darkgrey; @navbar-background: @afp-primary; @navbar-color: @white; @navbar-hover-color: @navbar-color; @navbar-hover-underline: rgba(0,0,0,0.25); @navbar-current-color: @white; @navbar-current-underline: darken(@afp-primary, 10%); @avatar-background: @lightgrey; @header-controls-color: @afp-logo-blue; @h1-color: @darkgrey; @h2-color: @afp-logo-blue; @sidenav-left-background: @dark-grey; @sidenav-right-background: darken(@dark-grey, 7%); @footer-background: @dark-grey; @footer-border: transparent; @footer-color: rgba(255,255,255,0.5); @link-color: @afp-primary; @link-underline: darken(@link-color, 10%); @link-hover-color: darken(@link-color, 10%); @link-hover-underline: darken(@link-color, 20%); @link-active-color: @black; @link-alt-active-color: @link-active-color; @button-color: #fff; @button-background: @link-color; @button-hover-background: @link-hover-color; @button-hover-color: @button-color; @button-active-background: @link-active-color; @button-disabled-background: #bbbbbb; @titlepane-background: @dark-grey; @titlepane-color: rgba(255,255,255,0.8); @titlepane-close-hover-background: lighten(@dark-grey, 12%); @titlepane-close-hover-border: lighten(@dark-grey, 15%); @carousel-control-background: lighten(@dark-grey, 20%); @carousel-control-hover-background: lighten(@dark-grey, 10%); @formfillin-border: @dark-grey; @formfillin-active-border: @afp-secondary; @progressbar-background: #fff; @progressbar-indicator: @afp-logo-blue; @toaster-default-background: rgba(100,110,118,.85); @toaster-default-border: rgb(100,110,118); /* --------------------------------------------------------------- Typography */ html body.dbootstrap { font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; } /* --------------------------------------------------------------- Header */ .dbootstrap { #link-logo { color: rgba(255,255,255,0.75); display: block; height: 50px; text-decoration: none; text-indent: -999em; width: 250px; left: 50px; } } @media screen and (min-width: 992px) { .dbootstrap { #hc-portal-header { height: 141px; } #link-logo { height: 100px; } } } /* --------------------------------------------------------------- Views navigation */ #hc-lp-header { background: @navbar-background; a { color: @navbar-color; &:hover, &:focus { border-bottom: 5px solid @navbar-hover-underline; } } } [data-path*="lp-announce"] #hc-lp-header a.text-lp-view-announcements, [data-path*="lp-chapter"] #hc-lp-header a.text-lp-view-course, [data-path*="lp-course"] #hc-lp-header a.text-lp-view-course-menu, [data-path*="lp-unit"] #hc-lp-header a.text-lp-view-unit, [data-path*="lp-activity"] #hc-lp-header a.text-lp-view-activity { border-bottom: 5px solid @navbar-current-underline; color: @navbar-current-color; font-weight: bold; } #lcc-header-controls { top: 25px; } #lcc-header-account { .useravatar { background-color: @avatar-background; } } #lcc-header-account, #lcc-product-choice { color: @header-controls-color; } #lcc-product-choice { .dijitDropDownButton { margin-right: 15px; &.dijitHover { opacity: 0.8; } } } #hc-title-container { background-color: #e9e9e9; h1 { color: @h1-color; } } /* --------------------------------------------------------------- Resource Center --------------------------------------------------------------- */ resource-center { .rc-link { cursor: pointer; } } [data-path*="common-rc"] { #hc-title-container { h1 { display: block !important; } } resource-center { #content { width:100%; } } } /* --------------------------------------------------------------- Off-canvas nav */ #sidenav-left { background-color: @sidenav-left-background; } #sidenav-right { background-color: @sidenav-right-background; } .sidenav { h2 { color: rgba(255,255,255,0.5); } a { color: rgba(255,255,255,0.8); &:hover, &:focus { background-color: rgba(255,255,255,0.1); color: #fff; } } .dijitMenu { .dijitMenuItem{ color: rgba(255,255,255,0.8); &:hover, &:focus { background-color: rgba(255,255,255,0.1); color: #fff; } } } .dijitButton { &:hover, &:focus { background-color: rgba(255,255,255,0.1); } } .dijitButtonNode { color: rgba(255,255,255,0.8); &:hover, &:focus { color: #fff; } } } /* --------------------------------------------------------------- Footer */ .dbootstrap { #portal-footer { background: @footer-background; border-top: 1px solid @footer-border; color: @footer-color; height: 120px; margin-top: -120px; .hc-inner-container { padding-left: 20px; } } #portal-columns { padding-bottom: 120px; } } /* --------------------------------------------------------------- Tools & toolbar */ #lcs-toolbar { &.dijitMenu, span.flyout { background: @button-background; } } #toolbar-calculator-floater { .dojoxFloatingPaneTitle { background-color: @titlepane-background; color: @titlepane-color; } .dojoxFloatingCloseIcon { &:hover { background-color: @titlepane-close-hover-background; border: 1px solid @titlepane-close-hover-border; } } } .dbootstrap a.link-download { color: @link-color; &:hover { color: @link-hover-color; } } /* --------------------------------------------------------------- Glossary */ @media screen and (max-width: 991px) { .dbootstrap #glossary-content { color: #fff; } } /* --------------------------------------------------------------- Learningpath */ .dbootstrap { .chapter-title { color: @h2-color; &.lp-link-test { color: @link-color; &:hover { color: @link-hover-color; } } } .collapse-chapter { .lp-group { a.lp-text { color: @link-color; } } } #content { .sliding-unit { .unit-activities-top { .btn { color: @link-color; &:hover, &:focus { background: @button-hover-background; color: @button-hover-color; } } } h2.title-group { color: @h2-color; } } } .carousel-prev, .carousel-next { background-color: @carousel-control-background; &:hover, &:focus { background-color: @carousel-control-hover-background; } } h2.menuitem-head { color: @h2-color; } #portal-column-content { a.lp-text, span.lp-link>span, div.lp-link .quiz, div.lp-quiz .quiz, a.lp-quiz, span.lp-quiz .quiz, .rc-link { color: @link-color; &:hover { color: @link-hover-color; } } span.lp-link>span span { color: inherit; } } .section-assess, .section-study, .section-pass { background-color: @pale; } } /* --------------------------------------------------------------- Quizzes */ .dbootstrap { .microquiz { &.formfillin { .microquiz-workarea { .microquiz-subquestions { .dijitTextBox, .dijitSelect { outline: 2px solid @formfillin-border; } } } } } #qf-question-progress { #qf-progress-indicator { background: @progressbar-indicator; } } .dijitProgressBar { .dijitProgressBarFull { background: @progressbar-indicator; } } } /* --------------------------------------------------------------- Toaster */ .dijitToasterClip { .dijitToasterContent { background: @toaster-default-background; border: 1px solid @toaster-default-border; } } /* --------------------------------------------------------------- Buttons */ .dbootstrap button:not(.btn-cancel):not(.btn-success):not(.btn-warning) { background-color: @button-background; border-color: darken(@button-background, 8%); color: @button-color; font-size: 14px; font-weight: 500; &:hover, &:focus { background-color: @button-hover-background; color: @button-hover-color; } } /* --------------------------------------------------------------- Certificate */ .dbootstrap { #certButton { margin: 30px 0 60px -30px; } .microquiz.feedback-recap { .microquiz-subquestions { .mc-feedback-learner { .question-block { display:block; } } } } #portal-column-content ol { margin-left: 2em; } }