Skip to content

Commit

Permalink
ESR theme
Browse files Browse the repository at this point in the history
Some things need fixing like the r3dfox text and the sizing of it in about and newtab, and some svgs being renamed pngs. Otherwise almost done.
  • Loading branch information
K4sum1 committed Oct 23, 2024
1 parent d81d03f commit a735e06
Show file tree
Hide file tree
Showing 78 changed files with 572 additions and 0 deletions.
10 changes: 10 additions & 0 deletions browser/branding/esr/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
These files are under the MPL 2, as below. However, please note that you
are not granted any trademark rights or licenses to the trademarks of the
Eclipse Community or any party, including without limitation the
r3dfox name or logo.

For more information, see: https://www.mozilla.org/foundation/licensing/

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 https://mozilla.org/MPL/2.0/.
Binary file added browser/branding/esr/PrivateBrowsing_150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/PrivateBrowsing_70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/VisualElements_150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/VisualElements_70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/bgstub.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/bgstub_2x.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions browser/branding/esr/branding.nsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# 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/.

# NSIS branding defines for official release builds.
# The nightly build branding.nsi is located in browser/installer/windows/nsis/
# The unofficial build branding.nsi is located in browser/branding/unofficial/

# BrandFullNameInternal is used for some registry and file system values
# instead of BrandFullName and typically should not be modified.
!define BrandFullNameInternal "Eclipse r3dfox ESR"
!define BrandFullName "Eclipse r3dfox ESR"
!define CompanyName "Eclipse Community"
!define URLInfoAbout "https://eclipse.cx"
!define URLUpdateInfo "https://github.com/Eclipse-Community/r3dfox/releases"
!define HelpLink "https://github.com/Eclipse-Community/r3dfox/issues"

; The OFFICIAL define is a workaround to support different urls for Release and
; Beta since they share the same branding when building with other branches that
; set the update channel to beta.
!define OFFICIAL
!define URLStubDownloadX86 ""
!define URLStubDownloadAMD64 ""
!define URLStubDownloadAArch64 ""
!define URLManualDownload ""
!define URLSystemRequirements ""
!define Channel "release"

# The installer's certificate name and issuer expected by the stub installer
!define CertNameDownload "Mozilla Corporation"
!define CertIssuerDownload "DigiCert SHA2 Assured ID Code Signing CA"

# Dialog units are used so the UI displays correctly with the system's DPI
# settings. These are tweaked to look good with the en-US strings; ideally
# we would customize them for each locale but we don't really have a way to
# implement that and it would be a ton of work for the localizers.
!define PROFILE_CLEANUP_LABEL_TOP "50u"
!define PROFILE_CLEANUP_LABEL_LEFT "22u"
!define PROFILE_CLEANUP_LABEL_WIDTH "175u"
!define PROFILE_CLEANUP_LABEL_HEIGHT "100u"
!define PROFILE_CLEANUP_LABEL_ALIGN "left"
!define PROFILE_CLEANUP_CHECKBOX_LEFT "22u"
!define PROFILE_CLEANUP_CHECKBOX_WIDTH "175u"
!define PROFILE_CLEANUP_BUTTON_LEFT "22u"
!define INSTALL_HEADER_TOP "70u"
!define INSTALL_HEADER_LEFT "22u"
!define INSTALL_HEADER_WIDTH "180u"
!define INSTALL_HEADER_HEIGHT "100u"
!define INSTALL_BODY_LEFT "22u"
!define INSTALL_BODY_WIDTH "180u"
!define INSTALL_INSTALLING_TOP "115u"
!define INSTALL_INSTALLING_LEFT "270u"
!define INSTALL_INSTALLING_WIDTH "150u"
!define INSTALL_PROGRESS_BAR_TOP "100u"
!define INSTALL_PROGRESS_BAR_LEFT "270u"
!define INSTALL_PROGRESS_BAR_WIDTH "150u"
!define INSTALL_PROGRESS_BAR_HEIGHT "12u"

!define PROFILE_CLEANUP_CHECKBOX_TOP_MARGIN "12u"
!define PROFILE_CLEANUP_BUTTON_TOP_MARGIN "12u"
!define PROFILE_CLEANUP_BUTTON_X_PADDING "80u"
!define PROFILE_CLEANUP_BUTTON_Y_PADDING "8u"
!define INSTALL_BODY_TOP_MARGIN "20u"

# Font settings that can be customized for each channel
!define INSTALL_HEADER_FONT_SIZE 20
!define INSTALL_HEADER_FONT_WEIGHT 600
!define INSTALL_INSTALLING_FONT_SIZE 15
!define INSTALL_INSTALLING_FONT_WEIGHT 600

# UI Colors that can be customized for each channel
!define COMMON_TEXT_COLOR 0x000000
!define COMMON_BACKGROUND_COLOR 0xFFFFFF
!define INSTALL_INSTALLING_TEXT_COLOR 0xFFFFFF
# This color is written as 0x00BBGGRR because it's actually a COLORREF value.
!define PROGRESS_BAR_BACKGROUND_COLOR 0xFFAA00
27 changes: 27 additions & 0 deletions browser/branding/esr/configure.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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/.

MOZ_APP_NAME=r3dfox_esr

MOZ_APP_BASENAME=r3dfox ESR

MOZ_APP_DISPLAYNAME=r3dfox ESR

MOZ_APP_UA_NAME=r3dfox

MOZ_APP_VENDOR="Eclipse Community"

MOZ_APP_PROFILE="Eclipse Community/r3dfox"

MOZ_APP_REMOTINGNAME=com.eclipse.r3dfox

MOZ_MACBUNDLE_ID=com.eclipse.r3dfox

MOZ_DISTRIBUTION_ID=com.eclipse

MOZ_MACBUNDLE_NAME="r3dfox.app"

MOZ_SOURCE_REPO=https://github.com/Eclipse-Community/r3dfox

MOZ_DEVTOOLS=all
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/content/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/content/about-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/content/about-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/content/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions browser/branding/esr/content/about-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browser/branding/esr/content/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions browser/branding/esr/content/aboutDialog.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* 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/. */

#aboutDialogContainer {
background: linear-gradient(to bottom, #602A17 0%,#3B1E14 93%,#371E14 97%,#361D14 100%);
color: #fff;
color-scheme: dark;
}

#rightBox {
background-size: 360px auto;
margin-inline: 30px;
}

#bottomBox {
background-color: hsla(0, 43%, 10%, .5);
padding: 15px 10px 15px;
}

#trademark {
font-size: xx-small;
text-align: center;
color: #999999;
margin-block: 10px;
}
Binary file added browser/branding/esr/content/document_pdf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions browser/branding/esr/content/firefox-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions browser/branding/esr/content/jar.mn
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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/.

browser.jar:
% content branding %content/branding/ contentaccessible=yes
content/branding/about.png
content/branding/about-logo.png
content/branding/about-logo.svg
content/branding/[email protected]
content/branding/about-logo-private.png
content/branding/[email protected]
content/branding/about-wordmark.svg
content/branding/document.ico (../document.ico)
content/branding/document_pdf.svg
content/branding/firefox-wordmark.svg
content/branding/icon16.png (../default16.png)
content/branding/icon32.png (../default32.png)
content/branding/icon48.png (../default48.png)
content/branding/icon64.png (../default64.png)
content/branding/icon128.png (../default128.png)
content/branding/aboutDialog.css
Loading

0 comments on commit a735e06

Please sign in to comment.