propapier/app/assets/styles/priceCard.css
webfussel 259adf53f6 fix: design adjustments
Smaller name, ellipsis for long name, indicator for number of roles/sheets/layers
2025-05-09 20:22:38 +02:00

73 lines
No EOL
1.4 KiB
CSS
Executable file

.PriceCard {
width: 100%;
transition: 150ms;
opacity: 1;
color: var(--color-white);
gap: 1rem;
padding: 1rem;
&.deleting {
max-height: 0;
opacity: 0;
}
& > header {
display: flex;
justify-content: space-between;
align-items: center;
& .icon {
font-size: 1rem;
cursor: pointer;
}
}
& .name-price {
display: flex;
gap: .5rem;
& > span:nth-child(1) {
font-weight: bold;
max-width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
& > span:nth-child(2)::before {
content: '•';
margin-right: .5rem;
opacity: .5;
}
}
& .wrapper {
display: flex;
flex-direction: row;
width: 100%;
gap: 1rem;
justify-content: space-between;
& > .info {
flex-grow: 0;
align-items: center;
gap: .25rem;
& > .icon {
font-size: 2rem;
padding: .2rem;
}
& > .price {
display: flex;
align-items: center;
gap: .5rem;
}
& > .pro {
font-size: .6rem;
font-weight: bold;
}
}
}
}