#homeCarousel { margin-top: -20px; } /* .container { > #hero { margin-top: -20px; } } */ .yamm-fw { .dropdown-menu { z-index: 20; .menu-icon { float: left; padding-left: (@grid-gutter-width / 2); padding-right: (@grid-gutter-width / 2); width: 12%; } .menu-col { float: left; padding-left: (@grid-gutter-width / 2); padding-right: (@grid-gutter-width / 2); width: 18%; .lead { font-weight: bold; } + .menu-col { width: 70%; } } .list-unstyled { li { a { display: block; padding: @padding-base-vertical 0; } } } .story { a { display: block; padding: @padding-base-vertical 0; } } @media (max-width: @screen-sm-min) { position: relative; top: auto; left: auto; border-radius: 0; .menu-icon { width: 20%; } .menu-col { width: 40%; + .menu-col { width: 40%; } } } } } #header { //background-color: #fff; .container { a.brand { display: inline-block; margin-top: @navbar-padding-vertical; margin-bottom: @navbar-padding-vertical; img { width: 350px; height: auto; } } } ul.nav li.dropdown:hover .dropdown-menu { display: block; border: none; } .tagline { color: @cwc-dark-gray; font-size: 1.5em; margin-top: 1.25em; text-align: right; text-transform: uppercase; } .navbar-brand { padding: 10px @navbar-padding-vertical; img { height: 40px; } } } #main { > h1, > h2, > h3, > h4, > h5, > h6 { margin-top: 0; } } h1 { +.lead { color: @cwc-fuchsia; } } #subnav { ul { li { a { display: block; } &:hover { background-color: lighten(@cwc-blue, 20%); > a { color: @body-bg; } } &.active { a { background-color: @cwc-blue; color: @body-bg; } } &.disabled { a { &:hover { color: inherit; } } } } } ul.nav-stacked { > li { > a { font-weight: bold; } } } .nav-inner { li { a { padding-left: 30px; } } } + div { //border-left: solid 1px @cwc-purple-alt-lighter; padding-left: 30px; } .panel { margin-bottom: 0; -webkit-box-shadow: none; box-shadow: none; } .panel-heading { -webkit-box-shadow: none; box-shadow: none; position: relative; font-weight: bold; .toggle { position: absolute; right: 2px; top: 0; padding-top: 10px; } } .list-group-item { border: none; } .dropdown { &.open { .panel { background-color: lighten(@cwc-blue, 50%); } } } @media screen and (max-width: @container-sm) { background-color: @body-bg; border: solid 1px @cwc-blue; border-left: none; padding-right: 0; z-index: 10; #sidebar-menu { margin-right: 10px; } } } #footer { background-color: @cwc-blue; color: lighten(@cwc-blue, 75%); padding-top: @navbar-padding-vertical * 2; padding-bottom: @navbar-padding-vertical; a { color: lighten(@cwc-blue, 50%); &:hover { color: lighten(@cwc-blue, 75%); } } hr { border-color: lighten(@cwc-blue, 20%); } ul { list-style: none; padding-left: 0; li { margin-bottom: 10px; } } p.lead { margin-bottom: 10px; } } #footer-logos { //border-top: solid 1px @cwc-purple-alt-lighter; margin-top: @navbar-padding-vertical * 2; .logos { //display: inline-block; padding: @padding-base-vertical*4 @padding-base-horizontal; } } #nav-main { background-color: @cwc-blue; border-radius: 0; border: 0; //margin-bottom: 0; .navbar-toggle { color: @body-bg; } } #nav { > li { &.open { > a { background-color: lighten(@cwc-blue, 10%); color: #fff; } } > a { color: #e6e6e8; &:hover { background-color: darken(@cwc-blue, 10%); color: #fff; } } } } #homeCarousel { .carousel-control.left, .carousel-control.right { background-image: none !important; } .carousel-inner { position: relative; padding-bottom: 30.208333333333332%; /* @media (min-width: @screen-sm-min) { padding-bottom: 56%; } @media (min-width: @screen-md-min) { padding-bottom: 42%; } @media (min-width: @screen-lg-min) { padding-bottom: 38%; // 2.39:1 | 4096x1728, 2048x858, 1920x803, 1280x536 } */ .item { position: absolute; width: 100%; height: 100%; img { left: 0; top: 0; width: 100%; height: auto; } } } .carousel-indicators { bottom: 10px; //left: 0; //width: auto; //padding: 5px 25px 5px 25px; //margin-left: 0; } .carousel-indicators li { border-radius: 0; width: 8px; height: 8px; background: #fff; } .carousel-indicators .active { width: 10px; height: 10px; background: #39b3d7; } .carousel-controls { color: #fff; padding: 0; //position: absolute; //left: 0; //top: 0; //right: 0; //bottom: 0; opacity: 0.85; width: 100%; } .carousel-control { i { position: absolute; font-size: 4em; top: 50%; margin-top: -.5em; } &.right { i { right: 5px; } } &.left { i { left: 5px; } } @media (max-width: @screen-sm-min) { i { font-size: 2em; } } } .carousel-caption { width: auto; right: auto; top: 0; bottom: auto; left: 0; padding: 20px; background: rgba(0, 0, 0, 0.68); text-align: left; height: auto; max-width: 88%; @media (min-width: @screen-sm-min) { top: auto; bottom: 40px; //max-width: 50%; right: auto; } h2 { margin-top: 0; } @media (max-width: @screen-sm-min) { left: 0; right: 0; margin: auto; h2 { font-size: 18px; } .lead { font-size: 16px; } } } } #hero { .carousel-inner { position: relative; padding-bottom: 43%; @media (min-width: @screen-sm-min) { padding-bottom: 56%; } @media (min-width: @screen-md-min) { padding-bottom: 42%; } @media (min-width: @screen-lg-min) { padding-bottom: 38%; // 2.39:1 | 4096x1728, 2048x858, 1920x803, 1280x536 } .item { position: absolute; width: 100%; height: 100%; img { left: 0; bottom: 0; width: 100%; height: auto; } } } + .container { padding-top: @navbar-padding-vertical; } } .card-deck { > .card { // padding-bottom: 64px; } address { margin-bottom: 0; } } #news-wrapper { .card-block { //position: absolute; //width: 100%; //height: 100%; /* styles for '...' */ h4 { /* hide text if it more than N lines */ overflow: hidden; /* for set '...' in absolute position */ position: relative; /* use this value to count block height */ line-height: 1.2em; /* max-height = line-height (1.2) * lines max number (3) */ max-height: 2.4em; /* fix problem when last visible word doesn't adjoin right side */ text-align: justify; /* place for '...' */ margin-right: -1em; padding-right: 1em; } /* create the ... */ h4:before { /* points in the end */ content: '...'; /* absolute position */ position: absolute; /* set position to right bottom corner of block */ right: 0; bottom: 0; } /* hide ... if we have text, which is less than or equal to max lines */ h4:after { /* points in the end */ content: ''; /* absolute position */ position: absolute; /* set position to right bottom corner of text */ right: 0; /* set width and height */ width: 1em; height: 1em; margin-top: 0.2em; /* bg color = bg color under block */ background: white; } } } #news { .carousel-indicators { //bottom:-40px; //left:0; //width:100%; background: #ccc; //padding: 6px 0px; margin-left: 0; border-top: 2px solid #fff; } .carousel-indicators li { width: 12px; height: 12px; background: #fff; border-color: #fff; } .carousel-indicators .active { width: 14px; height: 14px; background: #428bca; border-color: #428bca; } .carousel-inner .thumbnail { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .carousel-inner .caption { background: #ddd; padding: 10px; } } #features { .card-img { max-height: 300px; overflow: hidden; } } .breadcrumb { font-size: 12px; //border-top: solid 1px @cwc-purple-lighter; border-bottom: dotted 1px @cwc-purple-alt-lighter; border-radius: 0; li { &:before { font-family: FontAwesome; } span { &.active { color: @cwc-purple; font-weight: bold; } } } } .dates { list-style: none; padding-left: 0; font-size: .75em; .year { margin-bottom: 1em; > ul { list-style: none; padding-left: .5em; } } } .tagcloud { font-size: .75em; a { &:hover { font-weight: bold; text-decoration: none; } } } // About Page Icons .sr-container { display: block; } .sr-wrapper { background-color: @cwc-blue; position: relative; margin-bottom: 30px; img { filter: grayscale(100%) contrast(1); mix-blend-mode: multiply; transition: all linear .5s; } .sr-icon { transition: all linear .5s; } &:hover { img { filter: unset; mix-blend-mode: normal; } .sr-icon { mix-blend-mode: overlay; opacity: 0; cursor: pointer; z-index: -1; } } } .sr-icon { position: absolute; margin: 0; top: 50%; left: 50%; //bottom: 0; //right: 0; text-align: center; text-transform: uppercase; transform: translate(-50%, -50%); font-weight: bold; height: 72px; z-index: 1; span { color: @body-bg; } object { max-height: 54px; } } .tab-pane { .table { th { border-top: none; } } } .timeline { list-style: none; padding: 10px 0; position: relative; font-weight: 300; overflow: hidden; &:before { top: 0; bottom: 0; position: absolute; content: " "; width: 2px; background: @cwc-purple-lighter; left: 50%; margin-left: -1.5px; } > li { margin-bottom: 30px; min-height: 360px; position: relative; width: 50%; float: left; clear: left; &:before, &:after { content: " "; display: table; } &:after { clear: both; } > .timeline-panel { > .timeline-title { background-color: @cwc-purple-lighter; display: inline-block; color: #fff; float: right; font-weight: bold; margin-top: 8px !important; padding: 0 20px ; } width: calc(100% - 6px); width: -moz-calc(100% - 6px); width: -webkit-calc(100% - 6px); float: left; border: 1px solid @cwc-purple-lighter; background: #ffffff; position: relative; padding-top: 20px; padding-bottom: 20px; border-radius: @border-radius-base; &:before { position: absolute; top: 26px; right: -15px; display: inline-block; border-top: 15px solid transparent; border-left: 15px solid @body-bg; border-right: 0 solid @body-bg; border-bottom: 15px solid transparent; content: " "; } &:after { position: absolute; top: 27px; right: -14px; display: inline-block; border-top: 14px solid transparent; border-left: 14px solid @cwc-purple-lighter; border-right: 0 solid @cwc-purple-lighter; border-bottom: 14px solid transparent; content: " "; } } > .timeline-badge { color: @cwc-purple-lighter; width: 24px; height: 24px; line-height: 50px; text-align: center; position: absolute; top: 17px; right: -12px; z-index: 100; a { color: @cwc-purple-lighter !important; &:hover { color: @cwc-purple !important; } } } &:nth-child(even){ float: right; clear: right; margin-top: 20px; > .timeline-badge { left: -12px; } > .timeline-panel { float: right; > .timeline-title { float: left; } &:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; } &:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; } } } /* &:nth-child(2) { margin-top: 100px; } */ } } .timeline-badge { > a { color: #ffffff !important; &:hover { color: #dcdcdc !important; } } } .no-float { float: none !important; } // Search Results .paging1 { margin-bottom: @padding-large-vertical; } .ajaxSearch_resultLink { font-size: 1.125em; font-weight: bold; } .ajaxSearch_result { padding-top: @padding-large-vertical; padding-bottom: @padding-large-vertical; } .ajaxSearch_resultDescription { display: none; } #register { overflow: hidden; .text { float: right; } } @media (max-width: @screen-sm-min) { ul.timeline { &:before { left: 12px; } li { margin-top: 5em; margin-bottom: 0px; min-height: auto; position: relative; width:100%; float: left; clear: left; > .timeline-panel { > .timeline-title { float: left; } width: calc(100% - 8px); width: -moz-calc(100% - 8px); width: -webkit-calc(100% - 8px); float: right; &:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; } &:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; } } > .timeline-badge { left: 0; margin-left: 0; top: 17px; } &:nth-child(even){ > .timeline-badge { left: 0; } } } } } @media (min-width: @screen-sm-min) { html { position: relative; min-height: 100%; } /* body { margin-bottom: 75px; } #footer { &.bottom { position: absolute; border-top: none; bottom: 0; width: 100%; -webkit-transform: translateZ(1px); -moz-transform: translateZ(1px); -o-transform: translateZ(1px); transform: translateZ(1px); z-index: 1; -webkit-transform: translate3d(0, 0, 0); height: 75px; } } */ } .tab-content { .table-responsive { > .table { tr { th { border-top-color: transparent; } } } } }