From 5cad10dc82652750b7a16b4efe03b24fd7a31747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 21 Aug 2018 07:47:37 +0200 Subject: [PATCH] give solid white background to sidebar --- gadjo/static/css/gadjo.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index a612fd9..a7d0d69 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -382,8 +382,11 @@ div#main-content { -ms-flex: 0 0 auto; flex: 0 0 auto; margin-left: 1rem; - margin-right: 1rem; + margin-right: 0; width: 22rem; + box-sizing: border-box; + padding: 0 1rem; + background: white; max-width: 22rem; @media screen and (max-width: $mobile-limit) { width: auto; @@ -391,6 +394,13 @@ div#main-content { } color: #666; position: relative; + #sidebar-toggle { + left: -15px; + width: 15px; + background: #d4cbff; + border-bottom-right-radius: 0px; + border-bottom-left-radius: 10px; + } }