Update titlebar-restore style to match Epiphany one

This commit is contained in:
Cleo Menezes Jr 2023-12-10 01:35:06 -03:00 committed by Rafael Mardojai CM
parent b80b75d0a7
commit 54433bfc7b
No known key found for this signature in database
GPG Key ID: 2B2DAB2A58566C84
1 changed files with 11 additions and 11 deletions

View File

@ -73,11 +73,6 @@
display: inherit !important; display: inherit !important;
} }
/* Hide window controls when navbar is hidden */
:root[tabsintitlebar][inFullscreen] #navigator-toolbox[style*='margin-top:'] #titlebar .titlebar-buttonbox-container {
top: -999px;
}
/* Remove tabsbar titlebar blank spaces */ /* Remove tabsbar titlebar blank spaces */
:root[tabsintitlebar] #TabsToolbar .titlebar-placeholder { :root[tabsintitlebar] #TabsToolbar .titlebar-placeholder {
display: none !important; display: none !important;
@ -113,8 +108,7 @@
} }
/* Window buttons style */ /* Window buttons style */
:root[tabsintitlebar] #titlebar .titlebar-button, :root[tabsintitlebar]:not([inFullscreen]) #titlebar .titlebar-button {
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
-moz-appearance: none !important; -moz-appearance: none !important;
padding: 0 2px !important; padding: 0 2px !important;
background: var(--gnome-button-background) !important; background: var(--gnome-button-background) !important;
@ -128,11 +122,17 @@
width: 24px !important; width: 24px !important;
} }
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton { :root[tabsintitlebar][inFullscreen] #titlebar .titlebar-buttonbox {
background: transparent !important;
border-radius: 6px !important; border-radius: 6px !important;
height: 34px; height: 34px !important;
margin: 0 3px !important; width: 34px !important;
width: 34px; transition: background .3s;
}
:root[tabsintitlebar][inFullscreen] #titlebar .titlebar-buttonbox:hover {
outline: 0 !important;
background: var(--gnome-hover-color) !important;
} }
:root[tabsintitlebar] #titlebar toolbarbutton > .toolbarbutton-icon { :root[tabsintitlebar] #titlebar toolbarbutton > .toolbarbutton-icon {