commit b8e1c110fd6fe74aceb24c2af23211af75ba52af parent 90c1176099d0d03f29a7a1409a0fb6ac4dc9e957 Author: Lootyhoof <lootyhoofer@gmail.com> Date: Sun, 29 Jul 2018 20:27:58 +0100 Improve PM28 newtab styling Diffstat:
| M | src/chrome/appver/28/newTab.css | | | 26 | ++++++++++++++++++++++---- |
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/src/chrome/appver/28/newTab.css b/src/chrome/appver/28/newTab.css @@ -48,12 +48,30 @@ outline: 1px dotted rgb(75,75,75); } -#newtab-undo-close-button > .toolbarbutton-text { - display: none; +#newtab-undo-close-button { + -moz-appearance: none; + padding: 0; + border: none; +} + +#newtab-undo-close-button { + -moz-appearance: none; + padding: 0; + border: none; + height: 16px; + width: 16px; + float: right; + right: 0; + background-image: url(chrome://global/skin/icons/close.svg#normal); + background-color: transparent; +} + +#newtab-undo-close-button:hover { + background-image: url(chrome://global/skin/icons/close.svg#hover); } -#newtab-undo-close-button:-moz-focusring { - outline: 1px dotted; +#newtab-undo-close-button:hover:active { + background-image: url(chrome://global/skin/icons/close.svg#active); } /* TOGGLE */