toolkit/themes/osx/global/alerts/alert.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 /* ===== alert.css =====================================================
     6   == Styles specific to the alerts dialog.
     7   ======================================================================= */
     9 @import url("chrome://global/skin/");
    11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    13 #alertNotification {
    14   -moz-appearance: none;
    15   background: transparent;
    16 }
    18 .alertBox {
    19   border-radius: 5px;
    20   overflow: hidden;
    21   background-color: rgba(240,240,240,0.93);
    22   box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
    23 }
    25 .alertImageBox {
    26   padding: 8px 0;
    27   width: 64px;
    28   background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6));
    29   -moz-border-end: 1px solid rgba(0,0,0,.08);
    30 }
    32 .alertTitle,
    33 .alertTextBox {
    34   text-shadow: 0 1px white;
    35 }
    37 .alertTextBox {
    38   padding: 8px;
    39   -moz-padding-start: 16px;
    40   width: 255px;
    41 }
    43 .alertTextBox,
    44 .alertCloseBox {
    45   background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    46 }
    48 .alertTitle {
    49   font-weight: bold;
    50   font-size: 110%;
    51 }
    53 #alertImage {
    54   max-width: 48px;
    55   max-height: 48px;
    56   list-style-image: url(chrome://global/skin/alerts/notification-48.png);
    57 }
    59 #alertNotification[clickable="true"] {
    60   cursor: pointer;
    61 }
    63 label {
    64   cursor: inherit;
    65 }
    67 .alertText[clickable="true"] {
    68   color: -moz-nativehyperlinktext;
    69   text-decoration: underline;
    70 }
    72 .alertText[clickable="true"]:hover:active {
    73   color: -moz-activehyperlinktext;
    74 }
    76 @keyframes alert-animation {
    77   from {
    78     opacity: 0;
    79   }
    80   6.25% {
    81     opacity: 1;
    82   }
    83   93.75% {
    84     opacity: 1;
    85   }
    86   to {
    87     opacity: 0;
    88   }
    89 }
    91 .alertCloseButton {
    92   -moz-appearance: none;
    93   padding: 0;
    94   margin: 2px;
    95   border: none;
    96 }
    98 .alertCloseButton > .toolbarbutton-text {
    99   display: none;
   100 }

mercurial