зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 3f30da5d0bc3 (bug 455553)
This commit is contained in:
Родитель
6210f83731
Коммит
1a5826d37b
|
@ -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;
|
||||
}
|
|
@ -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)
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
<!-- These strings are used in the about:newtab page -->
|
||||
<!ENTITY newtab.pageTitle "New Tab">
|
||||
|
||||
<!ENTITY newtab.show "Show the New Tab Page">
|
||||
<!ENTITY newtab.hide "Hide the New Tab Page">
|
||||
<!ENTITY newtab.reset "Reset the New Tab Page">
|
|
@ -1,3 +0,0 @@
|
|||
newtab.pin=Pin this site at its current position
|
||||
newtab.unpin=Unpin this site
|
||||
newtab.block=Remove this site
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
Загрузка…
Ссылка в новой задаче