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
+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;