Skip to content

Commit c163373

Browse files
committed
style(css): refactor styles and update for Firefox v133.0
1 parent c5ca732 commit c163373

22 files changed

+150
-2264
lines changed

README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,25 @@
33
<img src="screenshots/firefox-25-11-2023.jpg" alt="screenshot" title="Screenshot" width="900">
44
<img src="screenshots/Screenshot 2023-12-04 144143.png" alt="screenshot" title="Screenshot" width="900">
55

6-
76
# Rounded Corners
87
<img src="screenshots/rounded-corners.png" alt="screenshot" title="Screenshot" width="900">
98

10-
# Sidebar Support
11-
<img src="screenshots/sidebar-demo.png" alt="screenshot" title="Screenshot" width="900">
12-
<img src="screenshots/sidebar-demo-video.gif" alt="screenshot" title="Screenshot" width="900">
13-
149

1510
# How to install
1611
1. Go to `about:support` and click the "Open Folder/Show in Finder" button for the root directory of your browser profile/s.
1712
2. Download and copy the `chrome` folder and `user.js` into the profile folder.
1813
3. Restart Firefox.
1914

15+
> **Note:** FireFox v133.0+ only
16+
2017
# Tweaks
2118
- To enable macOS button style, open `user.js`, find `fp.tweak.macos-button` and set it to `true`.
2219
- To disable bookmarks autohide open `user.js`, find `fp.tweak.autohide-bookmarks` and set it to `false`.
2320
- To enable or disable rounded corners, open `user.js`, find `fp.tweak.rounded-corners` and set it to `true` or `false`.
24-
- To enable support for sidebar, open `user.js`, find `fp.tweak.sidebar-enabled` and set it to `true` or `false`.
2521
- To enable or disable White Mode, open `user.js`, find `browser.in-content.dark-mode` and set it to `true` or `false`. Then find and set `ui.systemUsesDarkTheme` to `1` or `0`.
26-
> [!NOTE]
27-
> To get the sidebar support you will need to install the [Sidebar Tabs](https://github.com/asamuzaK/sidebarTabs) extension.
2822

29-
# Experimental
30-
Install or update Firefox Plus directly from PowerShell.
23+
24+
# Install or update Firefox Plus directly from PowerShell.
3125

3226
1. Open PowerShell.
3327
2. Copy and paste this command
@@ -46,4 +40,4 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercon
4640

4741
# License
4842

49-
This project is licensed under the MIT License.
43+
This project is licensed under the MIT License.

chrome/content/common.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -275,4 +275,6 @@
275275
backdrop-filter: blur(12px);
276276
}
277277

278-
}
278+
}
279+
280+

chrome/global/general.css

+7
Original file line numberDiff line numberDiff line change
@@ -841,4 +841,11 @@ menuitem[checked="true"]>.menu-iconic-left,
841841

842842
.findbar-textbox[status="notfound"] {
843843
outline: 2px solid #E22850 !important;
844+
}
845+
846+
#tabbrowser-tabbox {
847+
@media (-moz-bool-pref: "sidebar.revamp") {
848+
outline: 0px solid transparent !important;
849+
box-shadow: none !important
850+
}
844851
}

chrome/global/rounded-corners.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:root[tabsintitlebar] #titlebar:-moz-window-inactive {
1+
:root[tabsintitlebar] #TabsToolbar:-moz-window-inactive {
22
opacity: 1 !important;
33
}
44
#main-window:not([chromehidden~="toolbar"]) {

chrome/icons/icons.css

+9-11
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,35 @@
4545
list-style-image: url("mac-close.svg") !important;
4646
}
4747
}
48-
48+
.titlebar-buttonbox {
49+
margin: 0 8px !important;
50+
}
4951
.titlebar-button {
5052
& > .toolbarbutton-icon {
51-
width: 24px !important;
52-
height: 24px !important;
53+
width: 14px !important;
54+
height: 14px !important;
5355
}
5456
}
5557
.titlebar-button {
56-
padding: 0 0px !important;
58+
padding: 0 4px !important;
5759
filter: grayscale(1) brightness(6);
5860
opacity: 0.25 !important;
5961
}
6062

61-
#titlebar:hover .titlebar-button {
63+
#TabsToolbar:hover .titlebar-button {
6264
filter: grayscale(0) brightness(1);
6365
opacity: 0.8 !important;
6466
}
6567

66-
:-moz-window-inactive .titlebar-button {
67-
opacity: 0.5 !important;
68-
}
69-
70-
.titlebar-button:hover,
68+
.titlebar-button:hover,
7169
.titlebar-button:not(.titlebar-close):hover {
7270
background-color: transparent !important;
7371
}
7472

7573
toolbar[brighttext] .titlebar-close:hover:active {
7674
background-color: transparent !important;
7775
}
78-
#titlebar .titlebar-button:hover {
76+
#TabsToolbar .titlebar-button:hover {
7977
opacity: 1 !important;
8078
}
8179
}

chrome/icons/mac-close.svg

+22-253
Loading

0 commit comments

Comments
 (0)