You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
willaengine/resources/styles/scss/Misc.scss

730 lines
14 KiB

@import '_vars.scss';
.we-item {
text-align: center;
border: 1px solid #eeeeee;
transition: 0.4s;
border-radius: 5px;
margin-bottom: 10px;
position: relative;
}
.opacity-03 {
opacity: 0.3;
}
.opacity-05 {
opacity: 0.5;
}
.opacity-07 {
opacity: 0.7;
}
.z-index-9 {
z-index: 99;
}
.z-index-99 {
z-index: 99;
}
/* --------------------------------------------------------
Borders :: Begin
-------------------------------------------------------- */
.border {
border: 1px solid;
}
.border-bottom {
border-bottom: 1px solid;
}
.border-top {
border-top: 1px solid;
}
.border-right {
border-right: 1px solid;
}
.border-left {
border-left: 1px solid;
}
[class^="border-"] {
transition: 0.2s;
}
[class^="border-"].x2 {
border-width: 2px;
}
@each $Color,
$Value in $colors {
.border-#{$Color} {
border-color: $Value;
}
}
/* --------------------------------------------------------
Labels :: Begin
-------------------------------------------------------- */
.WM-SubText {
display: inline-block;
padding: 10px 25px 5px 25px;
color: #fff;
border-radius: 5px;
margin: 3px 0px 10px 0px;
}
.Context {
font-family: BYekan-Edited, Montserrat-Regular !important;
}
.WM-SubText.SmallPad {
padding: 3px 15px 0px 15px;
}
.WM-Notification {
display: inline-block;
text-align: center;
line-height: 24px;
width: 26px;
height: 26px;
color: #fff;
border-radius: 13px;
}
/* --------------------------------------------------------
Price :: Begin
-------------------------------------------------------- */
.Price {
text-align: left;
direction: ltr;
font-size: 24px;
}
.Price .Unit {
font-size: 12px;
}
.Price .Old {
font-size: 14px;
margin-left: 20px;
text-decoration: line-through;
text-decoration-color: #ee3552;
color: #ee3552;
margin-top: -5px;
}
/* --------------------------------------------------------
Others :: Begin
-------------------------------------------------------- */
.zIndex99 {
z-index: 99;
}
.has-blur {
-webkit-filter: blur(5px);
transition: 0.5s -webkit-filter linear;
cursor: not-allowed;
}
.has-blur * {
pointer-events: none;
}
.flex-justified-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-justified-right {
display: flex;
justify-content: start;
align-items: center;
}
.flex-justified-left {
display: flex;
justify-content: flex-end;
align-items: center;
}
.flex-justified-space-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.flex-ltr {
flex-direction: row-reverse;
}
/* --------------------------------------------------------
Navigation :: Begin
-------------------------------------------------------- */
.WM-NavWrapper {
z-index: 1000;
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
background: #fff;
width: calc(100% - 2em);
margin: 0 1em;
position: fixed;
top: 1em;
.WM-Nav {
padding: 0.8em 1em;
list-style: none;
margin-bottom: 0;
}
}
.WM-PageNav {
border-left: 1px solid #c7c8c9;
padding: 3px 25px;
}
.modal-mask {
position: fixed;
z-index: 9998;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, .5);
display: table;
transition: opacity .3s ease;
}
.modal-wrapper {
display: table-cell;
vertical-align: middle;
}
/* --------------------------------------------------------
Tabs :: Begin
-------------------------------------------------------- */
//@media screen and (min-width: 600px) {
// .v-tab {
// min-width: 300px;
// }
//}
.v-tab .Fa {
font-size: 18px;
letter-spacing: 0px;
}
.v-tab .En {
font-size: 12px;
margin-right: -5px;
letter-spacing: 5px;
text-transform: uppercase;
}
/* --------------------------------------------------------
Blocks :: Begin
-------------------------------------------------------- */
// ----------------------info Block----------------------
.WM-Info .v-icon {
margin-left: 5px;
line-height: 22px;
font-size: 14px;
color: $Gray;
}
.WM-Section {
padding: 10px 10px;
margin: 10px 0px;
border: 1px solid #eeeeee;
border-right: 2px solid #000;
margin-bottom: 30px;
}
.WM-Section .Step {
font-size: 50px;
opacity: 0.2;
float: right;
line-height: 60px;
}
.WM-Section .Title {
float: right;
margin-right: -30px;
margin-top: 8px;
}
.WM-Section .Title .FA {
font-size: 20px;
line-height: 1.2;
}
.WM-Section .Title .EN {
font-size: 12px;
letter-spacing: 5px;
text-transform: uppercase;
font-family: 'Montserrat-Regular', sans-serif;
}
.Duplicate {
border: 1px solid #ddd;
position: relative;
}
.hasConfig .v-autocomplete, .hasConfig .vue-treeselect, .hasConfig .v-input {
width: calc(100% - 45px);
float: right;
}
.hasConfig.x2 .v-autocomplete, .hasConfig.x2 .vue-treeselect, .hasConfig.x2 .v-input {
width: calc(100% - 75px);
float: right;
}
.hasConfig .v-btn {
float: right;
margin-top: 20px;
margin-right: 5px;
}
.hasConfig .v-btn:nth-of-type(2) {
margin-right: 2px;
}
.hasConfig .v-card__text {
width: calc(100% - 50px);
float: right;
}
.has-config {
display: flex;
justify-content: space-between;
align-items: center;
}
.WM-Pointer {
cursor: pointer;
}
.we-pointer {
cursor: pointer;
}
.WM-ToDuplicate-Block {
padding: 5px 10px 2px 10px;
border: 1px solid #eeeeee;
border-right: 2px solid #000;
margin: 5px;
;
}
.WM-ToDuplicate-Block .Header {
text-align: right;
font-size: 22px;
margin: 5px 0px;
}
/* --------------------------------------------------------
Float Buttons :: Begin
-------------------------------------------------------- */
.float-buttons-placeholder {
position: fixed;
left: 3%;
bottom: 3%;
z-index: 999;
}
.float-buttons-placeholder .v-btn.XS {
margin-left: -15px;
margin-bottom: -25px;
}
/* --------------------------------------------------------
Float Buttons :: End
-------------------------------------------------------- */
.color-square {
width: 16px;
height: 16px;
border-radius: 8px;
margin-left: 8px;
}
.image-square {
width: 32px;
margin-left: 5px;
}
.image-square.height-24 {
width: 24px;
}
/* --------------------------------------------------------
Cropper :: Begin
-------------------------------------------------------- */
.upload-example-cropper {
border: 1px solid #afafaf;
height: 300px;
width: 100%;
border-radius: 5px;
}
.button-wrapper {
display: flex;
justify-content: center;
margin-top: 17px;
}
.button {
color: white;
font-size: 16px;
padding: 10px 20px;
background: #3fb37f;
cursor: pointer;
transition: background 0.5s;
}
.button:hover {
background: #38d890;
}
.button input {
display: none;
}
/* --------------------------------------------------------
Cropper :: End
-------------------------------------------------------- */
/* --------------------------------------------------------
masonry :: End
-------------------------------------------------------- */
.masonry { /* Masonry container */
column-gap: 1em;
}
.masonry-item { /* Masonry bricks or child elements */
display: inline-block;
width: 100%;
}
.masonry-item img {
width: 100%;
}
/* Masonry on large screens */
@media only screen and (min-width: 1024px) {
.masonry {
column-count: 4;
}
}
/* Masonry on medium-sized screens */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
.masonry {
column-count: 3;
}
}
/* Masonry on small screens */
@media only screen and (max-width: 767px) and (min-width: 540px) {
.masonry {
column-count: 2;
}
}
/*---------------------------------------------------------------*/
/* Qunatity :: Begin*/
/*---------------------------------------------------------------*/
.we-quantity {
transition: 0.2s;
border: 1px solid transparent;
border-radius: 5px;
padding: 5px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.we-quantity .number {
font-size: 60px;
line-height: 45px;
}
.we-quantity .icon .v-icon {
font-size: 40px;
margin-left: -5px;
line-height: 45px;
}
.we-quantity .label {
font-size: 14px;
opacity: 0.7;
text-align: right;
line-height: 16px;
margin-right: 3px;
}
.we-quantity.sm .number {
font-size: 50px;
line-height: 40px;
}
.we-quantity.sm .label {
font-size: 12px;
opacity: 0.7;
text-align: right;
line-height: 14px;
margin-right: 3px;
}
.we-quantity.xl .number {
font-size: 70px;
line-height: 60px;
}
.we-quantity.xl .label {
font-size: 15px;
opacity: 0.7;
text-align: right;
line-height: 18px;
margin-right: 3px;
margin-top: 4px;
}
.we-quantity.variation {
padding: 5px 10px;
background-color: #eeeeee;
border-radius: 3px;
color: var(--color-store-order);
}
@each $color,
$value in $colors {
.we-quantity.theme-#{$color} .v-icon {
color: $value;
}
.we-quantity.theme-#{$color} .value {
color: $value;
}
}
/*---------------------------------------------------------------*/
/* Qunatity :: End*/
/*---------------------------------------------------------------*/
.we-color {
width: 16px;
height: 16px;
border-radius: 8px;
display: block;
float: right;
margin: 3px 5px 0px 5px;
}
/*---------------------------------------------------------------*/
/* Modals :: Begin
/*---------------------------------------------------------------*/
.v-dialog>.v-card>.v-card__title, .v-card__title {
padding-top: 30px;
}
.v-card__actions {
padding: 0px 20px;
}
/*---------------------------------------------------------------*/
/* Duplicate :: Begin
/*---------------------------------------------------------------*/
.duplicate-container {
position: relative;
border: 1px solid #eeeeee;
border-radius: 5px 0px 0px 5px;
margin: 0px 15px 10px 15px;
padding: 10px 10px 55px 10px;
width: 100%;
}
.duplicate-row {
position: relative;
border: 1px solid #eeeeee;
border-radius: 5px 0px 0px 5px;
margin: 5px 0px;
}
.duplicate-container .duplicate-row .remove-button {
position: absolute;
top: -22px;
left: 0px;
}
.duplicate-container .add-button {
position: absolute;
bottom: -4px;
left: 10px;
}
.exception-row {
padding: 10px;
border: 1px solid #eeeeee;
border-radius: 5px;
}
@each $color,
$value in $colors {
.duplicate-container.theme-#{$color}, .duplicate-row.theme-#{$color} {
border-right: 2px solid $value;
}
}
/*---------------------------------------------------------------*/
/* Modals :: End
/*---------------------------------------------------------------*/
.we-relative {
position: relative;
}
.we-iterator {
position: absolute;
right: 10px;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
font-size: 50px;
color: #6d6d6d;
opacity: 0.3;
}
.we-buttons {
display: flex;
justify-content: flex-end;
align-items: center;
height: 100%;
}
.filters {
border-bottom-left-radius: 5px;
border-top-left-radius: 5px;
padding: 10px;
border: 1px solid var(--color-light-gray);
margin: 10px 0px;
}
.v-chip.bubble-chip {
border-top-right-radius: 0px;
}
.v-chip.v-size--x-small .v-chip__content {
font-size: 11px;
}
/*---------------------------------------------------------------*/
/* End & Full Row :: Begin
/*---------------------------------------------------------------*/
.end-row {
margin-left: -18px;
margin-right: -18px;
padding: 2px 10px;
}
@each $color,
$value in $colors {
.end-row.theme-#{$color} {
border: 2px solid $value;
}
}
@each $backgroundColor,
$value in $backgrounds {
.end-row.theme-#{$backgroundColor} {
background-color: $value;
}
}
.full-row {
margin: 0px -20px;
padding: 5px 20px;
background-color: #f9f9f9;
margin-bottom: 20px;
}
.full-row.mr-ml--30 {
margin: 0px -30px;
}
.full-row.bordered {
border: 1px solid #d0d0d0;
}
/*---------------------------------------------------------------*/
/* Sections :: Begin
/*---------------------------------------------------------------*/
.section-bordered {
border: 1px solid #eeeeee;
border-radius: 5px 0px 0px 5px;
}
@each $color,
$value in $colors {
.section-bordered.theme-#{$color} {
border-right: 2px solid $value;
}
}
/*---------------------------------------------------------------*/
/* we form size :: Begin
/*---------------------------------------------------------------*/
.row.we-form-size {
margin: 0px;
}
.row.we-form-size .col {
padding: 0px 6px 0px 10px;
}
.row.we-form-size.md .col {
padding: 5px 6px 5px 10px;
}
.v-btn--fab.v-size--x-small .v-icon, .v-btn--icon.v-size--x-small .v-icon {
font-size: 16px;
}
/*---------------------------------------------------------------*/
/* active states :: Begin
/*---------------------------------------------------------------*/
@each $background,
$value in $backgrounds {
.theme-#{$background}.active-bg {
background-color: $value;
}
}
@each $color,
$value in $colors {
.theme-#{$color}.active-border {
border-color: $value !important;
}
}
/*---------------------------------------------------------------*/
/* hidden states :: Begin
/*---------------------------------------------------------------*/
.hidden-by-height {
max-height: 0px;
opacity: 0;
overflow: hidden;
transition: opacity 0.3s, max-height 0.3s cubic-bezier(1,0,.2,1);
}
.hidden-by-height.active {
max-height: 1000px;
opacity: 1;
}
/*---------------------------------------------------------------*/
/* home Tiles :: Begin
/*---------------------------------------------------------------*/
.has-back-button {
padding-right: 110px;
position: relative;
}