mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-13 21:00:16 +00:00
41 lines
No EOL
1.8 KiB
CSS
41 lines
No EOL
1.8 KiB
CSS
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/button_effect_scale_onhover.css made available under Mozilla Public License v. 2.0
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
/* Effect */
|
|
|
|
:root:not([uidensity="compact"]) #back-button{ --uc-back-extra-padding: 2px }
|
|
|
|
.toolbarbutton-icon,
|
|
.menuitem-iconic .menu-iconic-icon{
|
|
transition: transform 83ms linear !important;
|
|
}
|
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
|
.urlbar-icon{
|
|
transition: padding 83ms linear !important;
|
|
}
|
|
toolbarbutton#scrollbutton-up > .toolbarbutton-icon,
|
|
toolbarbutton:not(.toolbarbutton-1) > .toolbarbutton-icon,
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon,
|
|
.menuitem-iconic .menu-iconic-icon{
|
|
transform: scale(0.8) !important;
|
|
}
|
|
toolbarbutton#scrollbutton-down > .toolbarbutton-icon{ transform: scale(-0.8) !important; }
|
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-icon{
|
|
padding: calc(var(--toolbarbutton-inner-padding) + var(--uc-back-extra-padding,0px) + 2px) !important;
|
|
}
|
|
|
|
#page-action-buttons .urlbar-icon:not(:hover){ padding: calc(var(--urlbar-icon-padding) + 2px) !important; }
|
|
|
|
toolbarbutton#scrollbutton-up:not([disabled]):hover > .toolbarbutton-icon,
|
|
toolbarbutton:not(.toolbarbutton-1):not([disabled]):hover > .toolbarbutton-icon,
|
|
toolbar .toolbarbutton-1:not([disabled]):hover > .toolbarbutton-badge-stack > .toolbarbutton-icon,
|
|
.menuitem-iconic:not([disabled]):hover .menu-iconic-icon{
|
|
transform: none !important;
|
|
}
|
|
toolbarbutton#scrollbutton-down:not([disabled]):hover > .toolbarbutton-icon{transform: scale(-1) !important;}
|
|
|
|
toolbar .toolbarbutton-1:not([disabled]):hover > .toolbarbutton-icon{
|
|
padding: calc(var(--toolbarbutton-inner-padding) + var(--uc-back-extra-padding,0px)) !important;
|
|
} |