Urlbar: Theme icons like gtkentry icons

related to #246
This commit is contained in:
Rafael Mardojai CM 2021-06-05 08:31:47 -05:00
parent 65820eb135
commit 067ee892fa
2 changed files with 38 additions and 2 deletions

View File

@ -79,6 +79,39 @@
-moz-outline-radius: 5px 0 0 5px !important;
}
/* Entry button */
.identity-box-button,
#tracking-protection-icon-container,
#notification-popup-box,
.urlbar-page-action,
.urlbar-icon {
fill-opacity: 0.8 !important;
}
.identity-box-button:hover:not([open="true"]),
#tracking-protection-icon-container:hover:not([open="true"]),
#notification-popup-box:hover:not([open="true"]),
.urlbar-page-action:hover:not([open="true"]),
.urlbar-page-action:hover:not([open="true"]) .urlbar-icon,
.urlbar-icon:not([disabled]):hover {
background: none !important;
fill-opacity: 1 !important;
}
.identity-box-button:hover:active,
.identity-box-button[open=true],
#tracking-protection-icon-container:hover:active,
#tracking-protection-icon-container[open=true],
#notification-popup-box:hover:active,
#notification-popup-box[open=true],
.urlbar-page-action:hover:active,
.urlbar-page-action[open=true],
.urlbar-page-action:hover:active .urlbar-icon,
.urlbar-page-action[open=true] .urlbar-icon {
background: none !important;
fill-opacity: 1 !important;
}
/* Entries fixes */
#urlbar-container, #search-container {
padding: 0 !important;

View File

@ -5,6 +5,7 @@
/* Icons color */
.toolbarbutton-icon,
.menu-iconic-icon,
.urlbar-page-action:not([readeractive]),
.button-icon:not(#hack),
.bookmark-item[container],
.notification-anchor-icon,
@ -32,6 +33,7 @@ menuitem[type="checkbox"][checked="true"],
menuitem[type="radio"],
menuitem[type="radio"][checked="true"],
.tab-icon-overlay,
.tab-throbber::before,
.close-icon:not(.tab-close-button),
button.close::before,
#urlbar-search-mode-indicator-close,
@ -45,7 +47,6 @@ button.close::before,
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-min .toolbarbutton-icon,
:root[tabsintitlebar][inFullscreen] #window-controls #restore-button .toolbarbutton-icon {
fill: var(--gnome-toolbar-icon-fill) !important;
fill-opacity: 1 !important;
-moz-context-properties: fill, fill-opacity;
}
.toolbarbutton-icon:-moz-window-inactive {
@ -300,7 +301,9 @@ button.close::before {
}
/* Forward button */
#nav-bar #forward-button,
#context-forward {
#context-forward,
#urlbar-go-button,
.search-go-button {
list-style-image: url("../icons/go-next-symbolic.svg") !important;
}
/* Menu button */