Git Product home page Git Product logo

edge-frfox's Introduction

Edge-Frfox

A Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge.

Edge-Frfox theme thumbail screenshot.

Screenshot: macOS / Firefox 120 / Tweaks: rounded corners, hide forward button.

How to install

  1. Go to about:support and click the "Open Folder/Show in Finder" button for the root directory of your browser profile.

  2. Download the repository and extract the files.

  3. From the repository folder, copy the chrome folder and user.js file into your Firefox profile folder.

  4. Close and restart Firefox, if performed correctly, the theme should now be installed.

  5. Optionally, listed below are some additional Firefox settings that can be changed using about:config:

    Description Preference Name Value
    Use Edge-themed context menu on macOS widget.macos.native-context-menus false
    Use light theme in private browsing mode browser.theme.dark-private-windows false
    Use rounded bottom window corners on Linux widget.gtk.rounded-bottom-corners.enabled true
    Use Windows accent colour in tabs toolbar (must use Windows 'show accent colour in title bar' option) browser.theme.windows.accent-color-in-tabs.enabled true

    Additional tweaks can also be applied to the theme such as Floating tabs, Rounded browser corners and more. See Tweaks.

Note: Most frequently tested on macOS

Screenshots

Theme Light Dark
Default (Windows 11) Light Dark
Floating Tabs + Rounded Corners (Windows 11) Light, Floating Tabs Dark, Floating Tabs
Hide Tabs Bar + Rounded Corners + Sidebery theme (macOS) Light, Hide Tabs Bar Dark, Hide Tabs Bar
Rounded Corners (Linux, Ubuntu Yaru theme) Light, Rounded Corners Dark, Rounded Corners

Tweaks

Certain tweaks can be applied to the theme, to enable them navigate to about:config and create a boolean key for each tweak you want to use and set it to true.

To disable a tweak, set the key to false or delete it.


Floating/rounded tabs

Emulate the look of the rounded tabs feature available in Edge.

uc.tweak.floating-tabs


Rounded browser corners

Add padding and rounded corners around the browser window, as seen in the newest redesign of Edge.

uc.tweak.rounded-corners


Hide tabs toolbar

This hides the tabs toolbar when using a vertical tabs extension such as Sidebery, Tree Style Tab or Tab Center Reborn.

uc.tweak.hide-tabs-bar


Sidebery Theme

Enables the Sidebery extension sidebar theme, can be used with or without the hide tabs toolbar tweak. For a preview of the Sidebery theme, see the macOS screenshot in the Screenshots section.

Setup

Download and install Sidebery from the Firefox addons store.

On Linux the colour theme may not work properly. To fix this, you can enable the "auto: dark/light" colour scheme option inside Sidebery (though this will disable the custom Firefox theme colours, and only use system light/dark colours).

To open the Sidebery settings page, find its icon in the toolbar or in the extensions menu, then right-click it and select 'Open settings'.

Recommended settings
  • Context menu:
    • Use native context menu: 'on'
  • Navigation bar:
    • layout: 'horizontal' or 'hidden'
    • Bottom bar of tabs panel:
      • Recently closed tabs: 'off'
      • Bookmarks: 'off'
      • History: 'off'
  • Tabs:
    • Show new tab buttons: 'on' or 'off'
    • New tab buttons:
      • position: 'after tabs'
    • Position of new tab:
      • Place new tab opened from another tab: 'do not move it'
  • Pinned tabs:
    • Pinned tabs position: 'in panel - top'
    • Show titles of pinned tabs: 'on' or 'off'
  • Appearance:
    • Theme: 'proton'
    • Color scheme: 'firefox'

Alternatively, you can import the provided sidebery.json configuration file, but this will restore Sidebery to the default settings before applying it.

uc.tweak.theme.sidebery


Remove extra space at the top of the window

Removes the extra space at the top of the window when not maximised.

uc.tweak.disable-drag-space


New tab page background image

Adds a custom background image to the new tab page.

Required setup:

  • In your chrome folder, add an image with a filename of background-0.(jpg/png).
  • Optionally, add a second image named background-1.(jpg/png) this will be selected when the dark theme is enabled.

uc.tweak.newtab-background


Hide forward button

Hides the forward button when it is not needed, as seen in Edge.

uc.tweak.hide-forward-button


Hide Firefox logo on New tab page

Hide the Firefox logo + wordmark when on the new tab page.

uc.tweak.hide-newtab-logo


Force tab colour to match the toolbar colour

Removes the ability for custom themes to change the colour of the selected tabs, instead forcing them to match the toolbar colour. This can be useful when using themes designed for the Firefox's default Proton style.

tab colour example (Left: OFF, Right: ON)

uc.tweak.force-tab-colour


Show context menu navigation buttons vertically

Displays the navigation buttons (Back, Forward, Reload, Bookmark) in the right-click menu vertically like all the other menu items.

uc.tweak.vertical-context-navigation


Hide access keys in context menu

Removes the underlining or highlighting of certain characters in the context menu. These underlines correspond to the key that when pressed, activates the item.

For example, "Undo" becomes "Undo" and "Inspect (Q)" becomes "Inspect".

uc.tweak.context-menu.hide-access-key


Remove separators between tabs

Removes the vertical separating lines between the tabs, resulting in a cleaner look.

uc.tweak.remove-tab-separators


Always show tab close buttons when hovering over them

When the tabs become too small, Firefox will hide the close buttons for non-active tabs to save space. This tweak will always display the close buttons when hovering over a tab.

uc.tweak.show-tab-close-button-on-hover


Use Firefox's default context menu font-size

This reverts the custom font-size set on the context menu, only applies to Windows users.

uc.tweak.smaller-context-menu-text


Disable custom context menu

Disable the custom Edge-themed context menu and use the default Firefox menus.

uc.tweak.revert-context-menu


Hide Firefox account from app menu

Hides the Firefox account menu item from the app menu (button with three dots), the Firefox account menu can still be accessed from the Firefox account button.

uc.tweak.context-menu.hide-firefox-account


Compact Extensions Menu

Makes the unified extensions menu more compact, and closer to the design seen in Edge. This hides the permissions indicator label and makes the icons smaller.

uc.tweak.context-menu.compact-extensions-menu


Acknowledgements

muckSponge - MaterialFox

Microsoft - Fluent UI System Icons

KibSquib48 - MicaFox

edge-frfox's People

Contributors

bmftzq avatar tgsan avatar wherewith 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

edge-frfox's Issues

Improvements to Firefox Badge in Nav Bar

FF.Badge.mp4

If you see the video, The Box (Padding) around firefox has blended with the color of the navigation bar. I get the thing that it is similar to edge but edge has a Vertical bar separating the badge and URL.

Better to fix it.

Right click and search bar bug

1.

  I love your Firefox theme but they have this bug when i right click in Ubuntu:

image

2.

  and they have this bag when i want to search something (you can see 2 magnifier icon in search box) :

image

3.

 and this is other bug i found in dark mode (you can see they have no border for tabs) :

image

Titlebar button box container should respect the full height of tabs on Windows 11

On windows 11, here;s how the different browsers look:

Edge:

image

Firefox with Edge-FrFox

image

This is when both browsers are in maximized state. The titlebar button box container should respect the full height of the tabs toolbar for consistency. On the same note, the window control buttons also look outdated on Windows 11.

The issue is observable in both maximized and normal state.

Edit: Closing this because the issues seem to be fixed on the rewrite

Default Tab Container Underline No Longer Hidden

A recent update seems to have changed the class used for the tab underline created by multi-account containers. This leads to duplicate underlines and the underline persisting when the tab is active.

Previously it was .tab-bottom-line

Now it is .tab-context-line

Titlebar buttons on Windows 10 are malformed when menu bar is enabled

Firstly this is really great and I haven't seen much community contribution in it but it's gotten to the point where it's my daily driver theme.

On to the issue: When I enable the menubar, the titlebar buttons move higher up and are cut off.
This is a screenshot of what it looks like normally:
This is a screenshot of what it looks like with the menubar enabled:

I haven't looked through the code so I don't know what the cause/solution could be, but it'd be great if it was fixed since I prefer using the menubar.

How to use native titlebar buttons?

The theme seems to override titlebar buttons and so they dont look centered as they are supposed to on windows 11. How to edit just the titlebar theming stuff to use the default on firefox? Also, total noob here, thanks.

Modify the "background-size" of the search icon in the new tab

The size of the search icon on the new tab is considered to be about the size of the image below. Currently the icon is fixed to the same size as the background.

Referring to Edge, the search icon is not the full background, so it can be closer.
image
image

The following CSS can be used to modify it.

  .top-site-outer .default-icon,
  .top-site-outer .search-topsite {
    background-size: 15px !important;
    height: 24px !important;
    width: 24px !important;
  }

113 row

'Circulating dots' animation

Microsoft edge has this nice animation while loading a page. The current version of this userChrome does not have this characteristic. It uses the default Firefox bouncing animation.
Could this be implemented as a slight enhancement?

Fix spacing and sizing on buttons placed in the tab bar

Currently, buttons placed in the tab bar have really awkward spacing from the left edge of the window. It would be nice if these lined up with buttons placed on the address bar line. Also, it would be nice if buttons in the tab bar were the same size as buttons on the address bar so they will line up.
29 - 17-30-24

Tab Separator

I know this CSS is for replicating Edge's UI in FIrefox, But Do you consider about removing the Tab Separator because other tabs will seem unified and cleaner in terms of UI or helping me in removing that for myself alone ?

Make close tab button always visible

In Edge, the close tab button always visible by default. I think it will simple to implement directly or make a option in Firefox config page.

Titlebar button box container with Mica enabled should respect the full height of tabs on Windows 11

This issue is now present in the latest commit of Edge-Frfox.

For a good comparison, here's the current height of the titlebar buttons in current Edge Canary:

Originally posted by @tobyisawesome in #14 (comment)

bmFtZQ has stated in response to this issue:

The only way to fix this (that I know of) is to hide the theme's icons and rely on the ones drawn by Windows. Since those icons are located in a fixed position the buttons have to be moved, otherwise you end up with misaligned buttons/icons:

Screen Shot showing misaligned window control button

Use the latest design of Edge's Rounded Tabs

Edge Canary seems to have a faint white outline and bolded text for the selected tab. I propose for Edge-Frfox to use this current design rather than the older one it uses now.

Top screenshot is Edge Canary, and the bottom is Edge-Frfox.

Explanation for a tweak

Tweak : uc.tweak.disable-drag-space
Description in Readme : disable drag space above tabs

I don't see any space above tabs in Firefox both in Maximized and minimized windows. Which space are you referring to ?

Context Menu of PIN Suggestions not themed

-after the latest January, 2022 Update-
If I try to enter PIN somewhere, the suggestions context menu that shows up is not themed. It is default FF theme. Can you please fix this?
image

Horizontal scrolling glitch

img
For some reason, the horizontal scrolling on this theme kicks in too early.
On default Firefox, horizontal scrolling starts at ~20 open tabs.
On this theme, it already begins way too early at just 7 tabs. There is nothing to scroll anyway, so it takes up unnecessary space.
Also, it seems like the "New Tab" animations disappear when this horizontal scrolling glitch occurs. There are no animations at all.
For example, this is how it should look like, on default Firefox:
img 2

Highlight of address bar matches is too light

I really like this style. The standard Firefox look is OK, but I think this is better. The icons help provide extra polish.

Now for my issue...

When I enter text in the address bar, matching URLs from my history are listed and the first one highlighted. The highlight colour is too light IMO. Can I make this a little darker?

image

Additional Theme similar to edge

While using the System-Auto theme, It is indeed replicating Edge's Tab bar color as like in below image:

image

But when using Dark theme as below. The Dark theme of Firefox is applied.
image

The second theme is not so good. I want the first tab bar's color when I enable Dark Theme.

I am suggesting that you create a theme of the first one and list it along other themes if possible or publish a theme in AMO.

Explanation for a tweak

uc.tweak.force-tab-colour - What does this tweak actually do ?

I am confused by your Wording in Readme. A detailed explanation with images would be great.

How to disable bluish highlight outline globally?

Hi.
I can’t find where I can disable this bluish highlight outline globally..
Is there any easy way?

And also, in that about:home page, if I untick the "shortcuts" and "recent activity" checkboxes, then the Firefox logo and Google search box are not centered vertically. .
How can I fix it?
TIA

Mozilla_Firefox

Full screen mode shows rounded corners and window border if Mica is enabled

If uc.tweak.win11-mica is set to true and full screen mode is entered, a transparent window border will show around the display with rounded corners as if the browser is still in windowed mode. This does not happen if full screen mode is entered when the browser window is maximized, or the Mica tweak is disabled. Also, the window control icon for minimize, restore, and close disappear when the browser is in focus

Screenshot 2022-07-13 202002

Firefox Tracking Protection in Address Bar - Broken

Firefox Tracking Protection Popup is hidden in the address Bar (aka URL Bar). When Clicking the Icon and trying to interact with the Interface, It closes automatically, Sort of annoying and uneasy to use it.

Tab-label isn't vertically centered

Great thanks for your working, I just really like this theme and it's already my daily driver theme. When using this, I found that the label of the tab is not vertically centered which is strange.

图片

So I found the related code in the file name "tabbar.css".
图片

I change set the value of margin-top to zero which make the label of tab become vertically centered.

图片

Are there some reasons that value have to be -2px? If there were, is there any other ways to make the label vertically centered?
Thanks for your working, again.

Tab bar giggly

When I click on Customize Toolbar, the whole tab bar is jiggly even if you just hover over one of the extensions and while arranging things.

Firefox Nightly 92 - Some buttons are misaligned in the address bar

Hello, I really like this theme and I use it everyday, but since the latest Firefox Nightly version that updates to Firefox 92, the "Bookmark this page", "Page actions" button and "Protections" button are misaligned in the address bar. Video is attached to see more about this behaviour.

2021-07-19.11-56-59.mp4

Color of the alt text in dark theme

Could you fix the color of the alt text to reflect the dark grey theme? (the popup text when I hover over links or tabs)
image

Currently, it appears as a dark shade of purple, I think the one FF uses by default.

Windows 7 Bug

Doesn't work.

The theme doesn't work, I expected it to work, but it didn't.
I'm running Windows 11 Build 22000.527.
How can i fix this?

The Context Menu font could be smaller?

The Context Menu looks near perfect now with the new edge icons.
However, the font is a little larger than how it appears on edge.
Could you make the context menu font slightly smaller?

  • Current Font Size:

image

  • Font Size on Edge:

image

New commit is breaking buttons

image

As you see in the image, The new commit has breaken things on my fork. I am not sure if this is because of you or my fork.

And Mica also doesn't apply even though my settings are :

image

Tweak: Mica in address bar row instead of only the tab row for default style. (Windows 11 Explorer-style tabs)

Currently, the look of edge-frfox with Mica enabled (and floating tabs disabled) only has Mica in the tab row, with the address bar row being completely opaque.

Some may want for there to also be transparency in the address bar row too, without it being limited to just the tab row.

I propose for there to be a tweak that enables for the address bar row to be a lighter shade of Mica. I don't suggest for this to replace the current functionality, but I suggest for it to be an alternative tweak to those who may want it.

Here's an example where Mica extends under the tab row, where there are two shades of Mica. This screenshot is from File Explorer on the Beta channel of the Windows Insider Program.
File Explorer Tabs

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.