mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-14 21:32:04 -08:00
Add: Photon style New tab button - Smaller button
This commit is contained in:
parent
795f2912cc
commit
396ac750cc
1 changed files with 14 additions and 0 deletions
|
|
@ -369,6 +369,20 @@
|
|||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/** New tab button - Smaller button *****************************************/
|
||||
#tabs-newtab-button > .toolbarbutton-icon {
|
||||
margin-left: 1px;
|
||||
|
||||
/* Origianl: calc((var(--tab-min-height) - 16px) / 2) = 10px */
|
||||
--toolbarbutton-inner-padding: 6px;
|
||||
}
|
||||
:root[uidensity="compact"] #tabs-newtab-button > .toolbarbutton-icon {
|
||||
--toolbarbutton-inner-padding: 4px; /* Photon: 6px */
|
||||
}
|
||||
:root[uidensity="touch"] #tabs-newtab-button > .toolbarbutton-icon {
|
||||
--toolbarbutton-inner-padding: 9px; /* Photon: 9px */
|
||||
}
|
||||
|
||||
/** Clipped tabs - Letters cleary *******************************************/
|
||||
#tabbrowser-tabs[closebuttons=activetab] .tab-content:not([pinned]) {
|
||||
padding-inline-start: 8px !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue