2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/button_effect_scale_onclick.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2018-11-30 17:36:16 +00:00
|
|
|
/* Effect */
|
2018-12-07 06:03:04 +00:00
|
|
|
|
2021-04-10 11:40:29 +00:00
|
|
|
:root:not([uidensity="compact"],[proton]) #back-button{ --uc-back-extra-padding: 2px }
|
2018-12-07 06:03:04 +00:00
|
|
|
|
2018-12-05 18:51:43 +00:00
|
|
|
.toolbarbutton-icon,
|
|
|
|
.menuitem-iconic .menu-iconic-icon{
|
2018-12-07 09:59:09 +00:00
|
|
|
transition: transform 83ms linear !important;
|
2018-12-05 18:51:43 +00:00
|
|
|
}
|
|
|
|
|
2021-04-10 11:40:29 +00:00
|
|
|
toolbar .toolbarbutton-1 > .toolbarbutton-icon,
|
2018-12-07 09:59:09 +00:00
|
|
|
.urlbar-icon{
|
|
|
|
transition: padding 83ms linear !important;
|
2018-12-05 18:51:43 +00:00
|
|
|
}
|
2018-11-30 17:36:16 +00:00
|
|
|
|
2020-06-08 14:41:27 +00:00
|
|
|
toolbarbutton#scrollbutton-up:active > .toolbarbutton-icon,
|
2018-12-05 18:51:43 +00:00
|
|
|
toolbarbutton:not(.toolbarbutton-1):active > .toolbarbutton-icon,
|
|
|
|
toolbar .toolbarbutton-1:not([disabled]):active > .toolbarbutton-badge-stack > .toolbarbutton-icon,
|
|
|
|
.menuitem-iconic:active .menu-iconic-icon{
|
|
|
|
transform: scale(0.6) !important;
|
2018-11-30 17:36:16 +00:00
|
|
|
}
|
2020-06-08 14:41:27 +00:00
|
|
|
toolbarbutton#scrollbutton-down:active > .toolbarbutton-icon{ transform: scale(-0.6) !important; }
|
|
|
|
|
2018-12-05 18:51:43 +00:00
|
|
|
|
2018-12-07 06:03:04 +00:00
|
|
|
toolbar .toolbarbutton-1:not([disabled]):active > .toolbarbutton-icon{
|
|
|
|
padding: calc(var(--toolbarbutton-inner-padding) + var(--uc-back-extra-padding,0px) + 3px) !important;
|
2018-12-07 09:59:09 +00:00
|
|
|
}
|
|
|
|
|
2021-04-10 11:40:29 +00:00
|
|
|
#page-action-buttons .urlbar-icon:active{ padding: calc(var(--urlbar-icon-padding) + 3px) !important; }
|