From 3ae0c90209c4aeacc3f8a7958e943361097a272d Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 21 Oct 2015 21:18:30 +0200 Subject: add support for Firefox 38 esr --- arc-firefox-theme/chrome/browser/newtab/newTab.css | 70 +++++++--------------- 1 file changed, 22 insertions(+), 48 deletions(-) (limited to 'arc-firefox-theme/chrome/browser/newtab/newTab.css') diff --git a/arc-firefox-theme/chrome/browser/newtab/newTab.css b/arc-firefox-theme/chrome/browser/newtab/newTab.css index 4073cd9..b051e74 100644 --- a/arc-firefox-theme/chrome/browser/newtab/newTab.css +++ b/arc-firefox-theme/chrome/browser/newtab/newTab.css @@ -12,6 +12,16 @@ background-color: transparent; } +/* SCROLLBOX */ +#newtab-scrollbox:not([page-disabled]) { + color: rgb(0,0,0); + background-color: #f9f9f9; +} + +#newtab-scrollbox:not([page-disabled]) #newtab-margin-bottom { + background: inherit; +} + /* UNDO */ #newtab-undo-container { padding: 4px 3px; @@ -51,49 +61,23 @@ border: none; } -#newtab-undo-close-button { - -moz-appearance: none; - padding: 0; - border: none; - height: 16px; - width: 16px; - float: right; - right: 0; - background-image: -moz-image-rect(url(chrome://browser/skin/newtab/close.png), 0, 16, 16, 0); - background-color: transparent; -} - -#newtab-undo-close-button:hover { - background-image: -moz-image-rect(url(chrome://browser/skin/newtab/close.png), 0, 32, 16, 16); -} - -#newtab-undo-close-button:hover:active { - background-image: -moz-image-rect(url(chrome://browser/skin/newtab/close.png), 0, 48, 16, 32); +#newtab-undo-close-button:-moz-focusring { + outline: 1px dotted; } /* CUSTOMIZE */ #newtab-customize-button, .newtab-customize { + background-color: transparent; background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 32, 32, 0); background-size: 28px; - height: 38px; - width: 38px; - background-repeat: no-repeat; - background-position: center; - background-color: transparent; border: none; -} - -.newtab-customize { height: 28px; width: 28px; } #newtab-customize-button:-moz-any(:hover, :active, [active]) { background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 64, 32, 32); - background-color: #FFFFFF; - border: solid 1px #CCCCCC; - border-radius: 2px; } /* CELLS */ @@ -115,8 +99,7 @@ transition-property: top, left, opacity, box-shadow, background-color; } -.newtab-cell:not([ignorehover]) .newtab-control:hover ~ .newtab-link, -.newtab-cell:not([ignorehover]) .newtab-link:hover, +.newtab-cell:not([ignorehover]) > .newtab-site:hover, .newtab-site[dragged] { border: 2px solid white; box-shadow: 0 0 6px 2px #4cb1ff; @@ -130,8 +113,7 @@ /* LINKS */ .newtab-link { - border-radius: 10px; - overflow: hidden; + border-radius: 6px; } /* THUMBNAILS */ @@ -140,12 +122,11 @@ background-clip: padding-box; background-repeat: no-repeat; background-size: cover; - border-radius: 8px 8px 0px 0px; - height: 180px; + border-radius: inherit; transition: opacity 100ms ease-out; } -.newtab-cell:not([ignorehover]) .newtab-site:hover .newtab-thumbnail.enhanced-content { +.newtab-site:hover .newtab-thumbnail.enhanced-content { opacity: 0; } @@ -158,24 +139,18 @@ } /* TITLES */ +#newtab-intro-what, .newtab-sponsored, -.newtab-title, -.newtab-suggested { +.newtab-title { color: #5c5c5c; } -.newtab-suggested[active] { - background-color: rgba(51, 51, 51, 0.95); - border: 0; - color: white; -} - .newtab-site:hover .newtab-title { color: #222; } .newtab-site[pinned] .newtab-title { - -moz-padding-start: 24px; + padding: 0 15px; } .newtab-site[pinned] .newtab-title::before { @@ -186,11 +161,9 @@ left: 0; position: absolute; width: 10px; - margin-left: 8px; - margin-top: 6px; } -.newtab-site[pinned] .newtab-title:-moz-dir(rtl)::before { +.newtab-site[pinned] .newtab-title:-moz-locale-dir(rtl)::before { left: auto; right: 0; } @@ -241,6 +214,7 @@ width: 16px; } +#newtab-intro-panel, .newtab-title { font-family: sans-serif; } -- cgit v1.2.3