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
@@ -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;
}
}
}
}
}
}