From 3b3e4b4cc5f8cb37af6a23ee15bdbc5e3a66fdb7 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 28 Jun 2018 22:04:10 +0200 Subject: [PATCH] Add back the Quickdial show/hide control. This also slightly tweaks the grid design styling. Resolves #563 --- .../palemoon/base/content/newtab/newTab.css | 16 ++++++++++++++-- .../palemoon/base/content/newtab/newTab.xhtml | 1 + application/palemoon/base/content/newtab/page.js | 9 +++++++++ .../palemoon/themes/shared/newtab/newTab.css.inc | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/application/palemoon/base/content/newtab/newTab.css b/application/palemoon/base/content/newtab/newTab.css index 117150b302..fe745d2fd4 100644 --- a/application/palemoon/base/content/newtab/newTab.css +++ b/application/palemoon/base/content/newtab/newTab.css @@ -42,6 +42,18 @@ input[type=button] { pointer-events: none; } +/* TOGGLE */ +#newtab-toggle { + position: absolute; + top: 12px; + right: 12px; +} + +#newtab-toggle:-moz-locale-dir(rtl) { + left: 12px; + right: auto; +} + /* MARGINS */ #newtab-vertical-margin { display: -moz-box; @@ -100,7 +112,7 @@ input[type=button] { -moz-box-orient: vertical; min-width: 600px; min-height: 400px; - transition: 300ms ease-out; + transition: 175ms ease-out; transition-property: opacity; } @@ -136,7 +148,7 @@ input[type=button] { .newtab-site { position: relative; -moz-box-flex: 1; - transition: 200ms ease-out; + transition: 150ms ease-out; transition-property: top, left, opacity; } diff --git a/application/palemoon/base/content/newtab/newTab.xhtml b/application/palemoon/base/content/newtab/newTab.xhtml index eac62c9878..de000e723d 100644 --- a/application/palemoon/base/content/newtab/newTab.xhtml +++ b/application/palemoon/base/content/newtab/newTab.xhtml @@ -54,6 +54,7 @@
+