Tabsbar: Adwaita style for Need Attention indicators on pinned tabs

- New colors for these indicators
This commit is contained in:
Cleo Menezes Jr 2022-10-10 00:27:04 -03:00
parent ce98abb60e
commit 5719f1e0f7
3 changed files with 10 additions and 0 deletions

View File

@ -78,6 +78,7 @@
--gnome-tab-button-background: rgba(0, 0, 0, .5);
--gnome-tab-button-hover-background: rgba(0, 0, 0, .6);
--gnome-tabbar-tab-identity-base-opacity: 0;
--gnome-tabbar-tab-needs-attetion: #546F8E;
}
/* Private window colors */

View File

@ -78,6 +78,7 @@
--gnome-tab-button-background: rgba(255, 255, 255, .5);
--gnome-tab-button-hover-background: rgba(255, 255, 255, .6);
--gnome-tabbar-tab-identity-base-opacity: .1;
--gnome-tabbar-tab-needs-attetion: #84AEE2;
}
/* Private window colors */

View File

@ -417,6 +417,14 @@ tab {
color: var(--identity-tab-color) !important;
}
/* Needs attetion tab indicator */
.tabbrowser-tab:is([image], [pinned]) > .tab-stack > .tab-content[attention]:not([selected="true"]),
.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([selected="true"]) {
background-image: radial-gradient(var(--gnome-tabbar-tab-needs-attetion), var(--gnome-tabbar-tab-needs-attetion) 10px) !important;
background-position: center bottom !important;
background-size: 14px 2px !important;
}
/* Tab spinner */
.tab-throbber::before {
animation: gnome-spinner 1s linear infinite !important;