Bug 1188291 - Fix layout issues with the new tab page's notification close button and preferences dialogs' close button. r=jaws

This commit is contained in:
Dão Gottwald 2015-07-31 08:45:48 +02:00
parent ac2e9cefc9
commit 874e1aa1b8
8 changed files with 12 additions and 9 deletions

View File

@ -200,8 +200,8 @@
pack="end"
role="dialog"
aria-labelledby="dialogTitle">
<caption class="titlebar" flex="1" align="center">
<label id="dialogTitle" class="title" flex="1"></label>
<caption flex="1" align="center">
<label id="dialogTitle" flex="1"></label>
<button id="dialogClose"
class="close-icon"
aria-label="&preferencesCloseButton.label;"/>

View File

@ -185,6 +185,7 @@ browser.jar:
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/close.png (../shared/newtab/close.png)
skin/classic/browser/newtab/controls.svg (../shared/newtab/controls.svg)
skin/classic/browser/newtab/whimsycorn.png (../shared/newtab/whimsycorn.png)
skin/classic/browser/panic-panel/header.png (../shared/panic-panel/header.png)

View File

@ -242,6 +242,7 @@ browser.jar:
skin/classic/browser/feeds/feedIcon.png (feeds/feedIcon.png)
skin/classic/browser/feeds/feedIcon16.png (feeds/feedIcon16.png)
* skin/classic/browser/newtab/newTab.css (newtab/newTab.css)
skin/classic/browser/newtab/close.png (../shared/newtab/close.png)
skin/classic/browser/newtab/controls.svg (../shared/newtab/controls.svg)
skin/classic/browser/newtab/whimsycorn.png (../shared/newtab/whimsycorn.png)
skin/classic/browser/setDesktopBackground.css

View File

@ -333,9 +333,10 @@ description > html|a {
background-color: transparent !important;
border: none;
box-shadow: none;
height: 18px;
padding: 0;
min-width: 18px;
height: auto;
min-height: 16px;
min-width: 0;
}
#dialogBox > .groupbox-body {

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 B

View File

@ -55,16 +55,16 @@
width: 16px;
float: right;
right: 0;
background-image: -moz-image-rect(url(chrome://global/skin/icons/close.png), 0, 16, 16, 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://global/skin/icons/close.png), 0, 32, 16, 16);
background-image: -moz-image-rect(url(chrome://browser/skin/newtab/close.png), 0, 32, 16, 16);
}
#newtab-undo-close-button:active {
background-image: -moz-image-rect(url(chrome://global/skin/icons/close.png), 0, 48, 16, 32);
#newtab-undo-close-button:hover:active {
background-image: -moz-image-rect(url(chrome://browser/skin/newtab/close.png), 0, 48, 16, 32);
}
/* CUSTOMIZE */

View File

@ -248,6 +248,7 @@ browser.jar:
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/close.png (../shared/newtab/close.png)
skin/classic/browser/newtab/controls.svg (../shared/newtab/controls.svg)
skin/classic/browser/newtab/whimsycorn.png (../shared/newtab/whimsycorn.png)
skin/classic/browser/panic-panel/header.png (../shared/panic-panel/header.png)

View File

@ -181,7 +181,6 @@ xul|menulist {
-moz-appearance: none;
height: 30px;
color: var(--in-content-text-color);
line-height: 20px;
border: 1px solid var(--in-content-box-border-color);
-moz-border-top-colors: none !important;
-moz-border-right-colors: none !important;