Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa'

This commit is contained in:
Moonchild 2021-06-21 17:52:42 +00:00 • committed by roytam1
commit ba00d14c12
382 changed files with 36 additions and 22824 deletions

View file

@ -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/. */
#genericAbout {
padding: 0px;
min-height: 200px;
max-height: 400px;
width: 30em;
}
#clientBox {
background-color: -moz-Dialog;
color: -moz-DialogText;
}
.basic-info {
padding: 10px;
}
#extensionIcon {
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
max-width: 64px;
max-height: 64px;
-moz-margin-end: 6px;
}
#genericAbout[addontype="theme"] #extensionIcon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
#genericAbout[addontype="locale"] #extensionIcon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
#genericAbout[addontype="plugin"] #extensionIcon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
#genericAbout[addontype="dictionary"] #extensionIcon {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
}
#extensionName {
font-size: 200%;
font-weight: bolder;
}
#extensionVersion {
font-weight: bold;
}
#extensionDescription {
margin-top: 4px;
}
#groove {
margin-top: 8px;
}
#extensionDetailsBox {
overflow: auto;
min-height: 100px;
}
.boxIndent {
-moz-margin-start: 18px;
}
#extensionCreator, .contributor {
margin: 0px;
}
.sectionTitle {
padding: 2px 0px 3px 0px;
margin-top: 3px;
font-weight: bold;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -1,20 +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/. */
richlistitem {
padding-top: 6px;
padding-bottom: 6px;
-moz-padding-start: 7px;
-moz-padding-end: 7px;
border-bottom: 1px solid #C0C0C0;
}
.addon-name-version {
font-size: 110%;
}
.blockedLabel {
font-weight: bold;
font-style: italic;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View file

@ -1,47 +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/. */
#icon {
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
max-width: 48px;
max-height: 48px;
-moz-margin-end: 6px;
}
#eula-dialog[addontype="theme"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
#eula-dialog[addontype="locale"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
#eula-dialog[addontype="plugin"] #icon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
#eula-dialog[addontype="dictionary"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
}
#heading-container {
-moz-box-align: center;
}
#heading {
font-size: 120%;
}
#eula {
-moz-appearance: none;
color: -moz-FieldText;
background-color: -moz-Field;
margin: 1em;
border: 1px solid;
-moz-border-top-colors: ActiveBorder;
-moz-border-right-colors: ActiveBorder;
-moz-border-bottom-colors: ActiveBorder;
-moz-border-left-colors: ActiveBorder;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

View file

@ -1,112 +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/. */
%include ../../global/shared.inc
@import url("chrome://global/skin/inContentUI.css");
#addon-page {
padding: 0;
}
#addon-scrollbox {
overflow: auto;
-moz-box-orient: vertical;
-moz-box-flex: 1;
}
#spacer-start {
-moz-box-flex: 1;
}
#spacer-end {
-moz-box-flex: 3;
}
#addon-container {
overflow: visible;
max-width: 600px;
margin: 20px;
padding: 30px 90px;
}
#addon-info {
-moz-box-align: start;
margin: 25px 10px;
}
#icon {
-moz-margin-end: 10px;
max-width: 64px;
max-height: 64px;
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
}
.addon-info[type="theme"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
.addon-info[type="locale"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
.addon-info[type="plugin"] #icon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
.addon-info[type="dictionary"] #icon {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
}
#name {
font-size: 130%;
}
#author {
color: GrayText;
}
#location {
color: GrayText;
}
#warning {
margin-bottom: 25px;
-moz-box-align: start;
}
#warning-icon {
list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.png");
width: 16px;
height: 15px;
-moz-margin-end: 5px;
}
#allow {
-moz-margin-start: 84px;
margin-bottom: 20px;
}
#continuePanel,
#restartPanel {
margin-top: 25px;
-moz-box-align: center;
-moz-box-pack: end;
}
#continuePanel {
-moz-box-pack: end;
}
#restartMessage {
text-align: right;
}
#restartSpacer {
-moz-box-flex: 1;
}
#later {
color: GrayText;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

View file

@ -1,163 +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/. */
%include ../../global/shared.inc
.heading {
font-size: 270%;
text-align: center;
margin: 0 120px;
}
.progress {
margin: 10px 128px;
}
.progress-label,
#errors-description {
text-align: center;
margin: 0 10px;
}
#checking-heading,
#update-heading,
#errors-heading {
margin-top: 90px;
}
#select-heading,
#confirm-heading {
margin-top: 10px;
margin-bottom: 10px;
text-align: center;
}
#select-description,
#confirm-description {
margin: 10px;
}
#select-list {
border: 1px solid WindowFrame;
background-color: Window;
margin: 10px;
}
#select-grid column {
-moz-box-align: center;
}
#select-grid row {
-moz-box-align: stretch;
}
#select-grid row:nth-of-type(odd) {
background-color: -moz-oddtreerow;
}
#select-grid label,
#select-grid checkbox {
margin-top: 0;
margin-bottom: 0;
}
.select-cell {
-moz-box-align: center;
-moz-box-pack: start;
box-sizing: border-box;
}
#select-header {
background-color: Window !important;
}
#select-header .select-cell {
-moz-appearance: treeheadercell;
border: 2px solid;
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
background-color: -moz-Dialog;
color: -moz-DialogText;
}
.select-keep {
-moz-box-pack: center;
}
.select-icon {
width: 20px;
}
#select-grid separator {
display: none;
}
.addon-name,
.addon-action-message,
.addon-action-update {
box-sizing: border-box;
margin: 0;
padding: 2px 6px;
}
.addon:not([active]) .addon-name,
.addon:not([active]) .addon-action-message,
.addon:not([active]) .addon-action-update {
color: GrayText;
}
.addon-icon {
height: 16px;
width: 16px;
margin: 2px;
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
}
.addon-icon[type="theme"] {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric-16.png");
}
.addon-icon[type="plugin"] {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
}
.addon-icon[type="dictionary"] {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric-16.png");
}
.action-list {
margin-top: 10px;
-moz-margin-start: 5em;
}
.action-header {
margin-bottom: 10px;
}
#confirm .addon {
-moz-margin-start: 3em;
-moz-box-align: center;
}
.addon:not([active]) .addon-icon,
#disable-list .addon-icon,
#incompatible-list .addon-icon {
filter: grayscale(1);
}
#footer {
padding: 15px 12px;
-moz-appearance: statusbar;
-moz-window-dragging: drag;
}
button {
-moz-appearance: toolbarbutton;
min-height: 22px;
margin: 0 6px;
padding: 0;
text-shadow: @loweredShadow@;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

View file

@ -1,26 +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/. */
#alert {
list-style-image: url("chrome://mozapps/skin/update/warning.gif");
}
.throbber {
list-style-image: url("chrome://global/skin/icons/loading_16.png");
width: 16px;
height: 16px;
margin-top: 5px;
margin-bottom: 5px;
-moz-margin-start: 5px;
-moz-margin-end: 2px;
}
.alertBox {
background-color: InfoBackground;
color: InfoText;
border: 1px outset InfoBackground;
margin-left: 3px;
margin-right: 3px;
padding: 5px;
}

View file

@ -1,90 +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/. */
#xpinstallheader {
margin-bottom: 2em;
}
.alert-icon {
width: 48px;
height: 48px;
list-style-image: url("chrome://global/skin/icons/warning-large.png");
margin-top: 0 !important;
margin-bottom: 6px !important;
-moz-margin-start: 6px !important;
-moz-margin-end: 20px !important;
}
#itemList {
-moz-appearance: listbox;
margin: 3px 4px 10px 4px;
height: 14em;
}
#itemWarningIntro {
-moz-margin-start: 8px;
}
#dialogContentBox {
padding: 5px;
}
installitem {
padding: 5px 0 5px 5px;
border-bottom: 1px dotted #C0C0C0;
margin-bottom: 5px;
}
.warning {
font-weight: bold;
font-size: 1.25em;
margin-bottom: 1em;
}
.xpinstallIconContainer {
width: 32px;
height: 32px;
-moz-margin-end: 5px;
}
.xpinstallItemName {
font-weight: bold;
}
.xpinstallItemSigned {
font-style: italic;
font-size: 0.9em;
}
.xpinstallItemURL {
-moz-appearance: none;
border: none;
background-color: Window;
margin-top: 2px;
margin-bottom: 1px;
-moz-margin-start: 6px;
-moz-margin-end: 5px;
}
.xpinstallItemIcon {
max-width: 32px;
max-height: 32px;
list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
}
installitem[type="theme"] .xpinstallItemIcon {
list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}
installitem[type="locale"] .xpinstallItemIcon {
list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png");
}
installitem[type="plugin"] .xpinstallItemIcon {
list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}
installitem[type="dictionary"] .xpinstallItemIcon {
list-style-image: url("chrome://mozapps/skin/extensions/dictionaryGeneric.png");
}