From f583627901210050d1d9dabc661abfa82f0d4231 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 22 Jun 2018 16:53:06 +0200 Subject: Improve newtab styling - De-duplicate controls - Improve title text position - Improve pinned site indicator --- application/palemoon/themes/linux/jar.mn | 5 +++-- application/palemoon/themes/linux/newtab/controls.png | Bin 4180 -> 0 bytes application/palemoon/themes/linux/newtab/noise.png | Bin 2118 -> 0 bytes application/palemoon/themes/osx/jar.mn | 5 +++-- application/palemoon/themes/osx/newtab/controls.png | Bin 4180 -> 0 bytes application/palemoon/themes/osx/newtab/noise.png | Bin 2118 -> 0 bytes application/palemoon/themes/shared/newtab/controls.png | Bin 0 -> 4180 bytes application/palemoon/themes/shared/newtab/newTab.css.inc | 9 ++++----- application/palemoon/themes/shared/newtab/noise.png | Bin 0 -> 2118 bytes application/palemoon/themes/shared/newtab/pinned.png | Bin 0 -> 307 bytes application/palemoon/themes/windows/jar.mn | 5 +++-- application/palemoon/themes/windows/newtab/controls.png | Bin 4180 -> 0 bytes application/palemoon/themes/windows/newtab/noise.png | Bin 2118 -> 0 bytes 13 files changed, 13 insertions(+), 11 deletions(-) delete mode 100644 application/palemoon/themes/linux/newtab/controls.png delete mode 100644 application/palemoon/themes/linux/newtab/noise.png delete mode 100644 application/palemoon/themes/osx/newtab/controls.png delete mode 100644 application/palemoon/themes/osx/newtab/noise.png create mode 100644 application/palemoon/themes/shared/newtab/controls.png create mode 100644 application/palemoon/themes/shared/newtab/noise.png create mode 100644 application/palemoon/themes/shared/newtab/pinned.png delete mode 100644 application/palemoon/themes/windows/newtab/controls.png delete mode 100644 application/palemoon/themes/windows/newtab/noise.png diff --git a/application/palemoon/themes/linux/jar.mn b/application/palemoon/themes/linux/jar.mn index 843c31abb..8b2e9dc77 100644 --- a/application/palemoon/themes/linux/jar.mn +++ b/application/palemoon/themes/linux/jar.mn @@ -77,8 +77,9 @@ browser.jar: skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) * skin/classic/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/browser/newtab/controls.png (newtab/controls.png) - skin/classic/browser/newtab/noise.png (newtab/noise.png) + skin/classic/browser/newtab/controls.png (../shared/newtab/controls.png) + skin/classic/browser/newtab/noise.png (../shared/newtab/noise.png) + skin/classic/browser/newtab/pinned.png (../shared/newtab/pinned.png) skin/classic/browser/places/bookmarksMenu.png (places/bookmarksMenu.png) skin/classic/browser/places/bookmarksToolbar.png (places/bookmarksToolbar.png) skin/classic/browser/places/calendar.png (places/calendar.png) diff --git a/application/palemoon/themes/linux/newtab/controls.png b/application/palemoon/themes/linux/newtab/controls.png deleted file mode 100644 index 14f382fbd..000000000 Binary files a/application/palemoon/themes/linux/newtab/controls.png and /dev/null differ diff --git a/application/palemoon/themes/linux/newtab/noise.png b/application/palemoon/themes/linux/newtab/noise.png deleted file mode 100644 index 01d340aaa..000000000 Binary files a/application/palemoon/themes/linux/newtab/noise.png and /dev/null differ diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index 4cc54c4b1..e0c1ccbba 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -94,8 +94,9 @@ browser.jar: skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) * skin/classic/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/browser/newtab/controls.png (newtab/controls.png) - skin/classic/browser/newtab/noise.png (newtab/noise.png) + skin/classic/browser/newtab/controls.png (../shared/newtab/controls.png) + skin/classic/browser/newtab/noise.png (../shared/newtab/noise.png) + skin/classic/browser/newtab/pinned.png (../shared/newtab/pinned.png) skin/classic/browser/places/places.css (places/places.css) * skin/classic/browser/places/organizer.css (places/organizer.css) skin/classic/browser/places/editBookmark.png (places/editBookmark.png) diff --git a/application/palemoon/themes/osx/newtab/controls.png b/application/palemoon/themes/osx/newtab/controls.png deleted file mode 100644 index 14f382fbd..000000000 Binary files a/application/palemoon/themes/osx/newtab/controls.png and /dev/null differ diff --git a/application/palemoon/themes/osx/newtab/noise.png b/application/palemoon/themes/osx/newtab/noise.png deleted file mode 100644 index 01d340aaa..000000000 Binary files a/application/palemoon/themes/osx/newtab/noise.png and /dev/null differ diff --git a/application/palemoon/themes/shared/newtab/controls.png b/application/palemoon/themes/shared/newtab/controls.png new file mode 100644 index 000000000..14f382fbd Binary files /dev/null and b/application/palemoon/themes/shared/newtab/controls.png differ diff --git a/application/palemoon/themes/shared/newtab/newTab.css.inc b/application/palemoon/themes/shared/newtab/newTab.css.inc index e2ed988c5..4ffd32d50 100644 --- a/application/palemoon/themes/shared/newtab/newTab.css.inc +++ b/application/palemoon/themes/shared/newtab/newTab.css.inc @@ -123,24 +123,23 @@ body { /* TITLES */ .newtab-title { - padding: 0 8px; + padding: 0 8px 1px; background-color: rgba(248,249,251,.95); color: #1f364c; line-height: 24px; } .newtab-site[pinned] .newtab-title { - padding-inline-start: 24px; + padding-inline-start: 16px; } .newtab-site[pinned] .newtab-title::before { - background-image: url(chrome://browser/skin/newtab/controls.png); - background-position: -74px -1px; + background-image: url(chrome://browser/skin/newtab/pinned.png); content: ""; left: 2px; top: 2px; position: absolute; - width: 20px; + width: 12px; height: 20px; } diff --git a/application/palemoon/themes/shared/newtab/noise.png b/application/palemoon/themes/shared/newtab/noise.png new file mode 100644 index 000000000..01d340aaa Binary files /dev/null and b/application/palemoon/themes/shared/newtab/noise.png differ diff --git a/application/palemoon/themes/shared/newtab/pinned.png b/application/palemoon/themes/shared/newtab/pinned.png new file mode 100644 index 000000000..ddd731bc6 Binary files /dev/null and b/application/palemoon/themes/shared/newtab/pinned.png differ diff --git a/application/palemoon/themes/windows/jar.mn b/application/palemoon/themes/windows/jar.mn index 25e40f742..0a4342d40 100644 --- a/application/palemoon/themes/windows/jar.mn +++ b/application/palemoon/themes/windows/jar.mn @@ -96,8 +96,9 @@ browser.jar: skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) * skin/classic/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/browser/newtab/controls.png (newtab/controls.png) - skin/classic/browser/newtab/noise.png (newtab/noise.png) + skin/classic/browser/newtab/controls.png (../shared/newtab/controls.png) + skin/classic/browser/newtab/noise.png (../shared/newtab/noise.png) + skin/classic/browser/newtab/pinned.png (../shared/newtab/pinned.png) skin/classic/browser/places/places.css (places/places.css) * skin/classic/browser/places/organizer.css (places/organizer.css) skin/classic/browser/places/editBookmark.png (places/editBookmark.png) diff --git a/application/palemoon/themes/windows/newtab/controls.png b/application/palemoon/themes/windows/newtab/controls.png deleted file mode 100644 index 14f382fbd..000000000 Binary files a/application/palemoon/themes/windows/newtab/controls.png and /dev/null differ diff --git a/application/palemoon/themes/windows/newtab/noise.png b/application/palemoon/themes/windows/newtab/noise.png deleted file mode 100644 index 01d340aaa..000000000 Binary files a/application/palemoon/themes/windows/newtab/noise.png and /dev/null differ -- cgit v1.2.3