gecko-dev/mobile/xul/themes/core/notification.css

38 строки
1.0 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%filter substitution
%include defines.inc
notification, notification[type="warning"] {
padding: 0;
color: #fff;
background: #5768c3;
border-top: @border_width_tiny@ solid #4756aa;
border-bottom: @border_width_tiny@ solid #4756aa;
}
notification .messageCloseButton {
list-style-image: url("chrome://browser/skin/images/close-default-hdpi.png");
-moz-image-region: initial;
-moz-box-align: start;
}
notification .messageCloseButton:-moz-focusring {
outline: 0 !important;
}
notification .messageCloseButton:hover:active {
list-style-image: url("chrome://browser/skin/images/close-active-hdpi.png");
}
notification .outset {
border-color: #4756aa !important;
}
notification .buttons {
display: block; /* allow the buttons to wrap */
padding: @padding_normal@ @padding_normal@ 0 @padding_normal@;
}