small-packages/luci-app-oaf/htdocs/luci-static/resources/css/common.css
2026-05-10 09:48:30 +08:00

83 lines
1.3 KiB
CSS

body {
font-family: Arial, sans-serif;
}
h1, h2 {
color: #333;
}
.button-check {
padding: 3px 8px;
background-color: transparent;
color: green;
border: 1px solid green;
border-radius: 3px;
cursor: pointer;
font-size: 12px;
}
.button-container {
display: flex;
justify-content: right;
margin-top: 5px;
}
.submit-button {
margin-top: 30px;
width: 150px;
height: 30px;
background-color: #2885e8;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.submit-button:hover {
background-color: #0f77e6;
}
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 20px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 2px;
bottom: 2px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #2196F3;
}
input:checked + .slider:before {
transform: translateX(20px);
}