Fixed titleBar menu toggle.

This commit is contained in:
Andrew Stowell
2018-11-28 12:06:23 -05:00
parent d8cfc390c1
commit 102fb80d60
2 changed files with 9 additions and 24 deletions
+8 -23
View File
@@ -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;
}
}
}
}
+1 -1
View File
@@ -124,7 +124,7 @@
// Title Bar.
$titleBar = $(
'<div id="titleBar">' +
'<a href="#header" class="toggle"></a>' +
'<a href="#header" class="toggle"><span class="fas fa-bars" title="Menu"></span></a>' +
'<span class="title">' + $('#logo').html() + '</span>' +
'</div>'
)