From 4796616578391a69542cad246b14f9df4d2956b0 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 5 May 2021 13:40:21 +0200 Subject: [PATCH] Check-in rule editor: Remove background color, clearer lines --- src/pretix/static/pretixcontrol/scss/_forms.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pretix/static/pretixcontrol/scss/_forms.scss b/src/pretix/static/pretixcontrol/scss/_forms.scss index 74aeed6855..5d5f773249 100644 --- a/src/pretix/static/pretixcontrol/scss/_forms.scss +++ b/src/pretix/static/pretixcontrol/scss/_forms.scss @@ -642,25 +642,27 @@ table td > .checkbox input[type="checkbox"] { #rules-editor { .checkin-rule { - border-left: 4px solid transparentize($brand-primary, .5); - background: rgba(0, 0, 0, 0.05); - padding: 5px 15px 5px 15px; + border: 1px solid lighten(#000, 80%); + border-left: 4px solid lighten(#000, 80%); + border-radius: $border-radius-base; + padding: 10px 15px 10px 15px; margin: 5px 0; position: relative; &:hover { + border-color: $brand-primary; border-left-color: $brand-primary; } } .checkin-rule-and { - border-left: 4px solid transparentize($brand-danger, .5); &:hover { + border-color: $brand-danger; border-left-color: $brand-danger; } } .checkin-rule-or { - border-left: 4px solid transparentize($brand-success, .5); &:hover { + border-color: $brand-success; border-left-color: $brand-success; } }