From 7ac2ce33da0d5b4cbf84c916efe5d39a0f58b27d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 27 Apr 2016 09:48:47 -0700 Subject: [PATCH] Use 4chan icon for native settings instead of leaf. --- src/General/Header.coffee | 2 +- src/css/style.css | 9 +++++++++ src/css/tomorrow.css | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/General/Header.coffee b/src/General/Header.coffee index c4ddc9079..99994af79 100644 --- a/src/General/Header.coffee +++ b/src/General/Header.coffee @@ -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 diff --git a/src/css/style.css b/src/css/style.css index cc959f910..89d55ba65 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -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; diff --git a/src/css/tomorrow.css b/src/css/tomorrow.css index 4fbdc7ae5..12507db3c 100644 --- a/src/css/tomorrow.css +++ b/src/css/tomorrow.css @@ -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 {