caisse-bliss/assets/styles/pages/_dashboard.scss

146 lines
2.2 KiB
SCSS
Executable File

@use "sass:color";
@use "../split/custom_vars";
#caisse-now {
min-height: 90vh;
width: 70vw;
padding-left: 1vw;
.product-box {
display: inline-block;
margin-right: 1rem;
margin-bottom: 1rem;
width: 100%;
float: left;
}
.product-button {
width: 80%;
text-overflow-ellipsis: "...";
}
.listing-products {
button.active {
background: yellowgreen;
}
.btn,
button {
font-size: 1.6rem;
padding: 1.5rem;
-webkit-border-radius: 1rem;
-moz-border-radius: 1rem;
border-radius: 1rem;
border-color: custom_vars.$all-text-color;
box-shadow: 5px 3px 10px 2px #ddd;
border-width: 0;
&.btn-primary {
background-color: custom_vars.$deepblue;
}
&:hover {
background: custom_vars.$lightblue;
}
}
.badge-default {
background: custom_vars.$lightblue;
}
.badge-success {
background: color.mix(green, custom_vars.$lightblue);
}
}
.input-comment {
width: calc(100% - 40px);
}
}
// container of categories
.horizontal-land {
overflow-x: auto;
overflow-y: hidden;
//width: 100%;
height: 75vh;
background: #ccc;
padding: 0.5rem;
}
// list of one category
.one-category {
background: #dedede;
width: 31rem;
margin: 0 4px;
height: calc(74vh - 1rem);
box-sizing: border-box;
display: inline-block;
white-space: nowrap;
overflow-y: auto;
h2 {
font-weight: bold;
&:first-letter {
text-transform: capitalize;
}
}
}
.category-listing {
border: solid 1px custom_vars.$grey;
padding: 1rem;
margin: 0.5rem;
border-radius: 0.25rem;
}
.validate_selling {
margin: 0.25rem;
}
.product-listing {
height: 70vh;
overflow: auto;
}
.sellings {
.remove-item {
margin-left: 1em;
}
}
#loaded {
padding-bottom: 10rem;
}
#not_loaded {
width: 100%;
height: 75vh;
}
.selling-ok {
position: fixed;
bottom: 0;
left: 2em;
z-index: 10;
}
.block {
display: block;
width: calc(100% - 2em);
text-align: center;
}
#main_options {
width: 100%;
}
#other_time,
#categories_visibility {
display: block;
padding-top: 1rem;
padding-bottom: 5rem;
min-height: 500px;
}