front-end almost done | started back-end

This commit is contained in:
Amir Mohamadi
2020-11-23 19:39:26 +03:30
parent 95149f0e72
commit 80a7abafb7
191 changed files with 60163 additions and 950 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 692 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 2.4 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 2.2 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 2.0 MiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+455
View File
@@ -0,0 +1,455 @@
@font-face {
font-family: 'dubaiB';
src: url("~assets/admin/fonts/dubai-font-webfonts/bold/Dubai-Bold.eot"),
url("~assets/admin/fonts/dubai-font-webfonts/bold/Dubai-Bold.ttf"),
url("~assets/admin/fonts/dubai-font-webfonts/bold/Dubai-Bold.woff");
}
@font-face {
font-family: 'dubaiL';
src: url("~assets/admin/fonts/dubai-font-webfonts/light/Dubai-Light.eot"),
url("~assets/admin/fonts/dubai-font-webfonts/light/Dubai-Light.ttf"),
url("~assets/admin/fonts/dubai-font-webfonts/light/Dubai-Light.woff");
}
@font-face {
font-family: 'dubaiM';
src: url("~assets/admin/fonts/dubai-font-webfonts/medium/Dubai-Medium.eot"),
url("~assets/admin/fonts/dubai-font-webfonts/medium/Dubai-Medium.ttf"),
url("~assets/admin/fonts/dubai-font-webfonts/medium/Dubai-Medium.woff");
}
@font-face {
font-family: 'dubaiR';
src: url("~assets/admin/fonts/dubai-font-webfonts/regular/Dubai-Regular.eot"),
url("~assets/admin/fonts/dubai-font-webfonts/regular/Dubai-Regular.ttf"),
url("~assets/admin/fonts/dubai-font-webfonts/regular/Dubai-Regular.woff");
}
/////////////////////////////////////// mixins
@mixin boxSizing($p) {
box-sizing: $p;
-webkit-box-sizing: $p;
-moz-box-sizing: $p;
}
@mixin borderRadius($p) {
border-radius: $p;
-webkit-border-radius: $p;
-moz-border-radius: $p;
}
@mixin boxShadow($p) {
box-shadow: $p;
-webkit-box-shadow: $p;
-moz-box-shadow: $p;
}
@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;
}
%appearance {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background: transparent;
border: none;
}
%transition {
transition: 0.3s;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-ms-transition: 0.3s;
-o-transition: 0.3s;
}
////////////////////////////////////// variables
$header: rgba(#784FAE, 1);
$sidebar: rgba(#424242e3, 1);
$headerLogoTextColor: #fff;
$headerFontColor: #fff;
$asideTxt: #fff;
$asideIcon: #fff;
$bg: rgba(lightgray, 0.1);
$borders: rgba(#000, 0.1);
$menuGroup: #4f4f4f;
$usernameColor: #fff;
$titleBg: rgba(#424242e3, 1);
$titleColor: #fff;
$panelBg: #fff;
////////////////////////////////////// globals
////////////////////////////////////// layouts
.admin {
direction: rtl;
font-family: 'dubaiR', sans-serif;
height: 100vh;
overflow: hidden;
h1, h2, h3, h4, h5, h6, a, p, span, b {
font-family: 'dubaiR', sans-serif;
}
* {
@include boxSizing(border-box);
}
.admin--content {
height: calc(100vh - 55px);
flex-basis: calc(100% - 300px);
background: $bg;
direction: rtl !important;
text-align: right;
overflow-y: auto;
.title {
//width: 100%;
height: 55px;
background: $titleBg;
color: $titleColor;
padding: 0 15px;
h2 {
margin-left: auto;
font-size: 25px !important;
}
button {
margin-right: 10px;
}
a {
color: inherit;
}
}
.panel {
background: $panelBg;
@include borderRadius(5px);
@include boxShadow(0 2px 4px rgba(#000, 0.4));
padding: 50px 20px;
text-align: right;
direction: rtl;
}
table {
tr {
direction: rtl;
text-align: right;
td {
direction: rtl;
text-align: right;
}
th {
direction: rtl;
text-align: right;
}
}
}
}
.admin--sidebar {
min-height: calc(100vh - 55px);
background: $sidebar;
flex-basis: 300px;
border-left: 1px solid $borders;
ul {
width: 100%;
li {
width: 100%;
border-bottom: 1px solid $borders;
cursor: pointer;
position: relative;
a {
display: inline-block;
padding: 20px;
color: $asideTxt;
i {
color: $asideIcon;
margin-left: 10px;
}
.badge {
display: inline-block;
width: 23px;
height: 23px;
padding: 5px;
background: red;
color: #fff;
font-size: 14px;
text-align: center;
@include borderRadius(5px);
position: absolute;
top: 50%;
left: 10px;
@include transform(translateY(-50%));
}
}
.menu-group {
background: $menuGroup;
}
}
}
.user {
padding: 20px 15px;
color: $usernameColor;
h2 {
font-size: 25px !important;
margin-right: 10px;
}
}
.language {
width: 100%;
select {
width: 100%;
border: 1px solid $borders;
background: $sidebar;
color: #fff;
cursor: pointer;
padding-right: 15px;
option {
background: $bg;
}
}
}
}
.admin--header {
background: $header;
border-bottom: 1px solid $borders;
color: $headerFontColor;
.headerSubDIV {
height: 55px;
display: flex;
align-items: center;
&.left {
justify-content: flex-end;
.logout {
@extend %appearance;
@extend %transition;
cursor: pointer;
font-size: 20px;
color: inherit;
&:hover {
color: red;
}
}
}
&.right {
justify-content: flex-start;
.customer {
display: flex;
justify-content: flex-start;
align-items: center;
color: inherit;
.logo {
display: inline-block;
width: auto;
margin: 0 15px 0 0;
img {
height: 40px;
}
}
.name {
display: inline-block;
margin-right: 10px;
font-size: 20px !important;
font-weight: bold;
p {
color: $headerLogoTextColor;
}
}
}
}
}
}
.admin--home {
text-align: center;
}
}
pre {
width: 100%;
background: #000;
color: green;
direction: ltr !important;
text-align: left !important;
padding: 20px;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////// 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;
}
.err {
color: red;
font-size: 13px;
}
.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;
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

Before

Width:  |  Height:  |  Size: 277 KiB

After

Width:  |  Height:  |  Size: 277 KiB

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 KiB

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 KiB

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Before

Width:  |  Height:  |  Size: 832 KiB

After

Width:  |  Height:  |  Size: 832 KiB

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 152 KiB

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Before

Width:  |  Height:  |  Size: 867 KiB

After

Width:  |  Height:  |  Size: 867 KiB

Before

Width:  |  Height:  |  Size: 333 KiB

After

Width:  |  Height:  |  Size: 333 KiB

Some files were not shown because too many files have changed in this diff Show More