From bf7b63ebfc2a95a000379fe8fd8719bb4626136c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Sep 2019 18:17:26 +0200 Subject: [PATCH] style(allocation): more clearly separate courses --- templates/allocation/show.lucius | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/allocation/show.lucius b/templates/allocation/show.lucius index 7cf292a62..54e085ed3 100644 --- a/templates/allocation/show.lucius +++ b/templates/allocation/show.lucius @@ -15,15 +15,18 @@ .allocation-course { display: grid; - grid-template-columns: 140px 1fr; + grid-template-columns: minmax(105px, 1fr) 9fr; grid-template-areas: - '. name ' + 'name name ' 'prio-label prio ' 'instr-label instr ' 'form-label form '; grid-gap: 5px 7px; - padding: 12px 10px; + margin: 12px 0; + padding: 0 10px 12px 7px; + + border-left: 1px solid var(--color-grey); /* &:last-child { * padding: 12px 10px 0 10px; @@ -35,7 +38,7 @@ */ &:nth-child(2n) { - background-color: rgba(0, 0, 0, 0.03); + background-color: rgba(0, 0, 0, 0.015); } .allocation-course__priority {