mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Add: Rounding - URL View Item
This commit is contained in:
parent
4c167604e2
commit
196fb4c23e
3 changed files with 51 additions and 14 deletions
|
|
@ -3273,22 +3273,34 @@
|
|||
}
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_button") {
|
||||
:root {
|
||||
--toolbarbutton-border-radius: 0 !important;
|
||||
--urlbar-icon-border-radius: 0 !important;
|
||||
/* Original: calc(var(--toolbarbutton-border-radius) - 1px); */
|
||||
}
|
||||
|
||||
.toolbarbutton-1,
|
||||
.toolbarbutton-icon,
|
||||
.panel-info-button,
|
||||
.searchbar-engine-one-off-item,
|
||||
.urlbarView-button,
|
||||
.urlbarView-tip-button,
|
||||
.urlbarView-action,
|
||||
toolbarbutton.bookmark-item:not(.subviewbutton),
|
||||
#sidebar-switcher-target {
|
||||
--toolbarbutton-border-radius: 0;
|
||||
/* Original: 4px */
|
||||
}
|
||||
|
||||
button,
|
||||
findbar toolbarbutton {
|
||||
findbar toolbarbutton,
|
||||
.notification-button {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_tab") or -moz-bool-pref("userChrome.round.square_button") {
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_tab") or -moz-bool-pref("userChrome.rounding.square_button") {
|
||||
/* Fix Tab bar button radius */
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-icon,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-text,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-badge-stack,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button),
|
||||
.tab-close-button {
|
||||
--tab-border-radius: var(--toolbarbutton-border-radius) !important;
|
||||
--tab-border-radius: var(--toolbarbutton-border-radius);
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_panel") {
|
||||
|
|
@ -3323,11 +3335,17 @@
|
|||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar-input-container,
|
||||
#urlbar-background,
|
||||
#searchbar {
|
||||
--toolbarbutton-border-radius: 0;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_urlView_item") {
|
||||
.urlbarView-row-inner {
|
||||
--toolbarbutton-border-radius: 0;
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.rounding.square_checklabel") {
|
||||
.checkbox-check,
|
||||
xul|*.radio-check {
|
||||
|
|
|
|||
|
|
@ -5,21 +5,32 @@
|
|||
}
|
||||
@include Option("userChrome.rounding.square_button") {
|
||||
:root {
|
||||
--toolbarbutton-border-radius: 0 !important; /* Original: 4px */
|
||||
--urlbar-icon-border-radius: 0 !important; /* Original: calc(var(--toolbarbutton-border-radius) - 1px); */
|
||||
}
|
||||
|
||||
.toolbarbutton-1,
|
||||
.toolbarbutton-icon,
|
||||
.panel-info-button,
|
||||
.searchbar-engine-one-off-item,
|
||||
.urlbarView-button,
|
||||
.urlbarView-tip-button,
|
||||
.urlbarView-action,
|
||||
toolbarbutton.bookmark-item:not(.subviewbutton),
|
||||
#sidebar-switcher-target {
|
||||
--toolbarbutton-border-radius: 0; /* Original: 4px */
|
||||
}
|
||||
|
||||
button,
|
||||
findbar toolbarbutton {
|
||||
findbar toolbarbutton,
|
||||
.notification-button {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
@include Option("userChrome.rounding.square_tab", "userChrome.round.square_button") {
|
||||
@include Option("userChrome.rounding.square_tab", "userChrome.rounding.square_button") {
|
||||
/* Fix Tab bar button radius */
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-icon,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-text,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button) > .toolbarbutton-badge-stack,
|
||||
#TabsToolbar .toolbarbutton-1:not(#tabs-newtab-button),
|
||||
.tab-close-button {
|
||||
--tab-border-radius: var(--toolbarbutton-border-radius) !important;
|
||||
--tab-border-radius: var(--toolbarbutton-border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -57,12 +68,19 @@
|
|||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar-input-container,
|
||||
#urlbar-background,
|
||||
#searchbar {
|
||||
--toolbarbutton-border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include Option("userChrome.rounding.square_urlView_item") {
|
||||
.urlbarView-row-inner {
|
||||
--toolbarbutton-border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include Option("userChrome.rounding.square_checklabel") {
|
||||
.checkbox-check,
|
||||
xul|*.radio-check {
|
||||
|
|
|
|||
1
user.js
1
user.js
|
|
@ -126,6 +126,7 @@ user_pref("userChrome.rounding.square_tab", false);
|
|||
// user_pref("userChrome.rounding.square_menupopup", true);
|
||||
// user_pref("userChrome.rounding.square_menuitem", true);
|
||||
// user_pref("userChrome.rounding.square_field", true);
|
||||
// user_pref("userChrome.rounding.square_urlView_item", true);
|
||||
// user_pref("userChrome.rounding.square_checklabel", true);
|
||||
|
||||
// user_pref("userChrome.padding.first_tab", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue