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