Use 4chan icon for native settings instead of leaf.

This commit is contained in:
ccd0 2016-04-27 09:48:47 -07:00
parent 2909e88223
commit 7ac2ce33da
3 changed files with 13 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Header =
cs.className = 'fa fa-book'
else
cs.title = cs.textContent = '4chan Settings'
cs.className = 'fa fa-leaf'
cs.className = 'native-settings'
$.on cs, 'click', () ->
$.id('settingsWindowLink').click()
@addShortcut cs, 810

View File

@ -312,6 +312,15 @@ audio.controls-added {
margin-left: 3px;
vertical-align: middle;
}
:root.shortcut-icons .native-settings {
font-size: 0;
color: transparent;
display: inline-block;
vertical-align: top;
height: 12px;
width: 14px;
background: url('//s.4cdn.org/image/favicon.ico') 0px -1px no-repeat;
}
#navbotright,
#navtopright {
display: none;

View File

@ -17,6 +17,9 @@
:root.tomorrow #header-bar a, :root.tomorrow #notifications a {
color: #81A2BE;
}
:root.tomorrow.shortcut-icons .native-settings {
background-image: url('//s.4cdn.org/image/favicon-ws.ico');
}
/* Settings */
:root.tomorrow #fourchanx-settings fieldset, :root.tomorrow .section-main div::before {