Add: Photon style New tab button - Smaller button

This commit is contained in:
alstjr7375 2021-06-29 13:40:09 +09:00
parent 795f2912cc
commit 396ac750cc

View file

@ -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;