Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /* ===== alert.css ===================================================== |
michael@0 | 6 | == Styles specific to the alerts dialog. |
michael@0 | 7 | ======================================================================= */ |
michael@0 | 8 | |
michael@0 | 9 | @import url("chrome://global/skin/"); |
michael@0 | 10 | |
michael@0 | 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 12 | |
michael@0 | 13 | #alertNotification { |
michael@0 | 14 | -moz-appearance: none; |
michael@0 | 15 | background: transparent; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | .alertBox { |
michael@0 | 19 | border-radius: 5px; |
michael@0 | 20 | overflow: hidden; |
michael@0 | 21 | background-color: rgba(240,240,240,0.93); |
michael@0 | 22 | box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | .alertImageBox { |
michael@0 | 26 | padding: 8px 0; |
michael@0 | 27 | width: 64px; |
michael@0 | 28 | background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); |
michael@0 | 29 | -moz-border-end: 1px solid rgba(0,0,0,.08); |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | .alertTitle, |
michael@0 | 33 | .alertTextBox { |
michael@0 | 34 | text-shadow: 0 1px white; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | .alertTextBox { |
michael@0 | 38 | padding: 8px; |
michael@0 | 39 | -moz-padding-start: 16px; |
michael@0 | 40 | width: 255px; |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | .alertTextBox, |
michael@0 | 44 | .alertCloseBox { |
michael@0 | 45 | background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | .alertTitle { |
michael@0 | 49 | font-weight: bold; |
michael@0 | 50 | font-size: 110%; |
michael@0 | 51 | } |
michael@0 | 52 | |
michael@0 | 53 | #alertImage { |
michael@0 | 54 | max-width: 48px; |
michael@0 | 55 | max-height: 48px; |
michael@0 | 56 | list-style-image: url(chrome://global/skin/alerts/notification-48.png); |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | #alertNotification[clickable="true"] { |
michael@0 | 60 | cursor: pointer; |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | label { |
michael@0 | 64 | cursor: inherit; |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | .alertText[clickable="true"] { |
michael@0 | 68 | color: -moz-nativehyperlinktext; |
michael@0 | 69 | text-decoration: underline; |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | .alertText[clickable="true"]:hover:active { |
michael@0 | 73 | color: -moz-activehyperlinktext; |
michael@0 | 74 | } |
michael@0 | 75 | |
michael@0 | 76 | @keyframes alert-animation { |
michael@0 | 77 | from { |
michael@0 | 78 | opacity: 0; |
michael@0 | 79 | } |
michael@0 | 80 | 6.25% { |
michael@0 | 81 | opacity: 1; |
michael@0 | 82 | } |
michael@0 | 83 | 93.75% { |
michael@0 | 84 | opacity: 1; |
michael@0 | 85 | } |
michael@0 | 86 | to { |
michael@0 | 87 | opacity: 0; |
michael@0 | 88 | } |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | .alertCloseButton { |
michael@0 | 92 | -moz-appearance: none; |
michael@0 | 93 | padding: 0; |
michael@0 | 94 | margin: 2px; |
michael@0 | 95 | border: none; |
michael@0 | 96 | } |
michael@0 | 97 | |
michael@0 | 98 | .alertCloseButton > .toolbarbutton-text { |
michael@0 | 99 | display: none; |
michael@0 | 100 | } |