summaryrefslogtreecommitdiffstats
path: root/application/palemoon/themes/shared
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 /application/palemoon/themes/shared
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
Diffstat (limited to 'application/palemoon/themes/shared')
-rw-r--r--application/palemoon/themes/shared/newtab/controls.pngbin0 -> 4180 bytes
-rw-r--r--application/palemoon/themes/shared/newtab/newTab.css.inc9
-rw-r--r--application/palemoon/themes/shared/newtab/noise.pngbin0 -> 2118 bytes
-rw-r--r--application/palemoon/themes/shared/newtab/pinned.pngbin0 -> 307 bytes
4 files changed, 4 insertions, 5 deletions
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
--- /dev/null
+++ 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/shared/newtab/noise.png b/application/palemoon/themes/shared/newtab/noise.png
new file mode 100644
index 000000000..01d340aaa
--- /dev/null
+++ 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