/*-----Global Styles-----*/ @primary: #094889; @secondary: #e42121; @white: #fff; @muted: #e4f7ff; @darkGrey: #333; .black_overlay { &-xlight { background: rgba(0, 0, 0, .3); } &-light { background: rgba(0, 0, 0, .5); } &-medium { background: rgba(0, 0, 0, .65); } &-dark { background: rgba(0, 0, 0, .8); } } .white_overlay { &-xlight { background: rgba(255, 255, 255, .3); } &-light { background: rgba(255, 255, 255, .5); } &-medium { background: rgba(255, 255, 255, .65); } &-dark { background: rgba(255, 255, 255, .8); } } .uk-button:not(.uk-button-text) { box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12); } .border-bottom-primary { border-bottom: 6px solid @primary; } .border-bottom-secondary { border-bottom: 6px solid @secondary; } .border-left-secondary { border-left: 4px solid @secondary; } .background-muted { background: @muted; } .background-primary { background: @primary; } .background-darkGrey { background: @darkGrey; } .background-white { background: @white; } /*-----Nav Styles-----*/ .tm-toolbar { z-index: 9999; background: @secondary; .uk-container { .el-item { display: flex; align-items: center; } } } .tm-top { z-index: 9997; position: relative; } .tm-header { z-index: 9999; box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .15); .tm-headerbar-top { background: @white; padding-bottom: 4px; padding-top: 4px; .uk-container { max-width: 1700px; } } .uk-navbar-container { .uk-container { max-width: 1290px; } } } .tm-header-mobile { z-index: 9999; .uk-logo { background: @white; } } .uk-navbar { li { a { &:hover { background: @secondary; } } &.uk-active>a { background: @secondary; } } .uk-navbar-dropdown-nav { border-top: 3px solid @secondary; background: #333; li { a { &:hover { background: none; } } &.uk-active>a { background: none; } &.uk-parent>a { &:after { color: @secondary !important; } } a { border-bottom: 1px solid #666; } } } .uk-navbar-left { width: 100%; } .uk-navbar-nav { width: 100%; li { flex: auto; position: relative; } .uk-nav-sub { background: @darkGrey; a { padding: 8px 12px; } } } } .main-header { .z-index-target { z-index: 1; position: relative; } .uk-card-primary:after { content: ''; position: absolute; display: block; width: 100%; height: 100%; z-index: 0; top: 0; right: 0; opacity: .7; background: url(https://www.aeroscopic.com/wp-content/uploads/2018/11/bg-slanted.svg); background-size: 939px; background-position: 82% center; background-repeat: no-repeat; } } /*-----Global Section Styles-----*/ .h1-target { font-weight: bold; span { display: block; font-size: 2.3rem; &:nth-child(2) { font-size: 1.3rem; padding-top: 10px; } } } .slider-arrows() { background: @secondary; color: @white; padding: 8px; border-radius: 100%; height: 40px; width: 40px; } .uk-position-center-left { svg { .slider-arrows(); } &-out { svg { .slider-arrows(); } } } .uk-position-center-right { svg { .slider-arrows(); } &-out { svg { .slider-arrows(); } } } #serviceMap { .leaflet-top { z-index: 400 !important; } } .cta-floating-bar { margin-top: -45px; a { border: 2px solid @white; &:hover { text-decoration: none; border: 2px solid transparent; } } } .core-services { .width-target { max-width: 70px; } a { &:hover { text-decoration: none; .overlay-target { background: @white; } } } } #secondaryNav { .uk-nav li>a { padding: 8px; color: @darkGrey; &:hover { background: @secondary; color: @white; } } } .span-flex { &-center { display: flex; align-items: center; justify-content: center; } &-left { display: flex; align-items: center; justify-content: left; } &-right { display: flex; align-items: center; justify-content: right; } } .uk-lightbox .uk-lightbox-button { min-width: 60px; } .custom-image-section { .column-target { position: relative; z-index: 0; padding-right: 30px; &:after { position: absolute; content: ""; left: 10px; bottom: -25px; right: 60px; top: 25px; background: #4E7BAA; border-radius: 5px; z-index: -1; } &:before { position: absolute; content: ""; border: 2px solid @primary; border-bottom: none; border-left: none; border-radius: 5px; right: 0px; top: -25px; bottom: 25px; left: 60px; } } } .image-section { img { border: 6px solid @white; } } /*-----Service Area Page Styles-----*/ #serviceMap { .leaflet-top { z-index: 400 !important; } } .service-list { a { position: relative; &::after { content: ''; position: absolute; width: 100%; height: 1px; background: @secondary; bottom: 0; left: 0; } &:hover { text-decoration: none; color: @secondary; &::after { background: @secondary; } } } } .highlights { a { color: @darkGrey; transition: all ease .3s; &:hover { opacity: .7; text-decoration: none; } } } .top-level-services { a { transition: all ease .3s; &:hover { text-decoration: none; background: @muted; } } .width-target { width: 70px; } } /*-----Home Page Styles-----*/ .home-header { .overlay-target { background: linear-gradient(rgba(9, 72, 137, .5), rgba(9, 72, 137, .8)); border-bottom: 4px solid #e4f7ff; } .button-target { &:hover { background: @secondary; text-decoration: none; } } } /*-----Main Page Styles-----*/ .children-grid { a { &:hover { .el-title { background: @primary; color: @white; } } } .uk-card { position: relative; border-radius: 3px; canvas { min-height: 200px; } .el-title { transition: all ease .3s; position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, .5); color: @white; margin: 0; padding: 15px; font-size: 1.2rem; } } } /*-----Sub Page Styles-----*/ .nr-content { .card-border-target { .uk-card-default { border-radius: .375rem; border-top: 4px solid @secondary; } } .widget-menu { background: @white; .parent-page { h3 { background: @primary; color: @white; margin: 0; padding: 8px 20px; transition: all ease .3s; } &:hover { h3 { background: @secondary !important; } text-decoration: none !important; } } .uk-list { margin-top: 0; border: 1px solid @primary; li { padding: 6px 0 6px 10px; margin-bottom: 10px !important; border-bottom: 1px solid #bbb; a { color: @darkGrey; } } } } } /*-----Contact Page Styles-----*/ /*-----About Page Styles-----*/ /*-----Footer Styles-----*/ #footer { a { &:hover { color: @secondary; } } } @media (max-width: 1200px) { .uk-position-center-left-out { right: 93%; } .uk-position-center-right-out { left: 93%; } #secondaryNav .uk-navbar-nav>li>a { font-size: .8rem; padding: 0 10px; } } @media (max-width: 960px) { .uk-position-center-right { left: 85%; } .cta-floating-bar { margin-top: 40px; } } @media (max-width: 640px) { .h1-target { font-weight: bold; span { display: block; font-size: 1.8rem; &:nth-child(2) { font-size: 1rem; padding-top: 10px; } } } .tm-top { a { padding: 0 10px; } } .uk-button-secondary { padding: 0 5px; } .core-services { padding-bottom: 10px; } .uk-position-center-left { left: -40px; } .uk-position-center-right { right: -40px; } .uk-position-center-left { right: 87%; } .uk-position-center-right { left: 87%; } } @media (max-width: 425px) { .uk-position-center-left { left: -40px; } .uk-position-center-right { right: -40px; } .uk-position-center-left { right: 84%; } .uk-position-center-right { left: 84%; } .uk-lightbox { .uk-position-center-right { left: 79%; } } } @media (max-width: 320px) { .uk-lightbox { .uk-position-center-right { left: 73%; } } } // Ripple effect .uk-button, .uk-nav>li>a, .uk-navbar-nav>li>a, .uk-tab>li>a, a.uk-icon-button { position: relative; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; overflow: hidden; } .tm-ripple { position: absolute; background: currentColor; opacity: 0.3; border-radius: 50%; -webkit-transform: scale(0); transform: scale(0); } // Ripple animation .tm-animate-ripple { -webkit-animation: ripple-animation 0.5s linear; animation: ripple-animation 0.5s linear; } @-webkit-keyframes ripple-animation { 100% { opacity: 0; -webkit-transform: scale(2); } } @keyframes ripple-animation { 100% { opacity: 0; transform: scale(2); } }