Bug 479676 - right margin of close button in notification bar is necessary. r=neil

This commit is contained in:
Dão Gottwald 2009-02-24 09:30:46 +01:00
Родитель c75abac11c
Коммит da56f1aa6d
2 изменённых файлов: 8 добавлений и 14 удалений

Просмотреть файл

@ -18,7 +18,8 @@ notification[type="critical"] {
.messageImage { .messageImage {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin: 0px 1px 0px 6px; -moz-margin-start: 6px;
-moz-margin-end: 1px;
} }
/* Default icons for notifications */ /* Default icons for notifications */
@ -35,14 +36,6 @@ notification[type="critical"] .messageImage {
list-style-image: url("chrome://global/skin/icons/error-16.png"); list-style-image: url("chrome://global/skin/icons/error-16.png");
} }
.messageText {
-moz-margin-start: 5px;
}
.messageCloseButton { .messageCloseButton {
list-style-image: url("moz-icon://stock/gtk-close?size=menu"); list-style-image: url("moz-icon://stock/gtk-close?size=menu");
} }
.messageCloseButton > .toolbarbutton-icon {
margin: 0px !important;
}

Просмотреть файл

@ -18,7 +18,8 @@ notification[type="critical"] {
.messageImage { .messageImage {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin: 0px 1px 0px 6px; -moz-margin-start: 6px;
-moz-margin-end: 1px;
} }
/* Default icons for notifications */ /* Default icons for notifications */
@ -35,10 +36,6 @@ notification[type="critical"] .messageImage {
list-style-image: url("chrome://global/skin/icons/error-16.png"); list-style-image: url("chrome://global/skin/icons/error-16.png");
} }
.messageText {
-moz-margin-start: 5px;
}
.messageCloseButton { .messageCloseButton {
list-style-image: url("chrome://global/skin/icons/close.png"); list-style-image: url("chrome://global/skin/icons/close.png");
-moz-appearance: none; -moz-appearance: none;
@ -54,3 +51,7 @@ notification[type="critical"] .messageImage {
.messageCloseButton:hover:active { .messageCloseButton:hover:active {
-moz-image-region: rect(0px, 42px, 14px, 28px); -moz-image-region: rect(0px, 42px, 14px, 28px);
} }
.messageCloseButton > .toolbarbutton-icon {
-moz-margin-end: 5px;
}