summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-22 16:53:06 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-22 16:53:06 +0200
commitf583627901210050d1d9dabc661abfa82f0d4231 (patch)
tree3cd9c1e698104835b0ecc8baf9b6efca7d60f9db
parent5f5523bffd09c2caa5de5a08758db9574cb5978b (diff)
downloadUXP-f583627901210050d1d9dabc661abfa82f0d4231.tar
UXP-f583627901210050d1d9dabc661abfa82f0d4231.tar.gz
UXP-f583627901210050d1d9dabc661abfa82f0d4231.tar.lz
UXP-f583627901210050d1d9dabc661abfa82f0d4231.tar.xz
UXP-f583627901210050d1d9dabc661abfa82f0d4231.zip
Improve newtab styling
- De-duplicate controls - Improve title text position - Improve pinned site indicator
-rw-r--r--application/palemoon/themes/linux/jar.mn5
-rw-r--r--application/palemoon/themes/osx/jar.mn5
-rw-r--r--application/palemoon/themes/osx/newtab/controls.pngbin4180 -> 0 bytes
-rw-r--r--application/palemoon/themes/osx/newtab/noise.pngbin2118 -> 0 bytes
-rw-r--r--application/palemoon/themes/shared/newtab/controls.png (renamed from application/palemoon/themes/linux/newtab/controls.png)bin4180 -> 4180 bytes
-rw-r--r--application/palemoon/themes/shared/newtab/newTab.css.inc9
-rw-r--r--application/palemoon/themes/shared/newtab/noise.png (renamed from application/palemoon/themes/linux/newtab/noise.png)bin2118 -> 2118 bytes
-rw-r--r--application/palemoon/themes/shared/newtab/pinned.pngbin0 -> 307 bytes
-rw-r--r--application/palemoon/themes/windows/jar.mn5
-rw-r--r--application/palemoon/themes/windows/newtab/controls.pngbin4180 -> 0 bytes
-rw-r--r--application/palemoon/themes/windows/newtab/noise.pngbin2118 -> 0 bytes
11 files changed, 13 insertions, 11 deletions
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/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
--- a/application/palemoon/themes/osx/newtab/controls.png
+++ /dev/null
Binary files 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
--- a/application/palemoon/themes/osx/newtab/noise.png
+++ /dev/null
Binary files differ
diff --git a/application/palemoon/themes/linux/newtab/controls.png b/application/palemoon/themes/shared/newtab/controls.png
index 14f382fbd..14f382fbd 100644
--- a/application/palemoon/themes/linux/newtab/controls.png
+++ b/application/palemoon/themes/shared/newtab/controls.png
Binary files 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/linux/newtab/noise.png b/application/palemoon/themes/shared/newtab/noise.png
index 01d340aaa..01d340aaa 100644
--- a/application/palemoon/themes/linux/newtab/noise.png
+++ b/application/palemoon/themes/shared/newtab/noise.png
Binary files 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
--- /dev/null
+++ b/application/palemoon/themes/shared/newtab/pinned.png
Binary files 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
--- a/application/palemoon/themes/windows/newtab/controls.png
+++ /dev/null
Binary files 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
--- a/application/palemoon/themes/windows/newtab/noise.png
+++ /dev/null
Binary files differ