kellner-rechner/src/pages/ChangeCalculatorPage.css
2025-06-16 07:47:41 +02:00

121 lines
2.0 KiB
CSS

.change-calculator-page {
height: 100vh;
display: flex;
flex-direction: column;
}
.calculator-container {
padding: 15px;
flex: 1;
display: flex;
flex-direction: column;
gap: 20px;
}
.totals-section {
background-color: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.total-item {
display: flex;
justify-content: space-between;
padding: 8px 0;
font-size: 1.1rem;
border-bottom: 1px solid #eee;
}
.total-item:last-child {
border-bottom: none;
}
.total-item.highlight {
font-weight: bold;
font-size: 1.2rem;
color: #2c7be5;
}
.denominations-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.denomination-button {
background-color: #2c7be5;
color: white;
border: none;
border-radius: 8px;
padding: 15px 5px;
font-size: 1.1rem;
font-weight: 500;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.2s;
}
.denomination-button:active {
background-color: #1a68d1;
}
.selected-denominations {
background-color: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.selected-denominations h3 {
margin-top: 0;
margin-bottom: 15px;
font-size: 1.1rem;
color: #333;
padding-left: 10px;
border-left: 4px solid #2c7be5;
}
.selected-denominations ul {
list-style: none;
padding: 0;
margin: 0;
}
.denomination-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.denomination-item:last-child {
border-bottom: none;
}
.item-controls {
display: flex;
gap: 5px;
}
.item-controls button {
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
}
.reset-button {
width: 100%;
padding: 10px;
margin-top: 15px;
background-color: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
font-weight: 500;
}