mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-04 13:13:04 +00:00
update
This commit is contained in:
parent
8795e203a0
commit
5c9a82d063
@ -742,17 +742,21 @@ config_firefox() {
|
||||
killall "firefox" "firefox-bin" &> /dev/null || true
|
||||
|
||||
for d in "${FIREFOX_DIR}/"*"default"*; do
|
||||
if [[ -f "${d}/prefs.js" ]]; then
|
||||
rm -rf "${d}/chrome"
|
||||
udo ln -sf "${TARGET_DIR}" "${d}/chrome"
|
||||
udoify_file "${d}/prefs.js"
|
||||
echo "user_pref(\"toolkit.legacyUserProfileCustomizations.stylesheets\", true);" >> "${d}/prefs.js"
|
||||
echo "user_pref(\"browser.tabs.drawInTitlebar\", true);" >> "${d}/prefs.js"
|
||||
echo "user_pref(\"browser.uidensity\", 0);" >> "${d}/prefs.js"
|
||||
echo "user_pref(\"layers.acceleration.force-enabled\", true);" >> "${d}/prefs.js"
|
||||
echo "user_pref(\"mozilla.widget.use-argb-visuals\", true);" >> "${d}/prefs.js"
|
||||
echo "user_pref(\"widget.gtk.rounded-bottom-corners.enabled\", true);" >> "${d}/prefs.js"
|
||||
fi
|
||||
rm -rf "${d}/chrome"
|
||||
udo ln -sf "${TARGET_DIR}" "${d}/chrome"
|
||||
rm -rf "${d}/user.js"
|
||||
udoify_file "${d}/user.js"
|
||||
# Enable customChrome.css
|
||||
echo "user_pref(\"toolkit.legacyUserProfileCustomizations.stylesheets\", true);" >> "${d}/user.js"
|
||||
echo "user_pref(\"browser.tabs.drawInTitlebar\", true);" >> "${d}/user.js"
|
||||
# Set UI density to normal
|
||||
echo "user_pref(\"browser.uidensity\", 0);" >> "${d}/user.js"
|
||||
echo "user_pref(\"layers.acceleration.force-enabled\", true);" >> "${d}/user.js"
|
||||
echo "user_pref(\"mozilla.widget.use-argb-visuals\", true);" >> "${d}/user.js"
|
||||
# Enable rounded bottom window corners
|
||||
echo "user_pref(\"widget.gtk.rounded-bottom-corners.enabled\", true);" >> "${d}/user.js"
|
||||
# Enable SVG context-propertes
|
||||
echo "user_pref(\"svg.context-properties.content.enabled\", true);" >> "${d}/user.js"
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
#TabsToolbar {
|
||||
margin-left: 491px !important;
|
||||
margin-left: 510px !important;
|
||||
}
|
||||
|
||||
/* Left window titlebuttons mode */
|
||||
@media (-moz-gtk-csd-reversed-placement) {
|
||||
#TabsToolbar {
|
||||
margin-left: 534px !important;
|
||||
margin-left: 590px !important;
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
#TabsToolbar {
|
||||
margin-left: 531px !important;
|
||||
margin-left: 552px !important;
|
||||
}
|
||||
|
||||
/* Left window titlebuttons mode */
|
||||
@media (-moz-gtk-csd-reversed-placement) {
|
||||
#TabsToolbar {
|
||||
margin-left: 574px !important;
|
||||
margin-left: 632px !important;
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
#TabsToolbar {
|
||||
margin-left: 571px !important;
|
||||
margin-left: 596px !important;
|
||||
}
|
||||
|
||||
/* Left window titlebuttons mode */
|
||||
@media (-moz-gtk-csd-reversed-placement) {
|
||||
#TabsToolbar {
|
||||
margin-left: 614px !important;
|
||||
margin-left: 686px !important;
|
||||
}
|
||||
}
|
||||
|
@ -17,23 +17,6 @@ toolbarspring {
|
||||
min-width: 360px !important;
|
||||
}
|
||||
|
||||
#urlbar[breakout][breakout-extend] {
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
width: 100% !important;
|
||||
z-index: 5 !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 8px !important;
|
||||
outline: 2px solid var(--gnome-focused-urlbar-border-color) !important;
|
||||
outline-offset: -2px;
|
||||
-moz-outline-radius: 8px;
|
||||
transition: outline 100ms ease-out;
|
||||
}
|
||||
|
||||
#urlbar:-moz-window-inactive {
|
||||
border-color: var(--gnome-inactive-headerbar-background) !important;
|
||||
}
|
||||
|
||||
#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background {
|
||||
outline-color: transparent !important;
|
||||
}
|
||||
@ -54,6 +37,13 @@ toolbarspring {
|
||||
min-width: 360px !important;
|
||||
}
|
||||
|
||||
#urlbar-background {
|
||||
box-shadow: none !important;
|
||||
border: none !important;
|
||||
background: none !important;
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
#urlbar[breakout][breakout-extend] {
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
@ -61,11 +51,17 @@ toolbarspring {
|
||||
z-index: 5 !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 8px !important;
|
||||
outline: 2px solid var(--gnome-focused-urlbar-border-color) !important;
|
||||
outline-offset: -2px;
|
||||
-moz-outline-radius: 8px;
|
||||
transition: outline 100ms ease-out;
|
||||
}
|
||||
|
||||
#urlbar[breakout][breakout-extend][open] {
|
||||
height: auto !important;
|
||||
max-height: unset !important;
|
||||
}
|
||||
|
||||
#urlbar[breakout][breakout-extend] #urlbar-input-container,
|
||||
#urlbar[breakout][breakout-extend] .urlbar-input-container {
|
||||
height: 32px !important;
|
||||
@ -73,6 +69,10 @@ toolbarspring {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#urlbar:-moz-window-inactive {
|
||||
border-color: var(--gnome-inactive-headerbar-background) !important;
|
||||
}
|
||||
|
||||
#urlbar-input {
|
||||
text-align: center !important;
|
||||
padding: 0 28px 0 0 !important;
|
||||
|
@ -2,6 +2,11 @@
|
||||
|
||||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
:root[tabsintitlebar] #nav-bar toolbaritem,
|
||||
#nav-bar-customization-target {
|
||||
-moz-window-dragging: drag;
|
||||
}
|
||||
|
||||
tab > stack {
|
||||
margin: 0 3px !important;
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ toolbarspring {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
.urlbarView-row-inner, .urlbarView-no-wrap {
|
||||
.urlbarView-row-inner, .urlbarView-no-wrap {
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
|
@ -6,10 +6,6 @@
|
||||
padding: 8px !important;
|
||||
}
|
||||
|
||||
#nav-bar-customization-target {
|
||||
-moz-window-dragging: drag;
|
||||
}
|
||||
|
||||
/* Headerbar CSD colors */
|
||||
:root[tabsintitlebar] #nav-bar {
|
||||
border: none !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user