From a5d94171de235e0fccf48630369215f90c834e98 Mon Sep 17 00:00:00 2001 From: coon Date: Mon, 4 Dec 2023 02:08:38 +0100 Subject: [PATCH] static: add style to checkboxes --- static/flexbox/sanic.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/static/flexbox/sanic.css b/static/flexbox/sanic.css index 15773e7..422c8d4 100644 --- a/static/flexbox/sanic.css +++ b/static/flexbox/sanic.css @@ -34,6 +34,26 @@ input[type=text] { border-bottom-color: #545454; } +input[type=checkbox] { + appearance: none; + background-color: #2e2e2e; + margin-top: 0px; + margin-bottom: 0px; + margin-left: 5px; + width: 8px; + height: 8px; + border: 1px solid currentColor; + + border-left-color: #b9b9b9; + border-top-color: #b9b9b9; + border-right-color:#5e5e5e; + border-bottom-color: #5e5e5e; +} + +input[type="checkbox"]:checked { + background-color: #cc0000; +} + table { width: 100%; table-layout: fixed;