Feature/warehouse
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tt-table {
|
||||
/*width: unset !important;*/
|
||||
}
|
||||
|
||||
.tt-table.loading tbody:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -151,4 +155,175 @@ input[type=number]::-webkit-outer-spin-button {
|
||||
|
||||
td {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*TODO: export this classes somewhere else*/
|
||||
|
||||
.text-cyan {
|
||||
color: var(--cyan);
|
||||
}
|
||||
|
||||
.text-green {
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.text-red {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.text-yellow {
|
||||
color: var(--yellow);
|
||||
}
|
||||
|
||||
.text-blue {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.text-purple {
|
||||
color: var(--purple);
|
||||
}
|
||||
|
||||
.text-orange {
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
.text-pink {
|
||||
color: var(--pink);
|
||||
}
|
||||
|
||||
.text-gray {
|
||||
color: var(--gray);
|
||||
}
|
||||
|
||||
.text-white {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
.text-light {
|
||||
color: var(--light);
|
||||
}
|
||||
|
||||
.text-dark {
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.width-40 {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.width-80 {
|
||||
width: 80px;
|
||||
}
|
||||
.width-120 {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.width-160 {
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.width-200 {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.width-240 {
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.width-280 {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.width-320 {
|
||||
width: 320px;
|
||||
}
|
||||
|
||||
.width-360 {
|
||||
width: 360px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*TODO: remove this*/
|
||||
/* Styles for the component */
|
||||
.tt-expandable-shopping-cart {
|
||||
position: fixed;
|
||||
bottom: 65px;
|
||||
right: 20px;
|
||||
background-color: #f8f9fa;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 5px;
|
||||
width: 50px; /* Initial width */
|
||||
height: 50px;
|
||||
transition: width 0.3s ease, height 0.3s ease;
|
||||
}
|
||||
|
||||
.expanded {
|
||||
width: 500px; /* Expanded width */
|
||||
height: 600px; /* Expanded height */
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.toggle-button {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.cart-content {
|
||||
padding: 15px;
|
||||
display: none; /* Initially hidden */
|
||||
}
|
||||
|
||||
.expanded .cart-content {
|
||||
display: block; /* Show when expanded */
|
||||
}
|
||||
|
||||
.cart-count {
|
||||
background-color: #dc3545; /* Red background */
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
padding: 0 6px;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.tt-expandable-shopping-cart.expanded {
|
||||
border-top-left-radius: 0.25rem;
|
||||
border-top-right-radius: 0.25rem;
|
||||
|
||||
}
|
||||
|
||||
.tt-expandable-shopping-cart.expanded .cart-content {
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.tt-expandable-shopping-cart.expanded .cart-content h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
.tt-expandable-shopping-cart.expanded .toggle-button {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 3fr auto auto;
|
||||
grid-gap: 10px;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: var(--gray)
|
||||
}
|
||||
|
||||
.tt-expandable-shopping-cart.expanded .toggle-button i {
|
||||
justify-self: left;
|
||||
}
|
||||
|
||||
.tt-expandable-shopping-cart.expanded .cart-count {
|
||||
position: unset !important;
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
grid-column-start: 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user