TimberTrust/business_information/static/assets/scss/components/_theme.scss

741 lines
11 KiB
SCSS

@use "../utilities" as *;
/*-----------------------------------------------------------------------------------
Template Name: Logistec - Transportation & Logistics HTML5 Template
Author: RRDevs
Support: rubelmah55@gmail.com
Description: Logistec - Transportation & Logistics HTML5 Template
Version: 1.0
-----------------------------------------------------------------------------------
/************ TABLE OF CONTENTS ***************
01. Theme Default CSS
02. background CSS
03. buttons css
**********************************************/
/**----------------------------------------
START: Theme Default CSS
----------------------------------------*/
@import url($font-url);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/**
Typography CSS
*/
body {
font-family: var(--lt-ff-body);
@include font-size();
@include line-height(26);
font-weight: normal;
color: var(--lt-color-text-body);
}
img {
max-width: 100%;
}
a {
text-decoration: none;
}
a,
a:hover {
@include transition(all 0.3s ease-in-out);
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--lt-ff-heading);
color: var(--lt-color-heading-primary);
margin-top: 0px;
font-weight: var(--lt-fw-sbold);
line-height: 1.2;
@include transition(all 0.3s ease-in-out 0s);
}
h1 {
font-size: var(--lt-fs-h1);
}
h2 {
font-size: var(--lt-fs-h2);
}
h3 {
font-size: var(--lt-fs-h3);
}
h4 {
font-size: var(--lt-fs-h4);
}
h5 {
font-size: var(--lt-fs-h5);
}
h6 {
font-size: var(--lt-fs-h6);
}
ul {
margin: 0px;
padding: 0px;
}
p {
font-family: var(--lt-ff-p);
font-size: 16px;
font-weight: var(--lt-fw-normal);
color: var(--lt-color-text-body);
margin-bottom: 15px;
line-height: 25px;
}
a:focus,
.button:focus {
text-decoration: none;
outline: none;
}
a:focus,
a:hover {
color: inherit;
text-decoration: none;
}
.slick-list.draggable {
cursor: grab;
}
a,
button {
color: inherit;
outline: none;
border: none;
background: transparent;
}
button:hover {
cursor: pointer;
}
button:focus {
outline: 0;
border: 0;
}
.uppercase {
text-transform: uppercase;
}
.capitalize {
text-transform: capitalize;
}
input {
outline: none;
}
input[type="color"] {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
background: none;
border: 0;
cursor: pointer;
height: 100%;
width: 100%;
padding: 0;
border-radius: 50%;
}
ul {
display: block;
padding: 0;
margin: 0;
}
*::-moz-selection {
background: var(--lt-color-common-black);
color: var(--lt-color-common-white);
text-shadow: none;
}
::-moz-selection {
background: var(--lt-color-common-black);
color: var(--lt-color-common-white);
text-shadow: none;
}
::selection {
background: var(--lt-color-common-black);
color: var(--lt-color-common-white);
text-shadow: none;
}
*::-moz-placeholder {
color: var(--lt-color-common-black);
font-size: var(--lt-fs-body);
opacity: 1;
}
*::placeholder {
color: var(--lt-color-common-black);
font-size: var(--lt-fs-body);
opacity: 1;
}
/**
Common Classes CSS
*/
.w-img {
& img {
width: 100%;
}
}
.m-img {
& img {
max-width: 100%;
}
}
.fix {
overflow: hidden;
}
.clear {
clear: both;
}
.f-left {
float: left;
}
.f-right {
float: right;
}
.z-index-1 {
z-index: 1;
}
.z-index-11 {
z-index: 11;
}
.overflow-y-visible {
overflow-x: hidden;
overflow-y: visible;
}
.p-relative {
position: relative;
}
.p-absolute {
position: absolute;
}
.include-bg {
@include background();
}
.b-radius {
border-radius: 6px;
}
// Margin Class
.lt-10 {
margin-top: 10px;
}
.lt-15 {
margin-top: 15px;
}
.lt-20 {
margin-top: 20px;
}
.lt-25 {
margin-top: 25px;
}
.lt-30 {
margin-top: 30px;
}
.lt-35 {
margin-top: 35px;
}
.lt-40 {
margin-top: 40px;
}
.lt-45 {
margin-top: 45px;
}
.lt-50 {
margin-top: 50px;
}
.mb-10 {
margin-bottom: 10px;
}
.mb-15 {
margin-bottom: 15px;
}
.mb-20 {
margin-bottom: 20px;
}
.mb-25 {
margin-bottom: 25px;
}
.mb-30 {
margin-bottom: 30px;
}
.mb-35 {
margin-bottom: 35px;
}
.mb-40 {
margin-bottom: 40px;
}
.mb-45 {
margin-bottom: 45px;
}
.mb-50 {
margin-bottom: 50px;
}
.mb-60 {
margin-bottom: 60px;
}
// Padding Class
.pt-180 {
padding-top: 180px;
}
.pt-120 {
padding-top: 120px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pt-115 {
padding-top: 115px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pt-100 {
padding-top: 100px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pt-90 {
padding-top: 90px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pt-80 {
padding-top: 80px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pt-70 {
padding-top: 70px;
@include breakpoint(md) {
padding-top: 70px;
}
@include breakpoint(sm) {
padding-top: 50px;
}
}
.pb-180 {
padding-bottom: 180px;
}
.pb-120 {
padding-bottom: 120px;
@include breakpoint(md) {
padding-bottom: 70px;
}
@include breakpoint(sm) {
padding-bottom: 50px;
}
}
.pb-100 {
padding-bottom: 100px;
@include breakpoint(md) {
padding-bottom: 70px;
}
@include breakpoint(sm) {
padding-bottom: 50px;
}
}
.pb-90 {
padding-bottom: 90px;
@include breakpoint(md) {
padding-bottom: 70px;
}
@include breakpoint(sm) {
padding-bottom: 50px;
}
}
.pb-80 {
padding-bottom: 80px;
@include breakpoint(md) {
padding-bottom: 70px;
}
@include breakpoint(sm) {
padding-bottom: 50px;
}
}
.pb-70 {
padding-bottom: 70px;
@include breakpoint(md) {
padding-bottom: 70px;
}
@include breakpoint(sm) {
padding-bottom: 50px;
}
}
.md-pb-30{
@include breakpoint(md){
padding-bottom: 30px;
}
}
.md-pb-40{
@include breakpoint(md){
padding-bottom: 40px;
}
}
.md-pb-50{
@include breakpoint(md){
padding-bottom: 50px;
}
}
// Overlay
.overlay{
background-color: rgba(0, 0, 0, 0.8);
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
// bg color
.bg-grey {
background-color: var(--lt-color-grey-1);
}
.bg-dark-1{
background-color: #171719;
}
// Container Class
.container {
max-width: 1170px;
}
// border-bottom
.bd-bottom {
border-bottom: 1px solid var(--lt-color-border-1);
}
// Top-Bottom Shape
.top-shape {
background-repeat: no-repeat;
background-size: contain;
background-position: top left;
width: 468px;
height: 478px;
position: absolute;
top: -200px;
left: -200px;
z-index: -1;
@include breakpoint(xl) {
top: -250px;
left: -250px;
}
@include breakpoint(md) {
display: none;
}
}
.bottom-shape {
background-repeat: no-repeat;
background-size: contain;
background-position: bottom right;
width: 468px;
height: 478px;
position: absolute;
bottom: -200px;
right: -200px;
z-index: -1;
@include breakpoint(xl) {
bottom: -250px;
right: -250px;
}
@include breakpoint(md) {
display: none;
}
}
.bg-color-top{
background-color: #171719;
width: 100%;
height: 400px;
position: absolute;
left: 0;
top: 0;
z-index: -2;
}
.bg-color-bottom{
background-color: #171719;
width: 100%;
height: 400px;
position: absolute;
left: 0;
bottom: 0;
z-index: -2;
}
// Overflow
.overflow-h{
overflow: hidden;
}
// Section Heading
.section-heading {
margin-bottom: 40px;
@include breakpoint(md) {
margin-bottom: 30px;
}
.sub-heading {
color: var(--lt-color-theme-primary);
font-size: 18px;
font-weight: 600;
display: inline-block;
margin-bottom: 10px;
text-transform: capitalize;
@include breakpoint(sm) {
font-size: 16px;
}
}
.section-title {
font-size: 48px;
line-height: 1.3;
font-weight: 700;
display: block;
margin-bottom: 0;
text-transform: capitalize;
position: relative;
width: 100%;
max-width: 800px;
margin: 0 auto;
@include breakpoint(md){
max-width: 500px;
}
@include breakpoint(md) {
font-size: 32px;
}
@include breakpoint(sm) {
font-size: 32px;
}
}
&.heading-2{
.section-title{
margin: 0;
margin-bottom: 10px;
}
p{
margin-bottom: 0;
}
}
&.white-content{
p,
.section-title,
.sub-heading{
color: var(--lt-color-common-white);
}
}
}
.read-more{
display: inline-block;
}
// Pagination
.pagination-wrap{
text-align: center;
margin-top: 60px;
@include breakpoint(md){
margin-top: 30px;
}
.pagination-list{
@include flex-center;
list-style: none;
column-gap: 10px;
li{
a{
background-color: rgba(254, 86, 36, 0.1);
height: 36px;
width: 36px;
@include flex-center;
font-size: 18px;
color: var(--lt-color-theme-primary);
&:hover{
background-color: var(--lt-color-theme-primary);
color: var(--lt-color-common-white);
}
}
&.active{
a{
background-color: var(--lt-color-theme-primary);
color: var(--lt-color-common-white);
}
}
}
}
}
@media(min-width: 992px){
.sticky-widget {
position: -webkit-sticky;
position: sticky;
top: 120px;
}
}
@media screen and (max-width: 800px) {
.wow{
animation-name: none !important;
visibility: visible !important;
}
}
/*Scrool Up*/
#scrollup {
width: 45px;
height: 45px;
position: fixed;
bottom: 30px;
right: 30px;
overflow: hidden;
z-index: 999;
}
.scroll-to-top {
width: 100%;
height: 100%;
text-align: center;
background-color: var(--lt-color-theme-primary);
font-size: 20px;
padding: 0;
line-height: 40px;
color: var(--lt-color-common-white);
border-radius: 5px;
outline: none;
text-decoration: none;
transform: translateY(150%);
transition: all 0.3s ease-in-out;
}
#scrollup.show {
opacity: 1;
}
#scrollup.show .scroll-to-top {
transform: translateY(0);
transition: all 0.3s ease-in-out;
}
.scroll-to-top:hover {
text-decoration: none;
opacity: 0.8;
transition: all 0.3s ease-in-out;
}
/* Site Preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100vw !important;
height: 100vh !important;
background-color: #fff;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.preloader img {
width: 300px;
}