mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 07:23:02 +00:00
update
This commit is contained in:
parent
836c8c73f7
commit
e7841d81b8
@ -376,4 +376,5 @@ tab[selected]:-moz-window-inactive .tab-label {
|
|||||||
|
|
||||||
#firefox-view-button > .toolbarbutton-icon {
|
#firefox-view-button > .toolbarbutton-icon {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
@ -250,6 +250,7 @@ tab[selected]:-moz-window-inactive .tab-label {
|
|||||||
#firefox-view-button > .toolbarbutton-icon {
|
#firefox-view-button > .toolbarbutton-icon {
|
||||||
filter: none !important;
|
filter: none !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove shadow next to tab scroll buttons */
|
/* Remove shadow next to tab scroll buttons */
|
||||||
|
@ -437,6 +437,7 @@ tab[selected]:-moz-window-inactive {
|
|||||||
|
|
||||||
#firefox-view-button > .toolbarbutton-icon {
|
#firefox-view-button > .toolbarbutton-icon {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar #firefox-view-button[open] {
|
#TabsToolbar #firefox-view-button[open] {
|
||||||
|
@ -7,76 +7,76 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar {
|
#TabsToolbar {
|
||||||
/* Remove hover effects on tab bar buttons */
|
/* Remove hover effects on tab bar buttons */
|
||||||
--toolbarbutton-active-background: transparent !important;
|
--toolbarbutton-active-background: transparent !important;
|
||||||
--toolbarbutton-hover-background: transparent !important;
|
--toolbarbutton-hover-background: transparent !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
box-shadow: inset 0 1px var(--gnome-toolbar-border-color), inset 0 1px 3px rgba(0, 0, 0, 0.08) !important;
|
box-shadow: inset 0 1px var(--gnome-toolbar-border-color), inset 0 1px 3px rgba(0, 0, 0, 0.08) !important;
|
||||||
|
|
||||||
/* New hover effect */
|
/* New hover effect */
|
||||||
toolbarbutton {
|
toolbarbutton {
|
||||||
fill-opacity: .6 !important;
|
fill-opacity: .6 !important;
|
||||||
}
|
}
|
||||||
toolbarbutton:not([disabled]):hover,
|
toolbarbutton:not([disabled]):hover,
|
||||||
toolbarbutton[open=true] {
|
toolbarbutton[open=true] {
|
||||||
fill-opacity: 1 !important;
|
fill-opacity: 1 !important;
|
||||||
}
|
}
|
||||||
/* Tabs bar height */
|
/* Tabs bar height */
|
||||||
#tabbrowser-tabs {
|
#tabbrowser-tabs {
|
||||||
--tab-min-height: 32px !important;
|
--tab-min-height: 32px !important;
|
||||||
--tabstrip-min-height: 32px !important;
|
--tabstrip-min-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-background, .tab-stack {
|
.tab-background, .tab-stack {
|
||||||
min-height: 32px !important;
|
min-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
|
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
|
||||||
max-height: 32px !important;
|
max-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-items {
|
.toolbar-items {
|
||||||
margin-bottom: -1px !important;
|
margin-bottom: -1px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove shadow next to tab scroll buttons */
|
/* Remove shadow next to tab scroll buttons */
|
||||||
.arrowscrollbox-overflow-start-indicator,
|
.arrowscrollbox-overflow-start-indicator,
|
||||||
.arrowscrollbox-overflow-end-indicator {
|
.arrowscrollbox-overflow-end-indicator {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove tab separators */
|
/* Remove tab separators */
|
||||||
.tabbrowser-tab::after,
|
.tabbrowser-tab::after,
|
||||||
.tabbrowser-tab::before {
|
.tabbrowser-tab::before {
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tabs separators */
|
/* Tabs separators */
|
||||||
.tabbrowser-tab {
|
.tabbrowser-tab {
|
||||||
border-left: 1px solid transparent !important;
|
border-left: 1px solid transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab + .tabbrowser-tab:not([selected], :hover) {
|
.tabbrowser-tab + .tabbrowser-tab:not([selected], :hover) {
|
||||||
border-color: var(--gnome-tabbar-tab-border-color) !important;
|
border-color: var(--gnome-tabbar-tab-border-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab[selected] + .tabbrowser-tab,
|
.tabbrowser-tab[selected] + .tabbrowser-tab,
|
||||||
.tabbrowser-tab:hover + .tabbrowser-tab {
|
.tabbrowser-tab:hover + .tabbrowser-tab {
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:first-of-type {
|
.tabbrowser-tab:first-of-type {
|
||||||
border-left: none !important;
|
border-left: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Space between tabs */
|
/* Space between tabs */
|
||||||
.tabbrowser-tab:not([pinned]) {
|
.tabbrowser-tab:not([pinned]) {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Center all inside tab */
|
/* Center all inside tab */
|
||||||
.tab-content {
|
.tab-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
@ -84,134 +84,134 @@ toolbarbutton[open=true] {
|
|||||||
min-width: 44px !important;
|
min-width: 44px !important;
|
||||||
min-height: 32px !important;
|
min-height: 32px !important;
|
||||||
padding: 0 8px !important;
|
padding: 0 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix custom info tab icon */
|
/* Fix custom info tab icon */
|
||||||
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([pinned]):not([busy]):not([progress]) .tab-icon-stack::before {
|
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([pinned]):not([busy]):not([progress]) .tab-icon-stack::before {
|
||||||
margin-inline-end: 5.5px;
|
margin-inline-end: 5.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevent tab icons size breaking */
|
/* Prevent tab icons size breaking */
|
||||||
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {
|
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Center tab text */
|
/* Center tab text */
|
||||||
.tab-label {
|
.tab-label {
|
||||||
margin-inline: 0 !important;
|
margin-inline: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Adjust tab label width */
|
/* Adjust tab label width */
|
||||||
.tab-label-container {
|
.tab-label-container {
|
||||||
min-width: 0 !important;
|
min-width: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([pinned]) .tab-label-container {
|
.tabbrowser-tab:not([pinned]) .tab-label-container {
|
||||||
max-width: min-content !important;
|
max-width: min-content !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab[pinned] .tab-label-container {
|
.tabbrowser-tab[pinned] .tab-label-container {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-throbber:not([pinned]), .tab-icon-pending:not([pinned]), .tab-icon-image:not([pinned]), .tab-sharing-icon-overlay:not([pinned]), .tab-icon-overlay:not([pinned]) {
|
.tab-throbber:not([pinned]), .tab-icon-pending:not([pinned]), .tab-icon-image:not([pinned]), .tab-sharing-icon-overlay:not([pinned]), .tab-icon-overlay:not([pinned]) {
|
||||||
margin-inline-end: 0 !important;
|
margin-inline-end: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([soundplaying], [muted], [activemedia-blocked], [crashed]) .tab-icon-stack {
|
.tabbrowser-tab:not([soundplaying], [muted], [activemedia-blocked], [crashed]) .tab-icon-stack {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide secondary label about muting */
|
/* Hide secondary label about muting */
|
||||||
.tabbrowser-tab:is([soundplaying], [muted], [activemedia-blocked], [crashed]) .tab-secondary-label {
|
.tabbrowser-tab:is([soundplaying], [muted], [activemedia-blocked], [crashed]) .tab-secondary-label {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Put tab close button and icon sound to the right */
|
/* Put tab close button and icon sound to the right */
|
||||||
.tab-icon-sound[soundplaying="true"], .tab-icon-sound[muted="true"],
|
.tab-icon-sound[soundplaying="true"], .tab-icon-sound[muted="true"],
|
||||||
.tab-icon-sound[activemedia-blocked="true"] {
|
.tab-icon-sound[activemedia-blocked="true"] {
|
||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
}
|
}
|
||||||
/*.tabbrowser-tab:not([soundplaying]):not([muted]):not([activemedia-blocked]) .tab-close-button {*/
|
/*.tabbrowser-tab:not([soundplaying]):not([muted]):not([activemedia-blocked]) .tab-close-button {*/
|
||||||
/* margin-left: auto !important;*/
|
/* margin-left: auto !important;*/
|
||||||
/*}*/
|
/*}*/
|
||||||
.tab-icon-sound {
|
.tab-icon-sound {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Force tab favicon to the center */
|
/* Force tab favicon to the center */
|
||||||
.tab-throbber, .tab-throbber-fallback,
|
.tab-throbber, .tab-throbber-fallback,
|
||||||
.tabbrowser-tab:not([busy]):not([muted="true"]) .tab-icon-image,
|
.tabbrowser-tab:not([busy]):not([muted="true"]) .tab-icon-image,
|
||||||
.tabbrowser-tab .tab-icon-stack {
|
.tabbrowser-tab .tab-icon-stack {
|
||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:is([pinned]) .tab-icon-stack {
|
.tabbrowser-tab:is([pinned]) .tab-icon-stack {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([busy]):not([muted="true"]) .tab-icon-stack .tab-icon-image {
|
.tabbrowser-tab:not([busy]):not([muted="true"]) .tab-icon-stack .tab-icon-image {
|
||||||
margin: auto !important;
|
margin: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If tab favicon is not present, force tab label to the center */
|
/* If tab favicon is not present, force tab label to the center */
|
||||||
.tabbrowser-tab .tab-label-container {
|
.tabbrowser-tab .tab-label-container {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-right: auto !important;
|
margin-right: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
|
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
|
||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix website with no favicon centred text */
|
/* Fix website with no favicon centred text */
|
||||||
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
|
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
|
||||||
margin-left: 0 !important
|
margin-left: 0 !important
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([image], [busy]) .tab-icon-stack {
|
.tabbrowser-tab:not([image], [busy]) .tab-icon-stack {
|
||||||
margin-left: 0 !important
|
margin-left: 0 !important
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Align personal bookmarks v89 */
|
/*Align personal bookmarks v89 */
|
||||||
#personal-bookmarks {
|
#personal-bookmarks {
|
||||||
-moz-box-align: center !important;
|
-moz-box-align: center !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fix misc spacing between tabs */
|
/* fix misc spacing between tabs */
|
||||||
.tabbrowser-tab {
|
.tabbrowser-tab {
|
||||||
padding-inline: 0 !important;
|
padding-inline: 0 !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab[selected="true"] > .tab-stack > .tab-background {
|
.tabbrowser-tab[selected="true"] > .tab-stack > .tab-background {
|
||||||
margin-left: 0px !important;
|
margin-left: 0px !important;
|
||||||
margin-right: 0px !important;
|
margin-right: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* centre text when audio is playing */
|
/* centre text when audio is playing */
|
||||||
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
|
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-right: auto !important
|
margin-right: auto !important
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
.tab-background {
|
.tab-background {
|
||||||
transition: background-color 200ms;
|
transition: background-color 200ms;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
margin-block: 0 !important;
|
margin-block: 0 !important;
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tab hover */
|
/* Tab hover */
|
||||||
.tabbrowser-tab:not([selected=true]):hover .tab-background {
|
.tabbrowser-tab:not([selected=true]):hover .tab-background {
|
||||||
background-color: var(--gnome-tabbar-tab-hover-background) !important;
|
background-color: var(--gnome-tabbar-tab-hover-background) !important;
|
||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
box-shadow: inset 0 1px var(--gnome-tabbar-tab-hover-border-color), inset 0 -1px var(--gnome-tabbar-tab-hover-border-color) !important;
|
box-shadow: inset 0 1px var(--gnome-tabbar-tab-hover-border-color), inset 0 -1px var(--gnome-tabbar-tab-hover-border-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Active tab */
|
/* Active tab */
|
||||||
.tab-background:is([selected]) {
|
.tab-background:is([selected]) {
|
||||||
background-color: var(--gnome-tabbar-tab-active-background) !important;
|
background-color: var(--gnome-tabbar-tab-active-background) !important;
|
||||||
background-image: none !important;
|
background-image: none !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
@ -223,59 +223,59 @@ toolbarbutton[open=true] {
|
|||||||
box-shadow: 1px 0 var(--gnome-tabbar-tab-active-border-color), 1px 0 3px rgba(0, 0, 0, 0.08),
|
box-shadow: 1px 0 var(--gnome-tabbar-tab-active-border-color), 1px 0 3px rgba(0, 0, 0, 0.08),
|
||||||
-1px 0 var(--gnome-tabbar-tab-active-border-color), -1px 0 3px rgba(0, 0, 0, 0.08),
|
-1px 0 var(--gnome-tabbar-tab-active-border-color), -1px 0 3px rgba(0, 0, 0, 0.08),
|
||||||
inset 0 -1px var(--gnome-tabbar-tab-active-border-color) !important;
|
inset 0 -1px var(--gnome-tabbar-tab-active-border-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-background:is([selected]):-moz-window-inactive {
|
.tab-background:is([selected]):-moz-window-inactive {
|
||||||
background-color: var(--gnome-inactive-tabbar-tab-active-background) !important;
|
background-color: var(--gnome-inactive-tabbar-tab-active-background) !important;
|
||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tabs scroll buttons */
|
/* Tabs scroll buttons */
|
||||||
#scrollbutton-up:not([disabled]):hover,
|
#scrollbutton-up:not([disabled]):hover,
|
||||||
#scrollbutton-down:not([disabled]):hover {
|
#scrollbutton-down:not([disabled]):hover {
|
||||||
background: var(--gnome-tabbar-tab-active-hover-background) !important;
|
background: var(--gnome-tabbar-tab-active-hover-background) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Full width tabs */
|
/* Full width tabs */
|
||||||
.tabbrowser-tab:not([style^="max-width"]):not([pinned]),
|
.tabbrowser-tab:not([style^="max-width"]):not([pinned]),
|
||||||
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]) {
|
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]) {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabbrowser-tab:not([style^="max-width"]):not([pinned]):not([fadein]),
|
.tabbrowser-tab:not([style^="max-width"]):not([pinned]):not([fadein]),
|
||||||
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]):not([fadein]) {
|
.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]):not([fadein]) {
|
||||||
max-width: .1px !important;
|
max-width: .1px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Remove blank spaces on tabs start and end */
|
/* Remove blank spaces on tabs start and end */
|
||||||
.titlebar-spacer {
|
.titlebar-spacer {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TabsToolbar buttons */
|
/* TabsToolbar buttons */
|
||||||
.toolbarbutton-1 {
|
.toolbarbutton-1 {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
border-radius: 0 !important;
|
border-radius: 0 !important;
|
||||||
min-width: 32px !important;
|
min-width: 32px !important;
|
||||||
min-height: 32px !important;
|
min-height: 32px !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbarbutton-1 > .toolbarbutton-icon,
|
.toolbarbutton-1 > .toolbarbutton-icon,
|
||||||
.toolbarbutton-1 > .toolbarbutton-text,
|
.toolbarbutton-1 > .toolbarbutton-text,
|
||||||
.toolbarbutton-1 > .toolbarbutton-badge-stack {
|
.toolbarbutton-1 > .toolbarbutton-badge-stack {
|
||||||
padding: 8px !important;
|
padding: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbarbutton-1 > .toolbarbutton-icon {
|
.toolbarbutton-1 > .toolbarbutton-icon {
|
||||||
width: 32px !important;
|
width: 32px !important;
|
||||||
height: 32px !important;
|
height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#alltabs-button {
|
#alltabs-button {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[tabsintitlebar][inFullscreen] #TabsToolbar .toolbar-items {
|
:root[tabsintitlebar][inFullscreen] #TabsToolbar .toolbar-items {
|
||||||
@ -430,6 +430,7 @@ tab[selected]:-moz-window-inactive {
|
|||||||
|
|
||||||
#firefox-view-button > .toolbarbutton-icon {
|
#firefox-view-button > .toolbarbutton-icon {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar #firefox-view-button[open] {
|
#TabsToolbar #firefox-view-button[open] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user