зеркало из https://github.com/mozilla/pjs.git
Bug 476370 - buttons on the information bar do not show a focus ring. r=enn
This commit is contained in:
Родитель
cfa35f5ce3
Коммит
bbc728e1cc
|
@ -311,6 +311,10 @@ notification > button:hover:active {
|
||||||
background-image: url("chrome://global/skin/icons/white-gray-gradient-active.gif");
|
background-image: url("chrome://global/skin/icons/white-gray-gradient-active.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notification > button:focus {
|
||||||
|
-moz-box-shadow: 0 0 3px 3px -moz-mac-focusring;
|
||||||
|
}
|
||||||
|
|
||||||
/* :::::: autoscroll popup ::::: */
|
/* :::::: autoscroll popup ::::: */
|
||||||
|
|
||||||
.autoscroller {
|
.autoscroller {
|
||||||
|
|
|
@ -57,9 +57,10 @@ notification[type="critical"] .messageImage {
|
||||||
|
|
||||||
.messageCloseButton {
|
.messageCloseButton {
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
padding: 0;
|
padding: 2px;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
list-style-image: url("chrome://global/skin/icons/closetab.png") !important;
|
list-style-image: url("chrome://global/skin/icons/closetab.png");
|
||||||
|
-moz-image-region: rect(2px, 14px, 14px, 2px);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,11 +73,14 @@ notification[type="critical"] .messageImage {
|
||||||
}
|
}
|
||||||
|
|
||||||
.messageCloseButton:hover {
|
.messageCloseButton:hover {
|
||||||
list-style-image: url("chrome://global/skin/icons/closetab-hover.png") !important;
|
list-style-image: url("chrome://global/skin/icons/closetab-hover.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.messageCloseButton:hover:active {
|
.messageCloseButton:hover:active {
|
||||||
list-style-image: url("chrome://global/skin/icons/closetab-active.png") !important;
|
list-style-image: url("chrome://global/skin/icons/closetab-active.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.messageCloseButton:focus > .toolbarbutton-icon {
|
||||||
|
-moz-border-radius: 100%;
|
||||||
|
-moz-box-shadow: 0 0 3px 3px -moz-mac-focusring;
|
||||||
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче