pkg-components
Version:
175 lines (161 loc) • 4.13 kB
CSS
.container {
width: 100%;
grid-template: 50px 20px auto 50px/3fr 1fr;
grid-template-areas:
"header header-info"
"filter scroll"
"product scroll"
"action_product action";
height: 100%;
max-width: 100%;
max-height: 100%;
min-height: auto;
border-radius: 4px;
display: grid;
gap: 20px;
}
.header-info {
grid-area: header-info;
border: 1px solid var(--color-neutral-gray-light);
display: flex;
justify-content: space-between;
padding: 0 20px;
}
.header-info__client-info_payment {
display: flex;
align-items: center;
position: relative;
padding: 8px 12px;
border-radius: 200px;
transition: background-color .3s ease-in-out;
border: 0;
cursor: pointer;
background-color: var(--color-background-primary-light);
}
.filter {
grid-area: filter;
border: 1px solid var(--color-neutral-gray-light);
display: flex;
justify-content: space-between;
padding: 0 20px;
}
.header {
align-items: center;
border: 1px solid var(--color-neutral-gray-light);
display: flex;
grid-area: header;
justify-content: space-between;
overflow: hidden;
position: relative;
height: 100px;
}
.content__products {
align-items: self-start;
border: 1px solid var(--color-neutral-gray-light);
column-gap: 15px;
display: grid;
grid-area: product;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
justify-content: center;
overflow-y: auto;
padding-left: 20px;
row-gap: 60px;
overflow-x: hidden;
}
.content__scrolling {
grid-area: scroll;
border: 1px solid var(--color-neutral-gray-light);
overflow-y: auto;
overflow-x: hidden;
padding-top: var(--spacing-2xl);
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
row-gap: 85px;
position: relative;
}
.content__action {
border: 1px solid var(--color-neutral-gray-light);
grid-area: action;
justify-content: space-between;
display: flex;
align-items: center;
}
.content__action_product {
border: 1px solid var(--color-neutral-gray-light);
grid-area: action_product;
justify-content: flex-start;
display: flex;
}
.content__categorie__aside {
width: 10px;
background-color: var(--color-background-gray);
position: absolute;
top: 0;
bottom: 0;
margin: auto;
height: 60px;
left: 5px;
border-radius: 30px;
box-shadow: 0 0 0 rgba(0, 0, 0, 0.7); /* Inicialmente sin sombra */
animation: pulse 1.5s infinite ease-in-out;
}
.content__counter {
align-items: center;
border-radius: 4px;
border: 1px solid var(--color-neutral-gray-light);
display: flex;
justify-content: center;
margin-right: 10px;
padding: 10px;
position: relative;
width: min-content;
}
.counter {
background-color: var(--color-primary-red);
border-radius: 20px;
color: var(--color-text-white);
display: inline-block;
font-size: 13px;
height: var(--spacing-xl);
line-height: 20px;
position: absolute;
right: 0px;
text-align: center;
top: -5px;
width: var(--spacing-xl);
}
.container_circle {
background-color: var(--color-background-primary);
border-radius: 50%;
height: 10px;
margin-right: 8px;
width: 10px;
z-index: var(--z-index-50);
}
.header-info__client-name {
line-height: .875rem;
font-weight: 500;
display: block;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 15px;
}
.header-info_content {
display: flex;
align-items: center;
justify-content: space-between;
width: 150px;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(59, 58, 58, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}