diff --git a/src/templates/index b/src/templates/index index 1d8ba87..ed10ece 100644 --- a/src/templates/index +++ b/src/templates/index @@ -45,7 +45,10 @@ ul { list-style-type: none; padding: 0; - margin-bottom: 10px; + margin-bottom: 10px; + background-color: #2d2d2d; + border: 1px solid #444; + border-radius: 4px; } li { background-color: #2d2d2d; @@ -145,6 +148,53 @@ .speed-limit-form button:hover { background-color: #45a049; } + .speed-limit-container { + display: flex; + align-items: center; + margin-bottom: 20px; + background-color: #2d2d2d; + padding: 8px 12px; + border-radius: 4px; + border: 1px solid #444; + } + .speed-limit-container .form-group { + display: flex; + align-items: center; + gap: 10px; + width: 100%; + } + .speed-limit-container input[type="number"], + .speed-limit-container select, + .speed-limit-container button { + background-color: #2d2d2d; + color: #d4d4d4; + border: 1px solid #444; + padding: 8px 12px; + border-radius: 4px; + height: 40px; + box-sizing: border-box; + } + .speed-limit-container button { + cursor: pointer; + background-color: #4CAF50; + color: white; + } + .speed-limit-container button:hover { + background-color: #45a049; + } + .speed-limit-container .speed-limit { + color: #d4d4d4; + margin-left: auto; + display: flex; + align-items: center; + } + .speed-limit-container .speed-limit span { + margin-left: 5px; + } + .current-speed-limit { + color: #d4d4d4; + margin-top: 10px; + } @@ -176,7 +226,7 @@

Settings

-
+
@@ -187,8 +237,7 @@
-

Current Speed Limit: {{if .GlobalSpeedLimit}}{{.GlobalSpeedLimit}}{{else}}unlimited{{end}}

- +