Files
orisoxin/assets/scss/_globalStyles.scss
2024-10-10 21:57:37 +03:30

1186 lines
21 KiB
SCSS

body {
//overflow-x: hidden;
&:lang(fa) {
// font-family: "sahelR";
direction: rtl;
text-align: right;
}
}
h1,
h2 {
font-family: 'geometriaExtraBold', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
font-weight: bold;
}
text-transform: capitalize;
line-height: 1.6em;
}
h3,
h4,
h5,
h6 {
font-family: 'geometriaBold', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
text-transform: capitalize;
line-height: 1.6em;
}
ul {
li {
&:lang(fa) {
font-family: 'dubaiL', sans-serif;
}
line-height: 1.3em;
font-family: 'geometria', sans-serif;
}
}
.notFound {
color: #333333;
text-align: center;
}
.notFound1 {
color: $themeReverse;
text-align: center;
}
.el-table {
.cell {
word-break: unset !important;
font-family: 'geometria', sans-serif !important;
&:lang(fa) {
font-family: 'dubaiL', sans-serif !important;
}
}
}
pre {
width: 100%;
padding: 25px;
background: #000;
color: greenyellow;
direction: ltr;
text-align: left;
}
input,
textarea {
font-family: 'geometria', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
.parallax {
height: 100%;
position: static;
}
.page {
min-height: calc(100vh - 100px);
}
.section {
padding: 50px 0;
}
///////// font sizes
.bigTitle {
font-size: $bigTitle !important;
}
.h1 {
font-size: $h1 !important;
}
.h2 {
font-size: $h2 !important;
}
.h3 {
font-size: $h3 !important;
}
.h4 {
font-size: $h4 !important;
}
.h5 {
font-size: $h5 !important;
}
.h6 {
font-size: $h6 !important;
}
.span {
font-size: $span !important;
}
//.col-1,
//.col-2,
//.col-3,
//.col-4,
//.col-5,
//.col-6,
//.col-12 {
// padding-left: 0 !important;
// padding-right: 0 !important;
//}
.paddingZero {
padding-left: 0 !important;
padding-right: 0 !important;
}
p,
span {
font-family: 'geometria', sans-serif;
line-height: 1.6em;
//text-transform: capitalize;
color: #4d4d4d;
font-size: 14px;
// text-align: justify;
&:lang(fa) {
font-family: 'dubaiL', sans-serif;
font-size: 16px;
@media (min-width: 768px) {
text-align: justify;
}
}
}
//span {
// font-size: smaller;
//}
a {
font-family: 'geometria', sans-serif;
color: $themeTxtColorWhite;
text-decoration: none;
font-size: 14px;
&:lang(fa) {
font-family: 'dubaiL', sans-serif;
font-size: 16px;
}
}
b {
font-family: 'geometria', sans-serif;
&:lang(fa) {
font-family: 'dubaiL', sans-serif;
}
}
* {
outline: none;
&:lang(fa) {
direction: rtl;
}
}
.header {
position: fixed;
right: 0;
left: 0;
z-index: 5;
top: 9px;
@media (max-width: 992px) {
top: 50px;
}
//@media(max-width: 800px) {
// top: 70px;
//}
//@media (min-width: 992px) and (max-width: 1100px) {
// top: 15px;
//}
}
//._header{
// position: fixed;
// right: 0;
// left: 0;
// z-index: 5;
// top: 44px;
// @media (max-width: 800px) {
// top: 70px;
// }
//}
//.__header {
// position: fixed;
// right: 0;
// left: 0;
// z-index: 5;
// top: 9px;
// //@media (min-width: 992px) and (max-width: 1100px) {
// // top: -20px;
// //}
//}
.pagination {
background-color: #fbfbfb !important;
align-items: center;
justify-content: center;
display: flex;
.el-pagination {
background-color: rgba(#000000, 0.4);
direction: ltr !important;
@include boxShadow(0 4px 8px rgba(#000, 0.2));
.el-pager {
background-color: transparent !important;
direction: ltr !important;
li {
background-color: transparent !important;
color: $themeReverse !important;
}
.number:hover {
color: $red !important;
}
.active {
color: $red !important;
}
}
.btn-prev,
.btn-next {
background-color: transparent;
.el-icon {
color: $themeReverse !important;
}
&:hover {
color: $red !important;
}
}
}
}
.site--header {
padding: 5px 30px;
position: relative;
top: -9px;
@media (min-width: 992px) {
background: rgba(#fff, 0.9);
}
//@media (min-width: 992px) and (max-width: 1100px) {
// padding: 20px 20px;
//}
//&:before {
// content: '';
// display: block;
// width: 100%;
// height: 140%;
// position: absolute;
// top: -9px;
// left: 0;
// z-index: -1;
// //background: linear-gradient(to bottom, rgba(#000, 0.7), rgba(#000, 0) 90%);
// background: rgba(#fff, 0.8);
// //background: rgba(#000, 0.9);
// opacity: 0;
// @extend %defaultTransition;
//
// @media (max-width: 992px) {
// display: none;
// }
//}
&.hasBG {
&:before {
opacity: 1;
}
}
.main-nav {
.searchBtns {
i {
display: block;
width: 36px;
height: 26px;
padding: 5px 5px;
color: $theme;
}
}
.searchBox {
background: rgba($themeReverse, 0.9);
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
opacity: 0;
@extend %defaultTransition;
&.active-search {
top: 101%;
opacity: 1;
z-index: 1;
.searchInput {
padding: 10px 0;
input {
//border-top-color: rgba(#fff, 0.5);
font-size: 20px;
font-family: 'dubaiL', sans-serif;
padding: 5px;
&:lang(en) {
font-family: 'geometria', sans-serif;
}
}
}
}
.searchInput {
overflow: hidden;
position: relative;
padding: 0;
input {
width: 100%;
@extend %appearance;
//border: none;
background: transparent;
border: 1px solid $theme;
padding: 2px 8px;
color: #000;
@include borderRadius(5px);
@include boxSizing(border-box);
@extend %defaultTransition;
&::placeholder {
opacity: 0.8;
font-size: 16px;
color: $theme;
}
}
a,
button {
@extend %defaultTransition;
@extend %appearance;
background: transparent;
position: absolute;
top: 50%;
left: 3px;
padding: 3px 16px;
@include transform(translateY(-50%));
@include borderRadius(5px);
cursor: pointer;
border: 1px solid #000;
i {
font-size: 18px;
color: $theme;
@extend %defaultTransition;
}
&:hover {
background: $red;
border-color: $red;
i {
color: $themeReverse;
}
}
}
}
}
nav {
ul {
display: flex;
align-items: center;
li {
margin: 0 10px;
&.active-link {
a {
color: $red;
}
}
&:first-child {
margin-left: 0;
margin-right: 25px;
&:lang(fa) {
margin-left: 25px;
margin-right: 0;
}
}
a {
padding: 5px;
color: $theme;
@extend %defaultTransition;
font-size: 16px;
font-family: 'dubaiM', sans-serif;
&:lang(en) {
font-size: 14px;
font-family: 'geometria', sans-serif;
}
&:hover {
color: $red;
}
img {
width: 80px;
}
}
}
}
}
.btn-header {
display: inline-block;
background-color: transparent;
border: 0.5px solid $theme;
color: $theme;
border-radius: 3px;
padding: 5px 10px;
@extend %defaultTransition;
cursor: pointer;
font-size: 16px;
font-family: 'dubaiM', sans-serif;
&:lang(en) {
font-size: 14px;
font-family: 'geometria', sans-serif;
}
&.contact {
text-align: center;
//width: 100px;
@media (max-width: 1120px) {
font-size: 16px;
}
}
&.lang {
margin: 0 10px;
@media (max-width: 1120px) {
font-size: 16px;
}
}
&:hover {
background-color: $red;
color: $themeReverse;
border-color: $red;
}
}
.icon-menu-open {
// padding: 20px;
margin: 0 -30px;
//background-color: $themeTransparent;
border: none;
cursor: pointer;
background: linear-gradient(to bottom, rgba(#000, 0.7), rgba(#000, 0.2));
padding: 8px;
border-radius: 5px;
i {
color: $themeReverse;
}
}
}
a {
color: $themeTxtColorBlack;
}
}
.site--header--drawer {
display: block;
background-color: #f4f4f4;
height: 100vh;
position: fixed;
left: -100%;
top: 0;
width: 250px;
&:lang(fa) {
left: auto;
right: -100%;
}
@extend %defaultTransition;
&.isOpen {
left: 0;
&:lang(fa) {
left: auto;
right: 0;
}
}
.headerDrawer {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 30px;
background: linear-gradient(rgba(122, 122, 122, 0), rgba(126, 125, 125, 0)), url('/img/GalleryPage/page-title.png');
height: 100px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
padding: 10px;
img {
width: auto;
height: 40px;
}
.icon-menu-close {
background-color: $themeTransparent;
border: none;
i {
color: $themeReverse;
}
}
}
.drawer-body {
display: flex;
//justify-content: space-between;
flex-direction: column;
height: 80vh;
ul {
// display: flex;
// flex-direction: column;
padding: 0 10px;
li {
margin: 35px 0;
.active-link {
color: $red !important;
}
&:first-child {
margin: 0 !important;
}
.li-link {
color: #4d4d4d;
//border-bottom: 2px solid rgb(97, 97, 97);
}
i {
margin-right: 15px;
}
}
}
.btn-drawer {
margin: 0 5px;
.li-link-btn {
display: block;
color: #4d4d4d;
@extend %defaultTransition;
&.btn-contact-drawer {
background-color: $themeTransparent;
border: 0.5px solid #4d4d4d;
border-radius: 3px;
padding: 5px 10px;
font-size: 16px;
@include transition(background-color 0.3s, color 0.3s);
cursor: pointer;
text-align: center;
width: 100%;
&:lang(en) {
font-size: 14px;
}
&:hover {
background-color: #333;
color: $themeReverse;
}
}
}
.searchBox {
width: 100%;
margin-top: 10px;
//position: absolute;
.searchInput {
overflow: hidden;
//position: relative;
padding: 0;
input {
width: 100%;
@extend %appearance;
border: none;
background: #fff;
color: #000;
@include borderRadius(5px);
@include boxSizing(border-box);
@extend %defaultTransition;
border-top-color: rgba(#fff, 0.5);
font-size: 20px;
font-family: 'dubaiL', sans-serif;
padding: 5px;
&:lang(en) {
font-family: 'geometria', sans-serif;
}
&::placeholder {
opacity: 0.8;
font-size: 16px;
}
}
button {
@extend %defaultTransition;
@extend %appearance;
background: #000;
//position: absolute;
//top: 50%;
//left: 3px;
padding: 3px 16px;
//@include transform(translateY(-50%));
@include borderRadius(5px);
cursor: pointer;
border: 1px solid #000;
margin-top: 10px;
width: 100%;
i {
font-size: 18px;
color: #fff;
@extend %defaultTransition;
}
&:hover {
background: transparent;
border-color: $red;
i {
color: $red;
}
}
}
}
}
}
}
}
//.drawer{
// margin-top: 63px;
// @media (min-width: 800px) {
// margin-top: 35px;
// }
//}
.btn {
display: inline-block;
padding: 8px 16px;
border: 1px solid transparent;
@extend %defaultTransition;
&.btn-primary {
color: $themeTxtColorWhite;
// font-family: "iranYekanR", sans-serif;
background-color: $theme;
border-color: $theme;
&:hover {
color: $themeTxtColorBlack;
background-color: $themeReverse;
}
}
&.btn-default {
color: $theme;
// font-family: "iranYekanR", sans-serif;
background-color: transparent;
border-color: $theme;
border-radius: 5px;
&:hover {
color: $themeReverse;
background-color: $red;
border-color: $red;
}
}
&.form-btn {
$btnColor: #fff;
$btnHoverColor: $red;
$angelLength: 20px;
background-color: transparent !important;
border: none;
position: relative;
padding: 0 !important;
@extend %defaultTransition;
&:hover {
&::before {
height: 100%;
background: $btnHoverColor;
}
&::after {
height: 100%;
background: $btnHoverColor;
}
button {
&::before {
width: 100%;
background: $btnHoverColor;
}
&::after {
width: 100%;
background: $btnHoverColor;
}
}
}
&::before {
content: '';
display: block;
height: $angelLength;
width: 1px;
background: $btnColor;
position: absolute;
top: 0;
left: 0;
@extend %defaultTransition;
}
&::after {
content: '';
display: block;
height: $angelLength;
width: 1px;
background: $btnColor;
position: absolute;
bottom: 0;
right: 0;
@extend %defaultTransition;
}
button {
color: $btnColor;
padding: 8px 16px;
background-color: transparent;
border: none;
cursor: pointer !important;
font-family: 'geometria', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
&:hover {
color: $btnHoverColor;
}
&::before {
content: '';
display: block;
width: $angelLength;
height: 1px;
background: $btnColor;
position: absolute;
top: 0;
left: 0;
@extend %defaultTransition;
}
&::after {
content: '';
display: block;
width: $angelLength;
height: 1px;
background: $btnColor;
position: absolute;
bottom: 0;
right: 0;
@extend %defaultTransition;
}
}
}
}
.stroked-text {
overflow: initial;
height: 10px;
text-align: center;
direction: ltr;
#textStroke {
direction: ltr;
#spanStroke {
direction: ltr;
font-family: 'silkaBold', sans-serif;
font-size: 80px;
fill: none;
stroke: $themeReverse;
}
#spanStroke1 {
direction: ltr;
fill: $themeReverse;
font-size: $h3;
//font-weight: bold;
font-family: 'geometriaBold', sans-serif;
//top: -23px;
//left: 145px;
//&:lang(fa) {
// top: -25px;
//}
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
}
}
.sl-wrapper {
direction: ltr !important;
* {
direction: ltr !important;
}
&:lang(fa) {
direction: ltr !important;
}
}
/*-------------------------------- Footer -----------------------------------*/
.footer-BG {
background-color: #ffffff;
padding: 10px 0;
@include boxShadow(0 4px 10px rgba(#000, 0.1));
.footer-body {
.logoFooter {
margin-bottom: 10px;
@media (max-width: 768px) {
& {
align-items: center;
}
}
}
.textCenter {
display: flex;
align-items: center;
margin-bottom: 10px;
justify-content: center;
a {
font-family: 'geometria', sans-serif;
color: $theme;
@media (max-width: 768px) {
font-size: 16px;
margin: 10px 0;
}
@extend %defaultTransition;
&:hover {
color: $red;
}
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
i {
color: $red;
font-size: 10px;
margin: 0 20px;
}
}
.phone-footer {
display: inline-flex;
align-items: center;
justify-content: flex-end;
@media (max-width: 768px) {
& {
justify-content: center;
}
}
.phoneNum {
color: $theme;
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-position: under;
text-decoration-color: $red;
// text-align: center;
// margin-bottom: 80px;
@extend %defaultTransition;
&:hover {
@extend %defaultTransition;
color: $red;
text-decoration-color: $theme;
}
}
i {
color: $red;
font-size: 15px;
margin-left: 10px;
transform: rotateZ(260deg);
@extend %defaultTransition;
&:lang(en) {
margin-left: 0;
margin-right: 10px;
transform: rotateZ(0);
}
}
}
img {
width: 20%;
}
.negareh {
@extend %defaultTransition;
margin-top: 10px;
color: $theme;
&:hover {
color: #f8b21c;
@extend %defaultTransition;
}
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
p {
color: $theme;
font-family: 'geometria', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
span {
color: $red;
font-family: 'geometria', sans-serif;
&:lang(fa) {
font-family: 'dubaiM', sans-serif;
}
}
}
}
// ////////////////////////////////////////////// preloader
.preLoader {
width: 100%;
height: 100vh;
background: #ffffff;
position: fixed;
top: 0;
left: 0;
z-index: 100;
.txtBox {
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%, -50%));
svg {
opacity: 0;
width: 200px;
.outer-circle-line {
stroke: #ffffff;
fill: #ffffff;
}
.st0 {
fill: none;
stroke: #000000;
stroke-width: 8;
stroke-miterlimit: 10;
}
.st1 {
fill: #000000;
}
.inner-circle {
stroke: $red;
stroke-width: 9;
}
}
}
}
// ////////////////////////////////////////////// pageLoader
.pageLoad {
width: 100%;
height: 100vh;
background: #fff;
position: fixed;
top: 0;
left: 0;
z-index: 9;
display: none;
.imgBox {
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%, -50%));
}
}
// ////////////////////////////////////////////// calculation module
.calculation-module {
.col-12 {
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
p {
margin-bottom: 5px;
text-align: right;
font-family: 'dubaiM', sans-serif;
font-size: 13px;
margin-top: 5px;
}
}
.el-checkbox__inner:hover {
border-color: $red;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: $red;
border-color: $red;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: $red;
}
.el-checkbox {
&.small {
.el-checkbox__label {
font-size: 12px;
}
}
}
.cal-btn {
max-width: 120px;
text-align: center;
margin: auto;
border-color: $red;
background-color: $red;
transition: 0.3s;
color: #fff;
cursor: pointer;
font-family: 'dubaiL', sans-serif;
&:hover {
background-color: #f1f1f1;
color: $red;
}
}
&.white {
p,
span,
b {
color: #fff;
}
.el-input-number {
.el-input-number__increase,
.el-input-number__decrease {
i {
color: #000;
}
&:hover {
i {
color: #fff;
}
}
}
}
}
}
// ////////////////////////////////////////////// pwa footer
.pwa-footer {
background: #000;
span {
color: #fff;
}
}