Skip to content

Commit 7fa2d66

Browse files
committed
New tweak, modularization, fixes
+ New tweak: uc.winui.transparent-navbar to enable Edge's scrappe Phoenix redesign, with a unique version of the floating tabs tweak automatically enabled * Moved some of the styles to icons.css * Decluttered global style overrides * Fixed smaller icons tweak adding a shadow to the sidebar button icon * Further adjustments to right-side in-urlbar buttons * Minor fixes to the browser settings page - Removed uc.winui.grayer-tabbed tweak - Removed floating 'sign in' text next to the logged out profile toolbar button
1 parent 48efd76 commit 7fa2d66

File tree

5 files changed

+390
-221
lines changed

5 files changed

+390
-221
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Create the following boolean or numeric keys as required:
4646
- `uc.winui.centered-url` - Center aligns the URL in the URL Bar
4747
- `uc.winui.centered-url-alt` - Center aligns the URL in the URL Bar but moves it back to the left when selected
4848
- `uc.winui.extra-highlights` - Adds more highlights to the active tab and context menu
49-
- `uc.winui.grayer-tabbed` - Reduces the saturation of the Mica backdrop in dark mode
5049
- `uc.winui.hide-shortcuts` - Hide shortcut hints in menus and panels
5150
- `uc.winui.more-acrylic` - Extends the Acrylic texture into the navbar, bookmarks bar and the selected tab
5251
- `uc.winui.navbar-highlights` - Adds a highlight to the top of the navbar
@@ -68,6 +67,7 @@ Create the following boolean or numeric keys as required:
6867
- `uc.winui.extension-tray` - Compacts the extension menu into a grid of icons similar to the system tray found on Windows 11
6968
- `uc.winui.immersive-navbar` - Adds a margin to either side of the navbar to match the margin created by the rounded corners tweak
7069
- `uc.winui.tab-close-button` - Changes how tab close buttons are displayed, 1 to have it appear on the selected tab and when hovering unselected tabs, 2 to have it appear only when hovering a tab and 3 to remove it entirely
70+
- `uc.winui.transparent-navbar` - Enables Microsoft Edge's scrapped Phoenix redesign, with its own separate floating tabs implementation
7171

7272
### Icon and Navigation
7373

chrome/icons/icons.css

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
#PopupAutoComplete richlistitem[originaltype="generatedPassword"] .ac-site-icon,
122122
#PopupAutoComplete richlistitem[originaltype="loginWithOrigin"] .ac-site-icon:not([src^="page-icon:"]),
123123
#PopupAutoComplete richlistitem[originaltype="login"] .ac-site-icon:not([src^="page-icon:"]) {
124-
/* content property doesn't work on xul|image, only html|img. */
125124
background: url("passwords.svg") no-repeat center !important;
126125
padding-left: 16px !important;
127126
}
@@ -133,7 +132,7 @@
133132
#PanelUI-menu-button,
134133
#appMenu-more-button2,
135134
.unified-extensions-item-menu-button {
136-
list-style-image: url("menu.svg") !important;
135+
list-style-image: url("settings.svg") !important;
137136
}
138137

139138
#appMenu-help-button2 {
@@ -188,6 +187,10 @@
188187
list-style-image: url("translate.svg") !important;
189188
}
190189

190+
#taskbar-tabs-button > .urlbar-icon {
191+
list-style-image: url(apps.svg) !important;
192+
}
193+
191194
#open-file-button {
192195
list-style-image: url("open.svg") !important;
193196
}
@@ -318,11 +321,6 @@
318321
list-style-image: url("extension.svg") !important;
319322
}
320323

321-
#identity-box[pageproxystate="valid"].verifiedDomain #identity-icon,
322-
#identity-box[pageproxystate="valid"].mixedActiveBlocked #identity-icon {
323-
list-style-image: url("security.svg") !important;
324-
}
325-
326324
:is(#urlbar-input-container, .urlbar-input-container)[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
327325
list-style-image: url("tracking-protection.svg") !important;
328326
}
@@ -346,8 +344,10 @@
346344
list-style-image: url("page-portrait.svg") !important;
347345
}
348346

347+
#identity-box[pageproxystate="valid"].verifiedDomain #identity-icon,
348+
#identity-box[pageproxystate="valid"].mixedActiveBlocked #identity-icon,
349349
#identity-popup[connection^=secure] .identity-popup-security-connection {
350-
list-style-image: url("security.svg") !important;
350+
list-style-image: url("lock.svg") !important;
351351
}
352352

353353
#identity-popup[ciphers=weak] .identity-popup-security-connection,
@@ -407,12 +407,12 @@
407407

408408
#pageAction-panel-bookmark,
409409
#star-button {
410-
list-style-image: url("bookmark-hollow.svg") !important;
410+
list-style-image: url("star.svg") !important;
411411
}
412412

413413
#pageAction-panel-bookmark[starred],
414414
#star-button[starred] {
415-
list-style-image: url("bookmark.svg") !important;
415+
list-style-image: url("star-filled.svg") !important;
416416
}
417417

418418
#sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon,
@@ -1105,4 +1105,10 @@ treechildren::-moz-tree-image(query, OrganizerQuery_history____v) {
11051105

11061106
treechildren::-moz-tree-image(title, query, folder) {
11071107
list-style-image: url("folder.svg") !important;
1108+
}
1109+
1110+
/* others */
1111+
1112+
#taskbar-tabs-button > .urlbar-icon {
1113+
list-style-image: url(apps.svg) !important;
11081114
}

chrome/resources/winui-settings.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ <h2>Experimental</h2>
318318
{ key: "uc.winui.taller-bookmarks", label: "Taller Bookmarks", desc: "Increase the size of the bookmarks bar to match File Explorer's toolbar", type: "boolean" },
319319
{ key: "uc.winui.taller-urlbar", label: "Taller URL Bar", desc: "Increase the height of the URL bar to match the early iterations of Windows 11's search bar", type: "boolean" },
320320
{ key: "uc.winui.titlebar-style", label: "Titlebar Style", desc: "0 = Default, 1 = Rounded corners on titlebar buttons, 2 = Rounded corners with accent-colored glyphs on hover", type: "int", options: [0, 1, 2], warning: "Incompatible with 'Shorter Titlebar Buttons'" },
321+
{ key: "uc.winui.transparent-navbar", label: "Transparent Navigation Bar", desc: "Makes the Navigation Bar transparent like in Edge's scrapped Phoenix redesign", type: "boolean" },
321322
{ key: "uc.winui.transparent-urlbar", label: "Transparent URL Bar", desc: "Makes the URL bar transparent", type: "boolean" },
322323
{ key: "uc.winui.urlbar-extra-separators", label: "URL Bar Extra Separators", desc: "Add highlighted separators to either side of URL bar", type: "boolean" },
323324
{ key: "uc.winui.alternate-urlbar-dropdown", label: "Detached URL bar dropdown", desc: "Use an alternate detached version of the URL bar dropdown", type: "boolean" }
@@ -338,7 +339,7 @@ <h2>Experimental</h2>
338339
{ key: "uc.winui.extra-animations", label: "Extra Animations", desc: "Enables extra and unfinished animations", type: "boolean" },
339340
{ key: "uc.winui.experiments", label: "Experiments", desc: "Enables experimental and unfinished features", type: "boolean" },
340341
{ key: "uc.winui.vtabs-close-button-style", label: "VTabs Close Button Style", desc: "0 = Default, 1 = Small overlay on top right, 2 = Hide entirely", type: "int", options: [0, 1, 2] },
341-
{ key: "uc.winui.alternate-urlbar-dropdown-animation", label: "Use an alternate, staggered animation for the URL bar dropdown results", desc: "0 = Default, 1 = Smooth downward slide, 2 = Staggered downward slide, 3 = Staggered upward slide", type: "int", options: [0, 1, 2, 3]}
342+
{ key: "uc.winui.alternate-urlbar-dropdown-animation", label: "Use an alternate, optionally staggered animation for the URL bar dropdown results", desc: "0 = Default, 1 = Smooth downward slide, 2 = Staggered downward slide, 3 = Staggered upward slide", type: "int", options: [0, 1, 2, 3]}
342343
]
343344
};
344345

0 commit comments

Comments
 (0)