theme-blog-ewen/assets/scss/_common.scss
2022-03-31 06:22:55 +02:00

227 lines
2.8 KiB
SCSS

body {
background-color: $body-color;
overflow-x: hidden;
}
::selection {
background: lighten($color: $primary-color, $amount: 10);
color: $white;
}
/* preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #fff;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
img {
vertical-align: middle;
border: 0;
max-width: 100%;
height: auto;
}
a,
a:hover,
a:focus {
text-decoration: none;
color: $primary-color;
}
a.text-primary:hover{
color: $primary-color !important;
}
a,
button,
select {
cursor: pointer;
transition: .2s ease;
&:focus {
outline: 0;
}
}
a:hover {
color: $primary-color;
}
.slick-slide {
outline: 0;
}
.section {
padding-top: 150px;
padding-bottom: 150px;
&-sm {
padding-top: 40px;
padding-bottom: 40px;
}
&-title {
margin-bottom: 30px;
}
}
.bg-cover {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.border-primary {
border-color: $border-color !important;
}
/* overlay */
.overlay {
position: relative;
&::before {
position: absolute;
content: '';
height: 100%;
width: 100%;
top: 0;
left: 0;
background: $black;
opacity: .5;
}
}
.outline-0 {
outline: 0 !important;
}
.d-unset {
display: unset !important;
}
.bg-primary {
background: $primary-color !important;
}
.text-primary {
color: $primary-color !important;
}
.text-dark {
color: $text-color-dark !important;
}
a.text-dark:focus,
a.text-dark:hover {
color: $primary-color !important;
}
.text-light {
color: $text-color-light !important;
}
.text-color {
color: $text-color;
}
.mb-10 {
margin-bottom: 10px !important;
}
.mb-20 {
margin-bottom: 20px !important;
}
.mb-30 {
margin-bottom: 30px !important;
}
.mb-40 {
margin-bottom: 40px !important;
}
.mb-50 {
margin-bottom: 50px !important;
}
.mb-60 {
margin-bottom: 60px !important;
}
.mb-70 {
margin-bottom: 70px !important;
}
.mb-80 {
margin-bottom: 80px !important;
}
.mb-90 {
margin-bottom: 90px !important;
}
.mb-100 {
margin-bottom: 100px !important;
}
.zindex-1 {
z-index: 1;
}
.overflow-hidden {
overflow: hidden;
}
.border-primary {
border-color: $primary-color !important;
}
.font-weight-medium{
font-weight: 500 !important;
}
/* form control */
.form-control{
height: 50px;
border-radius: 0;
&:focus{
box-shadow: none;
outline: 0;
border-color: $primary-color;
}
&::placeholder {
font-size: 13px;
}
}
textarea.form-control{
height: 150px;
}
a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover{
background: $primary-color !important;
}
/* Various */
.grayscale-60 {
filter: grayscale(60%);
}