toolkit/themes/linux/global/notification.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     7 notification {
     8   background-color: InfoBackground;
     9   color: InfoText;
    10   text-shadow: none;
    11 }
    13 notification[type="info"] {
    14   background-color: -moz-Dialog;
    15   color: -moz-DialogText;
    16 }
    18 notification[type="critical"] {
    19   background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
    20   color: white;
    21 }
    23 .notification-inner {
    24   padding-top: 1px;
    25   padding-bottom: 1px;
    26 }
    28 .messageText {
    29   margin-top: 0 !important;
    30   margin-bottom: 0 !important;
    31 }
    33 .messageImage {
    34   width: 16px;
    35   height: 16px;
    36   -moz-margin-start: 6px;
    37   -moz-margin-end: 1px;
    38 }
    40 /* Default icons for notifications */
    42 .messageImage[type="info"] {
    43   list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
    44 }
    46 .messageImage[type="warning"] {
    47   list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
    48 }
    50 .messageImage[type="critical"] {
    51   list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
    52 }
    54 .messageCloseButton {
    55   padding-left: 11px;
    56   padding-right: 11px;
    57 }
    59 /* Popup notification */
    61 .popup-notification-description {
    62   max-width: 24em;
    63 }
    65 .popup-notification-learnmore-link {
    66   margin-top: 1em !important;
    67 }
    69 .popup-notification-learnmore-link:not([href]) {
    70   display: none;
    71 }
    73 .popup-notification-button-container {
    74   margin-top: 17px;
    75 }

mercurial