From 1a5826d37bb65c99c6aa4427697f6e77c7b8019a Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Thu, 26 Jan 2012 18:27:54 +0100 Subject: [PATCH] Backed out changeset 3f30da5d0bc3 (bug 455553) --- browser/base/content/newtab/newTab.css | 173 ------------------ browser/base/jar.mn | 3 - .../locales/en-US/chrome/browser/newTab.dtd | 6 - .../en-US/chrome/browser/newTab.properties | 3 - browser/locales/jar.mn | 2 - browser/themes/gnomestripe/jar.mn | 3 - browser/themes/gnomestripe/newtab/newTab.css | 144 --------------- browser/themes/pinstripe/jar.mn | 3 - browser/themes/pinstripe/newtab/newTab.css | 143 --------------- browser/themes/winstripe/jar.mn | 6 - browser/themes/winstripe/newtab/newTab.css | 144 --------------- 11 files changed, 630 deletions(-) delete mode 100644 browser/base/content/newtab/newTab.css delete mode 100644 browser/locales/en-US/chrome/browser/newTab.dtd delete mode 100644 browser/locales/en-US/chrome/browser/newTab.properties delete mode 100644 browser/themes/gnomestripe/newtab/newTab.css delete mode 100644 browser/themes/pinstripe/newtab/newTab.css delete mode 100644 browser/themes/winstripe/newtab/newTab.css diff --git a/browser/base/content/newtab/newTab.css b/browser/base/content/newtab/newTab.css deleted file mode 100644 index c1d954c00baf..000000000000 --- a/browser/base/content/newtab/newTab.css +++ /dev/null @@ -1,173 +0,0 @@ -:root { - -moz-appearance: none; -} - -#scrollbox:not([page-disabled]) { - overflow: auto; -} - -#body { - position: relative; - margin: 0; - min-width: 675px; - -moz-user-select: none; -} - -.button { - cursor: pointer; -} - -/* TOOLBAR */ -#toolbar { - position: absolute; -} - -#toolbar[page-disabled] { - position: fixed; -} - -#toolbar:-moz-locale-dir(rtl) { - left: 8px; - right: auto; -} - -.toolbar-button { - position: absolute; - cursor: pointer; - -moz-transition: opacity 200ms ease-out; -} - -#toolbar-button-show, -#toolbar-button-reset { - opacity: 0; - pointer-events: none; -} - -#toolbar-button-reset[modified], -#toolbar-button-show[page-disabled] { - opacity: 1; - pointer-events: auto; -} - -#toolbar-button-hide[page-disabled], -#toolbar-button-reset[page-disabled] { - opacity: 0; - pointer-events: none; -} - -/* GRID */ -#grid { - width: 637px; - height: 411px; - overflow: hidden; - list-style-type: none; - -moz-transition: opacity 200ms ease-out; -} - -#grid[page-disabled] { - opacity: 0; -} - -#grid[page-disabled], -#grid[locked] { - pointer-events: none; -} - -/* CELLS */ -.cell { - float: left; - width: 201px; - height: 127px; - margin-bottom: 15px; - -moz-margin-end: 16px; -} - -.cell:-moz-locale-dir(rtl) { - float: right; -} - -.cell:nth-child(3n+3) { - -moz-margin-end: 0; -} - -/* SITES */ -.site { - display: block; - position: relative; - width: 201px; - height: 127px; -} - -.site[frozen] { - position: absolute; - pointer-events: none; -} - -.site[ontop] { - z-index: 10; -} - -/* SITE IMAGE */ -.site-img { - display: block; - opacity: 0.75; - -moz-transition: opacity 200ms ease-out; -} - -.site:hover > .site-img, -.site[ontop] > .site-img, -.site:-moz-focusring > .site-img { - opacity: 1; -} - -.site-img[loading] { - display: none; -} - -/* SITE TITLE */ -.site-title { - position: absolute; - left: 0; - bottom: 0; - overflow: hidden; -} - -/* SITE STRIP */ -.site-strip { - position: absolute; - left: 0; - top: 0; - width: 195px; - height: 17px; - overflow: hidden; - opacity: 0; - -moz-transition: opacity 200ms ease-out; -} - -.site:hover:not([frozen]) > .site-strip { - opacity: 1; -} - -.strip-button-pin, -.strip-button-block:-moz-locale-dir(rtl) { - float: left; -} - -.strip-button-block, -.strip-button-pin:-moz-locale-dir(rtl) { - float: right; -} - -/* DRAG & DROP */ - -/* - * This is just a temporary drag element used for dataTransfer.setDragImage() - * so that we can use custom drag images and elements. It needs an opacity of - * 0.01 so that the core code detects that it's in fact a visible element. - */ -.drag-element { - width: 1px; - height: 1px; - background-color: #fff; - opacity: 0.01; -} diff --git a/browser/base/jar.mn b/browser/base/jar.mn index 4581a87c0c40..1986b93f3bde 100644 --- a/browser/base/jar.mn +++ b/browser/base/jar.mn @@ -31,9 +31,6 @@ browser.jar: * content/browser/browser-tabPreviews.xml (content/browser-tabPreviews.xml) * content/browser/content.js (content/content.js) * content/browser/fullscreen-video.xhtml (content/fullscreen-video.xhtml) -* content/browser/newtab/newTab.xul (content/newtab/newTab.xul) -* content/browser/newtab/newTab.js (content/newtab/newTab.js) - content/browser/newtab/newTab.css (content/newtab/newTab.css) * content/browser/pageinfo/pageInfo.xul (content/pageinfo/pageInfo.xul) * content/browser/pageinfo/pageInfo.js (content/pageinfo/pageInfo.js) * content/browser/pageinfo/pageInfo.css (content/pageinfo/pageInfo.css) diff --git a/browser/locales/en-US/chrome/browser/newTab.dtd b/browser/locales/en-US/chrome/browser/newTab.dtd deleted file mode 100644 index 0232edfd66e3..000000000000 --- a/browser/locales/en-US/chrome/browser/newTab.dtd +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/browser/locales/en-US/chrome/browser/newTab.properties b/browser/locales/en-US/chrome/browser/newTab.properties deleted file mode 100644 index 9423af6fc71d..000000000000 --- a/browser/locales/en-US/chrome/browser/newTab.properties +++ /dev/null @@ -1,3 +0,0 @@ -newtab.pin=Pin this site at its current position -newtab.unpin=Unpin this site -newtab.block=Remove this site diff --git a/browser/locales/jar.mn b/browser/locales/jar.mn index 70f90245bf89..1346638ed1a2 100644 --- a/browser/locales/jar.mn +++ b/browser/locales/jar.mn @@ -28,8 +28,6 @@ locale/browser/devtools/styleinspector.dtd (%chrome/browser/devtools/styleinspector.dtd) locale/browser/devtools/webConsole.dtd (%chrome/browser/devtools/webConsole.dtd) locale/browser/devtools/sourceeditor.properties (%chrome/browser/devtools/sourceeditor.properties) - locale/browser/newTab.dtd (%chrome/browser/newTab.dtd) - locale/browser/newTab.properties (%chrome/browser/newTab.properties) locale/browser/openLocation.dtd (%chrome/browser/openLocation.dtd) locale/browser/openLocation.properties (%chrome/browser/openLocation.properties) * locale/browser/pageInfo.dtd (%chrome/browser/pageInfo.dtd) diff --git a/browser/themes/gnomestripe/jar.mn b/browser/themes/gnomestripe/jar.mn index 87ba7071ae69..c144ecd87ad1 100644 --- a/browser/themes/gnomestripe/jar.mn +++ b/browser/themes/gnomestripe/jar.mn @@ -45,9 +45,6 @@ browser.jar: skin/classic/browser/feeds/audioFeedIcon16.png (feeds/feedIcon16.png) 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/strip.png (newtab/strip.png) - skin/classic/browser/newtab/toolbar.png (newtab/toolbar.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/browser/themes/gnomestripe/newtab/newTab.css b/browser/themes/gnomestripe/newtab/newTab.css deleted file mode 100644 index 2df64addbdd5..000000000000 --- a/browser/themes/gnomestripe/newtab/newTab.css +++ /dev/null @@ -1,144 +0,0 @@ -#scrollbox { - padding-bottom: 18px; - background-color: #fff; -} - -#body { - padding-top: 106px; - font-family: sans-serif; -} - -.button { - padding: 0; - border: 0 none; -} - -/* TOOLBAR */ -#toolbar { - top: 8px; - right: 8px; - width: 13px; - height: 30px; - padding: 0; - margin: 0; -} - -.toolbar-button { - background: transparent url(chrome://browser/skin/newtab/toolbar.png); -} - -#toolbar-button-show { - width: 11px; - height: 11px; - background-position: -10px 0; -} - -#toolbar-button-show:hover { - background-position: -10px -12px; -} - -#toolbar-button-show:active { - background-position: -10px -24px; -} - -#toolbar-button-hide { - width: 10px; - height: 10px; -} - -#toolbar-button-hide:hover { - background-position: 0 -12px; -} - -#toolbar-button-hide:active { - background-position: 0 -24px; -} - -#toolbar-button-reset { - top: 17px; - width: 11px; - height: 12px; -} - -#toolbar-button-reset { - background-position: -21px 0; -} - -#toolbar-button-reset:hover { - background-position: -21px -12px; -} - -#toolbar-button-reset:active { - background-position: -21px -24px; -} - -/* GRID */ -#grid { - padding: 1px; - margin: 0 auto; -} - -/* SITES */ -.site { - background-color: #ececec; - -moz-transition: 200ms ease-out; - -moz-transition-property: top, left, box-shadow, opacity; -} - -.site[dragged] { - -moz-transition-property: box-shadow; -} - -.site[ontop] { - box-shadow: 0 1px 4px #000; - outline: none; -} - -/* SITE TITLE */ -.site-title { - height: 2.4em; - width: 189px; - padding: 0 6px; - background-color: rgba(0,0,0,0.8); - border: solid transparent; - border-width: 6px 0; - color: #fff; - text-decoration: none; - line-height: 1.2em; - font-weight: 700; -} - -/* SITE STRIP */ -.site-strip { - padding: 3px; - border: solid rgba(30,30,30,0.8); - border-width: 1px 0; - background-color: rgba(0,0,0,0.8); -} - -.strip-button { - width: 17px; - height: 17px; - background: transparent url(chrome://browser/skin/newtab/strip.png); -} - -.strip-button-pin:hover { - background-position: 0 -17px; -} - -.strip-button-pin:active, -.site[pinned] .strip-button-pin { - background-position: 0 -34px; -} - -.strip-button-block { - background-position: -17px 0; -} - -.strip-button-block:hover { - background-position: -17px -17px; -} - -.strip-button-block:active { - background-position: -17px -34px; -} diff --git a/browser/themes/pinstripe/jar.mn b/browser/themes/pinstripe/jar.mn index 8b1167eb24f3..7ee87a5ed72f 100644 --- a/browser/themes/pinstripe/jar.mn +++ b/browser/themes/pinstripe/jar.mn @@ -55,9 +55,6 @@ browser.jar: skin/classic/browser/feeds/videoFeedIcon16.png (feeds/feedIcon16.png) skin/classic/browser/feeds/audioFeedIcon.png (feeds/feedIcon.png) skin/classic/browser/feeds/audioFeedIcon16.png (feeds/feedIcon16.png) - skin/classic/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/browser/newtab/strip.png (newtab/strip.png) - skin/classic/browser/newtab/toolbar.png (newtab/toolbar.png) skin/classic/browser/setDesktopBackground.css skin/classic/browser/inspector.css skin/classic/browser/monitor.png diff --git a/browser/themes/pinstripe/newtab/newTab.css b/browser/themes/pinstripe/newtab/newTab.css deleted file mode 100644 index 4785675f7180..000000000000 --- a/browser/themes/pinstripe/newtab/newTab.css +++ /dev/null @@ -1,143 +0,0 @@ -#scrollbox { - padding-bottom: 18px; - background-color: #fff; -} - -#body { - padding-top: 106px; - font-family: sans-serif; -} - -.button { - padding: 0; - border: 0 none; -} - -/* TOOLBAR */ -#toolbar { - top: 8px; - right: 8px; - width: 13px; - height: 30px; - padding: 0; - margin: 0; -} - -.toolbar-button { - background: transparent url(chrome://browser/skin/newtab/toolbar.png); -} - -#toolbar-button-show { - width: 11px; - height: 11px; - background-position: -10px 0; -} - -#toolbar-button-show:hover { - background-position: -10px -12px; -} - -#toolbar-button-show:active { - background-position: -10px -24px; -} - -#toolbar-button-hide { - width: 10px; - height: 10px; -} - -#toolbar-button-hide:hover { - background-position: 0 -12px; -} - -#toolbar-button-hide:active { - background-position: 0 -24px; -} - -#toolbar-button-reset { - top: 17px; - width: 11px; - height: 12px; -} - -#toolbar-button-reset { - background-position: -21px 0; -} - -#toolbar-button-reset:hover { - background-position: -21px -12px; -} - -#toolbar-button-reset:active { - background-position: -21px -24px; -} - -/* GRID */ -#grid { - padding: 1px; - margin: 0 auto; -} - -/* SITES */ -.site { - background-color: #ececec; - -moz-transition: 200ms ease-out; - -moz-transition-property: top, left, box-shadow, opacity; -} - -.site[dragged] { - -moz-transition-property: box-shadow; -} - -.site[ontop] { - box-shadow: 0 1px 4px #000; -} - -/* SITE TITLE */ -.site-title { - height: 2.4em; - width: 189px; - padding: 0 6px; - background-color: rgba(0,0,0,0.8); - border: solid transparent; - border-width: 6px 0; - color: #fff; - text-decoration: none; - line-height: 1.2em; - font-weight: 700; -} - -/* SITE STRIP */ -.site-strip { - padding: 3px; - border: solid rgba(30,30,30,0.8); - border-width: 1px 0; - background-color: rgba(0,0,0,0.8); -} - -.strip-button { - width: 17px; - height: 17px; - background: transparent url(chrome://browser/skin/newtab/strip.png); -} - -.strip-button-pin:hover { - background-position: 0 -17px; -} - -.strip-button-pin:active, -.site[pinned] .strip-button-pin { - background-position: 0 -34px; -} - -.strip-button-block { - background-position: -17px 0; -} - -.strip-button-block:hover { - background-position: -17px -17px; -} - -.strip-button-block:active { - background-position: -17px -34px; -} diff --git a/browser/themes/winstripe/jar.mn b/browser/themes/winstripe/jar.mn index a21412b20ff8..7c8fc23eea37 100644 --- a/browser/themes/winstripe/jar.mn +++ b/browser/themes/winstripe/jar.mn @@ -57,9 +57,6 @@ browser.jar: skin/classic/browser/feeds/videoFeedIcon16.png (feeds/feedIcon16.png) 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/strip.png (newtab/strip.png) - skin/classic/browser/newtab/toolbar.png (newtab/toolbar.png) skin/classic/browser/inspector.css skin/classic/browser/places/places.css (places/places.css) * skin/classic/browser/places/organizer.css (places/organizer.css) @@ -219,9 +216,6 @@ browser.jar: skin/classic/aero/browser/feeds/videoFeedIcon16.png (feeds/feedIcon16-aero.png) skin/classic/aero/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/aero/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) - skin/classic/aero/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/aero/browser/newtab/strip.png (newtab/strip.png) - skin/classic/aero/browser/newtab/toolbar.png (newtab/toolbar.png) skin/classic/aero/browser/inspector.css * skin/classic/aero/browser/places/places.css (places/places-aero.css) * skin/classic/aero/browser/places/organizer.css (places/organizer-aero.css) diff --git a/browser/themes/winstripe/newtab/newTab.css b/browser/themes/winstripe/newtab/newTab.css deleted file mode 100644 index 2df64addbdd5..000000000000 --- a/browser/themes/winstripe/newtab/newTab.css +++ /dev/null @@ -1,144 +0,0 @@ -#scrollbox { - padding-bottom: 18px; - background-color: #fff; -} - -#body { - padding-top: 106px; - font-family: sans-serif; -} - -.button { - padding: 0; - border: 0 none; -} - -/* TOOLBAR */ -#toolbar { - top: 8px; - right: 8px; - width: 13px; - height: 30px; - padding: 0; - margin: 0; -} - -.toolbar-button { - background: transparent url(chrome://browser/skin/newtab/toolbar.png); -} - -#toolbar-button-show { - width: 11px; - height: 11px; - background-position: -10px 0; -} - -#toolbar-button-show:hover { - background-position: -10px -12px; -} - -#toolbar-button-show:active { - background-position: -10px -24px; -} - -#toolbar-button-hide { - width: 10px; - height: 10px; -} - -#toolbar-button-hide:hover { - background-position: 0 -12px; -} - -#toolbar-button-hide:active { - background-position: 0 -24px; -} - -#toolbar-button-reset { - top: 17px; - width: 11px; - height: 12px; -} - -#toolbar-button-reset { - background-position: -21px 0; -} - -#toolbar-button-reset:hover { - background-position: -21px -12px; -} - -#toolbar-button-reset:active { - background-position: -21px -24px; -} - -/* GRID */ -#grid { - padding: 1px; - margin: 0 auto; -} - -/* SITES */ -.site { - background-color: #ececec; - -moz-transition: 200ms ease-out; - -moz-transition-property: top, left, box-shadow, opacity; -} - -.site[dragged] { - -moz-transition-property: box-shadow; -} - -.site[ontop] { - box-shadow: 0 1px 4px #000; - outline: none; -} - -/* SITE TITLE */ -.site-title { - height: 2.4em; - width: 189px; - padding: 0 6px; - background-color: rgba(0,0,0,0.8); - border: solid transparent; - border-width: 6px 0; - color: #fff; - text-decoration: none; - line-height: 1.2em; - font-weight: 700; -} - -/* SITE STRIP */ -.site-strip { - padding: 3px; - border: solid rgba(30,30,30,0.8); - border-width: 1px 0; - background-color: rgba(0,0,0,0.8); -} - -.strip-button { - width: 17px; - height: 17px; - background: transparent url(chrome://browser/skin/newtab/strip.png); -} - -.strip-button-pin:hover { - background-position: 0 -17px; -} - -.strip-button-pin:active, -.site[pinned] .strip-button-pin { - background-position: 0 -34px; -} - -.strip-button-block { - background-position: -17px 0; -} - -.strip-button-block:hover { - background-position: -17px -17px; -} - -.strip-button-block:active { - background-position: -17px -34px; -}