1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

Replace custom SVG with icon.

This commit is contained in:
Juliusz Chroboczek 2022-02-19 03:50:30 +01:00
parent 4ce9a91c40
commit 439dbabaa5
2 changed files with 7 additions and 17 deletions

View file

@ -1101,19 +1101,6 @@ legend {
/* Sidebar left */
.svg-inline--fa {
display: inline-block;
font-size: inherit;
height: 1.2em;
overflow: visible;
vertical-align: -.125em;
color: #dbd9d9;
}
.svg-inline--fa:hover {
color: #c2a4e0;
}
#left-sidebar {
min-width: 200px;
max-width: 200px;
@ -1130,11 +1117,16 @@ header .collapse {
float: left;
text-align: center;
cursor: pointer;
padding-top: 5px;
font-size: 20px;
color: #dbd9d9;
margin-right: 20px;
margin-left: 5px;
}
header .collapse:hover {
color: #c2a4e0;
}
.galene-header {
font-size: 1.3rem;
font-weight: 900;

View file

@ -30,9 +30,7 @@
<nav class="topnav navbar navbar-expand navbar-light fixed-top">
<div id="header">
<div class="collapse" title="Collapse left panel" id="sidebarCollapse">
<svg class="svg-inline--fa" aria-hidden="true" data-icon="align-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path fill="currentColor" d="M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"></path>
</svg>
<i class="fas fa-align-left" aria-hidden="true"></i>
</div>
<h1 id="title" class="header-title">Galène</h1>
</div>