update
This commit is contained in:
parent
947fc627cf
commit
4e299c7fb9
@ -744,12 +744,22 @@ edit_firefox_theme_prefs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
remove_firefox_theme() {
|
remove_firefox_theme() {
|
||||||
rm -rf "${FIREFOX_DIR_HOME}/"*"default"*"/chrome"
|
if has_snap_app firefox; then
|
||||||
rm -rf "${FIREFOX_THEME_DIR}"
|
local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
|
||||||
rm -rf "${FIREFOX_FLATPAK_DIR_HOME}/"*"default"*"/chrome"
|
elif has_flatpak_app org.mozilla.firefox; then
|
||||||
rm -rf "${FIREFOX_FLATPAK_THEME_DIR}"
|
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
|
||||||
rm -rf "${FIREFOX_SNAP_DIR_HOME}/"*"default"*"/chrome"
|
else
|
||||||
rm -rf "${FIREFOX_SNAP_THEME_DIR}"
|
local TARGET_DIR="${FIREFOX_THEME_DIR}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -f "${TARGET_DIR}"/customChrome.css && ! -f "${TARGET_DIR}"/customChrome.css.bak ]] && cp -r "${TARGET_DIR}"/customChrome.css "${TARGET_DIR}"/customChrome.css.bak
|
||||||
|
[[ -f "${TARGET_DIR}"/userChrome.css && ! -f "${TARGET_DIR}"/userChrome.css.bak ]] && cp -r "${TARGET_DIR}"/userChrome.css "${TARGET_DIR}"/userChrome.css.bak
|
||||||
|
[[ -f "${TARGET_DIR}"/userContent.css && ! -f "${TARGET_DIR}"/userContent.css.bak ]] && cp -r "${TARGET_DIR}"/userContent.css "${TARGET_DIR}"/userContent.css.bak
|
||||||
|
|
||||||
|
rm -rf "${TARGET_DIR}/${THEME_NAME}"
|
||||||
|
rm -rf "${TARGET_DIR}"/customChrome.css
|
||||||
|
rm -rf "${TARGET_DIR}"/userChrome.css
|
||||||
|
rm -rf "${TARGET_DIR}"/userContent.css
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -62,6 +62,21 @@
|
|||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Tabs separators */
|
||||||
|
.tabbrowser-tab {
|
||||||
|
border-width: 1px !important;
|
||||||
|
border-left: 1px solid transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab + .tabbrowser-tab:not([selected], :hover) {
|
||||||
|
border-color: var(--gnome-toolbar-border-color) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab[selected] + .tabbrowser-tab,
|
||||||
|
.tabbrowser-tab:hover + .tabbrowser-tab {
|
||||||
|
border-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Space between tabs */
|
/* Space between tabs */
|
||||||
.tabbrowser-tab:not([pinned=true]) {
|
.tabbrowser-tab:not([pinned=true]) {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user