Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
html,
body {
margin: 0;
padding: 10px;
height: 100%;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
background-color: #f5f5f5;
box-sizing: border-box;
}
.main {
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 25px;
}
.main .container {
text-align: center;
width: 300px;
margin: 0;
}
h1 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 25px;
font-size: 24px;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
font-weight: 600;
}
input[type='text'],
input[type='number'] {
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
box-sizing: border-box;
}
input[type='text'],
input[type='url'] {
width: 100%;
}
input[type='number'] {
width: 20%;
}
input[type='checkbox'] {
margin-right: 8px;
transform: scale(1.2);
}
input[type='submit'] {
margin-left: 10px;
}
.checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 12px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
transition: background-color 0.2s;
}
button.secondary {
background-color: #6c757d;
}
button:hover {
background-color: #0069d9;
}
button.secondary:hover {
background-color: #5a6268;
}
input:invalid + .error {
display: block;
}
.footer {
text-align: right;
margin-top: 20px;
}
.notification {
display: none;
padding: 10px;
margin-bottom: 15px;
border-radius: 5px;
font-weight: bold;
text-align: center;
}
.notification.success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.notification.error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.help-text {
font-size: 12px;
color: #666;
margin-top: 5px;
}
#temperature {
font-size: 48px;
font-weight: bold;
margin: 20px 0;
}
#humidity {
font-size: 24px;
margin: 15px 0;
}
#rssi {
font-size: 10px;
color: #888;
margin-top: 20px;
}
.settings-icon,
.home-icon {
position: absolute;
top: 10px;
right: 10px;
width: 24px;
height: 24px;
cursor: pointer;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.spinner {
width: 50px;
height: 50px;
border: 5px solid #f3f3f3;
border-top: 5px solid #3498db;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.hidden {
display: none;
}
70ea3d30bThis file is pinned to the selected release. Download the original to open it in your design tool.