somewhere

This commit is contained in:
Swift
2023-08-17 13:05:51 +03:30
parent 30c7eb0e7b
commit 53843207cc
429 changed files with 117489 additions and 1 deletions
+92
View File
@@ -0,0 +1,92 @@
// Here you can add other styles
.copy-right {
color: #872071;
font-weight: bold;
&:hover {
text-decoration: none;
color: #872071;
}
}
pre {
background: #000 !important;
color: green !important;
direction: ltr !important;
text-align: left !important;
padding: 20px !important;
font-size: 20px !important;
}
.c-app {
.custom-subheader {
align-items: center;
width: 100%;
position: fixed;
top: $header-height;
left: 0;
z-index: 10;
transition: width $layout-transition-speed;
-webkit-transition: width $layout-transition-speed;
-moz-transition: width $layout-transition-speed;
-ms-transition: width $layout-transition-speed;
-o-transition: width $layout-transition-speed;
&.sideBarFull {
width: calc(100% - #{$sidebar-width});
}
&.sideBarMinimized {
width: calc(100% - #{$sidebar-minimized-width});
}
&.sideBarClose {
width: 100%;
}
@media (max-width: 992px) {
width: 100% !important;
}
}
.form-group {
&.err {
.col-form-label {
color: red !important;
}
.form-control {
border-color: red !important;
}
.form-text {
color: red !important;
}
}
}
.c-sidebar-nav-dropdown {
.c-sidebar-nav-dropdown-toggle {
background: rgba(gray, 0.2) !important;
}
}
.vpd-main {
.vpd-selected {
.vpd-day-text {
color: #fff;
}
}
.vpd-date {
span {
color: #fff;
}
}
// vue persian dateTime picker styles
.vpd-icon-btn {
padding: 9px 10px;
}
}
}
+136
View File
@@ -0,0 +1,136 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////// element ui rtl fix
html:lang(fa) {
.el-tag {
/*margin-bottom: 10px!important;*/
}
.text-area {
textarea {
height: 100px;
}
}
.el-popup-parent--hidden {
padding-right: 0 !important;
}
.el-tag .el-icon-close {
right: auto !important;
left: -5px !important;
}
.el-table .el-table__body-wrapper .el-table__row .is-left {
text-align: left !important;
}
.wrapper {
min-height: 100vh;
}
.el-form-item__label {
float: right !important;
text-align: right !important;
}
.el-form-item__content {
margin-left: 0 !important;
margin-right: 120px !important;
}
@media (max-width: 768px) {
.el-form-item__content {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
.secondTitle {
margin-top: 50px;
}
.el-upload__input {
display: none !important;
}
.el-message-box__title,
.el-message-box__message {
direction: rtl !important;
text-align: right !important;
}
.el-message-box__message {
padding-left: 12px !important;
padding-right: 36px !important;
}
.el-message-box__btns {
text-align: left !important;
}
.el-message-box__headerbtn {
right: auto !important;
left: 15px !important;
}
.el-message-box__btns button:nth-child(2) {
margin-left: 0 !important;
margin-right: 10px !important;
}
.el-message-box__status {
right: 0 !important;
}
.el-table td,
.el-table th {
text-align: right !important;
}
.el-upload__input {
display: none !important;
}
.el-checkbox__label {
padding-left: 0 !important;
padding-right: 10px !important;
}
.el-message__icon {
margin-right: 0 !important;
margin-left: 10px !important;
}
.sidebar-subnav {
background: rgba(0, 0, 0, 0.05) !important;
}
.sidebar > .nav > li {
border-bottom: 1px solid #eee !important;
}
.brand-logo p {
margin-top: 6px !important;
}
.brand-logo-collapsed svg {
fill: #fff !important;
}
.nav-floating {
background: #fff !important;
}
.el-dialog__headerbtn {
right: auto !important;
left: 20px !important;
}
.el-radio__label {
padding-right: 10px !important;
}
.el-scrollbar__wrap {
margin-right: 0 !important;
margin-left: -17px !important;
}
}
+2
View File
@@ -0,0 +1,2 @@
// Variable overrides
$gray-base: #1a1e24;
+18
View File
@@ -0,0 +1,18 @@
// If you want to override variables do it here
@import 'variables';
// Import styles
@import '~@coreui/coreui/scss/coreui';
// If you want to add something do it here
@import 'custom';
@import 'el_ui_rtl';
.card-header:not(.content-center) > .c-icon:first-child {
margin-right: 0.1rem;
margin-top: 0.1rem;
vertical-align: top;
width: 1.2rem;
height: 1.2rem;
font-size: 1.2rem;
}
+118
View File
@@ -0,0 +1,118 @@
.ck-content {
width: 100%;
direction: rtl;
text-align: right;
&:lang(en) {
direction: ltr;
text-align: left;
}
a {
display: inline-block;
color: blue;
}
p,
a,
span,
b,
ul,
li,
em,
h1,
h2,
h3,
h4,
h5,
h6,
strong {
font-family: inherit, sans-serif;
direction: unset;
text-align: unset;
&:lang(en) {
font-family: inherit;
direction: unset;
text-align: unset;
}
&[dir='ltr'] {
direction: ltr;
text-align: left;
p,
a,
span,
b,
ul,
li,
em,
h1,
h2,
h3,
h4,
h5,
h6,
strong {
direction: ltr;
text-align: left;
}
}
&[dir='rtl'] {
direction: rtl;
text-align: right;
p,
a,
span,
b,
ul,
li,
em,
h1,
h2,
h3,
h4,
h5,
h6,
strong {
direction: rtl;
text-align: right;
}
}
}
p {
line-height: 1.6em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.3em;
}
li {
margin-bottom: 15px;
line-height: 1.6em;
}
ol {
list-style: decimal;
list-style-position: inside;
}
ul {
list-style: disc;
list-style-position: inside;
}
img {
max-width: 100% !important;
}
}
+190
View File
@@ -0,0 +1,190 @@
.el-button--primary {
span {
color: #fff;
}
}
.el-pagination {
--height: 50px;
.btn-prev {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.btn-next {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
button {
height: var(--height);
line-height: var(--height);
}
.el-pager {
li {
height: var(--height);
line-height: var(--height);
}
}
}
.el-message {
@media (max-width: 575px) {
min-width: calc(100% - 30px);
}
}
.el-message-box {
max-width: 420px;
width: calc(100% - 15px);
.el-button span {
color: #000;
}
.el-button.el-button--primary span {
color: #fff;
}
}
.el-select-dropdown {
.el-select-dropdown__item {
@media (max-width: 575px) {
max-width: 250px;
white-space: pre-wrap;
word-break: break-word;
margin-bottom: 15px;
height: auto;
line-height: 1em;
span {
display: block;
width: 100%;
font-size: 13px;
}
}
}
}
.el-popover {
font-family: 'iranYekanL', sans-serif;
direction: ltr;
text-align: right;
.el-popover__title {
font-family: 'iranYekanB', sans-serif;
}
}
.el-loading-text {
text-align: center;
}
.el-dialog {
@extend %defaultBorderRadius;
@media (max-width: 1400px) {
width: 80%;
}
@media (max-width: 992px) {
width: 90%;
}
@media (max-width: 768px) {
width: calc(100% - 15px);
}
@media (max-width: 575px) {
.el-dialog__body {
padding: 10px;
}
}
.dialog-footer {
.el-button--primary {
span {
color: #fff;
}
}
}
}
.el-select-group__title {
padding-left: 0;
padding-right: 20px;
color: rgba(#000, 0.3);
}
.custom-el-button {
direction: ltr;
display: inline-flex;
justify-content: center;
align-items: center;
span {
color: #fff;
}
}
.no-address-added {
a {
color: $theme;
font-weight: bold;
}
}
.select-form-address {
.form_3 {
display: flex;
flex-wrap: wrap;
.formRow {
flex-basis: 33.33%;
}
.title {
flex-basis: 100%;
margin-bottom: 30px;
p {
color: #000;
font-weight: bold;
font-family: 'iranYekanB';
font-size: 20px;
}
}
hr {
flex-basis: 100%;
margin-bottom: 30px;
}
.btnRow {
button {
span {
color: #fff;
}
}
}
}
.buttons {
text-align: center;
margin-top: 50px;
button {
span {
color: #fff;
}
}
}
}
.agentsStatus-popover-insideBtn {
span {
color: $theme;
font-family: 'iranYekanB';
}
}
+211
View File
@@ -0,0 +1,211 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////// element ui rtl fix
html:lang(fa) {
.el-tag {
/*margin-bottom: 10px!important;*/
}
.text-area {
textarea {
height: 100px;
}
}
.el-popup-parent--hidden {
padding-right: 0 !important;
}
.el-tag .el-icon-close {
right: auto !important;
left: -5px !important;
}
.el-table .el-table__body-wrapper .el-table__row .is-left {
text-align: left !important;
}
.wrapper {
min-height: 100vh;
}
.el-form-item__label {
float: right !important;
text-align: right !important;
}
.el-form-item__content {
margin-left: 0 !important;
margin-right: 120px !important;
}
@media (max-width: 768px) {
.el-form-item__content {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
.secondTitle {
margin-top: 50px;
}
.el-upload__input {
display: none !important;
}
.el-message-box__title,
.el-message-box__message {
direction: rtl !important;
text-align: right !important;
}
.el-message-box__message {
padding-left: 12px !important;
padding-right: 36px !important;
}
.el-message-box__btns {
text-align: left !important;
}
.el-message-box__headerbtn {
right: auto !important;
left: 15px !important;
}
.el-message-box__btns button:nth-child(2) {
margin-left: 0 !important;
margin-right: 10px !important;
}
.el-message-box__status {
right: 0 !important;
}
.el-table {
td,
th {
text-align: right !important;
}
.is-center {
text-align: center !important;
}
}
.el-upload__input {
display: none !important;
}
.el-checkbox__label {
padding-left: 0 !important;
padding-right: 10px !important;
}
.el-message__icon {
margin-right: 0 !important;
margin-left: 10px !important;
}
.sidebar-subnav {
background: rgba(0, 0, 0, 0.05) !important;
}
.sidebar > .nav > li {
border-bottom: 1px solid #eee !important;
}
.brand-logo p {
margin-top: 6px !important;
}
.brand-logo-collapsed svg {
fill: #fff !important;
}
.nav-floating {
background: #fff !important;
}
.el-dialog__headerbtn {
right: auto !important;
left: 20px !important;
}
.el-radio__label {
padding-right: 10px !important;
}
.el-scrollbar__wrap {
margin-right: 0 !important;
margin-left: -17px !important;
}
.el-alert.is-light .el-alert__closebtn {
right: auto !important;
left: 15px !important;
}
.el-tooltip__popper[x-placement^='top'] .popper__arrow::after {
margin-left: 0 !important;
margin-right: -5px !important;
}
.el-notification {
padding-right: 13px;
padding-left: 26px;
.el-notification__group {
margin-right: 13px;
margin-left: 8px;
.el-notification__closeBtn {
right: auto;
left: 15px;
}
}
}
.el-collapse {
direction: rtl;
.el-collapse-item {
.el-collapse-item__header {
direction: rtl;
.header-icon {
margin-right: 5px;
}
.el-collapse-item__arrow {
margin-right: auto;
margin-left: 0;
@include transform(rotate(180deg));
&.is-active {
@include transform(rotate(90deg));
}
}
}
}
}
.el-upload-list {
.el-upload-list__item {
margin-right: 0;
margin-left: 8px;
.el-upload-list__item-actions {
i {
color: #fff;
}
.el-upload-list__item-delete {
margin-left: 0;
margin-right: 15px;
}
}
}
}
.el-radio-group{
direction: ltr;
}
}
+24
View File
@@ -0,0 +1,24 @@
%defaultTransition {
@include transition(0.3s);
}
%userSelect {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
%appearance {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
%defaultBoxShadow {
@include boxShadow(0 5px 8px rgba(0, 0, 0, 0.2));
}
%defaultBorderRadius {
@include borderRadius(15px);
}
+24
View File
@@ -0,0 +1,24 @@
////// sahel
@font-face {
font-family: 'iranYekanB';
src: url('/assets/fonts/IranYekan-webgfonts/bold/iranyekanwebbold.eot') format('embedded-opentype'),
url('/assets/fonts/IranYekan-webgfonts/bold/iranyekanwebbold.ttf') format('truetype'),
url('/assets/fonts/IranYekan-webgfonts/bold/iranyekanwebbold.woff') format('woff'),
url('/assets/fonts/IranYekan-webgfonts/bold/iranyekanwebbold.woff2') format('woff2');
}
@font-face {
font-family: 'iranYekanL';
src: url('/assets/fonts/IranYekan-webgfonts/light/iranyekanweblight.eot') format('embedded-opentype'),
url('/assets/fonts/IranYekan-webgfonts/light/iranyekanweblight.ttf') format('truetype'),
url('/assets/fonts/IranYekan-webgfonts/light/iranyekanweblight.woff') format('woff'),
url('/assets/fonts/IranYekan-webgfonts/light/iranyekanweblight.woff2') format('woff2');
}
@font-face {
font-family: 'iranYekanR';
src: url('/assets/fonts/IranYekan-webgfonts/regular/iranyekanwebregular.eot') format('embedded-opentype'),
url('/assets/fonts/IranYekan-webgfonts/regular/iranyekanwebregular.ttf') format('truetype'),
url('/assets/fonts/IranYekan-webgfonts/regular/iranyekanwebregular.woff') format('woff'),
url('/assets/fonts/IranYekan-webgfonts/regular/iranyekanwebregular.woff2') format('woff2');
}
+156
View File
@@ -0,0 +1,156 @@
html {
scroll-behavior: smooth;
}
body {
direction: rtl;
background: $bg;
&:lang(en) {
direction: ltr;
}
}
p,
span,
b {
font-family: 'iranYekanL', sans-serif;
color: $txtColor;
line-height: 1.6em;
}
form,
input,
textarea,
select,
option,
button,
table,
tr,
td,
th,
ul,
ol,
li {
outline: none;
font-family: 'iranYekanR', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'iranYekanB', sans-serif;
line-height: 1.3em;
}
a {
font-family: 'iranYekanR', sans-serif;
text-decoration: none;
color: $txtColor;
line-height: 1.6em;
&:hover {
text-decoration: none;
color: rgba(0, 0, 0, 0.7);
}
}
.default {
p {
text-align: justify;
}
}
pre {
direction: ltr !important;
text-align: left;
padding: 25px;
background: #000;
color: greenyellow;
font-size: 18px;
}
section {
padding: 0 0 100px;
}
@keyframes loading {
0% {
@include transform(rotateZ(0));
}
100% {
@include transform(rotateZ(360deg));
}
}
/////// global classes
.page {
min-height: 100vh;
padding-top: 50px;
overflow: hidden;
.no-post {
text-align: center;
h2 {
padding: 15px;
background: orangered;
color: #fff;
@include borderRadius(15px);
margin-top: 50px;
}
}
}
.overflow-hidden {
overflow-x: hidden;
}
.singleLineTxt {
overflow: hidden !important;
display: -webkit-box !important;
-webkit-line-clamp: 1 !important;
-webkit-box-orient: vertical !important;
}
.notificationAnim {
@keyframes ring {
from {
@include transform(rotateZ(20deg));
}
to {
@include transform(rotateZ(-20deg));
}
}
display: inline-block;
animation: ring 0.5s alternate-reverse infinite;
}
.vpd-wrapper {
.vpd-selected {
.vpd-day-text {
color: #fff !important;
}
}
.vpd-date {
span {
color: #fff !important;
}
}
}
///////// animations
.page-enter-active,
.page-leave-active {
transition: opacity 0.5s;
}
.page-enter,
.page-leave-to {
opacity: 0;
}
+44
View File
@@ -0,0 +1,44 @@
@mixin transform($p...) {
transform: $p;
-webkit-transform: $p;
-moz-transform: $p;
-ms-transform: $p;
-o-transform: $p;
}
@mixin transition($p...) {
transition: $p;
-webkit-transition: $p;
-moz-transition: $p;
-ms-transition: $p;
-o-transition: $p;
}
@mixin boxSizing($p) {
box-sizing: $p;
-webkit-box-sizing: $p;
-moz-box-sizing: $p;
}
@mixin filter($p...) {
filter: $p;
-ms-filter: $p;
}
@mixin boxShadow($p) {
box-shadow: $p;
-webkit-box-shadow: $p;
-moz-box-shadow: $p;
}
@mixin borderRadius($p) {
border-radius: $p;
-webkit-border-radius: $p;
-moz-border-radius: $p;
}
@mixin animation($p) {
animation: $p;
-webkit-animation: $p;
-o-animation: $p;
}
+271
View File
@@ -0,0 +1,271 @@
body {
-webkit-print-color-adjust: exact !important;
}
@page {
size: landscape !important;
}
#box-face-receipt {
padding: 20px;
.receipt-body {
border: 1px solid rgba(#000, 1);
padding: 15px;
.infoRow {
margin-bottom: 15px;
}
.topLeft {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: rgba(0, 0, 0, 0.05);
padding: 10px;
flex-basis: 300px;
@media (max-width: 992px) {
flex-basis: 100%;
}
&:first-child {
margin-bottom: 5px;
}
}
h2 {
margin-bottom: 20px;
}
b,
span {
display: inline-block;
}
b {
margin-left: 5px;
}
.senderInfo {
.topLeft {
&:last-child {
@media (max-width: 992px) {
margin-bottom: 20px;
}
}
}
}
.receiverInfo {
.topLeft {
flex-direction: column;
background: transparent;
justify-content: center;
align-items: center;
@media (max-width: 992px) {
justify-content: center;
margin-bottom: 20px;
}
svg {
width: 200px;
margin: 0;
path,
rect {
fill: #000;
}
}
img {
width: 200px;
}
&.ar {
justify-content: flex-end;
@media print {
flex-direction: row;
justify-content: space-between;
align-items: center;
img {
width: 100px;
}
}
}
}
}
}
}
#box-inner-receipt {
padding: 20px;
.receipt-body {
border: 1px solid rgba(#000, 1);
padding: 15px;
.topBar {
margin-bottom: 30px;
svg {
width: 200px;
path,
rect {
fill: #000;
}
}
}
.topLeft {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: rgba(0, 0, 0, 0.05);
padding: 10px;
flex-basis: 300px;
&:first-child {
margin-left: 5px;
}
}
.stuff-list {
margin-bottom: 30px !important;
@media print {
.notice {
display: none;
}
}
table {
width: 100% !important;
thead {
tr {
background: rgba(0, 0, 0, 0.7) !important;
color: #fff !important;
}
}
tr {
background-color: #e0e6ed !important;
&.odd {
background-color: #8a92a9 !important;
}
td,
th {
padding: 10px !important;
text-align: center !important;
}
}
}
}
}
}
#factor-layout {
border: 1px dashed #000;
padding: 10px;
span,
p {
font-family: 'iranYekanR', sans-serif;
color: #000;
}
.pageHeader {
margin-bottom: 10px;
.row1 {
h2 {
text-align: center;
font-family: 'iranYekanB';
font-weight: bold;
}
}
.row2 {
display: flex;
flex-direction: column;
align-items: flex-end;
@media (max-width: 992px) {
align-items: flex-start;
margin-top: 20px;
}
p {
width: 200px;
text-align: right;
}
}
}
.factor {
width: 100%;
border: 1px solid #000;
.factorInfo {
display: flex;
flex-direction: column;
padding: 10px;
p {
text-align: right;
padding: 10px 0;
color: #000;
}
.row1 {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
p {
flex-basis: 33.33%;
@media (max-width: 992px) {
flex-basis: 100%;
}
}
}
}
table {
width: 100%;
thead {
tr {
th {
background: rgba(#000, 0.1);
text-align: center;
border: 1px solid #000;
padding: 5px;
}
}
}
tbody {
tr {
td,
th {
text-align: center;
border: 1px solid #000;
padding: 5px;
}
}
}
}
}
}
+16
View File
@@ -0,0 +1,16 @@
// colors
$theme: #065495;
$theme_darker: #004279;
$bg: #e0e6ed;
$darkGray: #414344;
$green: green;
$red: red;
$txtColor: #707070;
$tableHead: rgba(#000, 0.7);
$tableBody: rgba(#e0e6ed, 0.8);
$tableBodyHover: rgba($theme, 0.3);
$tableStrip: rgba(#8a92a9, 0.3);
// units
$mt: 30px;
+67
View File
@@ -0,0 +1,67 @@
.btn {
@extend %appearance;
display: inline-block;
border: 1px solid transparent;
padding: 10px 30px;
@include borderRadius(5px);
@extend %defaultTransition;
cursor: pointer;
span {
font-family: 'iranYekanR';
}
&.btn-primary {
border-color: $theme;
background-color: $theme;
color: #fff;
&:hover {
background-color: $theme_darker;
border-color: $theme_darker;
}
&:disabled {
border-color: gray;
background-color: gray;
cursor: not-allowed;
}
span {
color: #fff;
}
}
&.btn-secondary {
padding: 10px 50px;
@include borderRadius(25px);
background: #fff;
&.secondary-reverse {
background: $theme;
color: #fff;
}
&:disabled {
border-color: gray;
background-color: gray;
cursor: not-allowed;
}
}
&.btn-danger {
border-color: $red;
background-color: $red;
color: #fff;
&:hover {
background-color: $red;
border-color: $red;
}
&:disabled {
border-color: gray;
background-color: gray;
}
}
}
+324
View File
@@ -0,0 +1,324 @@
.site--footer {
padding-top: 20px;
background: #fff;
section {
padding-top: 20px;
padding-bottom: 20px;
}
.apps {
.btns {
text-align: center;
button {
margin: 0 10px;
border: none;
background: transparent;
cursor: pointer;
height: 80px;
img {
height: 100%;
}
}
}
}
.r1 {
a {
b {
display: inline-block !important;
direction: ltr !important;
color: rgba(#000, 0.5);
@extend %defaultTransition;
}
&:hover {
b {
color: $theme;
}
}
}
i {
margin-left: 10px;
margin-right: 10px;
}
}
.r2 {
ul {
display: flex;
justify-content: space-between;
@media (max-width: 575px) {
flex-wrap: wrap;
li {
flex-basis: 50%;
margin-left: 0 !important;
margin-right: 0 !important;
margin-bottom: 30px !important;
img {
width: 90% !important;
max-width: 90px;
}
}
}
li {
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
text-align: center;
margin: 0 15px;
img {
display: block;
width: 60px;
@media (max-width: 768px) {
width: 40px;
}
}
p {
margin-top: 10px;
font-family: 'iranYekanB';
font-size: 14px;
color: rgba(#000, 0.6);
@media (max-width: 768px) {
font-size: 12px;
}
}
}
}
}
.r3 {
h3 {
margin-bottom: 20px;
@media (min-width: 575px) and (max-width: 768px) {
font-size: 16px;
}
}
ul {
li {
margin-bottom: 10px;
a {
padding: 10px 0;
@extend %defaultTransition;
@media (min-width: 575px) and (max-width: 768px) {
font-size: 14px;
}
&:hover {
color: $theme;
}
}
}
}
.r3-3 {
ul {
display: flex;
justify-content: flex-start;
align-items: center;
li {
display: block;
margin-left: 30px;
img {
width: 25px;
}
}
}
.newsletter {
margin-top: 30px;
.inputBox {
display: flex;
align-items: center;
flex-wrap: wrap;
input {
border: none;
background: #f5f5f5;
@include borderRadius(5px);
padding: 10px;
flex-grow: 1;
margin-bottom: 5px;
@media (min-width: 575px) and (max-width: 768px) {
width: 50%;
font-size: 10px;
padding: 11px 10px;
&::placeholder {
font-size: 10px;
}
}
}
button {
cursor: pointer;
border: none;
margin-right: 4px;
background: $theme;
@include borderRadius(5px);
padding: 9px;
color: #fff;
margin-bottom: 5px;
@media (min-width: 575px) and (max-width: 768px) {
font-size: 12px;
}
&:disabled {
background: #8a92a9;
}
}
}
}
}
}
.r4 {
.bg {
padding-top: 10px;
padding-bottom: 10px;
@include borderRadius(10px);
background: $theme;
}
.logo {
display: flex;
justify-content: flex-start;
align-items: center;
@media (max-width: 768px) {
margin-bottom: 20px;
justify-content: center;
}
a {
display: inline-block;
overflow: hidden;
height: 52px;
svg {
width: 200px;
@media (max-width: 270px) {
max-width: 200px;
width: 100%;
}
* {
fill: #fff;
}
}
}
}
.companies {
ul {
height: 100%;
display: flex;
justify-content: flex-end;
align-items: center;
@media (max-width: 768px) {
justify-content: space-around;
}
li {
display: block;
margin-right: 10px;
img {
width: 52px;
@media (max-width: 768px) {
width: 50px;
}
@media (max-width: 400px) {
width: 40px;
}
@media (max-width: 270px) {
width: 30px;
}
}
}
}
}
}
.r5 {
h3 {
margin-bottom: 20px;
}
p {
@media (max-width: 1200px) {
text-align: justify;
}
}
.btns {
margin-top: 10px;
a {
display: inline-flex;
justify-content: flex-start;
align-items: center;
&:hover {
span {
color: $theme;
}
i {
color: $theme;
margin-right: 8px;
}
}
span {
color: rgba(#000, 0.6);
font-family: 'iranYekanB';
@extend %defaultTransition;
}
i {
color: rgba(#000, 0.6);
margin-right: 4px;
@extend %defaultTransition;
}
}
}
}
.r6 {
background: #f5f5f5;
text-align: center;
padding: 8px 0;
a {
display: inline-block;
font-size: 14px;
direction: ltr !important;
@media (max-width: 500px) {
font-size: 12px;
}
}
}
}
+447
View File
@@ -0,0 +1,447 @@
.form {
.formRow {
width: 100%;
display: block;
margin-bottom: 20px;
&.center-align {
flex-basis: 100%;
text-align: center;
}
&.err {
input,
textarea,
select {
@include boxShadow(0 0 5px rgba(red, 0.3));
border: 2px solid rgba(red, 0.2);
&::placeholder {
color: red;
}
}
p {
color: red;
padding-right: 1%;
}
}
}
.btnRow {
text-align: center;
button {
@extend %appearance;
@extend %defaultTransition;
margin-top: 20px;
}
}
.msgBox {
margin: 20px 0;
.inner {
background: gray;
@include borderRadius(15px);
width: 95%;
padding: 20px;
margin: 0 auto;
&.success {
background: $green;
}
&.success-link {
background: $theme;
@extend %defaultTransition;
cursor: pointer;
&:hover {
opacity: 0.8;
}
}
&.error {
background: $red;
}
}
p,
a {
display: block;
color: #fff;
text-align: center;
font-size: 14px;
}
}
&.form_1 {
width: 100%;
background: #fff;
@include borderRadius(15px);
padding: 40px 20px;
.formRow {
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;
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;
&:disabled {
color: rgba(#000, 0.4);
}
}
}
input,
textarea {
@extend %appearance;
@extend %defaultTransition;
width: 95%;
display: block;
margin: 0 auto;
border: 2px solid transparent;
border-bottom: 2px solid rgba(0, 0, 0, 0.1);
outline: none;
padding: 10px;
background: transparent;
&:focus {
@include boxShadow(0 0 3px rgba($theme, 0.2));
border: 2px solid rgba($theme, 0.1);
}
&::placeholder {
color: rgba(#000, 1);
}
}
textarea {
max-width: 95%;
min-width: 95%;
}
}
}
&.form_2 {
width: 100%;
background: #fff;
padding: 40px 20px;
@media (max-width: 575px) {
padding: 40px 0;
}
.title {
padding-right: 15px;
}
.formRow {
width: 100%;
display: block;
margin-bottom: 20px;
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;
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;
&:disabled {
color: rgba(#000, 0.4);
}
}
}
input,
textarea {
@extend %appearance;
@extend %defaultTransition;
width: 95%;
display: block;
margin: 0 auto;
border: 1px solid transparent;
outline: none;
padding: 10px;
background: rgba(0, 0, 0, 0.05);
@include borderRadius(25px);
@include boxSizing(border-box);
&:focus {
@include boxShadow(0 0 3px rgba($theme, 0.2));
border: 1px solid rgba($theme, 0.1);
}
&::placeholder {
color: rgba(#000, 0.5);
}
&[type='checkbox'] {
display: inline-block;
width: 15px;
height: 15px;
padding: 0 !important;
margin: 0 !important;
@include borderRadius(0);
@include transform(translateY(3px));
border: 1px solid transparent;
&:checked {
background: $theme;
border: 1px solid #000;
}
}
}
label {
display: block;
margin-bottom: 8px;
}
label {
cursor: pointer;
padding-right: 2.5%;
}
}
}
&.form_3 {
width: 100%;
background: #fff;
padding: 40px 20px;
border: 1px solid rgba(#000, 0.2);
.formRow {
&:last-child {
margin-bottom: 0;
}
select {
width: 100%;
display: block;
margin: 0 auto;
@extend %appearance;
@extend %defaultTransition;
border: 1px solid transparent;
outline: none;
padding: 10px 10px 10px 30px;
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: 5px 50%;
background-color: #e0e6ed;
cursor: pointer;
color: rgba(#000, 0.5);
option {
padding: 10px;
&:disabled {
color: rgba(#000, 0.4);
}
}
}
input,
textarea {
@extend %appearance;
@extend %defaultTransition;
width: 100%;
display: block;
margin: 0 auto;
border: 1px solid transparent;
outline: none;
padding: 10px;
background-color: #e0e6ed;
@include boxSizing(border-box);
&:focus {
@include boxShadow(0 0 3px rgba($theme, 0.2));
border: 1px solid rgba($theme, 0.1);
}
&::placeholder {
color: rgba(#000, 0.5);
}
&[type='checkbox'] {
display: inline-block;
width: 15px;
height: 15px;
padding: 0 !important;
margin: 0 !important;
@include transform(translateY(3px));
border: 1px solid transparent;
&:checked {
background: $theme;
border: 1px solid #000;
}
}
}
textarea {
max-width: 100%;
min-width: 100%;
}
label {
display: block;
margin-bottom: 8px;
}
label {
cursor: pointer;
}
}
}
&.form_4 {
display: flex;
flex-wrap: wrap;
.formRow {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
padding: 5px 10px;
margin-bottom: 0;
flex-basis: 50%;
flex-wrap: wrap;
@media (max-width: 768px) {
flex-basis: 100%;
}
&:nth-child(odd) {
border-left: 1px solid #000;
@media (max-width: 768px) {
border-left: none;
}
}
&.full {
flex-basis: 100%;
border-left: none;
}
&.textarea {
label {
flex-wrap: wrap;
span {
flex-basis: 100%;
}
textarea {
display: block;
flex-basis: 100%;
border: none;
background: transparent;
}
}
}
&.selectable {
display: flex;
span {
display: block;
font-weight: bold;
color: #000;
flex-grow: 0;
}
.options {
flex-grow: 1;
display: flex;
flex-wrap: wrap;
padding-right: 10px;
label {
flex-direction: row-reverse;
align-items: center;
margin-left: 20px;
direction: rtl;
cursor: pointer;
input {
margin-left: 5px;
}
}
}
}
label {
display: flex;
span {
display: block;
font-weight: bold;
color: #000;
flex-grow: 0;
}
input {
display: block;
flex-grow: 1;
padding-right: 10px;
border: none;
background-color: transparent;
&:disabled {
color: green;
font-weight: bold;
cursor: not-allowed;
}
}
}
&.err {
input {
@include boxShadow(none);
border-bottom: 1px solid rgba(red, 0.2);
}
label {
span {
color: red;
}
}
p {
font-size: 12px;
flex-basis: 100%;
text-align: center;
}
}
}
}
}
+146
View File
@@ -0,0 +1,146 @@
.site--header {
background: $theme;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 10;
a {
color: #fff;
display: inline-block;
@extend %defaultTransition;
span {
color: #fff;
}
}
.logo {
display: flex;
justify-content: flex-start;
align-items: center;
a {
display: block;
width: 100%;
max-width: 150px;
svg {
display: block;
width: 100%;
}
}
}
.links {
display: flex;
justify-content: center;
li {
margin: 0 10px;
border-bottom: 2px solid transparent;
@extend %defaultTransition;
a {
padding: 20px;
@media (max-width: 1420px) {
font-size: 14px;
padding: 21px 8px;
}
@media (max-width: 1120px) {
font-size: 14px;
padding: 21px 4px;
}
}
&.active {
border-bottom: 2px solid #fff;
}
}
}
.account {
// display: flex;
justify-content: flex-end;
align-items: center;
a {
padding: 20px 0;
display: flex;
justify-content: flex-end;
align-items: center;
span {
margin-left: 5px;
}
}
}
.menu {
i {
display: inline-block;
padding: 20px 0;
font-size: 20px;
color: #fff;
cursor: pointer;
@extend %userSelect;
}
}
.dropDown-container {
position: relative;
cursor: pointer;
i {
display: inline-block;
@extend %defaultTransition;
}
&.d-active {
i {
@include transform(rotate(180deg));
}
.drop-down {
height: 113px;
border-top: 1px solid rgba(#fff, 0.1);
}
&.agents {
.drop-down {
height: 169px;
}
}
}
.drop-down {
position: absolute;
top: 65px;
right: -5px;
background: $theme;
min-width: 160px;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
border-top: 1px solid transparent;
overflow: hidden;
height: 0;
@extend %defaultTransition;
a {
display: block;
padding: 15px 20px;
&:hover {
background: rgba(#fff, 0.05);
}
&.active {
background: rgba(#fff, 0.1);
}
}
}
}
}
+29
View File
@@ -0,0 +1,29 @@
.hero {
margin-bottom: 100px;
.bg {
width: 100%;
height: 60vh;
display: flex;
justify-content: flex-start;
align-items: center;
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
h2 {
color: #fff;
font-size: 48px;
@media (max-width: 992px) {
font-size: 38px;
}
@media (max-width: 768px) {
font-size: 28px;
}
@media (max-width: 575px) {
font-size: 24px;
}
}
}
}
+77
View File
@@ -0,0 +1,77 @@
.lottery {
.lottery-popup-button {
position: fixed;
z-index: 12;
cursor: pointer;
background-position: center;
background-size: 100% 100%;
@extend %defaultTransition;
&:hover {
@include transform(scale(1.1));
}
}
.lottery-popup {
position: fixed;
top: 0;
left: 0;
z-index: 13;
width: 100vw;
height: 100vh;
overflow: hidden;
visibility: hidden;
opacity: 1;
.relativePos {
width: 100%;
height: 100%;
}
.bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 13;
background: rgba(#000, 0.5);
}
.content {
position: absolute;
top: 50%;
left: 50%;
z-index: 14;
max-width: calc(100% - 30px);
@include transform(translate(-50%, -50%) scale(0));
background-position: center;
background-size: cover;
background-repeat: no-repeat;
@include borderRadius(10px);
@include boxShadow(0 4px 8px rgba(#000, 0.5));
.closeBtn {
position: absolute;
top: 0;
right: 0;
font-size: 22px;
padding: 10px;
cursor: pointer;
color: rgba(#000, 0.4);
@extend %defaultTransition;
&:hover {
color: rgba(red, 0.4);
}
}
.btnBox {
position: absolute;
bottom: 20px;
left: 50%;
@include transform(translateX(-50%));
}
}
}
}
+194
View File
@@ -0,0 +1,194 @@
.messenger {
margin-top: 50px;
.messenger-title {
margin-bottom: 20px;
}
.messenger-body {
height: 100%;
$newMsg-height: 70px;
$min-height: 400px;
background-color: rgba(#e0e6ed, 0.75);
min-height: $min-height;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
position: relative;
overflow: hidden;
.messages {
min-height: calc(#{$min-height} - #{$newMsg-height});
margin-bottom: $newMsg-height;
padding: 20px 10px;
&.no-msg {
display: flex;
justify-content: center;
align-items: center;
p {
color: #000;
}
}
.message {
width: 100%;
margin-bottom: 30px;
--avatar-width: 50px;
.txt {
width: 60%;
background: #fff;
@include borderRadius(15px);
padding: 15px;
padding-bottom: 35px;
margin-bottom: 10px;
position: relative;
@media (max-width: 768px) {
width: calc(100% - 60px);
}
img {
width: 100%;
margin-bottom: 15px;
}
p:not(.date) {
color: #000;
}
.date {
position: absolute;
bottom: 0;
font-size: 12px;
}
}
svg {
width: var(--avatar-width);
display: block;
}
&.user {
.txt {
margin-right: calc(var(--avatar-width) - 5px);
.date {
left: 5px;
}
}
}
&.asan-admin {
.txt {
margin-right: auto;
margin-left: calc(var(--avatar-width) - 5px);
.date {
right: 5px;
}
}
svg {
margin-right: auto;
}
}
&.unread {
.txt {
background: rgba(orange, 0.2);
}
}
}
}
.newMsg {
background-color: rgba(#8a92a9, 0.16);
width: 100%;
height: $newMsg-height;
position: absolute;
bottom: 0;
left: 0;
.relativePos {
display: flex;
justify-content: flex-start;
align-items: center;
}
input[type='text'] {
border: none;
background-color: #fff;
padding: 20px;
padding-left: 150px;
width: calc(100% - 70px);
margin-right: 5px;
@include borderRadius(50px);
@include boxSizing(border-box);
}
input[type='file'] {
width: 0;
height: 0;
visibility: hidden;
}
label {
background-image: url("data:image/svg+xml,%3Csvg fill='rgba(6,84,149,0.5)' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 605.942 605.942' style='enable-background:new 0 0 605.942 605.942;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M435.099,0c-45.632,0-88.544,17.777-120.822,50.055L50.036,314.276c-66.603,66.622-66.603,175.018,0,241.64 c32.269,32.259,75.171,50.026,120.808,50.026s88.544-17.768,120.812-50.026l19.757-19.751l-12.321,0.588 c-0.062,0.005-0.728,0.033-1.889,0.033c-5.709,0-25.776-0.746-44.309-10.312l-2.815-1.454l-2.43,2.027 c-21.425,17.915-48.706,27.779-76.806,27.779c-32.034,0-62.118-12.432-84.714-35.009c-22.592-22.591-35.037-52.68-35.037-84.724 s12.445-62.127,35.037-84.724L350.37,86.149c22.592-22.591,52.685-35.037,84.729-35.037c32.04,0,62.128,12.446,84.724,35.037 c46.666,46.703,46.666,122.696,0.005,169.399L354.798,420.19c-8.291,8.306-19.771,12.881-32.331,12.881 c-13.641,0-26.847-5.394-36.242-14.808c-9.018-9.008-14.181-21.563-14.176-34.463c0-12.604,4.776-24.304,13.431-32.938 L432.541,204.36l-36.099-36.094L249.366,314.75c-18.479,18.479-28.539,43.284-28.334,69.84 c0.206,26.444,10.538,51.222,29.09,69.772c18.871,18.867,45.226,29.687,72.321,29.687c26.244,0,50.566-9.863,68.486-27.765 l164.986-164.628c66.589-66.631,66.589-175.018,0-241.601C523.643,17.777,480.731,0,435.099,0z'/%3E%3C/g%3E%3C/svg%3E%0A");
background-size: 100%;
-webkit-background-size: 100%;
background-repeat: no-repeat;
display: block;
width: 35px;
height: 35px;
cursor: pointer;
position: absolute;
top: 50%;
left: 10px;
@include transform(translateY(-50%));
}
img {
width: 50px;
height: 50px;
object-fit: cover;
@include borderRadius(50%);
@extend %defaultBoxShadow;
border: 2px solid $theme;
position: absolute;
top: 50%;
left: 5px;
@include transform(translateY(-50%));
}
#clearFile {
display: inline-block;
color: red;
font-size: 25px;
position: absolute;
top: 0;
left: 40px;
cursor: pointer;
}
button {
position: absolute;
top: 50%;
left: 80px;
@include transform(translateY(-50%));
@include borderRadius(25px);
}
.validationMsg {
position: absolute;
right: 15px;
bottom: 65px;
p {
color: red;
}
}
}
}
}
+47
View File
@@ -0,0 +1,47 @@
.mobile-menu {
display: none;
.body {
background: $theme;
padding: 20px 25px;
overflow: auto;
position: fixed;
top: 55px;
left: 0;
z-index: 15;
height: 100vh;
@include boxShadow(10px 10px 10px rgba(#000, 0.4));
ul {
margin-top: 20px;
li {
margin-bottom: 20px;
a {
color: #fff;
padding: 15px 0;
span,
i {
color: #fff;
}
}
}
}
.title {
border-bottom: 1px solid rgba(#fff, 0.2);
}
}
.bg {
background: rgba(#000, 0.4);
width: 100vw;
height: 100vh;
position: fixed;
top: 60px;
left: 0;
z-index: 14;
}
}
+44
View File
@@ -0,0 +1,44 @@
.pwa_dialog {
display: none;
position: fixed;
z-index: 50;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(#000, 0.5);
.dialog-wrapper {
position: fixed;
z-index: 51;
bottom: 50px;
left: 50%;
@include transform(translateX(-50%));
background: #fff;
padding: 20px;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
text-align: center;
@media (max-width: 768px) {
width: 95%;
}
.btns {
margin-top: 30px;
button {
margin: 5px 10px;
}
.cancel {
border-color: $theme;
color: $theme;
}
}
}
&.active {
display: block !important;
}
}
+121
View File
@@ -0,0 +1,121 @@
.representation-form {
h1 {
text-align: center;
margin-bottom: 50px;
font-weight: bold;
}
.notic {
border: 2px dashed $theme;
padding: 20px;
background: rgba($theme, 0.1);
@include boxSizing(border-box);
p {
font-weight: bold;
color: $theme;
line-height: 1.8em;
}
}
.notic2 {
margin-top: 80px;
margin-bottom: -30px;
&::before {
content: '';
$radius: 10px;
display: inline-block;
width: $radius;
height: $radius;
@include borderRadius(100%);
background: #000;
margin-left: 10px;
}
span {
font-weight: bold;
color: #000;
}
}
.box {
border: 2px solid #000;
margin-top: 50px;
.box-title {
background: $theme;
padding: 10px;
p {
color: #fff;
font-size: 20px;
font-weight: bold;
text-align: center;
}
}
table {
width: 100%;
th {
font-weight: bold;
background: $theme;
color: #fff;
}
td,
th {
border: 1px solid #000;
padding: 10px;
}
tbody {
tr {
position: relative;
i {
display: block;
position: absolute;
top: 50%;
left: 10px;
@include transform(translateY(-50%));
color: rgba(#000, 0.3);
cursor: pointer;
padding: 5px;
font-size: 15px;
@extend %defaultTransition;
&:hover {
color: red;
}
}
}
}
.add-btn {
padding: 0;
button {
width: 100%;
height: 100%;
padding: 10px;
border: none;
background: rgba(#000, 0.1);
color: #000;
cursor: pointer;
@extend %defaultTransition;
&:hover {
background: rgba(#000, 0.5);
color: #fff;
}
}
}
}
}
.post-form {
margin: 50px 0;
text-align: center;
}
}
+525
View File
@@ -0,0 +1,525 @@
.tableBox {
width: 100%;
overflow: auto;
table {
display: block;
width: 100%;
min-width: 1000px;
thead,
tbody {
display: block;
tr {
display: flex;
justify-content: space-between;
width: 100%;
@include borderRadius(5px);
th,
td {
display: block;
width: 100%;
text-align: right;
&.index {
width: 80px;
}
}
}
}
thead {
tr {
background: $tableHead;
color: #fff;
padding: 15px 10px;
th {
&:last-child {
padding-left: 10px;
text-align: left;
}
}
}
}
tbody {
margin-top: 20px;
tr {
margin-bottom: 5px;
background: $tableBody;
padding: 5px 10px;
@extend %defaultTransition;
&:hover {
background: $tableBodyHover !important;
}
&:nth-child(even) {
background-color: $tableStrip;
}
.trashIcon-btn {
// border: 1px solid gray;
border: none;
background: transparent;
padding: 4px 8px;
cursor: pointer;
@include borderRadius(4px);
&:hover {
i {
color: red;
}
}
i {
color: gray;
@extend %defaultTransition;
}
}
td {
&:last-child {
text-align: left;
}
&.noItem {
text-align: center !important;
}
span {
display: inline-block;
padding: 4px 0;
color: #000;
}
.btn {
padding: 4px 8px;
}
}
}
}
&.qaurantee {
&.atl{
min-width: 1300px;
.index-atl{
min-width: 75px;
max-width: 75px;
}
}
.brand {
width: 120px;
display: flex;
justify-content: center;
align-items: center;
img {
display: block;
width: 100%;
}
}
tbody {
tr {
&.unread {
background: rgba(orange, 0.2);
}
}
}
}
&.history {
min-width: 1200px;
tr {
th {
font-size: 12px;
}
td,
th {
&:last-child {
text-align: right;
}
&.index {
width: 50px;
}
&.date {
width: 100px;
}
&.transID {
width: 110px;
}
&.itemID {
width: 80px;
}
&.itemCode {
width: 80px;
}
&.itemName {
width: 400px;
}
&.quantity {
width: 90px;
}
&.repairCount {
width: 90px;
}
&.remainCount {
width: 60px;
}
}
}
}
&.tickets {
tr {
.title {
width: 50%;
}
.transactionId {
width: 130px;
}
.date {
width: 150px;
}
.details {
width: 100px;
}
}
}
&.drafts {
tr {
.description {
width: 100%;
}
.brand {
width: 120px;
display: flex;
justify-content: center;
align-items: center;
img {
display: block;
width: 100%;
}
}
.quantity {
width: 120px;
text-align: center;
}
.details {
width: 200px;
}
}
}
&.agent-requests {
tr {
th,
td {
font-size: 14px;
}
.description {
width: 50%;
margin-left: 20px;
}
.createDate {
width: 250px;
}
.quantity {
width: 120px;
}
.details {
width: 200px;
}
}
&.extended {
.description {
width: 400px;
}
.createDate {
width: 100px;
margin-left: 20px;
}
.sendDate {
width: 100px;
margin-left: 20px;
}
.trackingCode {
width: 100px;
margin-left: 20px;
}
.status {
width: 120px;
margin-left: 20px;
}
.deliveryCode {
width: 140px;
margin-left: 20px;
}
.quantity {
width: 100px;
}
.details {
width: 80px;
}
}
}
&.pieces-items {
td {
span {
font-size: 14px;
}
}
.index {
width: 50px;
}
.recieptDate {
width: 110px;
}
.itemName {
width: 300px;
}
.itemSerial {
width: 120px;
}
.guaranteeStatus {
width: 120px;
}
.pieceName {
width: 200px;
}
.pieceCode {
width: 100px;
}
.quantity {
width: 60px;
}
.removeBtn {
width: 60px;
}
}
&.report-items {
th {
text-align: center;
font-size: 14px;
line-height: 1.6em;
}
td {
text-align: center;
padding: 0 10px;
span {
font-size: 14px;
line-height: 1.6em;
}
}
.index {
width: 60px;
}
.customerName {
width: 100px;
}
.customerTel {
width: 100px;
}
.itemName {
width: 130px;
}
.itemSerial {
width: 100px;
}
.productIssue {
width: 300px;
}
.usedPieces {
width: 300px;
}
.recieveDate {
width: 100px;
}
.deliverDate {
width: 100px;
}
.removeBtn {
width: 50px;
}
}
&.drafts-modal {
min-width: 100%;
tr {
.description {
width: 100%;
}
.brand {
width: 120px;
display: flex;
justify-content: center;
align-items: center;
img {
display: block;
width: 100%;
}
}
.quantity {
width: 120px;
text-align: center;
}
.details {
padding: 0;
width: 100px;
}
.name {
width: 70%;
}
.addStatus {
padding: 0;
width: 80px;
display: flex;
justify-content: flex-end;
align-items: center;
i {
font-size: 20px;
cursor: pointer;
}
}
}
}
&.formItems {
thead {
tr {
background: $tableHead;
th {
font-size: 13px;
font-family: 'iranYekanB';
color: #fff;
}
}
}
tbody {
margin-top: 5px;
}
tr {
td,
th {
text-align: center;
&.index {
text-align: right;
}
&.itemName {
text-align: right;
width: 600px;
}
&.quantity {
width: 70px;
}
&.itemSerial {
width: 130px;
}
&.date {
width: 140px;
}
&.selector {
width: 50px;
display: flex;
justify-content: flex-end;
align-items: center;
.el-checkbox {
margin-top: 2px;
}
}
&.removeBtn {
width: 60px;
}
.itemsDeleteBtn {
padding: 4px;
@extend %defaultTransition;
cursor: pointer;
&:hover {
color: $red;
}
}
}
th {
&:last-child {
padding-left: 0;
}
}
}
}
&.lotteryWinners {
min-width: 300px;
.name {
width: 50%;
}
.mobile {
span {
direction: ltr;
}
}
}
}
}
+50
View File
@@ -0,0 +1,50 @@
.upload-assets {
.title {
text-align: center;
background: rgba($theme, 0.03);
padding: 15px;
@extend %defaultBorderRadius;
border: 1px dashed $theme;
h3 {
b {
color: $theme;
}
}
}
.level-description {
margin-top: 50px;
h3 {
margin-bottom: 20px;
}
}
.upload-description {
margin-top: 50px;
ul {
margin-top: 20px;
li {
list-style: disc;
list-style-position: inside;
margin-bottom: 10px;
span {
color: #000;
}
}
}
}
.upload {
margin-top: 50px;
p {
margin-top: 20px;
margin-bottom: 40px;
}
}
}
+61
View File
@@ -0,0 +1,61 @@
// app modules
@import './app/variables.scss';
@import './app/mixins.scss';
@import './app/extentions.scss';
@import './app/fonts.scss';
@import './app/global.scss';
@import './app/CKEditorStyle.scss';
@import './app/el_ui_rtl.scss';
@import './app/el-ui-custom.scss';
@import './app/printStyles.scss';
// components
@import './components/lottery.scss';
@import './components/footer.scss';
@import './components/header.scss';
@import './components/hero.scss';
@import './components/messenger.scss';
@import './components/pwa-dialog.scss';
@import './components/mobile-menu.scss';
@import './components/table-box.scss';
@import './components/form.scss';
@import './components/btn.scss';
@import './components/representation-form.scss';
@import './components/upload-assets.scss';
// pages
@import './pages/error.scss';
@import './pages/home.scss';
@import './pages/faq.scss';
@import './pages/learning.scss';
@import './pages/learning-post.scss';
@import './pages/warranty-terms.scss';
@import './pages/downloads.scss';
@import './pages/downloads-details.scss';
@import './pages/about.scss';
@import './pages/contact.scss';
@import './pages/user-auth.scss';
@import './pages/activation.scss';
@import './pages/agents.scss';
@import './pages/representation.scss';
@import './pages/lottery.scss';
@import './pages/agent-benefits.scss';
// user dashboard pages
@import './pages/user-dashboard/index.scss';
@import './pages/user-dashboard/layout.scss';
@import './pages/user-dashboard/agent-guarantee-details.scss';
@import './pages/user-dashboard/agent-reports.scss';
@import './pages/user-dashboard/agent-request-details.scss';
@import './pages/user-dashboard/agent-requests.scss';
@import './pages/user-dashboard/announcements.scss';
@import './pages/user-dashboard/factor.scss';
@import './pages/user-dashboard/guarantee-details.scss';
@import './pages/user-dashboard/guarantee.scss';
@import './pages/user-dashboard/post-address.scss';
@import './pages/user-dashboard/post-receipt.scss';
@import './pages/user-dashboard/post.scss';
@import './pages/user-dashboard/profile.scss';
@import './pages/user-dashboard/ticket-messenger.scss';
@import './pages/user-dashboard/tickets.scss';
@import './pages/user-dashboard/verify.scss';
+56
View File
@@ -0,0 +1,56 @@
.about--page {
.txt {
display: flex;
align-items: center;
h2 {
color: #fff;
@media (max-width: 575px) {
width: 100%;
text-align: center !important;
}
}
p {
color: rgba(#fff, 0.7);
}
}
.s1 {
text-align: center;
padding: 80px 0;
background: #fff;
}
.s2 {
padding: 100px 0;
background: #142b3e;
}
.s3 {
padding: 100px 0;
background: url('/assets/img/about/s3.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
}
.s4 {
padding: 100px 0;
background: #fff;
h2,
p {
color: #000;
}
}
.s5 {
padding: 100px 0;
background: url('/assets/img/about/s5.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
}
}
+48
View File
@@ -0,0 +1,48 @@
.activation-page {
display: flex;
justify-content: center;
align-items: center;
.s1 {
flex-basis: 100%;
padding: 150px 0;
.msgBox,
.content {
width: 100%;
max-width: 600px;
@extend %defaultBorderRadius;
@include boxShadow(0 5px 10px rgba(#000, 0.5));
margin: 0 auto;
text-align: center;
}
.msgBox {
padding: 10px 25px;
&.success {
background: #37d200;
}
&.err {
background: tomato;
}
h2 {
color: #fff;
font-size: 20px;
}
}
.content {
background: #fff;
margin-top: 30px;
padding: 25px;
.btn {
display: inline-block;
margin-top: 10px;
}
}
}
}
+96
View File
@@ -0,0 +1,96 @@
.agent-benefits--page {
.hero {
.bg {
background-image: url('/assets/img/agents/agents-hero.jpg');
}
}
.panel {
width: 100%;
background: #fff;
@extend %defaultBorderRadius;
padding: 20px;
@include boxSizing(border-box);
&.not-logged-in {
text-align: center;
a {
color: $theme;
}
}
&.is-agent {
text-align: center;
a {
color: $theme;
}
}
}
.s1 {
.txtBox {
overflow: hidden;
h3 {
margin-bottom: 20px;
}
ul {
li {
list-style: disc;
margin-right: 20px;
margin-bottom: 10px;
p {
a {
color: $theme;
}
}
}
}
}
.links {
margin-top: 50px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
.item {
flex-basis: 32%;
overflow: hidden;
@include boxSizing(border-box);
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
@media (max-width: 768px) {
flex-basis: 100%;
margin-bottom: 15px;
}
button,
a {
display: block;
width: 100%;
height: 100%;
padding: 50px 15px;
border: none;
background: rgba(#000, 0.05);
text-align: center;
color: #000;
font-size: 16px;
font-family: 'iranYekanR';
cursor: pointer;
@extend %defaultTransition;
&:hover {
background: $theme;
color: #fff;
}
}
}
}
}
}
+63
View File
@@ -0,0 +1,63 @@
.agents--page {
.hero {
.bg {
background-image: url('/assets/img/agents/agents-hero.jpg');
}
}
.panel {
width: 100%;
background: #fff;
@extend %defaultBorderRadius;
padding: 20px;
@include boxSizing(border-box);
&.not-logged-in {
text-align: center;
a {
color: $theme;
}
}
&.is-agent {
text-align: center;
a {
color: $theme;
}
}
}
.showDetailsBtn {
background: transparent;
border: 1px solid rgba(#000, 0.2);
@include borderRadius(4px);
padding: 4px 16px;
cursor: pointer;
@extend %defaultTransition;
i {
@extend %defaultTransition;
color: rgba(#000, 0.5);
}
&:hover {
background: $theme;
border-color: $theme;
i {
color: #fff;
}
}
}
.agentDetailsModal {
input {
&:disabled {
color: rgba(#000, 0.8);
cursor: auto;
}
}
}
}
+89
View File
@@ -0,0 +1,89 @@
.contact--page {
background: url('/assets/img/contact/bg.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
.s1 {
min-height: calc(100vh - 85px);
display: flex;
align-items: center;
padding: 150px 0;
.message {
display: flex;
justify-content: center;
.form_1 {
max-width: 450px;
@extend %defaultBoxShadow;
@media (max-width: 992px) {
max-width: 100%;
}
.title {
text-align: center;
margin-bottom: 30px;
p {
font-size: 24px;
color: #000;
}
}
.email {
direction: ltr;
text-align: right;
}
}
}
.contact {
display: flex;
align-items: center;
a,
p,
span,
i {
color: #fff;
@extend %defaultTransition;
}
ul {
li {
margin-bottom: 30px;
a {
font-size: 20px;
span {
direction: ltr !important;
display: inline-block;
}
@media (max-width: 575px) {
font-size: 16px;
}
&:hover {
span,
i {
color: #00bfff;
}
}
}
p {
font-size: 20px;
@media (max-width: 575px) {
font-size: 16px;
}
}
}
}
}
}
}
+104
View File
@@ -0,0 +1,104 @@
.download-details--page {
.s1 {
margin-top: 80px;
.item {
background: #fff;
padding: 25px;
@extend %defaultBorderRadius;
.title {
text-align: center;
h1 {
display: inline-block;
font-size: 20px;
&::after {
content: '';
display: block;
width: 105%;
height: 2px;
background: $theme;
@include transform(translateX(2.5%) translateY(20px));
}
@media (max-width: 768px) {
font-size: 18px;
}
}
img {
width: 25px;
}
}
.description {
display: flex;
flex-wrap: wrap;
margin: 50px 0;
.imgBox {
flex-basis: 30%;
@media (max-width: 768px) {
flex-basis: 100%;
order: 0;
}
img {
width: 100%;
}
}
.ck-content {
flex-basis: 70%;
@media (max-width: 768px) {
flex-basis: 100%;
order: 1;
}
}
}
.download {
.title {
text-align: right;
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 20px;
h3 {
margin-right: 10px;
color: $theme;
}
}
ul {
li {
margin-bottom: 5px;
a {
span,
i {
@extend %defaultTransition;
font-weight: bold;
&:hover {
color: $theme;
}
}
}
}
}
}
.zip-pass {
p {
color: $theme;
font-weight: bold;
}
}
}
}
}
+244
View File
@@ -0,0 +1,244 @@
.download--page {
.hero {
margin-bottom: 50px;
.bg {
background-image: url('/assets/img/download/hero.jpg');
}
}
.s1 {
padding-bottom: 50px;
.filters {
background-color: rgba(#000, 0.15);
@extend %defaultBorderRadius;
//@extend %defaultBoxShadow;
overflow: hidden;
ul {
display: flex;
flex-wrap: wrap;
padding: 5px;
li {
margin: 5px;
@media (max-width: 575px) {
margin: 3px;
}
a {
display: block;
background: rgba(#000, 0.3);
color: #fff;
padding: 3px 15px;
cursor: pointer;
@include borderRadius(10px);
@extend %defaultTransition;
&:hover {
background: rgba(#000, 0.7);
}
&.active {
background: rgba(#000, 0.7);
}
}
}
}
}
}
.s2 {
$imgSize: 180px;
$titleMinHeight: 85px;
$captionMinHeight: 100px;
.item {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
background: #fff;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
padding: 25px 15px;
height: 100%;
@media (max-width: 992px) {
padding: 25px 15px;
}
.imgBox {
flex-basis: $imgSize;
height: $imgSize;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.05);
@include borderRadius(50%);
@media (max-width: 768px) {
flex-basis: 100%;
background-color: transparent;
@include borderRadius(0);
height: auto;
img {
@include borderRadius(0);
}
}
img {
width: 60%;
@include borderRadius(50%);
@media (max-width: 575px) {
width: 100%;
}
}
}
.txtBox {
flex-basis: calc(100% - #{$imgSize});
padding-right: 15px;
height: 100%;
@media (max-width: 768px) {
flex-basis: 100%;
margin-top: 20px;
height: auto;
}
h2 {
margin-bottom: 20px;
font-size: 18px;
@media (min-height: 1400px) {
min-height: $titleMinHeight;
}
b {
color: $theme;
}
span {
display: inline-block;
background: rgba(0, 0, 0, 0.3);
padding: 0 5px;
font-size: 13px;
@include borderRadius(10px);
color: #fff;
}
}
p {
margin-bottom: 15px;
@media (min-width: 1400px) {
min-height: $captionMinHeight;
}
}
a {
display: inline-block;
}
}
}
.untrack {
margin-top: 40px;
margin-bottom: 100px;
h3 {
font-size: 25px;
margin-bottom: 30px;
}
.latest {
position: relative;
padding: 35px 20px;
background-image: linear-gradient(#8ca5db, #ba93d6);
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
height: 100%;
@media (max-width: 992px) {
padding: 50px 15px;
}
&:hover {
.normal {
top: -100%;
}
.hover {
@include transform(translateY(0));
opacity: 1;
}
}
.normal {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
@extend %defaultTransition;
position: absolute;
top: 0;
left: 0;
img {
width: 35%;
margin-bottom: 20px;
}
h2 {
color: #5c5f61;
padding: 0 15px;
text-align: center;
font-size: 20px;
@media (max-width: 1200px) {
font-size: 18px;
}
}
}
.hover {
width: 100%;
height: 100%;
@extend %defaultTransition;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
@include transform(translateY(100%));
opacity: 0;
h2 {
color: #fff;
margin-bottom: 10px;
min-height: $titleMinHeight;
font-size: 22px;
}
p {
color: #fff;
margin-bottom: 30px;
}
}
}
}
}
.s3 {
direction: ltr;
text-align: center;
}
}
+24
View File
@@ -0,0 +1,24 @@
.error--page {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
h1 {
font-family: sans-serif;
font-size: 60px;
}
p {
text-transform: uppercase;
font-family: sans-serif;
font-size: 14px;
margin-top: -20px;
}
a {
margin-top: 20px;
font-family: 'sahel', sans-serif;
}
}
+73
View File
@@ -0,0 +1,73 @@
.FAQ--page {
.hero {
.bg {
background-image: url('/assets/img/FAQ/hero.jpg');
}
.btn {
margin-top: 20px;
}
}
.s1 {
.q-a {
background: #fff;
padding: 25px 80px 25px 25px;
@include borderRadius(5px);
@extend %defaultBoxShadow;
overflow: hidden;
position: relative;
cursor: pointer;
@media (max-width: 575px) {
padding-right: 45px;
}
&.collapsed {
h3 {
height: 27px;
margin-bottom: 0;
}
i {
@include transform(rotate(90deg));
}
}
i {
display: inline-block;
font-size: 30px;
color: $theme;
position: absolute;
top: 25px;
right: 25px;
@extend %defaultTransition;
@media (max-width: 575px) {
right: 10px;
}
}
h3 {
margin-bottom: 40px;
line-height: 1.6em;
overflow: hidden;
@extend %defaultTransition;
}
.answer {
b {
display: inline-block;
color: $theme;
margin-bottom: 10px;
}
}
}
}
.submit {
span {
color: #fff;
}
}
}
+201
View File
@@ -0,0 +1,201 @@
.home--page {
position: relative;
overflow-y: auto;
.bg {
width: 100%;
height: calc(100vh - 50px);
background-image: url('/assets/img/home/bg.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
@media (max-width: 992px) {
position: fixed;
$topOffset: 50px;
height: calc(100vh - #{$topOffset});
top: $topOffset;
left: 0;
z-index: 0;
}
}
.txtBox {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
z-index: 1;
max-width: 1000px;
@include transform(translate(-50%, -50%));
padding: 28px 15px;
background: rgba(#fff, 0.5);
backdrop-filter: blur(5px);
overflow: hidden;
@media (max-width: 992px) {
position: relative;
$topOffset: 50px;
height: calc(100vh - #{$topOffset});
top: 0;
left: 0;
padding-top: $topOffset;
@include transform(translate(0, 0));
overflow-y: auto;
display: flex;
justify-content: center;
//align-items: center;
.container-fluid {
margin-top: auto;
margin-bottom: auto;
}
}
@media (max-width: 575px) {
padding-top: 20px;
padding-bottom: 10px;
.container-fluid {
padding: 0;
.row {
& > div {
padding: 0 5px;
}
}
}
}
.boxBg {
height: 100%;
padding: 15px;
background: #dbd9da;
h1,
p,
h2 {
color: #000;
}
p {
@media (max-width: 575px) {
text-align: justify;
}
}
h1,
h2 {
font-size: 25px;
margin-top: 10px;
margin-bottom: 20px;
}
&.inquiry {
$c1: #e0e6ed;
$c2: #707070;
.switchBox {
margin-top: 40px;
text-align: center;
.switch {
display: flex;
justify-content: space-between;
align-items: center;
button {
width: 50%;
font-size: 12px;
padding: 2px 8px;
background: transparent;
color: rgba($c2, 0.5);
@extend %defaultTransition;
cursor: pointer;
border: 1px solid rgba($c2, 0.2);
&:hover {
color: rgba($c2, 0.8);
background: rgba($c1, 0.1);
}
&.active {
background: rgba($c1, 1) !important;
color: $c2;
border-color: rgba($c2, 0.5);
}
}
}
}
.checkSerial {
input {
background: $c1;
@extend %appearance;
padding: 10px;
border: none;
margin-top: 5px;
margin-bottom: 5px;
width: 100%;
@include boxSizing(border-box);
&::placeholder {
color: $c2;
}
}
button {
display: inline-block;
background: $theme;
color: #fff;
border: 1px solid $theme;
padding: 13px;
cursor: pointer;
@include transition(0.3s);
width: 100%;
@include borderRadius(0);
span {
line-height: 1.3em;
}
&:disabled {
background: gray;
border-color: gray;
}
&:hover {
opacity: 0.8;
}
}
}
}
&.description {
display: flex;
flex-direction: column;
p {
margin-bottom: 10px;
}
.btns {
margin-top: auto;
a {
@include borderRadius(0);
display: inline-block;
@media (max-width: 575px) {
width: 100%;
text-align: center;
&:first-child {
margin-bottom: 10px;
}
}
}
}
}
}
}
}
+29
View File
@@ -0,0 +1,29 @@
.learning--post--page {
.s1 {
margin-top: 100px;
.post {
background: #fff;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
.ck-content {
padding: 25px 15px 35px;
}
video.media {
width: 100%;
//height: 600px;
background: #000;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
img.media {
width: 100%;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
}
}
}
+111
View File
@@ -0,0 +1,111 @@
.learning--page {
.hero {
.bg {
background-image: url('/assets/img/learning/hero.jpg');
}
}
.s1 {
.post {
margin-bottom: 80px;
.txtBox {
position: relative;
z-index: 1;
background: #fff;
padding: 35px 25px;
@include boxSizing(border-box);
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
width: 120%;
@media (max-width: 992px) {
width: 100%;
}
h2 {
margin-bottom: 30px;
}
p {
margin-bottom: 25px;
}
@media (max-width: 992px) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
@media (max-width: 575px) {
padding: 35px 15px;
}
}
.imgBox {
display: block;
position: relative;
z-index: 0;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
&:hover {
.imgMask {
background-color: rgba(#000, 0.4);
}
}
img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
min-height: 400px;
@media (max-width: 1400px) {
//min-height: 400px;
}
}
i {
display: block;
position: absolute;
top: 50%;
left: 50%;
@include transform(translate(-50%, -50%));
z-index: 1;
font-size: 55px;
color: #fff;
}
.imgMask {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 0;
@extend %defaultTransition;
}
@media (max-width: 992px) {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
&.reverse {
direction: ltr;
.txtBox {
direction: rtl;
}
}
}
}
.s2 {
direction: ltr;
text-align: center;
}
}
+53
View File
@@ -0,0 +1,53 @@
.lottery--page {
background-image: url('/assets/img/lottery/lottery2.png');
// padding-top: 200px;
.contentBox {
position: absolute;
top: 50%;
left: 0;
width: 100%;
@include transform(translateY(-50%));
overflow: hidden;
@media (max-width: 768px) {
position: static;
@include transform(translateY(0));
padding-top: 200px;
}
.content {
direction: rtl;
margin-bottom: 50px;
.remain-days {
text-align: center;
background: $theme;
margin: -40px -20px 20px;
padding: 20px 15px;
h1 {
margin: 0;
font-family: iranYekanB;
font-weight: bold;
span {
color: #fff;
}
}
}
h3 {
margin-bottom: 20px;
}
}
.winners-list {
.title {
margin-bottom: 30px;
h2 {
text-align: center;
}
}
}
}
}
+212
View File
@@ -0,0 +1,212 @@
.representation--page {
.hero {
.bg {
background-image: url('/assets/img/agents/representations-hero.jpg');
}
}
.panel {
width: 100%;
background: #fff;
@extend %defaultBorderRadius;
padding: 20px;
@include boxSizing(border-box);
&.not-logged-in {
text-align: center;
a {
color: $theme;
}
}
&.is-agent {
text-align: center;
a {
color: $theme;
}
}
}
.s1 {
.txtBox {
overflow: hidden;
h3 {
margin-bottom: 20px;
}
ul {
li {
list-style: disc;
margin-right: 20px;
margin-bottom: 10px;
p {
a {
color: $theme;
}
}
}
}
}
.links {
margin-top: 50px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
.item {
flex-basis: 32%;
overflow: hidden;
@include boxSizing(border-box);
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
@media (max-width: 768px) {
flex-basis: 100%;
margin-bottom: 15px;
}
button,
a {
display: block;
width: 100%;
height: 100%;
padding: 50px 15px;
border: none;
background: rgba(#000, 0.05);
text-align: center;
color: #000;
font-size: 16px;
font-family: 'iranYekanR';
cursor: pointer;
@extend %defaultTransition;
&:hover {
background: $theme;
color: #fff;
}
}
}
}
}
.enroll {
margin-top: 100px;
}
.checkUploadModalContent {
overflow: hidden;
position: relative;
.repCheckBox {
width: 100%;
}
.resultBox {
width: 100%;
position: absolute;
top: 100%;
left: 0;
border: 1px solid rgba(#000, 0.2);
padding: 15px;
@include boxSizing(border-box);
opacity: 0;
.repInfo {
padding: 15px;
margin: -10px -10px;
overflow: hidden;
$bgColorOpacity: 0.1;
&.accepted {
background: rgba(green, $bgColorOpacity);
}
&.rejected {
background: rgba(red, $bgColorOpacity);
}
&.registered,
&.ongoing,
&.verification {
background: rgba(orange, $bgColorOpacity);
}
p {
font-size: 18px;
text-align: right;
span {
font-family: 'iranYekanR';
color: #000;
}
b {
font-family: 'iranYekanB', sans-serif;
}
}
}
.uploadBtn {
margin-bottom: 30px;
label {
display: inline-block;
font-size: 18px;
font-weight: bold;
cursor: pointer;
padding: 5px;
text-align: center;
border: 1px solid $theme;
@extend %defaultBorderRadius;
@extend %defaultTransition;
margin-bottom: 20px;
&:hover {
background: $theme;
i,
span {
color: #fff;
}
}
i,
span {
@extend %defaultTransition;
color: $theme;
}
i {
font-size: 50px;
}
span {
font-size: 14px;
display: block;
}
}
input {
visibility: hidden;
opacity: 0;
}
p {
text-align: right;
b {
display: inline-block;
direction: ltr !important;
}
&.notice {
color: red;
font-size: 14px;
}
}
}
}
.el-loading-text {
text-align: center !important;
}
}
}
+257
View File
@@ -0,0 +1,257 @@
.user-auth {
background: url('/assets/img/auth/bg.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 150px 15px;
$sideWidth: 250px;
$formBoxWidth: 800px;
.formBox {
width: 100%;
max-width: $formBoxWidth;
position: relative;
@extend %defaultBorderRadius;
overflow: hidden;
background: #fff;
.side {
width: $sideWidth;
height: 100%;
background: url('/assets/img/auth/formbg.jpg');
background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
p {
text-align: center;
margin-bottom: 20px;
span {
color: #fff;
font-size: 14px;
}
}
}
.main {
background: #fff;
margin-right: $sideWidth;
width: calc(#{$formBoxWidth} - #{$sideWidth});
padding: 50px 0;
.form_2 {
width: 70%;
margin-left: auto;
margin-right: auto;
.title {
text-align: center;
margin-bottom: 50px;
p {
font-size: 20px;
}
}
.btnRow {
a {
font-size: 14px;
color: $theme;
display: block;
margin-top: 15px;
}
}
.err {
p {
padding-right: 30px;
}
}
}
}
@media (max-width: 992px) {
$sideHeight: 150px;
.side {
width: 100%;
height: $sideHeight;
position: absolute;
top: 0;
right: 0;
}
.main {
margin: $sideHeight auto 0;
width: 100%;
//height: call(100% - #{$sideHeight});
.form_2 {
width: 100%;
max-width: 500px;
margin: 0 auto;
}
}
}
}
&.login {
.formBox {
.main {
.form_2 {
.formRow {
input {
-webkit-background-size: 16px;
background-size: 16px;
background-position: 95% 10px;
background-repeat: no-repeat;
padding-right: 38px;
&[name='email'] {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(0,0,0,0.5)' viewBox='0 0 512 512'%3E%3Cpath d='M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM48 96h416c8.8 0 16 7.2 16 16v41.4c-21.9 18.5-53.2 44-150.6 121.3-16.9 13.4-50.2 45.7-73.4 45.3-23.2.4-56.6-31.9-73.4-45.3C85.2 197.4 53.9 171.9 32 153.4V112c0-8.8 7.2-16 16-16zm416 320H48c-8.8 0-16-7.2-16-16V195c22.8 18.7 58.8 47.6 130.7 104.7 20.5 16.4 56.7 52.5 93.3 52.3 36.4.3 72.3-35.5 93.3-52.3 71.9-57.1 107.9-86 130.7-104.7v205c0 8.8-7.2 16-16 16z'/%3E%3C/svg%3E");
background-position: 95% 11px;
direction: ltr;
text-align: right;
}
&[name='password'] {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(0,0,0,0.5)' viewBox='0 0 448 512'%3E%3Cpath d='M224 420c-11 0-20-9-20-20v-64c0-11 9-20 20-20s20 9 20 20v64c0 11-9 20-20 20zm224-148v192c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48h16v-64C64 71.6 136-.3 224.5 0 312.9.3 384 73.1 384 161.5V224h16c26.5 0 48 21.5 48 48zM96 224h256v-64c0-70.6-57.4-128-128-128S96 89.4 96 160v64zm320 240V272c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16z'/%3E%3C/svg%3E");
-webkit-background-size: 15px;
background-size: 15px;
direction: ltr;
text-align: right;
}
}
&.err {
input {
&[name='email'] {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,0,0,0.5)' viewBox='0 0 512 512'%3E%3Cpath d='M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM48 96h416c8.8 0 16 7.2 16 16v41.4c-21.9 18.5-53.2 44-150.6 121.3-16.9 13.4-50.2 45.7-73.4 45.3-23.2.4-56.6-31.9-73.4-45.3C85.2 197.4 53.9 171.9 32 153.4V112c0-8.8 7.2-16 16-16zm416 320H48c-8.8 0-16-7.2-16-16V195c22.8 18.7 58.8 47.6 130.7 104.7 20.5 16.4 56.7 52.5 93.3 52.3 36.4.3 72.3-35.5 93.3-52.3 71.9-57.1 107.9-86 130.7-104.7v205c0 8.8-7.2 16-16 16z'/%3E%3C/svg%3E");
}
&[name='password'] {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='rgba(255,0,0,0.5)' viewBox='0 0 448 512'%3E%3Cpath d='M224 420c-11 0-20-9-20-20v-64c0-11 9-20 20-20s20 9 20 20v64c0 11-9 20-20 20zm224-148v192c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48h16v-64C64 71.6 136-.3 224.5 0 312.9.3 384 73.1 384 161.5V224h16c26.5 0 48 21.5 48 48zM96 224h256v-64c0-70.6-57.4-128-128-128S96 89.4 96 160v64zm320 240V272c0-8.8-7.2-16-16-16H48c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16z'/%3E%3C/svg%3E");
}
}
}
}
.btnRow {
a {
font-size: 14px;
color: $theme;
display: block;
margin-top: 15px;
}
}
}
}
}
}
&.register {
.formBox {
.main {
.form_2 {
.formRow {
input {
padding-right: 20px;
&[name='email'] {
background-image: none;
}
&[name='password'] {
background-image: none;
}
&[name='mobile'],
&[name='password_confirmation'],
&[name='national_code'] {
direction: ltr;
text-align: right;
}
}
&.err {
input {
&[name='email'] {
background-image: none;
}
&[name='password'] {
background-image: none;
}
}
}
&.addressTextArea {
textarea {
display: block;
width: 95%;
max-width: 95%;
height: 70px;
padding-right: 20px;
margin-right: 2.5% !important;
resize: none !important;
}
}
.el-select {
.el-input__suffix {
right: 0;
left: 20px;
text-align: left;
}
}
}
}
}
}
.hasValidationError {
height: 1570px !important;
//@media (max-width: 992px) {
// height: 1100px !important;
//}
}
}
&.reset-pass {
.formBox {
.main {
padding: 100px 0;
&.hasMessage {
padding: 50px 0;
}
.form_2 {
.title {
margin-bottom: 30px;
}
.btnRow {
button {
margin-top: 0;
}
}
}
}
}
}
}
@@ -0,0 +1,104 @@
.user-dashboard {
&.agent-guarantee-details {
.agentActions {
margin-bottom: 50px;
.statuses {
h3 {
margin-bottom: 20px;
}
.btns {
@media (max-width: 992px) {
text-align: center;
}
button {
margin-bottom: 5px;
}
}
}
.timeLine {
h3 {
margin-bottom: 20px;
}
ul {
li {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
padding: 0 4px;
@include borderRadius(3px);
span {
display: block;
&:last-child {
font-family: sans-serif;
direction: ltr !important;
}
}
// define colors opacity
$colorsOpacity: 0.1;
&.saved {
background: rgba(gray, $colorsOpacity);
}
&.recieved {
background: rgba($theme, $colorsOpacity);
}
&.ongoing {
background: rgba(orange, $colorsOpacity);
}
&.waiting {
background: rgba(orangered, $colorsOpacity);
}
&.delivered {
background: rgba(green, $colorsOpacity);
}
}
}
}
}
.formDB {
flex-basis: 100%;
text-align: center;
margin-top: -20px;
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 100%;
max-width: 200px;
@extend %userSelect;
}
i,
span {
display: block;
font-size: 20px;
color: $theme;
}
span {
margin-right: 8px;
font-family: 'iranYekanB';
}
}
.addToDraftsBtn {
text-align: center;
margin-top: 20px;
span {
color: #fff;
}
}
}
}
@@ -0,0 +1,183 @@
.user-dashboard {
&.agent-reports {
.reportTypes {
text-align: center;
button {
margin-bottom: 5px;
}
}
.reportOptions {
.el-form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.datePickerWrapper {
display: inline-block;
width: 100%;
.vpd-input-group {
@include borderRadius(3px);
overflow: hidden;
input {
&::placeholder {
color: rgba(#000, 0.4);
}
}
}
.vpd-icon-btn {
padding: 12px 10px !important;
}
}
.seprator {
flex-basis: 100%;
background: rgba($theme, 0.1);
padding: 2px 8px;
@include borderRadius(10px);
text-align: center;
p {
color: rgba(#000, 0.3);
@extend %userSelect;
}
}
.el-form-item {
display: block;
flex-basis: 33%;
@media (max-width: 768px) {
flex-basis: 100% !important;
}
.el-form-item__content {
display: block;
width: 100%;
margin-left: 0 !important;
margin-right: 0 !important;
}
.el-form-item__label {
float: none !important;
padding-right: 0;
}
}
&.inbox {
.selectedItem {
flex-basis: 100%;
}
}
&.pr {
.fromItemReceptionTransDate {
flex-basis: 49.75%;
}
.toItemReceptionTransDate {
flex-basis: 49.75%;
}
}
&.opr {
.selectedItem {
flex-basis: 49.75%;
}
.pieceId {
flex-basis: 49.75%;
}
.fromItemReceptionTransDate {
flex-basis: 49.75%;
}
.toItemReceptionTransDate {
flex-basis: 49.75%;
}
}
&.br {
.selectedItem {
flex-basis: 100%;
}
}
&.gr {
.fromDate {
flex-basis: 49.75%;
}
.toDate {
flex-basis: 49.75%;
}
.selectedItem {
flex-basis: 100%;
}
.fromRecieveDate {
flex-basis: 49.75%;
}
.toRecieveDate {
flex-basis: 49.75%;
}
.fromDeliverDate {
flex-basis: 49.75%;
}
.toDeliverDate {
flex-basis: 49.75%;
}
}
}
.btnRow {
margin-top: 30px;
text-align: center;
}
}
.reportResult {
margin-top: 50px;
.infoCharts {
text-align: center;
.c-tooltip-header {
margin-bottom: 2px;
}
.c-tooltip-body-item {
span {
color: #fff;
margin-right: 5px;
margin-left: 5px;
}
}
}
.resultList {
.showDetailsBtn {
background: transparent;
border: 1px solid rgba(#000, 0.2);
@include borderRadius(4px);
padding: 4px 16px;
cursor: pointer;
@extend %defaultTransition;
i {
@extend %defaultTransition;
color: rgba(#000, 0.5);
}
&:hover {
background: $theme;
border-color: $theme;
i {
color: #fff;
}
}
}
}
}
}
}
@@ -0,0 +1,72 @@
.user-dashboard {
&.agent-requests-details {
.notes {
margin-top: 30px;
h3 {
font-family: 'iranyekanB';
margin-bottom: 10px;
}
ul {
li {
list-style: disc;
margin-right: 18px;
margin-bottom: 5px;
p {
font-family: 'iranYekanB';
}
}
}
}
.addPtoPrModal {
.datePickerWrapper {
display: inline-block;
width: 100%;
.vpd-main {
.vpd-input-group {
@include borderRadius(3px);
overflow: hidden;
input {
&::placeholder {
color: rgba(#000, 0.4);
}
}
}
// vue persian dateTime picker styles
.vpd-icon-btn {
padding: 12px 10px !important;
}
}
}
.btnRow {
text-align: center;
}
.el-form {
.el-form-item {
&.err {
.el-form-item__label {
color: red;
}
.errMsg {
color: red;
}
}
}
}
&.reportModal {
.el-form-item__content {
margin-right: 0 !important;
}
}
}
}
}
@@ -0,0 +1,48 @@
.user-dashboard {
&.agent-requests {
.addStuffBtn {
cursor: pointer;
background-color: $theme !important;
td {
text-align: center !important;
cursor: pointer;
button {
cursor: pointer;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: transparent;
background: transparent;
span {
margin-left: 5px;
}
span,
i {
color: #fff;
padding: 0;
}
}
}
}
.search {
&.success {
input {
border-color: green;
@include boxShadow(0px 4px 6px rgba(green, 0.3));
}
}
&.error {
input {
border-color: red;
@include boxShadow(0px 4px 6px rgba(red, 0.2));
}
}
}
}
}
@@ -0,0 +1,31 @@
.user-dashboard {
&.announcements {
.item {
@include boxShadow(0 4px 8px rgba(#000, 0.1));
@extend %defaultBorderRadius;
@extend %defaultTransition;
padding: 10px;
margin-bottom: 10px;
&.active {
background: rgba(green, 0.1);
}
&.unread {
background: rgba(orange, 0.1);
}
div {
border-top: none !important;
background: transparent !important;
border-bottom: none !important;
}
.el-collapse-item__content {
background: rgba($theme, 0.05) !important;
@extend %defaultBorderRadius;
padding: 10px;
}
}
}
}
+13
View File
@@ -0,0 +1,13 @@
.user-dashboard {
&.factor {
.factor {
.table {
table {
min-width: 1000px;
}
overflow: auto;
}
}
}
}
@@ -0,0 +1,8 @@
.user-dashboard {
&.guarantee-details {
hr {
width: 70%;
margin: 50px auto;
}
}
}
+25
View File
@@ -0,0 +1,25 @@
.user-dashboard {
&.guarantee {
.search {
&.success {
input {
border-color: green;
@include boxShadow(0px 4px 6px rgba(green, 0.3));
}
}
&.error {
input {
border-color: red;
@include boxShadow(0px 4px 6px rgba(red, 0.2));
}
}
}
@media (max-width: 768px) {
.switchBtns {
width: 100%;
margin-top: 5px;
}
}
}
}
+89
View File
@@ -0,0 +1,89 @@
.user-dashboard {
overflow: visible;
.panel {
background: #fff;
min-height: calc(100vh - 300px);
border-top-left-radius: 15px;
border-top-right-radius: 15px;
@include transform(translateY(-110px));
z-index: 2;
padding: 15px;
margin-bottom: 100px;
@media (max-width: 992px) {
@include transform(translateY(0));
margin-top: 50px;
}
@media (max-width: 575px) {
margin-left: -30px;
margin-right: -30px;
}
.panel-title {
@include transform(translate(15px, -55px));
p {
color: #fff;
font-family: 'iranYekanB';
font-size: 20px;
font-weight: bold;
@media (max-width: 992px) {
color: #000;
}
}
}
}
.notice {
display: none;
color: red;
font-size: 12px;
font-weight: bold;
@media (max-width: 1400px) {
display: block;
}
}
.form {
.formRow {
@media (max-width: 768px) {
flex-basis: 100% !important;
}
}
}
.form_3 {
display: flex;
flex-wrap: wrap;
.userInfo {
display: flex;
flex-basis: 100%;
flex-wrap: wrap;
justify-content: space-between;
.formRow {
flex-basis: 33%;
}
}
}
.buttons {
label {
cursor: pointer;
}
}
.paymentFactorBtn {
strong {
font-family: 'iranYekanB';
display: block;
margin-bottom: 30px;
line-height: 1.6em;
}
}
}
+218
View File
@@ -0,0 +1,218 @@
.user-dashboard-layout {
.topBG {
height: 200px;
background: $theme;
position: relative;
.user-name {
position: absolute;
bottom: 5px;
right: 18px;
a {
display: inline-block;
max-width: 250px;
position: relative;
padding-right: 35px;
&:hover {
background: rgba(0, 0, 0, 0);
}
&.active {
background: rgba(0, 0, 0, 0);
}
a,
span,
i {
font-size: 18px;
color: #fff;
}
i {
position: absolute;
top: 50%;
right: 10px;
@include transform(translateY(-50%));
}
span {
font-family: 'iranYekanB', sans-serif;
font-weight: bold;
}
}
}
@media (max-width: 992px) {
height: 60px;
.user-name {
display: none;
}
}
}
.page {
min-height: calc(100vh - 235px);
@media (max-width: 992px) {
min-height: calc(100vh - 150px);
}
}
.user-aside {
@media (max-width: 992px) {
background: #fff;
}
ul {
display: inline-block;
min-height: 600px;
padding-right: 5px;
padding-top: 5px;
li {
@extend %defaultTransition;
border-top-left-radius: 25px;
border-bottom-left-radius: 25px;
cursor: pointer;
margin-bottom: 2px;
&:hover {
background: rgba(0, 0, 0, 0.1);
}
&.username {
display: none;
a {
display: block;
position: relative;
padding-right: 30px;
i {
position: absolute;
top: 50%;
right: 10px;
@include transform(translateY(-50%));
}
}
span {
font-family: 'iranYekanB', sans-serif;
font-weight: bold;
}
}
&.active {
background: rgba(0, 0, 0, 0.1);
}
a {
padding: 10px;
width: 100%;
}
a,
span,
i {
display: inline-block;
color: #000;
font-weight: bold;
font-size: 14px;
}
span {
margin-right: 3px;
}
.badge {
display: inline-block;
$size: 20px;
width: $size;
height: $size;
text-align: center;
font-family: 'sans-serif';
line-height: $size;
font-size: 12px;
color: #fff;
background: red;
@include borderRadius(50%);
}
}
@media (max-width: 992px) {
min-height: auto;
max-width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
padding: 3px !important;
li {
margin: 0 10px !important;
padding: 0 !important;
a {
span,
i {
color: #000 !important;
font-size: 16px !important;
}
}
@include borderRadius(5px);
&.username {
display: block;
}
&:hover {
background: rgba(0, 0, 0, 0.1) !important;
}
&.active {
background: rgba(0, 0, 0, 0.1) !important;
}
}
}
}
.seprator {
display: flex;
justify-content: flex-start;
align-items: center;
@extend %userSelect;
.line {
flex-grow: 1;
height: 1px;
background: $darkGray;
opacity: 0.3;
margin-right: 5px;
@include borderRadius(4px);
}
.txt {
span {
font-size: 12px;
}
}
@media (max-width: 992px) {
display: block;
width: 100%;
margin-top: 5px;
margin-bottom: 10px;
.line {
margin-right: 0;
margin-top: 2px;
opacity: 0.15;
}
}
}
}
}
@@ -0,0 +1,56 @@
.user-dashboard {
&.post-address {
h2 {
text-align: center;
margin-top: 50px;
color: $theme;
}
.el-dialog {
.form_3 {
display: flex;
flex-wrap: wrap;
.formRow {
flex-basis: 33.33%;
}
.title {
flex-basis: 100%;
margin-bottom: 30px;
p {
color: #000;
font-weight: bold;
font-family: 'iranYekanB';
font-size: 20px;
}
}
hr {
flex-basis: 100%;
margin-bottom: 30px;
}
.btnRow {
button {
span {
color: #fff;
}
}
}
}
}
.buttons {
text-align: center;
margin-top: 50px;
button {
span {
color: #fff;
}
}
}
}
}
+119
View File
@@ -0,0 +1,119 @@
.user-dashboard {
&.post-receipt {
.receipt {
border: 1px solid rgba(#000, 0.5);
.receipt-head {
background-color: rgba(#c0c4d1, 1);
text-align: center;
position: relative;
svg {
width: 100px;
display: block;
position: absolute;
top: 50%;
right: 15px;
@include transform(translateY(-50%));
@media (max-width: 992px) {
display: none;
}
path,
rect {
fill: #707070;
}
}
p {
font-size: 16px;
font-family: 'iranYekanB';
padding: 15px;
color: #000;
}
}
.receipt-body {
.form_3 {
display: flex;
flex-wrap: wrap;
border: none;
.formRow {
flex-basis: 50%;
}
.title {
background: transparent;
padding: 0;
flex-basis: 97.5%;
p {
font-size: 20px;
}
}
}
}
.receipt-code {
margin-bottom: 50px;
hr {
width: 50%;
margin-bottom: 50px;
}
p {
padding: 20px;
background-color: rgba(#e0e6ed, 1);
width: 100%;
max-width: 500px;
margin: 0 auto;
text-align: center;
span {
font-size: 20px;
font-family: 'iranYekanB', sans-serif;
font-weight: bold;
color: #000;
}
}
}
}
.print-btn {
text-align: left;
margin-top: 20px;
}
.box-face-receipt,
.box-inner-receipt {
margin-top: 100px;
.title {
width: 95%;
margin-top: 30px;
margin-bottom: 30px;
padding: 10px;
background: #e0e6ed;
margin-left: auto;
margin-right: auto;
p {
font-family: 'iranYekanB';
font-weight: bold;
color: #000;
}
}
}
.box-inner-receipt {
.logo-side {
@media (max-width: 992px) {
text-align: center;
}
}
}
}
}
+313
View File
@@ -0,0 +1,313 @@
.user-dashboard {
&.post {
.form_3 {
.formDB {
flex-basis: 100%;
text-align: center;
margin-top: -20px;
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 100%;
max-width: 200px;
@extend %userSelect;
}
i,
span {
display: block;
font-size: 20px;
color: $theme;
}
span {
margin-right: 8px;
font-family: 'iranYekanB';
}
}
.formRow {
.el-select {
width: 100%;
.el-input__inner {
@include borderRadius(0);
}
.el-input__suffix {
right: 0;
left: 20px;
text-align: left;
}
}
}
hr {
flex-basis: 100%;
margin-bottom: 30px;
}
#quantity:disabled {
cursor: not-allowed;
color: rgba(#000, 0.1) !important;
}
#addBtn {
&:focus {
outline: 1px solid #000;
}
}
}
.add-list {
margin-top: 50px;
h2 {
margin-bottom: 20px;
}
}
.terms {
margin-top: 50px;
h2 {
margin-bottom: 20px;
}
.form {
padding: 0;
margin-top: 30px;
margin-bottom: 30px;
.formRow {
padding-right: 0;
label {
padding-right: 0;
}
}
}
ol {
margin-top: 20px;
list-style: decimal;
list-style-position: inside;
margin-bottom: 15px;
li {
margin-bottom: 5px;
p {
display: inline-block;
color: rgba(#000, 1) !important;
}
}
}
.agents {
.el-select {
width: 100%;
max-width: 300px;
.el-input__inner {
width: 100%;
@include borderRadius(4px);
border: 1px solid rgba(#000, 0.2);
}
.el-input__suffix {
right: 0;
left: 20px;
text-align: left;
}
}
.btn {
padding: 8px 30px;
}
@media (max-width: 575px) {
button {
width: 100%;
margin-top: 10px;
text-align: center;
}
.el-select {
max-width: 575px;
}
}
}
}
.form-address {
margin-top: 50px;
h2 {
margin-bottom: 20px;
}
.no-address {
color: $red;
padding: 5px;
}
button {
margin-top: 20px;
}
}
.formError {
color: red;
}
.addStuffBtn {
cursor: pointer;
background-color: $theme !important;
td {
text-align: center !important;
cursor: pointer;
button {
cursor: pointer;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
border: transparent;
background: transparent;
span {
margin-left: 5px;
}
span,
i {
color: #fff;
padding: 0;
}
}
}
}
.chooseDataBase {
margin-bottom: 50px;
h2 {
margin-bottom: 30px;
text-align: center;
}
.brandsList {
width: 100%;
display: flex;
justify-content: center;
align-items: stretch;
.brand {
flex-basis: 50%;
max-width: 250px;
padding: 15px;
text-align: center;
&.selected {
button {
background: $theme;
img {
opacity: 0;
&.alt {
opacity: 1;
}
}
i,
span {
color: #fff;
}
}
}
button {
width: 100%;
height: 100%;
display: inline-block;
overflow: hidden;
border: 1px solid $theme;
cursor: pointer;
@extend %defaultTransition;
@extend %defaultBorderRadius;
background: transparent;
position: relative;
padding: 5px;
&:hover {
background: $theme;
img {
opacity: 0;
&.alt {
opacity: 1;
}
}
i,
span {
color: #fff;
}
}
img {
display: block;
width: 100%;
@extend %defaultTransition;
&.alt {
position: absolute;
top: 0;
left: 0;
z-index: 1;
opacity: 0;
}
}
i {
display: block;
font-size: 50px;
margin: 10px 0;
color: $theme;
@extend %defaultTransition;
}
span {
color: $theme;
font-family: 'iranYekanB';
@extend %defaultTransition;
}
}
}
}
}
.btnRow {
width: 100%;
text-align: right;
button {
margin-top: 20px;
display: inline-flex;
justify-content: center;
align-items: center;
span {
color: #fff;
font-family: 'iranYekanR';
margin-left: 5px;
}
}
}
}
}
+40
View File
@@ -0,0 +1,40 @@
.user-dashboard {
&.profile {
.form_3 {
width: 100%;
#arpa_businessCode {
background: $theme;
color: #fff;
}
.cs {
color: rgba(red, 0.7);
font-size: 12px;
margin-right: 3px;
&.confirmed {
color: rgba(green, 0.7);
}
}
.el-select {
width: 100%;
.el-input__inner {
@include borderRadius(0);
}
.el-input__suffix {
right: 0;
left: 20px;
text-align: left;
}
}
@media (max-width: 992px) {
max-width: 100%;
}
}
}
}
@@ -0,0 +1,13 @@
.user-dashboard {
&.ticket-messenger {
.messenger {
//height: calc(100vh - 460px) !important;
.messages {
height: 100%;
overflow: auto;
padding-bottom: 100px;
}
}
}
}
+32
View File
@@ -0,0 +1,32 @@
.user-dashboard {
&.tickets {
.rowButtons {
a {
position: relative;
span {
background: transparent !important;
color: #fff !important;
display: inline-block !important;
padding: 0 !important;
}
i {
$size: 25px;
width: $size;
height: $size;
line-height: $size;
text-align: center;
font-family: sans-serif;
position: absolute;
top: -8px;
right: -10px;
font-size: 12px;
background: red;
color: #fff;
@include borderRadius(50%);
}
}
}
}
}
+27
View File
@@ -0,0 +1,27 @@
.user-dashboard {
&.verify {
.verify-labels {
cursor: auto !important;
span {
margin-right: 5px;
cursor: pointer;
@extend %defaultTransition;
color: $theme;
&:hover {
color: $theme_darker;
}
&.countdown {
color: gray;
cursor: not-allowed;
&:hover {
color: gray;
}
}
}
}
}
}
+86
View File
@@ -0,0 +1,86 @@
.warranty-terms--page {
.hero {
.bg {
background-image: url('/assets/img/warranty-terms/hero.jpg');
}
}
.s1 {
.term {
display: flex;
flex-direction: row;
flex-wrap: wrap;
background: #fff;
height: 100%;
@extend %defaultBorderRadius;
@extend %defaultBoxShadow;
overflow: hidden;
.imgBox {
flex-basis: 30%;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
@media (min-width: 1200px) and (max-width: 1400px) {
flex-basis: 40%;
}
@media (min-width: 992px) and (max-width: 1200px) {
flex-basis: 20%;
}
@media (max-width: 768px) {
flex-basis: 100%;
height: auto;
}
}
.txtBox {
flex-basis: 70%;
padding: 15px;
@media (min-width: 1200px) and (max-width: 1400px) {
flex-basis: 60%;
}
@media (max-width: 768px) {
flex-basis: 100%;
}
h2 {
margin-bottom: 20px;
color: $theme;
}
p {
margin-bottom: 15px;
}
}
}
}
.s2 {
text-align: center;
direction: ltr;
}
.ck-content {
border: 1px solid rgba(#000, 0.1);
padding: 15px;
@extend %defaultBorderRadius;
}
.submit {
span {
color: #fff;
}
}
}