This commit is contained in:
vinceliuice 2024-12-01 19:52:19 +08:00
parent 9c4050dfc8
commit e36a97939e
8 changed files with 55 additions and 26 deletions

View File

@ -210,15 +210,15 @@ tab[selected]:-moz-window-inactive .tab-label {
}
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
background-color: var(--gnome-tabbar-tab-background) !important;
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: transparent !important;
}
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
background-color: var(--gnome-tabbar-tab-active-background) !important;
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: transparent !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]):hover {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]):hover {
background-color: var(--gnome-tabbar-tab-hover-background) !important;
}

View File

@ -158,15 +158,15 @@ tab[selected]:-moz-window-inactive .tab-label {
inset-inline-end: 0 !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
background-color: var(--gnome-tabbar-tab-background) !important;
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: transparent !important;
}
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
background-color: var(--gnome-tabbar-tab-active-background) !important;
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: transparent !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]):hover {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]):hover {
background-color: var(--gnome-tabbar-tab-hover-background) !important;
}

View File

@ -209,7 +209,7 @@ toolbarspring {
border-radius: 5px !important;
}
#star-button-box.urlbar-page-action {
.urlbar-page-action {
padding: 5px 6px !important;
}

View File

@ -383,15 +383,15 @@ tab[selected]:-moz-window-inactive {
display: none !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--gnome-tabbar-tab-background) !important;
}
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--gnome-tabbar-tab-active-background) !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]):hover {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]):hover {
background-color: var(--gnome-tabbar-tab-hover-background) !important;
}

View File

@ -372,15 +372,15 @@ tab[selected]:-moz-window-inactive {
display: none !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--gnome-tabbar-tab-background) !important;
}
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([pinned], [sharing]) {
.tabbrowser-tab[selected=true] .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--gnome-tabbar-tab-active-background) !important;
}
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([pinned], [sharing]):hover {
.tabbrowser-tab .tab-icon-overlay:not([crashed]):is([soundplaying], [muted], [activemedia-blocked]):hover {
background-color: var(--gnome-tabbar-tab-hover-background) !important;
}

View File

@ -0,0 +1,3 @@
<svg width="16" height="16" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="context-fill" fill-opacity="context-fill-opacity">
<path d="m3 1c-1.662 0-3 1.338-3 3v8c0 1.662 1.338 3 3 3h10c1.662 0 3-1.338 3-3v-8c0-1.662-1.338-3-3-3h-10zm0 1h4.5v5h1v-5h4.5c1.108 0 2 0.892 2 2v8c0 1.108-0.892 2-2 2h-4.5v-4h-1v4h-4.5c-1.108 0-2-0.892-2-2v-8c0-1.108 0.892-2 2-2zm2.4004 3.9492c-0.15 0-0.30039 0.050391-0.40039 0.15039l-1.9004 2c-0.2 0.2-0.2 0.60078 0 0.80078l1.9004 1.9004c0.2 0.2 0.60078 0.2 0.80078 0 0.2-0.2 0.2-0.60078 0-0.80078l-1-1h6.3984l-1 1.0996c-0.2 0.2-0.2 0.60078 0 0.80078 0.2 0.2 0.60078 0.2 0.80078 0l1.9004-1.9004c0.2-0.2 0.2-0.60078 0-0.80078l-1.9004-2.0996c-0.2-0.2-0.60078-0.2-0.80078 0-0.2 0.2-0.2 0.60078 0 0.80078l1 1.0996h-6.3984l1-1.0996c0.2-0.2 0.2-0.60078 0-0.80078-0.1-0.1-0.25039-0.15039-0.40039-0.15039z"/>
</svg>

After

Width:  |  Height:  |  Size: 847 B

View File

@ -0,0 +1,3 @@
<svg fill="context-fill" fill-opacity="context-fill-opacity" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="m5.4746 0c-0.26491 0.013342-0.47461 0.23166-0.47461 0.5v0.5h-2c-1.108 0-2 0.892-2 2v11c0 1.108 0.892 2 2 2h10c1.108 0 2-0.892 2-2v-11c0-1.108-0.892-2-2-2h-2v-0.5c0-0.277-0.223-0.5-0.5-0.5s-0.5 0.223-0.5 0.5v0.5h-4v-0.5c0-0.277-0.223-0.5-0.5-0.5-0.0086562 0-0.016845-4.3039e-4 -0.02539 0zm-2.4746 2h9.9999c0.554 0 1 0.446 1 1v11c0 0.554-0.446 1-1 1h-10c-0.554 0-1-0.446-1-1v-11c0-0.554 0.446-1 1-1zm1.4982 3c-0.277 0-0.5 0.223-0.5 0.5s0.223 0.5 0.5 0.5h7.0017c0.277 0 0.5-0.223 0.5-0.5s-0.223-0.5-0.5-0.5zm0 3c-0.277 0-0.5 0.223-0.5 0.5s0.223 0.5 0.5 0.5h7.0017c0.277 0 0.5-0.223 0.5-0.5s-0.223-0.5-0.5-0.5zm0 3c-0.277 0-0.5 0.223-0.5 0.5s0.223 0.5 0.5 0.5h7.0017c0.277 0 0.5-0.223 0.5-0.5s-0.223-0.5-0.5-0.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 860 B

View File

@ -266,16 +266,19 @@ menu[disabled] > .menu-right {
}
/* Sound icons */
.tab-icon-overlay[soundplaying] {
.tab-icon-overlay:not([crashed])[soundplaying] {
list-style-image: url("../icons/audio-playing-symbolic.svg") !important;
background-image: none !important;
}
.tab-icon-overlay[muted] {
.tab-icon-overlay:not([crashed])[muted] {
list-style-image: url("../icons/audio-muted-symbolic.svg") !important;
background-image: none !important;
}
.tab-icon-overlay[activemedia-blocked] {
list-style-image: url("../icons/tab-audio-blocked-small.svg") !important;
background-image: none !important;
}
.tab-icon-stack[activemedia-blocked="true"] .tab-icon-image {
@ -357,7 +360,8 @@ menu[disabled] > .menu-right {
#add-ons-button,
#unified-extensions-button,
#addons-notification-icon,
.install-icon {
.install-icon,
#identity-box[pageproxystate="valid"].extensionPage #identity-icon {
list-style-image: url("../icons/application-x-addon-symbolic.svg") !important;
}
/* Find button */
@ -665,13 +669,13 @@ toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme {
list-style-image: url("../icons/tool-profiler.svg") !important;
}
/* page action */
.urlbar-page-action {
list-style-image: url("../icons/container-openin.svg") !important;
/* containers extension */
.urlbar-page-action > .urlbar-icon {
filter: none !important;
}
> .urlbar-icon {
filter: none !important;
}
#pageAction-urlbar-_testpilot-containers {
list-style-image: url("../icons/container-openin.svg") !important;
}
#_testpilot-containers-BAP .toolbarbutton-icon {
@ -703,6 +707,25 @@ toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme {
--identity-icon: url("../icons/dollar.svg") !important;
}
/* side view extension */
#pageAction-urlbar-side-view_mozilla_org,
#sidebarswitcher_menu_side-view_mozilla_org-sidebar-action,
#side-view_mozilla_org-BAP .toolbarbutton-icon,
#sidebar-box[sidebarcommand="side-view_mozilla_org-sidebar-action"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
list-style-image: url("../icons/side-view.svg") !important;
}
#side-view_mozilla_org-menuitem-_open-in-sidebar .menu-iconic-icon {
background-image: url("../icons/side-view.svg") !important;
}
/* Firefox note extension */
#notes_mozilla_com-BAP .toolbarbutton-icon,
#sidebarswitcher_menu_notes_mozilla_com-sidebar-action,
#sidebar-box[sidebarcommand="notes_mozilla_com-sidebar-action"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
list-style-image: url("../icons/universal-notepad.svg") !important;
}
/* Fix flat buttons icons aproach */
button.close::before {
content: "";