New file
This commit is contained in:
parent
c3156452fa
commit
18de7d3c5b
1 changed files with 32 additions and 0 deletions
32
chrome/button_effect_scale_onhover.css
Normal file
32
chrome/button_effect_scale_onhover.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
/* Effect */
|
||||
|
||||
:root:not([uidensity="compact"]) #back-button{ --uc-back-extra-padding: 2px }
|
||||
|
||||
.toolbarbutton-icon,
|
||||
.menuitem-iconic .menu-iconic-icon{
|
||||
transition: transform 82ms linear !important;
|
||||
}
|
||||
|
||||
toolbar .toolbarbutton-1 > .toolbarbutton-icon{
|
||||
transition: padding 82ms linear !important;
|
||||
}
|
||||
|
||||
toolbarbutton:not(.toolbarbutton-1) > .toolbarbutton-icon,
|
||||
toolbar .toolbarbutton-1 > .toolbarbutton-badge-stack > .toolbarbutton-icon,
|
||||
.menuitem-iconic .menu-iconic-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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
toolbar .toolbarbutton-1:not([disabled]):hover > .toolbarbutton-icon{
|
||||
padding: calc(var(--toolbarbutton-inner-padding) + var(--uc-back-extra-padding,0px)) !important;
|
||||
}
|
Loading…
Reference in a new issue