X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Falerts%2Falert.css;h=cb09925ba985b1a830e6ce3dd20814e2198e665e;hb=2af95f78807ef36de1bd05bec1721cac54671bb4;hp=c4d94a7ce8a9b9af516883a590c8131f12cff746;hpb=89eb2c8903d967706396ab99c0ac1f55ba11540b;p=themes.git diff --git a/EarlyBlue/global/alerts/alert.css b/EarlyBlue/global/alerts/alert.css index c4d94a7c..cb09925b 100644 --- a/EarlyBlue/global/alerts/alert.css +++ b/EarlyBlue/global/alerts/alert.css @@ -6,80 +6,20 @@ == Styles specific to the alerts dialog. ======================================================================= */ -@import url("chrome://global/skin/"); +@import url("chrome://global/skin/alerts/alert-common.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -.alertBox { - border: 1px solid #666699; - background-color: #CCD0DD; -} - -.alertImageBox { - padding: 8px 0; - width: 64px; - -moz-border-end: 1px solid #9999CC; -} - -.alertTextBox { - padding: 8px; - -moz-padding-start: 16px; - width: 255px; -} - -.alertTextBox, -.alertCloseBox { -} - -.alertBox[orient="horizontal"] > .alertImageBox { - -moz-margin-end: 8px; -} - -.alertBox[orient="vertical"] > .alertImageBox { - margin-bottom: 8px; -} - -.alertTitle { - font-weight: bold; - font-size: 110%; +#alertNotification { + -moz-appearance: none; + background: transparent; } -#alertImage { - max-width: 48px; - max-height: 48px; - list-style-image: url("chrome://global/skin/alerts/notification-48.png"); -} - -#alertNotification[clickable="true"] { - cursor: pointer; -} - -label { - cursor: inherit; -} - -.alertText[clickable="true"] { - color: blue; - text-decoration: underline; -} - -.alertText[clickable="true"]:hover:active { - color: red; -} - -@keyframes alert-animation { - from { - opacity: 0; - } - 6.25% { - opacity: 1; - } - 93.75% { - opacity: 1; - } - to { - opacity: 0; - } +#alertBox { + border: 1px solid #666699; + border-radius: 1px; + background-color: #CCD0DD; + color: #000000; } .alertCloseButton { @@ -87,6 +27,16 @@ label { padding: 4px 2px; } -.alertCloseButton > .toolbarbutton-text { - display: none; +.alertCloseBox { + /* The close button is larger on Windows and has a large + circle around it, so we add more space between the close + button and the edge of the window. */ +/* margin-inline-end: 2px;*/ +} + +#alertSettings { + /* The close button is larger on Windows, so the + gear button is moved over to accomodate it and + keep the two buttons horizontally aligned together. */ +/* margin-inline-end: 5px;*/ }