front-end almost done | started back-end
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
background: #000;
|
||||
background: $red;
|
||||
width: 40px;
|
||||
height: 4px;
|
||||
position: absolute;
|
||||
@@ -47,7 +47,7 @@
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
background: #000;
|
||||
background: $red;
|
||||
width: 50px;
|
||||
height: 4px;
|
||||
position: absolute;
|
||||
|
||||
+298
-89
@@ -7,7 +7,7 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
p, a, span, b, i {
|
||||
p, a, span, b {
|
||||
font-family: 'sahel';
|
||||
color: rgba(0, 0, 0, 0.7);
|
||||
line-height: 1.6em;
|
||||
@@ -86,14 +86,110 @@ section {
|
||||
z-index: 5;
|
||||
@include boxShadow(0 4px 10px rgba(0, 0, 0, 0.07));
|
||||
|
||||
.lang-bar {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
background: $darkGray;
|
||||
|
||||
.catalog-download {
|
||||
display: block;
|
||||
background: $red;
|
||||
padding: 5px 15px;
|
||||
|
||||
span, i {
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
|
||||
.title {
|
||||
height: 100% !important;
|
||||
@extend %defaultTransition;
|
||||
padding: 0 10px;
|
||||
margin-bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
@extend %userSelect;
|
||||
@extend %defaultTransition;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-family: 'diodrum', 'sahel';
|
||||
|
||||
span, i {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
i {
|
||||
margin: 0 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropMenu {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
background: $darkGray;
|
||||
@extend %defaultTransition;
|
||||
position: absolute;
|
||||
top: 35px;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
|
||||
.drop-item {
|
||||
padding-top: 10px;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
@extend %userSelect;
|
||||
@extend %defaultTransition;
|
||||
font-family: 'diodrum', 'sahel';
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.dropdown-active {
|
||||
.title {
|
||||
background: $darkGray;
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.dropMenu {
|
||||
height: 95px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.links {
|
||||
li {
|
||||
text-align: right;
|
||||
padding: 30px 0;
|
||||
@extend %defaultTransition;
|
||||
|
||||
&:not(:first-child) {
|
||||
margin: 0 50px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
a::after {
|
||||
background: $red !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
@@ -110,15 +206,67 @@ section {
|
||||
}
|
||||
}
|
||||
|
||||
&.tech_info {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
.drop-down {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
background: #fff;
|
||||
min-width: 200px;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
@extend %defaultTransition;
|
||||
|
||||
&:lang(en) {
|
||||
min-width: 250px;
|
||||
right: auto;
|
||||
left: 0;
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
text-align: right;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@extend %defaultTransition;
|
||||
|
||||
&:lang(en) {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(#000, 0.1);
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 10px;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a:not(.logo) {
|
||||
position: relative;
|
||||
padding: 5px 0;
|
||||
display: inline-block;
|
||||
margin-top: 3px;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 1.5px;
|
||||
width: 15px;
|
||||
height: 2px;
|
||||
background: $darkGray;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -139,72 +287,6 @@ section {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.lag-switcher {
|
||||
.dropdown {
|
||||
position: relative;
|
||||
|
||||
.title {
|
||||
@extend %defaultTransition;
|
||||
padding: 0 10px;
|
||||
margin-bottom: 0;
|
||||
|
||||
p {
|
||||
@extend %userSelect;
|
||||
@extend %defaultTransition;
|
||||
text-align: center;
|
||||
font-size: 23px;
|
||||
font-family: 'diodrum', 'sahel';
|
||||
}
|
||||
}
|
||||
|
||||
.dropMenu {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
background: $darkGray;
|
||||
@extend %defaultTransition;
|
||||
position: absolute;
|
||||
top: 37px;
|
||||
left: 0;
|
||||
|
||||
.drop-item {
|
||||
padding-top: 10px;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
@extend %userSelect;
|
||||
@extend %defaultTransition;
|
||||
font-family: 'diodrum', 'sahel';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.dropdown-active {
|
||||
.title {
|
||||
background: $darkGray;
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.dropMenu {
|
||||
height: 85px;
|
||||
|
||||
p:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -219,7 +301,23 @@ section {
|
||||
|
||||
.footer {
|
||||
background: #fff;
|
||||
padding: 20px 0;
|
||||
padding: 20px 0 0;
|
||||
|
||||
.red {
|
||||
color: $red !important;
|
||||
|
||||
a, b, em {
|
||||
color: $red !important;
|
||||
}
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: $theme !important;
|
||||
|
||||
a, b {
|
||||
color: $theme !important;
|
||||
}
|
||||
}
|
||||
|
||||
.links {
|
||||
svg {
|
||||
@@ -231,12 +329,16 @@ section {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 20px 0;
|
||||
}
|
||||
//hr {
|
||||
// margin: 20px 0;
|
||||
//}
|
||||
|
||||
.box {
|
||||
max-width: 400px;
|
||||
|
||||
.red {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,6 +355,10 @@ section {
|
||||
display: inline-block;
|
||||
margin-left: 20px;
|
||||
|
||||
em {
|
||||
color: $red;
|
||||
}
|
||||
|
||||
&:lang(en) {
|
||||
margin-left: 0;
|
||||
margin-right: 20px;
|
||||
@@ -279,13 +385,48 @@ section {
|
||||
}
|
||||
}
|
||||
|
||||
.footer-bar {
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background: $red;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
&.footer--home {
|
||||
padding: 50px 0;
|
||||
padding: 50px 0 0;
|
||||
background: $bg;
|
||||
|
||||
.links {
|
||||
.logo {
|
||||
display: flex;
|
||||
width: 150px;
|
||||
align-items: center;
|
||||
|
||||
&:lang(fa) {
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
span {
|
||||
display: block;
|
||||
color: $theme;
|
||||
//direction: ltr;
|
||||
|
||||
&:lang(fa) {
|
||||
font-size: 14px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 15px 0;
|
||||
border: 0.1px solid rgba(#000, 0.1);
|
||||
}
|
||||
|
||||
.box {
|
||||
p {
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.social-links {
|
||||
@@ -323,6 +464,10 @@ section {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-bar {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -370,7 +515,8 @@ section {
|
||||
color: #000;
|
||||
|
||||
&:hover {
|
||||
background: #000;
|
||||
border: 1px solid $red;
|
||||
background: $red;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
@@ -453,12 +599,31 @@ section {
|
||||
@extend %imgBoxShape-reverse;
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
.img {
|
||||
position: relative;
|
||||
width: 140%;
|
||||
@extend %defaultBoxShadow;
|
||||
}
|
||||
|
||||
.shape {
|
||||
width: 50%;
|
||||
height: 80px;
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
left: 50%;
|
||||
z-index: -1;
|
||||
@include transform(translateX(-50%));
|
||||
background: $theme;
|
||||
|
||||
&.reverse {
|
||||
top: auto;
|
||||
bottom: -25px;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-bg {
|
||||
@@ -467,26 +632,19 @@ section {
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
|
||||
.formRow {
|
||||
flex-basis: 40%;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
|
||||
&.formRow-wide {
|
||||
flex-basis: 90%;
|
||||
}
|
||||
|
||||
&.buttonRow {
|
||||
&.center-align {
|
||||
flex-basis: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.err {
|
||||
input, textarea {
|
||||
input, textarea, select {
|
||||
@include boxShadow(0 0 5px rgba(red, 0.3));
|
||||
border: 2px solid rgba(red, 0.2);
|
||||
|
||||
@@ -500,6 +658,33 @@ section {
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
@extend %appearance;
|
||||
@extend %defaultTransition;
|
||||
border: 2px solid transparent;
|
||||
border-bottom: 2px solid rgba(0, 0, 0, 0.1);
|
||||
outline: none;
|
||||
padding: 10px 10px 10px 30px;
|
||||
font-family: 'sahel', 'diodrum', sans-serif;
|
||||
position: relative;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='rgba(0,0,0,0.4)'%3E%3Cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3E%3C/svg%3E");
|
||||
background-size: 10px;
|
||||
-webkit-background-size: 10px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 50%;
|
||||
cursor: pointer;
|
||||
color: rgba(#000, 0.5);
|
||||
|
||||
option {
|
||||
padding: 10px;
|
||||
font-family: 'sahel', 'diodrum', sans-serif !important;
|
||||
|
||||
&:disabled {
|
||||
color: rgba(#000, 0.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
@extend %appearance;
|
||||
@extend %defaultTransition;
|
||||
@@ -515,6 +700,10 @@ section {
|
||||
@include boxShadow(0 0 5px rgba($theme, 0.3));
|
||||
border: 2px solid rgba($theme, 0.2);
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: rgba(#000, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
@@ -541,5 +730,25 @@ section {
|
||||
p {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.imgBox {
|
||||
.img {
|
||||
width: calc(140% - 25px);
|
||||
|
||||
.shape {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
left: auto;
|
||||
right: -30px;
|
||||
@include transform(translateX(0));
|
||||
background: $red;
|
||||
|
||||
&:lang(en) {
|
||||
right: auto;
|
||||
left: -30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+854
-67
File diff suppressed because it is too large
Load Diff
@@ -2,6 +2,7 @@
|
||||
$theme: #1B407C;
|
||||
$bg: #F0F0F0;
|
||||
$darkGray: #303030;
|
||||
$red: #FA4E53;
|
||||
|
||||
// units
|
||||
$mt: 30px;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@use "fonts";
|
||||
@use "extentions";
|
||||
@use "mixins";
|
||||
@use "variables";
|
||||
@use "globalStyles";
|
||||
@use "pages";
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
@import "extentions";
|
||||
@import "fonts";
|
||||
@import "globalStyles";
|
||||
@import "pages";
|
||||
|
||||
Reference in New Issue
Block a user