From cb6e45b130bde70458ee544069834a951214037d Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 5 Jul 2021 01:43:18 +0200 Subject: Add SCSS variables and do some minor optimizations This commit adds and uses variables for the SCSS files. Additionally, some minor optimizations have been done on the theme's HTML/CSS code. --- theme/admin/rsrc/css/import/_responsive.scss | 29 +++++++++++++--------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'theme/admin/rsrc/css/import/_responsive.scss') diff --git a/theme/admin/rsrc/css/import/_responsive.scss b/theme/admin/rsrc/css/import/_responsive.scss index 2a7cebb..f6e0b5a 100644 --- a/theme/admin/rsrc/css/import/_responsive.scss +++ b/theme/admin/rsrc/css/import/_responsive.scss @@ -6,7 +6,7 @@ @media only screen and (min-width: 62.5em /*1000px*/) { #main-content { - border: 0.05rem solid #AAA; + border: 0.05rem solid $borderColor; border-top: none; border-bottom: none; } @@ -32,13 +32,15 @@ #main-navi { font-size: 1rem; - li { - span { - display: none; - } + ul { + li { + span { + display: none; + } - .fa { - margin-right: 0; + .fa { + margin-right: 0; + } } } @@ -76,6 +78,10 @@ overflow: hidden; box-sizing: border-box; + &-before { + float: none; + } + li { flex-grow: 1; @@ -84,13 +90,4 @@ } } } - - .actions-before { - float: none; - } - - .arguments { - font-size: 0.5rem; - line-height: 0.75rem; - } } -- cgit v1.2.3