2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/button_effect_icon_glow.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2019-04-14 19:14:45 +00:00
|
|
|
/* Replace the button background-colors with a glow effect */
|
|
|
|
/* Edit the color choices how you see fit */
|
2021-05-13 06:05:22 +00:00
|
|
|
:root{
|
|
|
|
--uc-icon-glow-primary: cyan;
|
|
|
|
--uc-icon-glow-secondary: cadetblue;
|
|
|
|
--uc-icon-glow-hover-primary: red;
|
|
|
|
--uc-icon-glow-hover-secondary: yellow;
|
|
|
|
}
|
2019-04-14 19:14:45 +00:00
|
|
|
|
|
|
|
/* Make backgrounds transparent */
|
2021-03-06 05:36:45 +00:00
|
|
|
.close-icon,
|
2019-04-14 19:14:45 +00:00
|
|
|
.urlbar-icon,
|
|
|
|
.urlbar-icon-wrapper,
|
|
|
|
toolbar .toolbarbutton-1,
|
|
|
|
#tabbrowser-tabs toolbarbutton,
|
|
|
|
toolbar toolbarbutton > .toolbarbutton-icon,
|
|
|
|
toolbar toolbarbutton > .toolbarbutton-badge-stack,
|
2019-05-09 15:05:17 +00:00
|
|
|
.titlebar-button,
|
|
|
|
#identity-box,
|
2021-05-13 05:42:47 +00:00
|
|
|
.identity-box-button,
|
2019-07-20 05:05:26 +00:00
|
|
|
#tracking-protection-icon-container,
|
2019-10-04 14:11:56 +00:00
|
|
|
.findbar-textbox~toolbarbutton,
|
|
|
|
toolbarbutton.scrollbutton-up,
|
2020-03-29 07:12:57 +00:00
|
|
|
toolbarbutton.scrollbutton-down,
|
|
|
|
toolbarbutton#scrollbutton-up,
|
2021-03-06 05:36:45 +00:00
|
|
|
toolbarbutton#scrollbutton-down{
|
|
|
|
background-color: transparent !important;
|
|
|
|
border-color: transparent !important;
|
|
|
|
}
|
2019-04-14 19:14:45 +00:00
|
|
|
|
|
|
|
/* Glow effects on hover */
|
|
|
|
.close-icon:hover,
|
|
|
|
.urlbar-history-dropmarker:hover,
|
|
|
|
#page-action-buttons > .urlbar-icon:hover,
|
|
|
|
.urlbar-icon-wrapper:hover > .urlbar-icon,
|
|
|
|
toolbar .toolbarbutton-1:not([disabled]):hover .toolbarbutton-icon,
|
|
|
|
#TabsToolbar toolbarbutton:not([disabled]):hover .toolbarbutton-icon,
|
2019-05-09 15:05:17 +00:00
|
|
|
toolbar #downloads-button:hover #downloads-indicator-anchor,
|
2021-05-13 06:05:22 +00:00
|
|
|
.identity-box-button:hover,
|
2019-07-20 05:05:26 +00:00
|
|
|
#tracking-protection-icon:hover,
|
2019-10-04 14:11:56 +00:00
|
|
|
.findbar-textbox~toolbarbutton:not([disabled]):hover,
|
|
|
|
toolbarbutton.scrollbutton-up:not([disabled]):hover,
|
2020-03-29 07:12:57 +00:00
|
|
|
toolbarbutton.scrollbutton-down:not([disabled]):hover,
|
|
|
|
toolbarbutton#scrollbutton-up:not([disabled]):hover,
|
|
|
|
toolbarbutton#scrollbutton-down:not([disabled]):hover{
|
2021-05-13 06:05:22 +00:00
|
|
|
filter: drop-shadow(0 0 2px var(--uc-icon-glow-secondary)) drop-shadow(0 0 1px var(--uc-icon-glow-primary))
|
2019-04-14 19:14:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Active states and close window button hover state */
|
|
|
|
#titlebar .titlebar-buttonbox > .titlebar-close:hover > .toolbarbutton-icon,
|
|
|
|
.close-icon:active,
|
|
|
|
.urlbar-history-dropmarker:active,
|
|
|
|
#page-action-buttons > .urlbar-icon:active,
|
|
|
|
#page-action-buttons > .urlbar-icon[open],
|
|
|
|
.urlbar-icon-wrapper:active > .urlbar-icon,
|
|
|
|
.urlbar-icon-wrapper[open] > .urlbar-icon,
|
|
|
|
toolbar toolbarbutton:not([disabled]):active .toolbarbutton-icon,
|
|
|
|
toolbar toolbarbutton:not([disabled])[open] .toolbarbutton-icon,
|
|
|
|
#TabsToolbar toolbarbutton:not([disabled]):active .toolbarbutton-icon,
|
|
|
|
toolbar #downloads-button:active #downloads-indicator-anchor,
|
2019-05-09 15:05:17 +00:00
|
|
|
toolbar #downloads-button[open] #downloads-indicator-anchor,
|
2021-05-13 06:05:22 +00:00
|
|
|
.identity-box-button:active,
|
2019-07-20 05:05:26 +00:00
|
|
|
#tracking-protection-icon-container[open] #tracking-protection-icon,
|
2019-10-04 14:11:56 +00:00
|
|
|
.findbar-textbox~toolbarbutton:not([disabled]):active,
|
|
|
|
toolbarbutton.scrollbutton-up:active,
|
2020-03-29 07:12:57 +00:00
|
|
|
toolbarbutton.scrollbutton-down:active,
|
|
|
|
toolbarbutton#scrollbutton-up:active,
|
|
|
|
toolbarbutton#scrollbutton-down:active{
|
2021-05-13 06:05:22 +00:00
|
|
|
filter: drop-shadow(0 0 2px var(--uc-icon-glow-hover-secondary)) drop-shadow(0 0 1px var(--uc-icon-glow-hover-primary))
|
|
|
|
}
|