small icon fixes after clockface v4 (#4658)
parent
390f8d3df0
commit
fc94c2e33d
|
|
@ -185,7 +185,6 @@
|
|||
}
|
||||
|
||||
.search-btn {
|
||||
margin-top: .15rem;
|
||||
width: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
&:before {
|
||||
content: "\e97a";
|
||||
margin-right: 0.25em;
|
||||
font-family: 'icomoon';
|
||||
font-family: 'icomoon-v3';
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
{{ $searchPlaceholder := .Scratch.Get "searchPlaceholder" }}
|
||||
|
||||
<aside class="sidebar">
|
||||
{{ partial "sidebar/sidebar-toggle.html" (dict "state" "close") }}
|
||||
{{ partial "sidebar/sidebar-toggle.html" (dict "state" "Close") }}
|
||||
<div class="search-and-nav-toggle">
|
||||
<div class="sidebar--search">
|
||||
<input class="sidebar--search-field"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
{{- $initialState := .state | default "open" -}}
|
||||
{{- $modifiedState := cond (eq $initialState "close") "closed" "open" -}}
|
||||
<div class="sidebar-toggle" onclick="toggle_sidebar('sidebar-{{ $modifiedState }}');return false;"><a href="#"><span class="cf-icon sidebar-{{ $initialState }}-new"></span></a></div>
|
||||
{{- $initialState := .state | default "Open" -}}
|
||||
{{- $modifiedState := cond (eq $initialState "Close") "closed" "open" -}}
|
||||
<div class="sidebar-toggle" onclick="toggle_sidebar('sidebar-{{ $modifiedState }}');return false;"><a href="#"><span class="cf-icon Sidebar{{ $initialState }}"></span></a></div>
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
</div>
|
||||
<div class="buttons">
|
||||
<div class="search-btn">
|
||||
<button id="search-btn" onclick="toggle_sidebar('sidebar-open');document.getElementById('algolia-search-input').focus();return false;"><span class="icon-search"></span></button>
|
||||
<button id="search-btn" onclick="toggle_sidebar('sidebar-open');document.getElementById('algolia-search-input').focus();return false;"><span class="cf-icon Search_New"></span></button>
|
||||
</div>
|
||||
<button class="url-trigger" href="#"><span class="cf-icon cog-solid-new"></span></button>
|
||||
<button class="theme-switcher" id="theme-switch-light" onclick="switch_style('light-theme');return false;"><span class="cf-icon light-mode-new"></span></button>
|
||||
<button class="theme-switcher" id="theme-switch-dark" onclick="switch_style('dark-theme');return false;"><span class="cf-icon dark-mode-new"></span></button>
|
||||
<button class="url-trigger" href="#"><span class="cf-icon CogSolid_New"></span></button>
|
||||
<button class="theme-switcher" id="theme-switch-light" onclick="switch_style('light-theme');return false;"><span class="cf-icon Lightmode_New"></span></button>
|
||||
<button class="theme-switcher" id="theme-switch-dark" onclick="switch_style('dark-theme');return false;"><span class="cf-icon Darkmode_New"></span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue