From 102fb80d608b1c4b18604e14f9a3011915b1baa8 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Wed, 28 Nov 2018 12:06:23 -0500 Subject: [PATCH] Fixed titleBar menu toggle. --- assets/css/main.scss | 31 ++++++++----------------------- assets/js/main.js | 2 +- 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 8cc4710..34e8888 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1511,10 +1511,16 @@ .toggle { @include icon; - height: 4em; + height: 44px; position: absolute; top: 0; - width: 6em; + width: 64px; + background: _palette(accent1, bg); + color: _palette(accent1, fg-bold) !important; + display: block; + font-size: 18px; + line-height: 44px; + text-align: center; border: 0; outline: 0; @@ -1524,27 +1530,6 @@ @else { left: 0; } - - &:before { - background: _palette(accent1, bg); - color: _palette(accent1, fg-bold); - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - - @if _misc(header-side) == 'right' { - right: 0; - } - @else { - left: 0; - } - } } } diff --git a/assets/js/main.js b/assets/js/main.js index ab3bfba..5591ad4 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -124,7 +124,7 @@ // Title Bar. $titleBar = $( '
' + - '' + + '' + '' + $('#logo').html() + '' + '
' )