Add Pheonix redesign rounded corners

This commit is contained in:
TGSAN 2023-07-10 18:43:15 +08:00
parent 70751f8ab8
commit d4a5f9151e
4 changed files with 25 additions and 0 deletions

View file

@ -56,6 +56,10 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse
| ----------------------------- |
| `uc.tweak.disable-drag-space` |
| disable rounded corners |
| ---------------------------------- |
| `uc.tweak.disable-rounded-corners` |
| enable Edge style floating tabs |
| -------------------------------------------------------------- |
| `uc.tweak.floating-tabs` |

14
chrome/global/browser.css Normal file
View file

@ -0,0 +1,14 @@
/* EdgeFr-Fox 2 - browser */
@supports (not -moz-bool-pref("uc.tweak.disable-rounded-corners")) {
:root #browser>#appcontent {
margin: 0px 4px 4px 4px;
border-radius: 8px;
overflow: hidden;
border: 1.25px solid rgba(0, 0, 0, 0.1);
}
:root #browser {
background-color: var(--toolbar-bgcolor);
}
}

View file

@ -28,6 +28,12 @@
padding: var(--toolbarbutton-inner-padding) var(--uc-toolbarbutton-inner-inline-padding) !important;
}
@supports (not -moz-bool-pref("uc.tweak.disable-rounded-corners")) {
#navigator-toolbox {
border-bottom: none !important;
}
}
/* account button */
#navigator-toolbox>toolbar #fxa-toolbar-menu-button,
#navigator-toolbox>toolbar #fxa-toolbar-menu-button>.toolbarbutton-badge-stack,

View file

@ -8,3 +8,4 @@
@import url("global/colors.css");
@import url("global/popup.css");
@import url("global/tweaks.css");
@import url("global/browser.css");