/*-----Global Styles-----*/ @primary: #12643c; @secondary: #ff9800; @white: #fff; @muted: #f8f8f8; @darkGrey: #333; .black_overlay { &-xlight { background: rgba(0, 0, 0, .3); } &-light { background: rgba(0, 0, 0, .5); } &-medium { background: rgba(0, 0, 0, .7); } &-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); } } /*-----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; .uk-navbar-left { width: 100%; } .uk-navbar-nav { width: 100%; } .uk-navbar-nav>li { flex: auto; } .uk-navbar-container { background: @muted; } } .tm-headerbar-top { padding-top: 5px; padding-bottom: 12px; .custom-html-widget { a { color: @darkGrey; } } } .tm-header-mobile { z-index: 9999; } #tm-mobile { margin-top: 40px; } .uk-navbar { .uk-navbar-nav { .uk-nav-sub { a { padding: 8px 12px; &:hover { background: @primary; color: @white; } } } .uk-navbar-dropdown .uk-active { background: @primary; } } } /*-----Global Section Styles-----*/ .h1-target { font-weight: bold; span { display: block; font-size: 2rem; &:nth-child(2) { font-size: 1.2rem; 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; } } .service-list { a { border-bottom: @secondary 1px solid; &:hover { text-decoration: none; color: @secondary !important; } } } .children-slider { a { &:hover { .el-title { background: @white; color: @primary; border: 1px solid @primary; } } } .el-item { position: relative; canvas { min-height: 200px; } .el-title { position: absolute; padding: 10px; bottom: 0; left: 0; right: 0; transition: all ease .3s; border: 1px solid transparent; background: @primary; margin-bottom: 0; color: @white; } } } #secondaryNav { .uk-nav li>a { padding: 8px; color: #333; &: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; } } .core-services { a { &:hover { .icon-wrapper { background: @secondary; svg { color: @white; } } } } .icon-wrapper { background: @primary; border-radius: 100%; padding: 20px; height: 80px; width: 80px; transition: all ease .3s; svg { color: @white; } } } .h2-target { position: relative; &::after { content: ''; position: absolute; bottom: -12px; height: 2px; width: 40%; background: @primary; left: 0; } } /*-----Service Area Page Styles-----*/ #serviceMap { .leaflet-top { z-index: 400 !important; } } /*-----Blog Page Styles-----*/ .blog { .tm-main { .uk-grid-row-large { max-width: 1200px; margin: auto; padding: 30px; margin-top: 30px; .uk-button { background: @white; } } } .type-post { text-align: center; background: #e2e2e2; padding: 20px; border-radius: 10px; box-shadow: 0 3px 6px rgba(0, 0, 0, .1), 0 6px 12px rgba(0, 0, 0, .1); h2 { font-size: 1.2rem; font-weight: bold; } img { max-height: 200px; } } } .post-template-default { .tm-main { article { max-width: 1200px; margin: auto; padding: 30px; margin-top: 30px; } } } /*-----Home Page Styles-----*/ /*-----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-bottom: 4px solid @primary; } } .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: #333; } } } } } /*-----Contact Page Styles-----*/ /*-----About Page Styles-----*/ /*-----Footer Styles-----*/ @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% !important; } .h2-target { position: relative; &::after { transform: translateX(-50%); left: 50%; } } } @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: 77%; } .uk-position-center-right { left: 80% !important; } } // 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); } } // Updates CSS .core-services-locations ul .uk-card h3 { width: 100%; padding: 10px 15px; transition: .4s; } .core-services-locations ul .uk-card:hover h3 { background: @primary; }