Fixed #647 , Fixed #641

This commit is contained in:
vinceliuice 2022-07-16 14:59:22 +08:00
parent 91ff3963d8
commit 0feae1bbfd
4 changed files with 19 additions and 18 deletions

View file

@ -657,10 +657,10 @@ install_firefox_theme() {
} }
config_firefox() { config_firefox() {
if has_snap_app firefox; then # if has_snap_app firefox; then
local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" # local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}" # local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}"
elif has_flatpak_app org.mozilla.firefox; then if has_flatpak_app org.mozilla.firefox; then
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
local FIREFOX_DIR="${FIREFOX_FLATPAK_DIR_HOME}" local FIREFOX_DIR="${FIREFOX_FLATPAK_DIR_HOME}"
else else
@ -685,9 +685,9 @@ config_firefox() {
} }
edit_firefox_theme_prefs() { edit_firefox_theme_prefs() {
if has_snap_app firefox; then # if has_snap_app firefox; then
local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" # local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}"
elif has_flatpak_app org.mozilla.firefox; then if has_flatpak_app org.mozilla.firefox; then
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
else else
local TARGET_DIR="${FIREFOX_THEME_DIR}" local TARGET_DIR="${FIREFOX_THEME_DIR}"

View file

@ -28,7 +28,7 @@
/* Popovers subview menu arrow */ /* Popovers subview menu arrow */
.PanelUI-subView .subviewbutton-nav::after { .PanelUI-subView .subviewbutton-nav::after {
content: "" !important; content: "" !important;
background: url("../icons/pan-start-symbolic.svg"); background: url("../icons/pan-end-symbolic.svg");
background-size: contain; background-size: contain;
height: 16px; height: 16px;
width: 16px; width: 16px;

View file

@ -18,6 +18,10 @@ tab > stack {
background-image: none !important; background-image: none !important;
} }
.tabbrowser-tab {
margin: 2px 0 0 !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme { .tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
color: var(--gnome-tabbar-tab-color) !important; color: var(--gnome-tabbar-tab-color) !important;
} }
@ -27,6 +31,8 @@ tab > stack {
} }
.tab-background { .tab-background {
margin: 0 !important;
background-color: transparent !important;
transition: background 200ms !important; transition: background 200ms !important;
} }
@ -115,11 +121,6 @@ tab > stack {
display: flex; display: flex;
} }
.tab-background {
background-color: transparent !important;
transition: all 200ms;
}
#TabsToolbar #alltabs-button { #TabsToolbar #alltabs-button {
padding: 0 0 !important; padding: 0 0 !important;
visibility: collapse !important; visibility: collapse !important;
@ -127,7 +128,7 @@ tab > stack {
#TabsToolbar .toolbarbutton-1, #TabsToolbar .toolbarbutton-1,
#tabs-newtab-button, #TabsToolbar #new-tab-button { #tabs-newtab-button, #TabsToolbar #new-tab-button {
margin: 4px 2px -4px !important; margin: 2px 2px 0 !important;
padding: 0 10px !important; padding: 0 10px !important;
max-height: 32px !important; max-height: 32px !important;
min-height: 32px !important; min-height: 32px !important;

View file

@ -40,15 +40,15 @@ findbar:-moz-window-inactive {
#titlebar { #titlebar {
min-height: 0 !important min-height: 0 !important
max-height: 36px !important; max-height: 48px !important;
} }
#TabsToolbar { #TabsToolbar {
margin-top: -44px !important; margin-top: -42px !important;
padding: 0 !important; padding: 0 !important;
margin-bottom: 8px !important; margin-bottom: 6px !important;
background: none !important; background: none !important;
max-height: 36px !important; max-height: 48px !important;
} }
#nav-bar { #nav-bar {