From 0531f3be61185594b5486fd13a0de24f4a76a750 Mon Sep 17 00:00:00 2001 From: Tim Krehan Date: Mon, 27 May 2019 08:50:20 +0200 Subject: [PATCH] fix sketch theme --- style/themes/sketchy.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/style/themes/sketchy.css b/style/themes/sketchy.css index 7a65cd7..6c0bdbd 100644 --- a/style/themes/sketchy.css +++ b/style/themes/sketchy.css @@ -7095,26 +7095,27 @@ select.form-control { [type="checkbox"] { position: relative; + -webkit-appearance: none; appearance: none; cursor: pointer; } [type="checkbox"]:before { content: ""; - position: absolute; - left: -1.2em; - top: -0.9em; + /* position: absolute; */ + /* left: -1.2em; */ + /* top: -0.9em; */ display: inline-block; width: 15px; height: 16px; - border: 2px solid #333; + border: 2px solid #fff; border-radius: 2px 8px 2px 4px / 5px 3px 5px 3px; } [type="checkbox"]:checked:after { content: "x"; position: absolute; - left: -0.64em; - top: -0.48em; + left: 3px; + /* top: -0.48em; */ font-size: 1.5rem; line-height: 0.5; - color: #333; } + color: #fff; } [type="checkbox"]:disabled:before { border: 2px solid #aaa; }