Files
stromverbrauch/public/css/styles.css

195 lines
3.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(180deg, #c8e6c9 0%, #81c784 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
padding: 30px;
}
h1 {
color: #333;
margin-bottom: 30px;
text-align: center;
font-size: 2em;
}
.form-container {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin-bottom: 30px;
}
.form-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
.form-field {
display: flex;
flex-direction: column;
}
.checkbox-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
font-weight: normal;
}
.checkbox-label input[type="checkbox"] {
width: auto;
margin-right: 8px;
cursor: pointer;
}
label {
font-weight: 600;
margin-bottom: 5px;
color: #555;
}
input, select {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 14px;
transition: border-color 0.3s;
}
input:focus, select:focus {
outline: none;
border-color: #43a047;
}
button {
background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
color: white;
border: none;
padding: 12px 30px;
border-radius: 5px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(67, 160, 71, 0.4);
}
button:active {
transform: translateY(0);
}
.results-container {
margin-top: 20px;
}
.info-box {
background: #e3f2fd;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
border-left: 4px solid #2196f3;
}
.error-box {
background: #ffebee;
padding: 15px;
border-radius: 5px;
margin-bottom: 20px;
border-left: 4px solid #f44336;
color: #c62828;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
thead {
background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
color: white;
}
th, td {
padding: 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
font-weight: 600;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.5px;
}
tbody tr:hover {
background: #f5f5f5;
}
tbody tr:last-child td {
border-bottom: none;
}
.number {
text-align: right;
font-family: 'Courier New', monospace;
}
.loading {
text-align: center;
padding: 20px;
color: #666;
}
.summary {
background: #f1f8e9;
padding: 15px;
border-radius: 5px;
margin-top: 20px;
border-left: 4px solid #8bc34a;
display: flex;
justify-content: space-between;
align-items: center;
}
.summary-label {
font-weight: 600;
color: #558b2f;
}
.summary-value {
font-size: 1.5em;
font-weight: 700;
color: #33691e;
}