Merge branch 'master' of https://github.com/vinceliuice/WhiteSur-gtk-theme into fix-dark-theme

ye
This commit is contained in:
Sly Kint A. Bacalso 2021-10-15 00:49:55 +08:00
commit 16ba3cab00
19 changed files with 770 additions and 30 deletions

View File

@ -176,8 +176,8 @@ Usage: `./tweaks.sh [OPTIONS...]`
<details> <summary> Options </summary> <details> <summary> Options </summary>
```bash ```bash
-f, --firefox [default|monterey] -f, --firefox [default|monterey|alt]
Install 'WhiteSur|Monterey' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur Install 'WhiteSur|Monterey|Monterey-Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-e, --edit-firefox -e, --edit-firefox
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles. Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.

View File

@ -85,7 +85,7 @@ COLOR_VARIANTS=('light' 'dark')
OPACITY_VARIANTS=('normal' 'solid') OPACITY_VARIANTS=('normal' 'solid')
ALT_VARIANTS=('normal' 'alt') ALT_VARIANTS=('normal' 'alt')
THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey') THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey')
ICON_VARIANTS=('standard' 'simple' 'gnome' 'ubuntu' 'arch' 'manjaro' 'fedora' 'debian' 'void' 'opensuse' 'popos' 'mxlinux' 'zorin') ICON_VARIANTS=('standard' 'simple' 'gnome' 'ubuntu' 'tux' 'arch' 'manjaro' 'fedora' 'debian' 'void' 'opensuse' 'popos' 'mxlinux' 'zorin')
SIDEBAR_SIZE_VARIANTS=('default' '180' '220' '240' '260' '280') SIDEBAR_SIZE_VARIANTS=('default' '180' '220' '240' '260' '280')
PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75') PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75')
PANEL_SIZE_VARIANTS=('default' 'smaller' 'bigger') PANEL_SIZE_VARIANTS=('default' 'smaller' 'bigger')

View File

@ -628,7 +628,11 @@ install_firefox_theme() {
if [[ "${monterey}" == 'true' ]]; then if [[ "${monterey}" == 'true' ]]; then
udo cp -rf "${FIREFOX_SRC_DIR}"/Monterey "${TARGET_DIR}" udo cp -rf "${FIREFOX_SRC_DIR}"/Monterey "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur/{icons,titlebuttons} "${TARGET_DIR}"/Monterey udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur/{icons,titlebuttons} "${TARGET_DIR}"/Monterey
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-Monterey.css "${TARGET_DIR}"/userChrome.css if [[ "${alttheme}" == 'true' ]]; then
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-Monterey-alt.css "${TARGET_DIR}"/userChrome.css
else
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-Monterey.css "${TARGET_DIR}"/userChrome.css
fi
else else
udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur "${TARGET_DIR}" udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-WhiteSur.css "${TARGET_DIR}"/userChrome.css udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-WhiteSur.css "${TARGET_DIR}"/userChrome.css

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#202020;}
.st1{fill:#FFFFFF;}
</style>
<title>Artboard 1</title>
<g>
<path id="path3" class="st0" d="M39.3,35.5L39.3,35.5c-0.3-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
<path id="path28396-7" class="st0" d="M23.5,13.5c0,0.1,0.2,0.1,0.3,0.1c0.1,0,0.1,0.1,0.2,0.1c0.1,0,0.2,0,0.2-0.1 s-0.1-0.2-0.2-0.2C23.8,13.4,23.6,13.4,23.5,13.5C23.5,13.4,23.5,13.5,23.5,13.5L23.5,13.5z"/>
<path id="path5461" class="st0" d="M22.5,13.5c0,0.1-0.2,0.1-0.3,0.1c-0.1,0-0.1,0.1-0.2,0.1c-0.1,0-0.2,0-0.2-0.1s0.1-0.2,0.2-0.2 C22.2,13.4,22.3,13.4,22.5,13.5C22.5,13.4,22.5,13.5,22.5,13.5L22.5,13.5z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Adobe Illustrator 24.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
.st1{fill:#202020;}
</style>
<title>Artboard 1</title>
<g>
<path class="st0" d="M16.5,1.5h15c8.3,0,15,6.7,15,15v15c0,8.3-6.7,15-15,15h-15c-8.3,0-15-6.7-15-15v-15C1.5,8.2,8.2,1.5,16.5,1.5 z"/>
<path id="path3" class="st1" d="M39.3,35.4L39.3,35.4c-0.3-0.5-0.5-1-0.5-1.5c-0.1-0.7-0.4-1.3-0.8-1.7l0,0 c-0.1-0.1-0.2-0.2-0.3-0.2l-0.3-0.1c0.6-2,0.5-4.2-0.3-6.1c-0.9-2.1-2.1-4.1-3.6-5.8c-1.3-1.7-2.6-3.3-2.6-5.6 c0-3.6,0.4-10.2-5.9-10.2H24c-7,0.6-5.2,8-5.3,10.5c-0.1,1.8-0.7,3.5-1.8,5c-1.9,2.2-3.5,4.7-4.5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7-0.3-1-0.4v-0.3 l0,0c0-0.4,0-0.9,0.2-1.3c0.1-0.4,0.4-0.7,0.7-0.9c0.3-0.2,0.6-0.4,1-0.4l0,0c0.4,0,0.7,0.1,1,0.3c0.3,0.2,0.6,0.5,0.7,0.9 C27.6,11.1,27.7,11.6,27.7,12L27.7,12L27.7,12z"/>
<path id="path17" class="st0" d="M22.3,12.4h-0.1c-0.2,0.1-0.5,0.2-0.7,0.3c0-0.1,0-0.3,0-0.4l0,0c0-0.2-0.1-0.4-0.1-0.6 c-0.1-0.1-0.2-0.3-0.3-0.4c-0.1-0.1-0.2-0.1-0.3-0.1l0,0c-0.1,0-0.2,0.1-0.3,0.2c-0.1,0.1-0.2,0.3-0.2,0.4c0,0.2,0,0.4,0,0.6l0,0 c0,0.2,0.1,0.4,0.1,0.6c0.1,0.1,0.2,0.3,0.3,0.4l0,0l-0.3,0.2l-0.2,0.2c-0.2-0.2-0.4-0.4-0.5-0.7c-0.1-0.3-0.2-0.7-0.3-1.1l0,0 c0-0.4,0-0.7,0.1-1.1c0.1-0.3,0.2-0.5,0.5-0.7c0.2-0.2,0.4-0.3,0.7-0.3h0c0.2,0,0.5,0.1,0.7,0.3c0.3,0.2,0.5,0.5,0.6,0.8 c0.1,0.3,0.2,0.7,0.2,1.1l0,0C22.3,12.2,22.3,12.3,22.3,12.4L22.3,12.4z"/>
<path id="path28396-7" class="st1" d="M23.5,13.4c0,0.1,0.2,0.1,0.3,0.1s0.1,0.1,0.2,0.1s0.2,0,0.2-0.1s-0.1-0.2-0.3-0.2 C23.8,13.3,23.7,13.3,23.5,13.4C23.5,13.4,23.5,13.4,23.5,13.4L23.5,13.4z"/>
<path id="path5461" class="st1" d="M22.6,13.4c0,0.1-0.2,0.1-0.3,0.1s-0.1,0.1-0.2,0.1s-0.2,0-0.2-0.1s0.1-0.2,0.2-0.2 C22.2,13.3,22.4,13.3,22.6,13.4C22.5,13.4,22.6,13.4,22.6,13.4L22.6,13.4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -36,6 +36,7 @@
<file>icons/scalable/actions/pointer-primary-click-symbolic.svg</file> <file>icons/scalable/actions/pointer-primary-click-symbolic.svg</file>
<file>icons/scalable/actions/pointer-secondary-click-symbolic.svg</file> <file>icons/scalable/actions/pointer-secondary-click-symbolic.svg</file>
<file>gnome-shell.css</file> <file>gnome-shell.css</file>
<file alias="gdm.css">gnome-shell.css</file>
<file alias="gdm3.css">gnome-shell.css</file> <file alias="gdm3.css">gnome-shell.css</file>
<file alias="Yaru/gnome-shell.css">gnome-shell.css</file> <file alias="Yaru/gnome-shell.css">gnome-shell.css</file>
<file alias="Yaru-dark/gnome-shell.css">gnome-shell.css</file> <file alias="Yaru-dark/gnome-shell.css">gnome-shell.css</file>

View File

@ -0,0 +1,206 @@
/* Header bar's URL bar */
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
#urlbar {
--urlbar-height: 32px !important;
--urlbar-container-height: 32px !important;
--urlbar-toolbar-height: 32px !important;
--urlbar-inner-padding: 0 !important;
}
/* Center the URL bar */
toolbarspring {
max-width: 10000px !important;
}
/* URL bar */
#urlbar {
margin-top: -2px !important;
box-shadow: none !important;
background: var(--gnome-popover-background) !important;
border-radius: 8px !important;
border: 1px solid transparent !important;
padding: 0 0 !important;
}
#urlbar-background {
box-shadow: none !important;
border: 0 !important;
background: transparent !important;
border-radius: 8px !important;
padding: 0 0 !important;
}
#urlbar:-moz-window-inactive {
border-color: var(--gnome-inactive-headerbar-background) !important;
}
#urlbar #urlbar-input-container {
padding: 0 !important;
}
#urlbar[breakout][breakout-extend] {
left: 0 !important;
top: 0 !important;
width: 100% !important;
z-index: 5 !important;
padding: 0 0 !important;
}
#urlbar[breakout][breakout-extend][open] {
height: auto !important;
max-height: unset !important;
}
#urlbar[breakout][breakout-extend] #urlbar-input-container {
height: 32px !important;
max-height: 32px !important;
padding: 0 !important;
}
#urlbar[breakout][breakout-extend][open] #urlbar-background {
box-shadow: var(--gnome-urlbar-box-shadow) !important;
}
/* URL bar results */
.urlbarView {
background: transparent !important;
color: var(--gnome-toolbar-color) !important;
margin: 0 !important;
width: 100% !important;
}
.urlbarView-body-outer {
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
max-height: 40vh !important;
overflow-x: auto;
padding: 0 8px !important;
}
.urlbarView-body-inner {
border: 0 !important;
}
.urlbarView-row-inner, .urlbarView-no-wrap {
align-items: center !important;
}
.urlbarView-row-inner {
padding-block: 5px !important;
border-radius: 5px !important;
}
.urlbarView-action {
background: transparent !important;
}
/* Search engines buttons */
.search-one-offs {
margin: 0 0 2px !important;
padding: 8px !important;
background: var(--gnome-popover-background) !important;
border-top: 1px solid var(--gnome-button-border-color) !important;
border-radius: 0 0 8px 8px !important;
}
.searchbar-engine-one-off-item {
--toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important;
-moz-appearance: none !important;
background: var(--gnome-button-background) !important;
box-shadow: var(--gnome-button-box-shadow) !important;
border: 1px solid var(--gnome-button-border-color) !important;
border-left-width: 0 !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important;
padding: 0 2px !important;
min-height: 34px !important;
min-width: 34px !important;
margin: 0 !important;
}
.searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] {
background: var(--gnome-button-hover-background) !important;
color: unset !important;
}
.searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px;
border-left-width: 1px !important;
}
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:last-child {
border-radius: 0 5px 5px 0;
}
#urlbar-anon-search-settings-compact {
border-left-width: 1px !important;
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
border-radius: 5px;
margin-left: 6px !important;
}
/* URL bar and Search bar */
#urlbar[focused] .urlbar-textbox-container {
margin: -1px !important;
}
#searchbar > .searchbar-textbox[focused] .searchbar-search-button {
margin-left: -1px !important;
}
#searchbar > .searchbar-textbox[focused] .search-go-button {
margin-right: -1px !important;
}
/* URL bar and Search bar's icons */
.urlbar-icon-wrapper:hover,
.urlbar-icon-wrapper[open],
.urlbar-icon:hover:active,
.urlbar-icon-wrapper:hover:active,
.searchbar-search-button:hover .searchbar-search-icon,
.searchbar-search-button[open] .searchbar-search-icon,
.searchbar-search-button:hover:active .searchbar-search-icon {
background-color: transparent !important;
fill-opacity: 1 !important;
}
.urlbar-icon {
width: 16px !important;
height: 16px !important;
padding: 0 1px !important;
margin: 0 !important;
}
#identity-box {
margin: 3px 2px !important;
border-radius: 5px !important;
}
.urlbar-page-action, #urlbar-go-button, .search-go-button,
#tracking-protection-icon-container {
margin: 3px 0 !important;
border-radius: 5px !important;
}
#identity-box:hover {
background: var(--gnome-headerbar-button-hover-background) !important;
}
#identity-box:active {
background: var(--gnome-headerbar-button-active-background) !important;
}
.identity-box-button {
border-radius: 5px !important;
background: none !important;
}
/* Search mode indicator */
#urlbar-search-mode-indicator,
#urlbar-label-box {
background: var(--gnome-headerbar-button-hover-background) !important;
border: none !important;
border-radius: 5px !important;
outline: 0 !important;
margin-top: 3px !important;
margin-bottom: 3px !important;
}
#urlbar-search-mode-indicator-title {
padding-inline: 4px !important;;
}
#urlbar-search-mode-indicator-close {
background-size: 12px 12px !important;
border-radius: 3px !important;
opacity: 0.8 !important;
fill: var(--gnome-toolbar-color) !important;
}

View File

@ -156,9 +156,7 @@ toolbarspring {
} }
/* URL bar and Search bar's icons */ /* URL bar and Search bar's icons */
.urlbar-icon:hover,
.urlbar-icon-wrapper:hover, .urlbar-icon-wrapper:hover,
.urlbar-icon[open],
.urlbar-icon-wrapper[open], .urlbar-icon-wrapper[open],
.urlbar-icon:hover:active, .urlbar-icon:hover:active,
.urlbar-icon-wrapper:hover:active, .urlbar-icon-wrapper:hover:active,
@ -169,18 +167,22 @@ toolbarspring {
fill-opacity: 1 !important; fill-opacity: 1 !important;
} }
#page-action-buttons { .urlbar-icon {
padding: 2px 0 !important; width: 16px !important;
height: 16px !important;
padding: 0 1px !important;
margin: 0 !important;
} }
#tracking-protection-icon-container,
#identity-box { #identity-box {
margin: 3px 2px !important; margin: 3px 2px !important;
border-radius: 5px !important; border-radius: 5px !important;
} }
.urlbar-page-action, #urlbar-go-button, .search-go-button,
#tracking-protection-icon-container { #tracking-protection-icon-container {
margin: 3px 0 !important; margin: 3px 0 !important;
border-radius: 5px !important;
} }
#identity-box:hover { #identity-box:hover {

View File

@ -1,6 +1,4 @@
/* Header bar */ /* Header bar */
@import "headerbar-urlbar.css";
@import "headerbar-private-urlbar.css";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
/* Headerbar */ /* Headerbar */

View File

@ -8,16 +8,17 @@ menupopup {
-moz-appearance: none !important; -moz-appearance: none !important;
background: var(--gnome-menu-background) !important; background: var(--gnome-menu-background) !important;
border: 1px solid var(--gnome-menu-border-color) !important; border: 1px solid var(--gnome-menu-border-color) !important;
border-radius: 8px !important; border-radius: 10px !important;
padding: 6px 0 !important; padding: 6px 0 !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
} }
#PlacesToolbar menupopup { #PlacesToolbar menupopup {
background: none !important; background: none !important;
padding: 1px 0 0 0 !important; padding: 3px 6px 8px !important;
margin-top: 0 !important; margin-top: 0 !important;
border: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
@ -74,12 +75,12 @@ panel[type="arrow"] {
.panel-subview-body, #widget-overflow-mainView, #protections-popup-footer, .panel-subview-body, #widget-overflow-mainView, #protections-popup-footer,
panelview { panelview {
border: none !important; border: none !important;
background: transparent !important; background: none !important;
} }
panelview { panelview {
padding: 8px !important; padding: 8px !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
border-radius: 12px !important; border-radius: 12px !important;
} }
@ -90,9 +91,21 @@ panelview {
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
} }
#BMB_bookmarksPopup {
margin-top: 4px !important;
padding: 0 !important;
box-shadow: none !important;
--panel-padding: 0 !important;
}
#BMB_bookmarksPopup menupopup {
padding: 6px !important;
}
panel:not([remote]), #BMB_bookmarksPopup { panel:not([remote]), #BMB_bookmarksPopup {
--arrowpanel-background: var(--gnome-popover-background) !important; --arrowpanel-background: var(--gnome-popover-background) !important;
} }
.PanelUI-subView toolbarseparator:not([orient="vertical"]) { .PanelUI-subView toolbarseparator:not([orient="vertical"]) {
margin: 10px 2px !important; margin: 10px 2px !important;
} }

View File

@ -0,0 +1,296 @@
/* Tabs bar */
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
:root {
--space-above-tabbar: 0 !important;
}
/* Fix tabs bar icon sizes */
#TabsToolbar {
--toolbarbutton-inner-padding: var(--toolbarbutton-inner-padding) !important;
}
/* Tabs bar height */
#tabbrowser-tabs,
#tabbrowser-tabs arrowscrollbox {
height: initial !important;
min-height: initial !important;
}
tab > stack {
height: 32px !important;
}
:root:not([sizemode="normal"]) .titlebar-spacer[type="pre-tabs"], :root[gtktiledwindow="true"] .titlebar-spacer[type="pre-tabs"] { /* reset */
display: flex !important;
}
#TabsToolbar .titlebar-spacer {
width: 8px !important;
}
.tabbrowser-tab {
margin: 0 4px !important;
}
.tabbrowser-tab,
.tab-background {
border: none !important;
box-shadow: none !important;
border-radius: 8px !important;
height: 32px !important;
min-height: 32px !important;
max-height: 32px !important;
padding: 0 !important;
background-image: none !important;
margin-bottom: 6px !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
color: var(--gnome-tabbar-tab-color) !important;
}
.tabbrowser-tab .tab-background:not([selected=true]) {
color: var(--gnome-tabbar-tab-active-color) !important;
}
.tab-background {
transition: background 200ms !important;
}
.tab-background:not([selected=true]) {
background: var(--gnome-tabbar-tab-background) !important;
}
.tab-background:not([selected=true]):-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-background) !important;
}
/* Tab hover */
#TabsToolbar .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) {
background: var(--gnome-tabbar-tab-hover-background) !important;
}
/* Active tab */
.tab-background[selected=true] {
background: var(--gnome-tabbar-tab-active-background) !important;
}
.tab-background[selected=true]:-moz-window-inactive {
background: var(--gnome-inactive-tabbar-tab-active-background) !important;
}
/* Center all inside tab */
.tab-content {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
min-width: 100% !important;
padding: 0 10px !important;
}
.tab-background {
transition: all 200ms;
}
/* Prevent tab icons size breaking */
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {
min-width: 16px;
}
/* Adjust tab label width */
.tab-label-container {
min-width: 0 !important;
}
/* Put tab close button and icon sound to the right */
.tab-icon-sound[soundplaying="true"], .tab-icon-sound[muted="true"],
.tab-icon-sound[activemedia-blocked="true"] {
margin-left: auto !important;
}
/*.tabbrowser-tab:not([soundplaying]):not([muted]):not([activemedia-blocked]) .tab-close-button {*/
/* margin-left: auto !important;*/
/*}*/
.tab-icon-sound {
margin-right: 6px;
}
/* Force tab favicon to the center */
.tab-throbber, .tab-throbber-fallback,
.tabbrowser-tab:not([busy]) .tab-icon-image,
.tabbrowser-tab:not([class*="identity-color-"]) .tab-icon-stack {
margin-left: auto !important;
}
/* separate class for multi-tab alignment*/
.tabbrowser-tab[class*="identity-color-"] > .tab-stack > .tab-content > .tab-icon-stack {
margin-left: auto !important;
}
/* If tab favicon is not present, force tab label to the center */
.tabbrowser-tab .tab-label-container {
margin-left: 0 !important;
margin-right: auto !important;
}
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
margin-left: auto !important;
}
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stack {
margin-left: 0 !important;
}
/* Fix website with no favicon centred text */
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
margin-left: 0 !important
}
.tabbrowser-tab:not([image], [busy]) .tab-icon-stack {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
margin-block: 0 !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
padding-inline: 0px !important;
}
}
.close-icon {
height: 16px !important;
padding: 0 !important;
width: 16px !important;
}
.tab-close-button {
-moz-appearance: none !important;
margin-inline-end: 0 !important;
border: none !important;
box-sizing: content-box; /* Avoid deformation on flexbox */
border-radius: 3px !important;
list-style-image: url("../icons/window-close-symbolic.svg") !important;
height: 16px;
opacity: .3;
padding: 0;
width: 16px;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
visibility: hidden;
}
.tabbrowser-tab:hover > .tab-stack > .tab-content > .tab-close-button {
visibility: visible;
}
@media (prefers-color-scheme: dark) {
.tab-close-button {
list-style-image: url("../icons/window-close-symbolic-light.svg") !important;
}
}
:root:-moz-window-inactive .tab-close-button:not(#hack) {
opacity: .18 !important;
}
:root:not(:-moz-window-inactive) .tab-close-button:hover {
background-color: var(--gnome-button-hover-color) !important;
border: none !important;
opacity: 1;
}
:root:not(:-moz-window-inactive) .tab-close-button:active {
background-color: var(--gnome-button-active-color) !important;
}
.tab-close-button:active:not(:hover) {
background-image: none !important;
box-shadow: none !important;
}
/* Tab close button etc. positioning */
.tab-throbber, .tab-icon-image, .tab-sharing-icon-overlay, .tab-icon-sound, .tab-close-button {
margin-top: 0 !important;
}
/* Remove blue line above tabs */
.tab-line {
display: none;
}
/* Remove tab separators */
.tabbrowser-tab::after,
.tabbrowser-tab::before {
border-color: transparent !important;
border-image: none !important;
}
/* Full width tabs */
.tabbrowser-tab:not([style^="max-width"]):not([pinned]),
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]) {
max-width: 100% !important;
}
.tabbrowser-tab:not([style^="max-width"]):not([pinned]):not([fadein]),
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]):not([fadein]) {
max-width: .1px !important;
}
/* Remove container bottom line indicator */
/* Remove alt colours references for multi tabs*/
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line {
display: none;
}
.tabbrowser-tab[class*="identity-color-"][pinned] {
display: flex;
}
#TabsToolbar #alltabs-button {
padding: 0 0 !important;
visibility: collapse !important;
}
#TabsToolbar .toolbarbutton-1,
#tabs-newtab-button, #TabsToolbar #new-tab-button {
margin: 0 2px !important;
padding: 0 10px !important;
max-height: 32px !important;
min-height: 32px !important;
}
#TabsToolbar .toolbarbutton-1 image,
#tabs-newtab-button image, #TabsToolbar #new-tab-button image {
margin: 0 !important;
padding: 0 !important;
height: 16px !important;
width: 16px !important;
}
#TabsToolbar #scrollbutton-up, #TabsToolbar #scrollbutton-down {
max-height: 32px !important;
min-height: 32px !important;
}
#TabsToolbar #scrollbutton-up image, #TabsToolbar #scrollbutton-down image {
margin: 0 !important;
padding: 0 !important;
height: 16px !important;
width: 16px !important;
}

View File

@ -0,0 +1,91 @@
/* Toolbox, a container for all toolbars (toolbox#navigator-toolbox):
* - menu bar (toolbar#toolbar-menubar)
* - tab bar (toolbar#TabsToolbar)
* - header bar (toolbar#nav-bar)
* - bookmark bar (toolbar#PersonalToolbar)
* - add-ons can add their own toolbars (toolbar) */
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
#nav-bar, #PersonalToolbar, #toolbar-menubar, #TabsToolbar {
border: 0 !important;
color: var(--gnome-toolbar-color);
background: var(--gnome-toolbar-background) !important;
border-bottom: none !important;
}
findbar {
border: 0 !important;
background: var(--gnome-findbar-background) !important;
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
}
#nav-bar:-moz-window-inactive,
#PersonalToolbar:-moz-window-inactive,
#toolbar-menubar:-moz-window-inactive,
#TabsToolbar:-moz-window-inactive,
findbar:-moz-window-inactive {
background: var(--gnome-inactive-toolbar-background) !important;
}
/* Toolbox colors */
#navigator-toolbox {
border: 0 !important;
background: none !important;
}
.toolbarbutton-icon {
color: var(--gnome-toolbar-color);
fill: var(--gnome-toolbar-color);
}
#titlebar {
min-height: 0 !important
max-height: 36px !important;
}
#nav-bar {
border: none !important;
box-shadow: none !important;
border-top-width: 0px !important;
border-bottom-width: 0px !important;
}
/* allow to drag headerbar empty space */
:root[tabsintitlebar] #nav-bar .chromeclass-location {
-moz-window-dragging: drag !important;
}
#toolbar-menubar:not([inactive=true]) {
margin-bottom: 0 !important;
}
/* Reorder toolbars */
#navigator-toolbox #nav-bar, findbar {
-moz-box-ordinal-group: 0;
}
#navigator-toolbox #PersonalToolbar {
-moz-box-ordinal-group: 1;
}
#navigator-toolbox #titlebar {
-moz-box-ordinal-group: 2;
}
#navigator-toolbox toolbar {
-moz-box-ordinal-group: 10;
}
#navigator-toolbox #TabsToolbar {
-moz-box-ordinal-group: 100;
}
#PersonalToolbar {
padding: 0 4px !important;
height: 32px !important;
}
/* bookmark-item */
toolbarbutton.bookmark-item {
padding: 0 4px; !important;
margin: 0 2px !important;
border-radius: 3px !important;
max-height: 20px !important;
}

View File

@ -0,0 +1,26 @@
@import "parts/toolbox-alt.css";
@import "parts/buttons.css";
@import "parts/entries.css";
@import "parts/controls.css";
@import "parts/headerbar-urlbar-alt.css";
@import "parts/headerbar-private-urlbar.css";
@import "parts/headerbar.css";
@import "parts/csd.css";
@import "parts/titlebutton-light.css";
@import "parts/titlebutton-dark.css";
@import "parts/popups.css";
@import "parts/tabsbar-alt.css";
@import "parts/findbar.css";
@import "parts/dialogs.css";
@import "parts/remove-white-flash.css";
@import "parts/custom-icons.css";
@import "parts/icons.css";
@import "colors/light.css";
@import "colors/dark.css";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
/* Set theme version text in customization panel */
#customization-footer::before {
content: "Firefox Monterey theme";
padding: 10px;
}

View File

@ -2,6 +2,8 @@
@import "parts/buttons.css"; @import "parts/buttons.css";
@import "parts/entries.css"; @import "parts/entries.css";
@import "parts/controls.css"; @import "parts/controls.css";
@import "parts/headerbar-urlbar.css";
@import "parts/headerbar-private-urlbar.css";
@import "parts/headerbar.css"; @import "parts/headerbar.css";
@import "parts/csd.css"; @import "parts/csd.css";
@import "parts/titlebutton-light.css"; @import "parts/titlebutton-light.css";

View File

@ -143,9 +143,7 @@ toolbarspring {
} }
/* URL bar and Search bar's icons */ /* URL bar and Search bar's icons */
.urlbar-icon:hover,
.urlbar-icon-wrapper:hover, .urlbar-icon-wrapper:hover,
.urlbar-icon[open],
.urlbar-icon-wrapper[open], .urlbar-icon-wrapper[open],
.urlbar-icon:hover:active, .urlbar-icon:hover:active,
.urlbar-icon-wrapper:hover:active, .urlbar-icon-wrapper:hover:active,
@ -156,18 +154,22 @@ toolbarspring {
fill-opacity: 1 !important; fill-opacity: 1 !important;
} }
#page-action-buttons { .urlbar-icon {
padding: 2px 0 !important; width: 16px !important;
height: 16px !important;
padding: 0 1px !important;
margin: 0 !important;
} }
#tracking-protection-icon-container,
#identity-box { #identity-box {
margin: 3px 2px !important; margin: 3px 2px !important;
border-radius: 5px !important; border-radius: 5px !important;
} }
.urlbar-page-action, #urlbar-go-button, .search-go-button,
#tracking-protection-icon-container { #tracking-protection-icon-container {
margin: 3px 0 !important; margin: 3px 0 !important;
border-radius: 5px !important;
} }
#identity-box:hover { #identity-box:hover {

View File

@ -11,13 +11,14 @@ menupopup {
border-radius: 10px !important; border-radius: 10px !important;
padding: 6px 0 !important; padding: 6px 0 !important;
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
} }
#PlacesToolbar menupopup { #PlacesToolbar menupopup {
background: none !important; background: none !important;
padding: 1px 0 0 0 !important; padding: 3px 6px 8px !important;
margin-top: 0 !important; margin-top: 0 !important;
border: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
@ -74,12 +75,12 @@ panel[type="arrow"] {
.panel-subview-body, #widget-overflow-mainView, #protections-popup-footer, .panel-subview-body, #widget-overflow-mainView, #protections-popup-footer,
panelview { panelview {
border: none !important; border: none !important;
background: transparent !important; background: none !important;
} }
panelview { panelview {
padding: 8px !important; padding: 8px !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
border-radius: 12px !important; border-radius: 12px !important;
} }
@ -90,9 +91,21 @@ panelview {
color: var(--gnome-toolbar-color) !important; color: var(--gnome-toolbar-color) !important;
} }
#BMB_bookmarksPopup {
margin-top: 4px !important;
padding: 0 !important;
box-shadow: none !important;
--panel-padding: 0 !important;
}
#BMB_bookmarksPopup menupopup {
padding: 6px !important;
}
panel:not([remote]), #BMB_bookmarksPopup { panel:not([remote]), #BMB_bookmarksPopup {
--arrowpanel-background: var(--gnome-popover-background) !important; --arrowpanel-background: var(--gnome-popover-background) !important;
} }
.PanelUI-subView toolbarseparator:not([orient="vertical"]) { .PanelUI-subView toolbarseparator:not([orient="vertical"]) {
margin: 10px 2px !important; margin: 10px 2px !important;
} }

View File

@ -322,11 +322,6 @@ tab[selected]:-moz-window-inactive {
display: none !important; display: none !important;
} }
/* Remove container bottom line indicator */
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line {
display: none;
}
/* Create new container tab indicator */ /* Create new container tab indicator */
.tabbrowser-tab[class*="identity-color-"] .tab-content::before { .tabbrowser-tab[class*="identity-color-"] .tab-content::before {
content: ""; content: "";

View File

@ -0,0 +1,42 @@
/*------------------------USAGE----------------------------
* Remove "/*" at the begining of "@import" line to ENABLE.
* Add "/*" at the begining of "@import" line to DISABLE.
*/
@import "Monterey/theme-alt.css"; /**/
/*--------------Configure common theme features--------------*/
/* Move tab close button to left. */
/*@import "Monterey/left-tab-close-button.css"; /**/
/* Hide the tab bar when only one tab is open (GNOMISH)
* You should move the new tab button somewhere else for this to work, because by
* default it is on the tab bar too. */
@import "Monterey/hide-single-tab.css"; /**/
/* Limit the URL bar's autocompletion popup's width to the URL bar's width (GNOMISH)
* This feature is included by default for Firefox 70+ */
/*@import "Monterey/matching-autocomplete-width.css"; /**/
/* Rounded window even when it gets maximized */
/*@import "Monterey/rounded-window-maximized.css"; /**/
/* Active tab high contrast */
/*@import "Monterey/active-tab-contrast.css"; /**/
/* Use system theme icons instead of Adwaita icons included by theme [BUGGED] */
/*@import "Monterey/system-icons.css"; /**/
/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED] */
/* It can activate button action, with unpleasant behavior. */
/*@import "Monterey/drag-window-headerbar-buttons.css"; /**/
/* Make all tab icons look kinda like symbolic icons */
/*@import "Monterey/symbolic-tab-icons.css"; /**/
/* Hide window buttons (close/min/max) in maximized windows */
/*@import "Monterey/hide-window-buttons.css"; /**/
/* Import your custom stylesheet */
@import "customChrome.css"; /**/

View File

@ -87,6 +87,12 @@ while [[ $# -gt 0 ]]; do
name="Monterey" name="Monterey"
shift 1 shift 1
;; ;;
alt)
monterey="true"
alttheme="true"
name="Monterey"
shift 1
;;
esac esac
done done