mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-30 06:00:24 -08:00
Fix: Padding - Tabbar spacer for placement
This commit is contained in:
parent
fcf1707453
commit
21f1844a68
2 changed files with 56 additions and 9 deletions
|
|
@ -3187,14 +3187,51 @@
|
|||
/* Original: 40px */
|
||||
}
|
||||
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-gtk-csd-available) {
|
||||
@media (-moz-gtk-csd-reversed-placement) {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (-moz-os-version: windows-win7),
|
||||
(-moz-platform: windows-win7),
|
||||
(-moz-os-version: windows-win8),
|
||||
(-moz-platform: windows-win8),
|
||||
(-moz-os-version: windows-win10),
|
||||
(-moz-platform: windows-win10) {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-gtk-csd-available) {
|
||||
@media (-moz-gtk-csd-reversed-placement: 0) {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Tabbar Buttons */
|
||||
:root {
|
||||
--newtab-button-minus-width-padding: 2px;
|
||||
|
|
|
|||
|
|
@ -3,11 +3,21 @@
|
|||
--uc-title-pre-spacer: 30px; /* Original: 40px */
|
||||
--uc-title-post-spacer: 25px; /* Original: 40px */
|
||||
}
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
@include WindowControl_Left {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
}
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
@include WindowControl_Right {
|
||||
.titlebar-spacer[type="pre-tabs"] {
|
||||
width: var(--uc-title-post-spacer) !important;
|
||||
}
|
||||
.titlebar-spacer[type="post-tabs"] {
|
||||
width: var(--uc-title-pre-spacer) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tabbar Buttons */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue