led-controller/static/main.css

85 lines
1.3 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
text-align: center;
margin-bottom: 30px;
padding: 20px;
background: white;
border-radius: 8px;
}
section {
background: white;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
}
.btn {
padding: 10px 20px;
background-color: #3498db;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 20px;
}
.btn:hover {
background-color: #2980b9;
}
.color-container {
position: relative;
width: 100%;
height: 400px;
border: 2px solid #ddd;
border-radius: 6px;
background: #f9f9f9;
}
.color-picker-item {
position: absolute;
background: white;
border: 2px solid #ddd;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transform: translate(-50%, -50%);
text-align: center;
}
.color-picker-item h4 {
margin-bottom: 10px;
color: #333;
}
.color-picker-item input[type="color"] {
width: 60px;
height: 40px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 10px;
}
.status {
font-size: 12px;
font-weight: bold;
}