opcuaCOM_PY/styles.css
Eduard Gerlitz 9ee5ab82c5 v1.0 .
2025-09-08 11:21:36 +02:00

69 lines
1.6 KiB
CSS

.main-header {
text-align: center;
color: #1f77b4;
margin-bottom: 2rem;
}
.button-container {
display: flex;
justify-content: center;
gap: 2rem;
margin: 2rem 0;
flex-wrap: wrap;
}
.control-button {
display: flex;
flex-direction: column;
align-items: center;
padding: 1.5rem;
border-radius: 15px;
background: linear-gradient(145deg, #f0f2f6, #ffffff);
box-shadow: 5px 5px 15px #d1d9e6, -5px -5px 15px #ffffff;
transition: all 0.3s ease;
min-width: 150px;
cursor: pointer;
}
.control-button:hover {
transform: translateY(-2px);
box-shadow: 8px 8px 20px #d1d9e6, -8px -8px 20px #ffffff;
}
.status-indicator {
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: bold;
text-align: center;
margin: 1rem 0;
}
.status-connected {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.status-disconnected {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.log-container {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 5px;
padding: 1rem;
max-height: 300px;
overflow-y: auto;
}
.stButton > button {
height: 60px !important;
font-size: 14px !important;
font-weight: bold !important;
border-radius: 10px !important;
border: 2px solid #e0e0e0 !important;
transition: all 0.3s ease !important;
}
.stButton > button:hover {
transform: translateY(-2px) !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
border-color: #1f77b4 !important;
}