Skip to content

Commit

Permalink
Bug 1747459 - Remove preprocessor use for license headers from CSS fi…
Browse files Browse the repository at this point in the history
…les. r=sfoster,preferences-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D137555
  • Loading branch information
amychurchwell committed Feb 8, 2022
1 parent 8967cd0 commit 3b43d19
Show file tree
Hide file tree
Showing 22 changed files with 10 additions and 44 deletions.
2 changes: 0 additions & 2 deletions browser/themes/linux/browser.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

@namespace html url("http://www.w3.org/1999/xhtml");

Expand Down
2 changes: 0 additions & 2 deletions browser/themes/linux/webRTC-indicator.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

@namespace html url("http://www.w3.org/1999/xhtml");

Expand Down
2 changes: 0 additions & 2 deletions browser/themes/osx/webRTC-indicator.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

@namespace html url("http://www.w3.org/1999/xhtml");

Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/UITour.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif


/* UI Tour */

Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/addon-notification.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

.popup-notification-body[popupid="addon-progress"],
.popup-notification-body[popupid="addon-install-confirmation"] {
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/autocomplete.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

/* General popup rules */

Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/controlcenter/panel.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

/* Hide all conditional elements by default. */
:is([when-connection],[when-customroot],[when-mixedcontent],[when-ciphers],[when-httpsonlystatus]) {
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/ctrlTab.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

/* Ctrl-Tab */

Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/fullscreen/warning.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif


html|*.pointerlockfswarning {
align-items: center;
Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/identity-block/identity-block.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif


%filter substitution

Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/notification-icons.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

#notification-popup-box {
height: calc(var(--urlbar-min-height) - 2px /* border */ - 2 * var(--urlbar-container-padding));
Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/places/editBookmarkPanel.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif


/**
* Our OS integration code toggles whether system colors should return light or
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/preferences/dialog.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

window,
dialog {
Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/preferences/preferences.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif

@namespace html "http://www.w3.org/1999/xhtml";

#preferences-root {
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/sidebar.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

#sidebar-box {
--sidebar-background-color: Field;
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/shared/tabs.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

%filter substitution
%define tabIndicatorReplacesIcon :not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked])
Expand Down
3 changes: 1 addition & 2 deletions browser/themes/shared/translation/infobar.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif

notification[value="translation"] .messageImage {
list-style-image: url(chrome://browser/skin/translation-16.png) !important;
-moz-image-region: rect(0, 32px, 16px, 16px);
Expand Down
2 changes: 0 additions & 2 deletions browser/themes/windows/webRTC-indicator.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
%if 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/. */
%endif

@namespace html url("http://www.w3.org/1999/xhtml");

Expand Down
3 changes: 1 addition & 2 deletions toolkit/themes/linux/global/popupnotification.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
%if 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/. */
%endif

%include ../../shared/popupnotification.inc.css
3 changes: 1 addition & 2 deletions toolkit/themes/osx/global/popupnotification.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
%if 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/. */
%endif

%include ../../shared/popupnotification.inc.css
3 changes: 1 addition & 2 deletions toolkit/themes/shared/in-content/common.inc.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif

@namespace html "http://www.w3.org/1999/xhtml";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";

Expand Down
3 changes: 1 addition & 2 deletions toolkit/themes/windows/global/popupnotification.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
%if 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/. */
%endif

%include ../../shared/popupnotification.inc.css

/* Override default icon size which is too small for this dropdown */
Expand Down

0 comments on commit 3b43d19

Please sign in to comment.