Tabsbar: Use spinner by default and remove optional feature

This commit is contained in:
Rafael Mardojai CM 2022-05-15 17:09:05 -05:00
parent e63c67c7ef
commit b38aaaf27f
2 changed files with 12 additions and 24 deletions

View File

@ -170,14 +170,6 @@ Optional features can be enabled by creating new `boolean` preferences in `about
> **Note:** You should move the new tab button somewhere else for this to work, because by default it is on the tab bar too. See [#54](https://github.com/rafaelmardojai/firefox-gnome-theme/issues/54).
- **Spinner** `gnomeTheme.spinner`
Use the GNOME spinner for tabs loading.
> **Note:** This is optional because Firefox has issues rendering the spinner SVG:
>
> <img src="theme/icons/process-working-symbolic.svg" alt="GTK Spinner" width="50"/>
- **Normal width tabs** `gnomeTheme.normalWidthTabs`
Use normal width tabs as default Firefox.

View File

@ -418,24 +418,20 @@ tab[selected]:-moz-window-inactive {
opacity: .1;
}
/* OPTIONAL: GNOME spinner */
/* Temporal until I find time to work around the rendering issue */
@supports -moz-bool-pref("gnomeTheme.spinner") {
/* Tab spinner */
.tab-throbber::before {
/* Tab spinner */
.tab-throbber::before {
animation: gnome-spinner 1s linear infinite !important;
background-image: url("../icons/process-working-symbolic.svg") !important;
width: 16px !important;
opacity: 1 !important;
}
@keyframes gnome-spinner {
}
@keyframes gnome-spinner {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
/* OPTIONAL: Hide single tab */