forked from a1gard/xshop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
462 lines
7.2 KiB
SCSS
462 lines
7.2 KiB
SCSS
1 year ago
|
@import "mega-menu";
|
||
|
|
||
|
body {
|
||
|
background-color: $bg2;
|
||
|
|
||
|
img {
|
||
|
border-radius: $border;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
text-decoration: none;
|
||
|
color: $txt-title;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
.box-main {
|
||
|
del {
|
||
|
display: block;
|
||
|
text-align: center;
|
||
|
color: #666666;
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
display: block;
|
||
|
text-align: center;
|
||
|
color: dodgerblue;
|
||
|
}
|
||
|
|
||
|
background-color: white;
|
||
|
border-radius: $border;
|
||
|
|
||
|
h4 {
|
||
|
font-size: 14px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// hero slider
|
||
|
#head-slider {
|
||
|
.carousel-inner {
|
||
|
border-radius: $border;
|
||
|
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
// banners section
|
||
|
.banners {
|
||
|
img {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// services
|
||
|
.head-services {
|
||
|
.serv-box {
|
||
|
padding: 10px;
|
||
|
|
||
|
h4 {
|
||
|
font-size: $fs-title;
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
font-size: $fs-paragraph;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// slider
|
||
|
.slider-title {
|
||
|
h5 {
|
||
|
font-size: $box-price;
|
||
|
|
||
|
&:before {
|
||
|
content: '|';
|
||
|
color: $txt-hover;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slider {
|
||
|
background-color: $bg1;
|
||
|
padding: 35px 0 35px 0;
|
||
|
border-radius: 30px;
|
||
|
|
||
|
.main-content {
|
||
|
position: relative;
|
||
|
|
||
|
.owl-theme {
|
||
|
.owl-dots {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.custom-nav {
|
||
|
position: absolute;
|
||
|
top: 20%;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
|
||
|
.owl-prev, .owl-next {
|
||
|
position: absolute;
|
||
|
height: 100px;
|
||
|
color: inherit;
|
||
|
background: none;
|
||
|
border: none;
|
||
|
z-index: 100;
|
||
|
|
||
|
i {
|
||
|
font-size: 2.5rem;
|
||
|
color: #cecece;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.owl-prev {
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
.owl-next {
|
||
|
right: 0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.slider-box {
|
||
|
width: 100%;
|
||
|
border: 1px solid $txt-para;
|
||
|
border-radius: 50px;
|
||
|
position: relative;
|
||
|
|
||
|
&:hover {
|
||
|
border: 1px solid $txt-title;
|
||
|
box-shadow: 1px 1px 5px #70707020;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
width: 110px;
|
||
|
height: 110px;
|
||
|
display: block;
|
||
|
margin: auto;
|
||
|
}
|
||
|
|
||
|
h5 {
|
||
|
font-size: $fs-title;
|
||
|
padding-top: 15px;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
del {
|
||
|
font-size: 10px;
|
||
|
font-weight: 200;
|
||
|
padding: 5px;
|
||
|
|
||
|
&:after {
|
||
|
content: ' تومان';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
h6 {
|
||
|
padding: 5px;
|
||
|
|
||
|
&:after {
|
||
|
content: ' تومان';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.sale-off {
|
||
|
width: 50px;
|
||
|
height: 50px;
|
||
|
position: absolute;
|
||
|
top: 2px;
|
||
|
left: -5px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// offer mid banner
|
||
|
.offer-mid-banner {
|
||
|
img {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
transition: 333ms;
|
||
|
|
||
|
&:hover {
|
||
|
transform: scale(102%);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.back-top-btn {
|
||
|
|
||
|
.backtop-btn {
|
||
|
display: block;
|
||
|
margin: auto;
|
||
|
}
|
||
|
|
||
|
.backtop-btn {
|
||
|
outline: 0;
|
||
|
border: 0;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
width: 100%;
|
||
|
max-width: 140px;
|
||
|
height: 50px;
|
||
|
border-radius: 0.5em;
|
||
|
box-shadow: 0 0.625em 1em 0 rgba(30, 143, 255, 0.35);
|
||
|
overflow: hidden;
|
||
|
transition: 0.6s cubic-bezier(.16, 1, .3, 1);
|
||
|
|
||
|
div {
|
||
|
transform: translateY(0px);
|
||
|
width: 100%;
|
||
|
transition: 0.6s cubic-bezier(.16, 1, .3, 1);
|
||
|
|
||
|
span {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
height: 50px;
|
||
|
padding: 0.75em 1.125em;
|
||
|
}
|
||
|
|
||
|
&:nth-child(1) {
|
||
|
background-color: #1e90ff;
|
||
|
}
|
||
|
|
||
|
&:nth-child(2) {
|
||
|
background-color: #21dc62;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:hover {
|
||
|
box-shadow: 0 0.625em 1em 0 rgba(33, 220, 98, 0.35);
|
||
|
|
||
|
div {
|
||
|
transform: translateY(-50px);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
font-size: 17px;
|
||
|
font-weight: bold;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
|
||
|
&:active {
|
||
|
transform: scale(0.95);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.top-footer {
|
||
|
background-color: $bg1;
|
||
|
|
||
|
.top-footer-title {
|
||
|
h4 {
|
||
|
font-size: $fs-title;
|
||
|
color: $txt-title;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
font-size: $fs-paragraph;
|
||
|
color: $txt-para;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.footer {
|
||
|
background-color: $bg1;
|
||
|
|
||
|
ul {
|
||
|
list-style: none;
|
||
|
|
||
|
a {
|
||
|
color: $txt-para;
|
||
|
|
||
|
&:hover {
|
||
|
color: $txt-hover;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.container-inp {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 35px;
|
||
|
direction: ltr;
|
||
|
}
|
||
|
|
||
|
.input {
|
||
|
max-width: 190px;
|
||
|
height: 100%;
|
||
|
outline: none;
|
||
|
font-size: 14px;
|
||
|
font-weight: 500;
|
||
|
background-color: $bg2;
|
||
|
caret-color: #f7f7f8;
|
||
|
color: black;
|
||
|
padding: 7px 10px;
|
||
|
border: 2px solid transparent;
|
||
|
border-top-left-radius: 7px;
|
||
|
border-bottom-left-radius: 7px;
|
||
|
margin-right: 1px;
|
||
|
transition: all .2s ease;
|
||
|
|
||
|
&:hover {
|
||
|
border: 2px solid rgba(255, 255, 255, 0.16);
|
||
|
}
|
||
|
|
||
|
&:focus {
|
||
|
border: 2px solid $txt-hover;
|
||
|
background-color: $bg1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.search__btn {
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
background-color: $bg2;
|
||
|
border-top-right-radius: 7px;
|
||
|
border-bottom-right-radius: 7px;
|
||
|
height: 100%;
|
||
|
width: 30px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: $txt-hover;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.footer-mail {
|
||
|
p {
|
||
|
text-align: center;
|
||
|
color: $txt-para;
|
||
|
font-size: $fs-paragraph;
|
||
|
}
|
||
|
}
|
||
|
.validity{
|
||
|
p{
|
||
|
color: $txt-para;
|
||
|
font-size: $box-title;
|
||
|
text-align: justify;
|
||
|
}
|
||
|
img{
|
||
|
display: block;
|
||
|
margin: auto;
|
||
|
height: auto;
|
||
|
}
|
||
|
}
|
||
|
.social-buttons {
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: center;
|
||
|
gap: 8px;
|
||
|
}
|
||
|
|
||
|
$social-button-size: 64px;
|
||
|
$social-button-icon-size: 0.4;
|
||
|
$social-button-background: #fff;
|
||
|
$social-button-active-color: #fff;
|
||
|
$social-button-transition-time: 0.3s;
|
||
|
|
||
|
$social-button-colors: (
|
||
|
'mail': #0072c6,
|
||
|
'facebook': #3b5999,
|
||
|
'linkedin': #0077b5,
|
||
|
'github': #6e5494,
|
||
|
'codepen': #212121,
|
||
|
'steam': #7da10e,
|
||
|
'snapchat': #eec900,
|
||
|
'twitter': #55acee,
|
||
|
'instagram': #e4405f,
|
||
|
'npmjs': #c12127,
|
||
|
);
|
||
|
|
||
|
.social-button {
|
||
|
position: relative;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
outline: none;
|
||
|
width: $social-button-size;
|
||
|
height: $social-button-size;
|
||
|
text-decoration: none;
|
||
|
border-radius: 100%;
|
||
|
background: $social-button-background;
|
||
|
text-align: center;
|
||
|
|
||
|
&::after {
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
top: -1px;
|
||
|
left: 50%;
|
||
|
display: block;
|
||
|
width: 0;
|
||
|
height: 0;
|
||
|
border-radius: 100%;
|
||
|
transition: $social-button-transition-time;
|
||
|
}
|
||
|
|
||
|
&:focus,
|
||
|
&:hover {
|
||
|
color: $social-button-active-color;
|
||
|
|
||
|
&::after {
|
||
|
width: calc(100% + 2px);
|
||
|
height: calc(100% + 2px);
|
||
|
margin-left: calc(-50% - 1px);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
i,
|
||
|
svg {
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
transition: $social-button-transition-time;
|
||
|
}
|
||
|
|
||
|
i {
|
||
|
font-size: $social-button-size * $social-button-icon-size;
|
||
|
}
|
||
|
|
||
|
svg {
|
||
|
height: percentage($social-button-icon-size);
|
||
|
width: percentage($social-button-icon-size);
|
||
|
}
|
||
|
|
||
|
@each $name, $color in $social-button-colors {
|
||
|
&--#{$name} {
|
||
|
color: $color;
|
||
|
|
||
|
&::after {
|
||
|
background: $color;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
.footer-terms{
|
||
|
p{
|
||
|
font-size: $fs-paragraph;
|
||
|
color: $txt-para;
|
||
|
}
|
||
|
}
|