Backed out changeset 3e233c4c7867 (bug 1363056) for packaging bustage on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2017-08-18 11:04:51 -04:00
Родитель b073ce301d
Коммит 0b63f08757
15 изменённых файлов: 223 добавлений и 106 удалений

Просмотреть файл

@ -4,7 +4,78 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
%include ../../shared/notification.inc.css
notification {
color: -moz-gtk-info-bar-text;
-moz-appearance: -moz-gtk-info-bar;
%if MOZ_WIDGET_GTK == 2
background-color: InfoBackground;
%endif
text-shadow: none;
}
notification[type="info"] {
color: -moz-DialogText;
background-color: -moz-Dialog;
-moz-appearance: none;
border-top: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDShadow;
}
notificationbox[notificationside="top"] > notification[type="info"] {
border-top-style: none;
}
notificationbox[notificationside="bottom"] > notification[type="info"] {
border-bottom-style: none;
}
notification[type="critical"] {
color: white;
background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
-moz-appearance: none;
}
.notification-inner {
padding-top: 1px;
padding-bottom: 1px;
}
.messageText {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}
.messageImage {
width: 16px;
height: 16px;
margin-inline-start: 6px;
margin-inline-end: 1px;
}
/* Default icons for notifications */
.messageImage[type="info"] {
list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu");
}
.messageImage[type="warning"] {
list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu");
}
.messageImage[type="critical"] {
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
}
.messageCloseButton {
padding-left: 11px;
padding-right: 11px;
}
%include ../../shared/popupnotification.inc.css
.popup-notification-button:-moz-focusring {

Просмотреть файл

@ -97,6 +97,9 @@ toolkit.jar:
skin/classic/global/icons/question-32.png (icons/question-32.png)
skin/classic/global/icons/question-64.png (icons/question-64.png)
skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
skin/classic/global/notification/error-icon.png (notification/error-icon.png)
skin/classic/global/notification/info-icon.png (notification/info-icon.png)
skin/classic/global/notification/warning-icon.png (notification/warning-icon.png)
* skin/classic/global/in-content/common.css (in-content/common.css)
* skin/classic/global/in-content/info-pages.css (in-content/info-pages.css)
skin/classic/global/splitter/dimple.png (splitter/dimple.png)

Просмотреть файл

@ -5,7 +5,78 @@
%include shared.inc
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
%include ../../shared/notification.inc.css
notification {
padding: 2px 3px 3px;
text-shadow: none;
}
notification[type="info"] {
color: rgba(255,255,255,0.95);
background: linear-gradient(#606060, #404040);
border-top: 1px solid #2a2a2a;
border-bottom: 1px solid #2a2a2a;
}
notification[type="warning"] {
color: rgba(0,0,0,0.95);
background: linear-gradient(#ffe13e, #ffc703);
border-top: 1px solid #bf8a01;
border-bottom: 1px solid #bf8a01;
}
notification[type="critical"] {
color: rgba(255,255,255,0.95);
background: linear-gradient(#d40000, #980000);
border-top: 1px solid #5d0000;
border-bottom: 1px solid #5d0000;
}
notificationbox[notificationside="top"] > notification {
border-top-style: none;
}
notificationbox[notificationside="bottom"] > notification {
border-bottom-style: none;
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}
.messageImage {
width: 16px;
height: 16px;
margin: 0 4px;
}
/* Default icons for notifications */
.messageImage[type="info"] {
list-style-image: url("chrome://global/skin/notification/info-icon.png");
}
.messageImage[type="warning"] {
list-style-image: url("chrome://global/skin/notification/warning-icon.png");
}
.messageImage[type="critical"] {
list-style-image: url("chrome://global/skin/notification/error-icon.png");
}
.messageText {
margin: 0 3px !important;
padding: 0;
font-weight: bold;
}
.messageCloseButton {
-moz-appearance: none;
padding: 0;
margin: 0 2px;
border: none;
}
%include ../../shared/popupnotification.inc.css
.popup-notification-button:-moz-focusring {

Двоичные данные
toolkit/themes/osx/global/notification/error-icon.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 518 B

Двоичные данные
toolkit/themes/osx/global/notification/info-icon.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 533 B

Двоичные данные
toolkit/themes/osx/global/notification/warning-icon.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 626 B

Просмотреть файл

@ -88,8 +88,6 @@ body {
height: 1.6em;
background: url("chrome://global/skin/icons/warning.svg") no-repeat left center;
background-size: 1.6em;
-moz-context-properties: fill;
fill: #fcd100;
}
.title:dir(rtl)::before {

Просмотреть файл

@ -12,8 +12,6 @@
.title {
background-image: url("chrome://global/skin/icons/warning.svg");
-moz-context-properties: fill;
fill: #fcd100;
}
#warningTitle {

Просмотреть файл

@ -1,6 +0,0 @@
<!-- 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/. -->
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="M8 15c-3.866 0-7-3.134-7-7s3.134-7 7-7 7 3.134 7 7-3.134 7-7 7zM3 7v2h10V7H3z" fill="context-fill" fill-rule="evenodd"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 435 B

Просмотреть файл

@ -1,6 +0,0 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="context-fill" d="M8 1a7 7 0 1 0 7 7 7.008 7.008 0 0 0-7-7zm0 13a6 6 0 1 1 6-6 6.007 6.007 0 0 1-6 6zM8 3.125A2.7 2.7 0 0 0 5.125 6a.875.875 0 0 0 1.75 0c0-1 .6-1.125 1.125-1.125a1.105 1.105 0 0 1 1.13.744.894.894 0 0 1-.53 1.016A2.738 2.738 0 0 0 7.125 9v.337a.875.875 0 0 0 1.75 0v-.37a1.041 1.041 0 0 1 .609-.824A2.637 2.637 0 0 0 10.82 5.16 2.838 2.838 0 0 0 8 3.125zm0 7.625A1.25 1.25 0 1 0 9.25 12 1.25 1.25 0 0 0 8 10.75z"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 748 B

Просмотреть файл

@ -1,6 +0,0 @@
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="context-fill" d="M14.742 12.106L9.789 2.2a2 2 0 0 0-3.578 0l-4.953 9.91A2 2 0 0 0 3.047 15h9.905a2 2 0 0 0 1.79-2.894zM7 5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0zm1 8.25A1.25 1.25 0 1 1 9.25 12 1.25 1.25 0 0 1 8 13.25z"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 530 B

Просмотреть файл

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 60 60">
<defs>
<linearGradient id="gradient" gradientUnits="userSpaceOnUse" x1="30" y1="10" x2="30" y2="50">
<stop offset="0" style="stop-color: #fedb00"/>
<stop offset="1" style="stop-color: #fcce00"/>
</linearGradient>
</defs>
<path fill="url(#gradient)" d="M49.316,42.867L33.829,12.7c-0.879-1.715-2.274-2.7-3.828-2.7c-1.554,0-2.949,0.985-3.829,2.702 L10.685,42.864c-0.869,1.69-0.913,3.482-0.121,4.909C11.35,49.187,12.817,50,14.591,50h30.82c1.772,0,3.24-0.81,4.023-2.224 C50.227,46.349,50.185,44.56,49.316,42.867z M32.176,22.304l-0.48,14.304h-3.424L27.76,22.304H32.176z M30,44.896 c-1.44,0-2.592-1.184-2.592-2.592c0-1.44,1.152-2.592,2.592-2.592c1.472,0,2.592,1.152,2.592,2.592 C32.592,43.712,31.472,44.896,30,44.896z"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 1.1 KiB

Просмотреть файл

@ -28,10 +28,8 @@ toolkit.jar:
skin/classic/global/icons/calendar-arrow-left.svg (../../shared/icons/calendar-arrow-left.svg)
skin/classic/global/icons/calendar-arrow-right.svg (../../shared/icons/calendar-arrow-right.svg)
skin/classic/global/icons/close.svg (../../shared/icons/close.svg)
skin/classic/global/icons/error.svg (../../shared/icons/error.svg)
skin/classic/global/icons/find-previous-arrow.svg (../../shared/icons/find-previous-arrow.svg)
skin/classic/global/icons/find-next-arrow.svg (../../shared/icons/find-next-arrow.svg)
skin/classic/global/icons/help.svg (../../shared/icons/help.svg)
skin/classic/global/icons/info.svg (../../shared/incontent-icons/info.svg)
skin/classic/global/icons/input-clear.svg (../../shared/icons/input-clear.svg)
skin/classic/global/icons/loading.png (../../shared/icons/loading.png)
@ -39,7 +37,7 @@ toolkit.jar:
skin/classic/global/icons/spinner-arrow-down.svg (../../shared/icons/spinner-arrow-down.svg)
skin/classic/global/icons/spinner-arrow-up.svg (../../shared/icons/spinner-arrow-up.svg)
skin/classic/global/icons/menubutton-dropmarker.svg (../../shared/icons/menubutton-dropmarker.svg)
skin/classic/global/icons/warning.svg (../../shared/icons/warning.svg)
skin/classic/global/icons/warning.svg (../../shared/incontent-icons/warning.svg)
skin/classic/global/icons/blocked.svg (../../shared/incontent-icons/blocked.svg)
skin/classic/global/narrate.css (../../shared/narrate.css)
skin/classic/global/narrateControls.css (../../shared/narrateControls.css)

Просмотреть файл

@ -1,78 +0,0 @@
/* 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/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
notification {
padding: 2px 0 3px;
padding-inline-start: 12px;
background: -moz-dialog;
color: -moz-dialogText;
border-color: ThreeDLightShadow;
border-style: solid;
border-width: 1px 0;
text-shadow: none;
}
notificationbox[notificationside="top"] > notification {
border-top-style: none;
}
notificationbox[notificationside="bottom"] > notification {
border-bottom-style: none;
}
notification[type="warning"],
notification[type="critical"] {
border-color: rgba(12, 12, 13, 0.2);
}
notification[type="warning"] {
background: #ffe900;
color: #0c0c0d;
}
notification[type="critical"] {
background: #d70022;
color: #fff;
}
.messageText {
margin-inline-start: 12px !important;
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}
.messageImage {
width: 16px;
height: 16px;
-moz-context-properties: fill;
fill: currentColor;
}
.messageImage[type="info"] {
list-style-image: url("chrome://global/skin/icons/help.svg");
}
.messageImage[type="warning"] {
list-style-image: url("chrome://global/skin/icons/warning.svg");
}
.messageImage[type="critical"] {
list-style-image: url("chrome://global/skin/icons/error.svg");
}
.messageCloseButton {
margin: 0;
padding: 0;
}
/* Close button needs to be clickable from the edge of the window */
.messageCloseButton > .toolbarbutton-icon {
margin-inline-end: 12px;
}

Просмотреть файл

@ -4,7 +4,68 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
%include ../../shared/notification.inc.css
notification {
color: InfoText;
background-color: InfoBackground;
text-shadow: none;
border-top: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDShadow;
}
notificationbox[notificationside="top"] > notification {
border-top-style: none;
}
notificationbox[notificationside="bottom"] > notification {
border-bottom-style: none;
}
notification[type="info"] {
color: -moz-DialogText;
background-color: -moz-Dialog;
}
notification[type="critical"] {
color: white;
background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0));
}
.messageText > .text-link {
color: inherit !important;
text-decoration: underline;
}
.messageImage {
width: 16px;
height: 16px;
margin-inline-start: 6px;
margin-inline-end: 1px;
}
/* Default icons for notifications */
.messageImage[type="info"] {
list-style-image: url("chrome://global/skin/icons/information-16.png");
}
.messageImage[type="warning"] {
list-style-image: url("chrome://global/skin/icons/warning-16.png");
}
.messageImage[type="critical"] {
list-style-image: url("chrome://global/skin/icons/error-16.png");
}
.messageCloseButton {
-moz-appearance: none;
padding: 4px 2px;
border: none !important;
}
.messageCloseButton > .toolbarbutton-icon {
margin-inline-end: 5px;
}
%include ../../shared/popupnotification.inc.css
/* Override default icon size which is too small for this dropdown */