Git Product home page Git Product logo

whitesurfirefoxthememacos's Introduction

Firefox WhiteSur theme


A MacOS & Windows Firefox theme to look more like Big Sur Safari. (For Firefox 70+)

Preview

Description

Aim is to make Firefox look more like MacOS Big Sur Safari.
This is a CSS theme adapted to work on MacOS from the Linux GTK theme.
Based on https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/master/src/other/firefox
(This is a quick modification, and is not written from scratch.)

Installation (MacOS)

Download the latest release, or clone the repo above.
A script has been added to streamline the installation process.
Open terminal in the directory of the repo, and run bash install.sh
Follow the prompts

Installation flags

The script supports the following flags

  • -c Left hand side tab close button
  • -w Left hand side window close button
  • -f To specify the default firefox folder (it will try to find the profile folder to place the theme within)
  • -l Default location of most Linux installations
  • -u Remove the animation on URL bar to be clickable throughout
  • -n Removes the identity colour from tabs
  • -v Re-enables the tabview button
  • -e Hides the extension button
  • -s Single tab view (Tabs hidden when only one tab)
  • -r Remove the theme

e.g. To install with script, with the tab close button left hand side: bash install.sh -c

Optimal experience:

Make sure to right click and Customize Toolbar. From here, drag the new tab button up to the toolbar out of the tab section.

Install with the following modifications for Safari-like experience bash ./install.sh -c -n -s -e

This will give you a look like this: Preview

Manual installation (MacOS & Windows)

Copy chrome and configuration folders into your Firefox Profile Directory

To find your Firefox Profile Directory you can:

  1. Go to about:support in Firefox.
  2. Application Basics > Profile Directory > Open Directory.
  3. Copy folders mentioned above into the profile folder. (usually has -release at the end).
  4. If you are using Firefox 69+:
    1. Go to about:config in Firefox.
    2. Search for toolkit.legacyUserProfileCustomizations.stylesheets and set it to true.
  5. Restart Firefox.
  6. Done!

Manual theme overrides:

To manually add a custom override, copy the *.css from the custom folder of whichever option you are after. Place it in the chrome/WhiteSur/custom foder within the profile directory you opened above.\

That's it, the theme should load your overriden settings

Swap navbar close buttons on Windows:

windows-swapclose.css contains the styles required to swap the close buttons, as well as to re-order the close button from MacOS styling to Windows. Follow the directions above for the manual theme override to activate. Can be installed with the -w command on the install script

Swap tab close button side

tabs-swapclose.css contains styles to place the close button for the tab on the left hand side for consistency with Safari. Can be installed with the -c command on the install script

Manual colour override:

The theme obeys your system UI colour preferences. If you want to override it e.g. always have the dark theme, then you'll have to do the following.
The solution if you don't want to change your System UI colour is to do add the following to your about:config
Add: ui.systemUsesDarkTheme with the number value with 1 for dark, and 0 for light.
Screen Shot 2021-05-04 at 7 10 19 pm

Please note, you won't be able to change the System UI colour if you are using privacy.resistFingerprinting. This apparently is for both web pages and the System UI.

Known bugs

If it is a fresh install of Firefox, the script for MacOS should enable the settings automatically, however users who have toggled settings may need to do the about:config in step 4 above.
If for any reason the WhiteSur theme doesn't activate after using the script, follow steps 4.1 and 4.2 to toggle the stylesheets from within the Firefox settings.

The tab background colour can be overwritten by themes installed through firefox extentions. e.g. if you are using a dark theme in light mode, tab backgrounds that are inactive are affected. Fix: Change the installed theme to appropriate colour scheme to avoid issues.

If you're looking to change the directory to run the script, you can always type bash then drag the file into terminal. You can also type cd and then drag the folder and press enter to navigate to the directory.
Alternatively, if you're running Catalina, the default teminal is zsh, meaning you can change folders by typing the name to enter the folder e.g. WhiteSurFirefoxThemeMacOS

Q: "Why bother doing this, and not just use safari?"
A: I've used safari for quite a few years, and was rather disappointed with the change in extensions, particularly with content blocking. This prompted me to use uBlock origin on Firefox, and to customise it to have the best aesthetics, and simplest transition.

New bugs

If you've found a new bug, please report it as a new issue with the templates provided.

Thanks!

Screenshots

Windows

Preview

MacOS

Preview

whitesurfirefoxthememacos's People

Contributors

adamxweb avatar blaise-io avatar easonwong-de avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whitesurfirefoxthememacos's Issues

[BUG] Address bar icons don't display properly

Describe the bug
Icons look flat in firefox v92

Expected behavior
Normal icons

Screenshots
Screen Shot 2021-09-08 at 9 28 24 pm

Desktop (please complete the following information):

  • OS: MacOS 11
  • Firefox version 92.0
  • WhiteSur theme v1.3.1 dev

[FEAT] Disable Facebook Container highlighting

Apologies if there is an obvious fix, but is there anyway to incorporate ".tab-context-line{display:none}" into this theme? I tried to add it to my userChrome, which disabled the whole theme. I find the lines indicating Facebook/Instagram tabs make it tough to find the active tab immediately. Thanks for any help.

[BUG] PIP sound icon overlap

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Play video with sound
  2. click on picture in picture mode
  3. Sound icon placement will be off

Expected behavior
Clear placement of sound icon

Screenshots
Screen Shot 2021-05-06 at 4 35 01 pm
Screen Shot 2021-05-06 at 4 43 22 pm

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Firefox
  • Version v88

Additional context
Add any other context about the problem here.

Tab Close Button on Left

Describe the solution you'd like
To match Safari's positioning of the close tab button, it would be great to move this to the left of the tab, especially MacOS where everything window/tab related is on the left.

Additional context
Safari:
image
Firefox:
image

[FEAT] Any chance of Monterey Safari support?

Describe the solution you'd like
Just was wondering if you were down to create a Monterey Safari version of this

Describe alternatives you've considered
N/A

Additional context
Just wanted to say awesome work on this project!

[BUG] Tab bar gets smaller when dragging tabs

Describe the bug
Tab bar gets smaller when dragging tabs

To Reproduce
Steps to reproduce the behavior:

  1. Click on a tab
  2. Drag the tab
  3. See error

Expected behavior
Tab should stay the same size

Screenshots
https://i.imgur.com/rsZPR0z.png

Desktop (please complete the following information):

  • OS: MacOS 11
  • Firefox version: 91.0.2
  • WhiteSur theme: 1.3.1
  • Any options added during installation [e.g. -c]: None
Screen.Recording.2021-08-30.at.9.39.07.PM.mov

[BUG] Can't give FF permission to share screen

When accessing the web apps of Google Meet and Webex (haven't tried Zoom or Teams) and trying to share screen, I'm unable to click "Allow" button when prompted. Works fine when I remove this custom theme.

  • Using 1.1.3
  • Firefox 88.0.1
  • 16" MacBook Pro running 11.3.1

Screen Shot 2021-05-07 at 11 37 07 AM

[FEAT] Linux support

I like macos big sur themes so I want to make firefox look like safari,but this theme doesn't work on Linux.

[FEAT] Tree style tab extension keeps tab padding

How do remove the tabs bar? I have hidden them because I prefer to use Tree Style Tab (like Safari on iPadOS 15), but it remains visible empty.
image

The buttons for window are a little too small, and sometimes I miss click, how do I reset the default to Windows or make them bigger?

[BUG] No favicon on page load tab text needs to be centred

Describe the bug
When a website is loading, and hasn't loaded the favicon, the text aligns to the left. It should be centred all the time. Need to add a new class

Expected behavior
Text always centred no matter if loading, with no favicon or has favicon.

[BUG] Refresh button overlap

Refresh button when reloading on windows has a noticeable overlap
image

After close examination, it seems to be evident on MacOS also, however only slightly.

Desktop (please complete the following information):

  • OS: Windows 10 & MacOS 11]
  • Firefox version: 90
  • WhiteSur theme v1.3.1]

[FEAT] Monterey Safari for Firefox.

The new Monterey Safari design looks kind of nice. So I thought it would be nice to have a Monterey Safari style for Windows. Is there any plans for the Monterey Safari release?

[BUG] Container Pinned Tabs Disappear

Describe the bug
Pinned tabs disappear on Windows

To Reproduce
Pin a tab in a container and it disappears

Expected behavior
To see the pinned tab on the left side of the screen

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Firefox
  • Version 88.0.1

[BUG] It looks buggy in fullscreen,the buttons look wrong

Describe the bug
Normally it looks like this when I am not in fullscreen:
image
but when I am in fullscreen and move the mouse to the top,then it looks like this:
image
the buttons on the left look buggy.

To Reproduce
Steps to reproduce the behavior:
Start firefox,then make it fullscreen and then move your mouse to the top.

Expected behavior
That it looks normal

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Firefox version: 90
  • WhiteSur theme: 1.3.1
  • Any options added during installation:no,no additional options.

[FEAT] Port MacOS theme to Windows

Describe the solution you'd like
Port the theme to work with windows.

Describe alternatives you've considered
Installing theme directly causes multiple display issues

Additional context
Add any other context or screenshots about the feature request here.

[FEAT] Change the left corner controls

Describe the solution you'd like
The corner should be close, minimize, maximize. On Windows currently it is minimize, maximize, close
How it is
image
How it should be
tOOjs

[BUG] Extensions in overflow menu don't have full width

Describe the bug
Any extensions in the overflow menu don't respect the full width of the extension.
Can read more about the issue here:
https://www.reddit.com/r/FirefoxCSS/comments/n9asta/addons_width_changes_to_a_fixed_value_when_placed/
@aminomancer has a fix using a script to scroll through extensions:
https://github.com/aminomancer/uc.css.js/blob/master/JS/navbarToolbarButtonSlider.uc.js

Other option is to define each extension's width individually.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
How it should be (how it is in toolbar)
Screen Shot 2021-09-11 at 10 42 41 pm

How it looks in overflow menu
Screen Shot 2021-09-11 at 10 43 02 pm

Desktop (please complete the following information):

  • OS: MacOS 11
  • Firefox version 92
  • WhiteSur theme: latest commit

Hope this helps someone else in the future

Firefox Developer Edition support

Hello! On Firefox Developer Edition (89.0b10 (64-bit)) tabs look kinda weird:

Screen-Shot-2021-05-11-09-54-27 04

Could you add support for this browser version as well?

[FEAT] Tab close button fade

I just added the code below to make tab close button fade in when hovering over the button:

.tabbrowser-tab:not([pinned]) .tab-close-button {
display: -moz-box !important;
opacity: 0;
visibility: collapse !important;
transition: all 0.2s ease-in !important;
}

.tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 0.5;
visibility: visible !important;
transition: all 0.2s ease-in !important;
}

.tabbrowser-tab:not([pinned]) .tab-close-button:hover {
opacity: 1.0;
transition: opacity 0.2s ease-in !important;
}

i think it blends more natively to what Safari do.

If you could add this to the css :)

[BUG]Clicking folders in Bookmark toolbar doesnt have same UI like WhiteSur theme

Describe the bug
Clicking folders in Bookmark toolbar doesnt have same UI like WhiteSur theme. Can this be fixed?

To Reproduce
Steps to reproduce the behavior:

  1. Show the bookmark toolbar
  2. Click on folders
  3. You will get the UI

Expected behavior
Have similar UI like the theme.

Screenshots
image

Desktop:

  • OS: Windows 10 20H2
  • Firefox version: Firefox 95.0.2

[BUG] Proton full screen grey bar

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Enter full screen mode on Mac
  2. observe issue

Expected behavior
No bar

Screenshots
Screen Shot 2021-06-06 at 7 25 45 pm

Desktop (please complete the following information):

  • OS: MacOS
  • Firefox version: 89
  • WhiteSur theme: 1.3.0

Haven't checked Windows yet

[BUG] Form select dropdown unreadable

Describe the bug
On a form, or when using a select dropdown, the background and text are both white unless highlighted.
Seems to be a new bug where a class has changed in Proton.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows, MacOS 11]
  • Firefox version [e.g. 88]
  • WhiteSur theme [e.g. v1.1.3]
  • Any options added during installation [e.g. -c]

Additional context
Add any other context about the problem here.

[BUG] not able to apply theme

Describe the bug
Firefox v89

  • executed bash install.sh and followed the prompt.
  • toggled toolkit.legacyUserProfileCustomizations.stylesheets to 'true'
  • manually installed theme
  • MacOS 10.15.7
  • Firefox v89
  • WhiteSur theme 1.3.0

Screen Shot 2021-06-03 at 11 14 50 pm

However, firefox is still appearing as the default theme.

Horizontal window line too bright and large

Hello, this is nit picky but noticeable: the horizontal line on this Safari theme is too bright compared to raw Safari. Please see attached screenshot contrasting Firefox in background with Safari in foreground.
Screen Shot 2021-05-09 at 7 56 52 PM

[BUG]

Describe the bug
Minimize, maximize and close buttons not showing properly on Linux

To Reproduce
Steps to reproduce the behavior:

  1. Install theme on Firefox for Linux
  2. Look at minimize, maximize and close buttons

Expected behavior
Buttons to be better aligned and having the sadari style (green, yellow and red circle)

Screenshots
Iimage

Desktop (please complete the following information):

  • OS: [Ubuntu 20.04.2 LTS]
  • Firefox version [88.0.1]
  • WhiteSur theme [v1.2.2]
  • Any options added during installation [-l (but same problem occurs with manual install)]

[BUG] Menus need more padding

Describe the bug
Menus of tracking protection, as well as extensions need more padding to view content properly

Screenshots
Screen Shot 2021-09-01 at 5 44 23 pm
Screen Shot 2021-09-01 at 5 45 08 pm

Desktop (please complete the following information):

  • OS: MacOS 11
  • Firefox version 91.0.2
  • WhiteSur theme: current dev

[BUG]

Describe the bug
Clicking in the address bar doesn't go into edit mode

To Reproduce
Steps to reproduce the behavior:
click next to the address

Expected behavior
go into edit mode

Desktop (please complete the following information):

  • OS: macOS 11.3.1
  • Firefox version 88
  • WhiteSur theme 1.2.2
  • Any options added during installation N/A

[FEAT] Translusent effect

I might be too much to ask but would it be possible to have a translucent effect on dark mode

The safari with it's dark mode looks so cool. while scrolling the menu bar shows a blurred version of the site so sweet
I found 1 or 2 repo
Blurred Fox
moz-mac
hope their css still works

image

[BUG] Inactive tab has translucency

Describe the bug
After uninstalling all theming plugins and reverting to the default theme, the inactive tabs don't appear to use opaque colors.

To Reproduce
Steps to reproduce the behavior:

  1. Install theme version 1.2.2
  2. Restart Firefox
  3. Observe inactive tabs and the "+" tab button have macOS style translucency.

Expected behavior
The tabs are opaque.

Screenshots
Screen Shot 2021-05-18 at 7 55 47 PM

Desktop (please complete the following information):

  • OS: macOS 10.15.7
  • Firefox version 88.01
  • WhiteSur theme 1.2.2
  • Installed by dragging the folders to my profile folder

Install script?

For new users, an install script may make it easier to activate the theme.

Challenges:
Settings in Firefox need to be changed by user.
Profiles of users are different.

[BUG] Firefox Crashes on 93.0b2

Describe the bug
A clear and concise description of what the bug is.
Firefox crashes when Whitesur theme is installed

To Reproduce
Steps to reproduce the behavior:

  1. Install Firefox 93.0b2 (64-bit)
  2. Open firefox after installation
  3. Error message saying firefox has crashed
    Expected behavior
    It can open normally

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Firefox version 93.0b2 (64-bit)
  • WhiteSur theme v1.1.3

Not the entire url bar is "clickable" to edit[BUG]

Describe the bug
Not the entire url bar is actually responding to clicks. The text seems to cut of at around the 3/4 mark and beyond that clicking on the url bar doesn't allow for editing the url. And the first 1/4 has the same issue (see screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. open firefox
  2. go to any website
  3. click anywhere on url bar where there is no text

Expected behavior
Clicking anywhere in the url bar that is not a button with a specific function (eg. 3dot menu or favorites button) to start editing the url.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Firefox version 88.0.1
  • WhiteSur theme v1.1.4

[FEAT] Hide solo tab

Could you please make the solo tab to hide to make it look more like safari?

the code below kinda works:

#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]),
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ toolbarbutton {
visibility: collapse;
}

but the tab area remains black.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.