/* --------------------------------------------------------------- Learningpath views */ .chapter-title { font-size: 18px; margin: 15px 0; &.lp-link-test { border-bottom: 1px solid rgba(201,211,244,0.35); box-shadow: inset 0 -6px 0 rgba(201,211,244,0.35); color: #00f; cursor: pointer; display: inline-block; &:hover { border-bottom: 1px solid rgba(201,211,244,0.75); box-shadow: inset 0 -6px 0 rgba(201,211,244,0.75); } } } .collapse-chapter { border-top: 1px solid #EDEDED; margin: 30px 0; max-width: 550px; .chapter-title { padding-right: 25px; position: relative; &:after { background: #eee; content: ''; height: 4px; position: absolute; right: 2px; top: 5px; width: 15px; } } .lp-group { padding: 5px 0; strong { color: #333; } a.lp-text { &.text-read-lead { text-transform: uppercase; } } } } #content { .btn, .lp-link { -webkit-transition: 0.2s all; transition: 0.2s all; } .lp-view { &.unit-view { overflow: visible; position: relative; .unit-selector { position: absolute; top: -64px; right: 0; #unitSelect { &:focus { outline: none; } &:hover, &:focus { } .dijitButtonText { padding: 0 1em; } } } } ul { margin-left: 1.25em; padding-left: 0; } h2.title-group { font-size: 30px; font-weight: normal; margin-top: 0; small { display: block; } } h3 { color: #000; font-size: 20px; font-weight: 200; line-height: 1; margin-bottom: 15px; margin-top: 30px; overflow: visible !important; text-transform: uppercase; small { margin-left: 10px; position: relative; top: -1px; } } .well { &.lp-group:first-child>h3, &>h3:first-child, &>.lp-group:first-child>h3 { margin-top: 0; } .lp-link + .lp-link { margin-top: 5px; } } .lp-link + .lp-link, a.lp-text + a.lp-text { &:before { content: ''; display: block; height: 10px; } } p.lp-link, div.lp-link { display: inline; margin: 0; } } } .sliding-unit { @extend .clearfix; background-color: #F4F6F1; border: 1px solid #DDE0D9; border-radius: 4px; height: 100% !important; margin: 0 0 15px 0; min-height: 300px; padding: 25px 35px; width: 100% !important; .dijitContainer { overflow: visible !important; } .unit-activities-top { .btn { font-weight: 600; line-height: 1.2; text-align: left; white-space: normal; } } .unit-activities-top + .well { margin-top: 20px; } .well { background: #fff; margin-left: -20px; margin-right: -20px; .lp-link + .lp-link, a.lp-text + a.lp-text { &:before { height: 15px; } } } .unit-activities { .lp-group { margin-bottom: 0.75em; } span.lp-text { font-weight: bold; } } } .subview-pane { margin: 0 -35px 30px; padding-left: 30px; padding-right: 30px; &.pane-right { border-top: 10px solid #fff; h3 { &:first-child { margin-top: 0 !important; } } } .header-group { @extend .clearfix; h2 { margin-top: 0; } } } @media screen and (max-width: $screen-sm-max) { .subview-pane { height: auto !important; &.pane-right { h3 { &:first-child { margin-top: 20px !important; } } } } } @media screen and (min-width: $screen-md-min) { #content { .lp-view { &.unit-view { width: 95%; } } } .subview-pane { margin: -25px 0; min-height: 300px; padding-bottom: 25px; padding-top: 25px; &.pane-left { float: left; padding-left: 0; padding-right: 25px; width: 55%; } &.pane-right { border-left: 10px solid #fff; border-top: 0; float: right; margin-right: -35px; padding-left: 25px; padding-right: 25px; width: 45%; } } } .carousel-stack { overflow: visible !important; } .carousel-prev, .carousel-next { background-color: #ddd; border-radius: 50%; color: #fff; cursor: pointer; font-size: 20px; height: 30px; line-height: 30px; position: absolute; text-align: center; top: 180px; width: 30px; z-index: 9; -webkit-transition: 0.2s all; -moz-transition: 0.2s all; transition: 0.2s all; &.disabled { display: none; } &:hover, &:focus { background-color: #ccc; } } .carousel-prev { left: -13px; padding-right: 3px; } .carousel-next { right: -13px; padding-left: 3px; } #cp-lpbase-activity { margin-left: -15px; margin-right: -15px; } .activities-assessment { .lp-group { margin: 10px 0; } .text-assignment-lead { color: #333; /*display: block;*/ } } .mask { background: rgba(255,255,255,0.8); display: none; /* default */ height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1000; } #portal-column-content { div.lp-quiz, a.lp-quiz, span.lp-quiz { display: block; } a.lp-text { display: inline; margin: 5px 0; & + a.lp-text { margin-top: 5px; } } div.lp-quiz, a.lp-text { & + div.lp-text, & + p.lp-text { /*color: #999; font-size: 13px;*/ line-height: 1.25; margin-bottom: 15px; margin-top: 5px; } } a.lp-text, span.lp-link span, div.lp-link .quiz, div.lp-quiz .quiz, a.lp-quiz, span.lp-quiz .quiz { /*border-bottom: 1px solid rgba(219,224,211,0.35); box-shadow: inset 0 -6px 0 rgba(219,224,211,0.35);*/ color: #00f; cursor: pointer; font-weight: bold; position: relative; text-decoration: none; &:hover { /*border-bottom: 1px solid rgba(219,224,211,0.75); box-shadow: inset 0 -6px 0 rgba(219,224,211,0.75);*/ } } a.lp-text, span.lp-link, div.lp-link .quiz, .lp-quiz { overflow: visible; [data-state*="active"], [data-state*="complete"], [data-state*="passed"], [data-state*="restarted"], [data-state*="posted"] { margin-right: 20px; &:after { background-color: transparent; background-position: 50% 50%; background-repeat: no-repeat; content: ''; display: inline-block; height: 15px; margin-bottom: -1px; margin-left: 7px; margin-right: -20px; width: 15px; } } [data-state*="active"]:after { hcimg: 'icon_active.png'; } [data-state*="complete"]:after, [data-state*="posted"]:after { hcimg: 'icon_complete.png'; } [data-state*="restarted"]:after { hcimg: 'icon_restarted.png'; } } p { a.lp-text, span.lp-link { margin-right: 0; } } .lp-link-test, .lp-link-test .quiz { color: @cpa-brand-primary !important; } [class*="quickstart"] .lp-link [data-state="active"], [class*="quickstart"] .lp-link [data-state="complete"], [class*="quickstart"] .lp-link [data-state="restarted"] { &:after { hcimg: 'icon_complete.png'; } } .lp-legend { cursor: default; font-size: 13px; margin: 5px 0 20px; opacity: 0.6; text-align: right; -webkit-transition: 0.2s all; -moz-transition: 0.2s all; transition: 0.2s all; &:hover, &:focus { opacity: 1; } h4 { display: none; margin-right: 15px; } ul { list-style: none; margin: 0; padding: 0; li { display: inline-block; padding-right: 40px; position: relative; white-space: nowrap; &:after { background-color: transparent; background-position: 50% 50%; background-repeat: no-repeat; content: ''; display: inline-block; height: 15px; margin-bottom: -1px; margin-left: 7px; margin-right: -20px; width: 15px; } &.legend-active { &:after { hcimg: 'icon_active.png'; } } &.legend-complete { &:after { hcimg: 'icon_complete.png'; } } &.legend-restarted { &:after { hcimg: 'icon_restarted.png'; } } } } } } [data-path*="lp-chapter"] { .lp-legend { float: right; margin-bottom: 0 !important; } } @media screen and (max-width: $screen-xs-max){ [data-path*="lp-chapter"] { .lp-legend { float: none; text-align: left !important; } } } @media screen and (min-width: 900px) { #portal-column-content { .lp-legend { position: absolute; right: 0; top: -62px; } } #content { .lp-view { &.unit-view { .lp-legend { right: -15px; } .unit-selector { right: 300px; } } } } .lang-fr { #portal-column-content { .lp-legend { position: static; } } #content { .lp-view { &.unit-view { .unit-selector { right: 0; } } } } } } @media screen and (min-width: 1190px) { .lang-fr { #portal-column-content { .lp-legend { position: absolute; } } #content { .lp-view { &.unit-view { .unit-selector { right: 420px; } } } } } } .select-header h2 { border-bottom: 0 !important; margin-left: auto; margin-right: auto; text-indent: 0 !important; text-align: center; } div.summary { clear: both; margin: 0 auto; padding-top: 5em; width: 70%; .note { margin-top: 2em; } }