Revert "GTK3: theme titlebuttons only inside headerbars"

This reverts commit 3165f43187.
This commit is contained in:
Daniel Ruiz de Alegría
2021-09-27 15:51:55 +02:00
parent 3165f43187
commit f05688ff3b
4 changed files with 144 additions and 228 deletions
+32 -52
View File
@@ -5453,12 +5453,13 @@ scale slider {
***************/
headerbar {
border-color: black;
background: #0d0e11 linear-gradient(to top, #16171d, #1a1c23);
background: #0d0e11 -gtk-scaled(url("assets/kali-headerbar-logo-dark.png"), url("assets/kali-headerbar-logo-dark@2.png")), linear-gradient(to top, #16171d, #1a1c23);
box-shadow: inset 0 1px rgba(238, 238, 236, 0.07);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
background-repeat: no-repeat;
background-position: left; }
headerbar:backdrop {
background-image: -gtk-scaled(url("assets/kali-headerbar-logo-dark.png"), url("assets/kali-headerbar-logo-dark@2.png"));
background-repeat: no-repeat;
background-position: left;
box-shadow: none; }
@@ -5475,57 +5476,6 @@ headerbar viewswitcher button > stack > box.wide,
headerbar hdyviewswitcher > button box.wide {
margin: -8px 0; }
dialog .titlebar:not(headerbar), dialog headerbar, dialog headerbar:backdrop {
background: #23252e;
border: 0;
box-shadow: none; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu),
headerbar button.titlebutton:not(.appmenu) {
color: transparent;
background: #383d4b;
margin: 0;
margin-left: 5px;
padding: 0;
min-width: 0;
min-height: 0;
border: 1px solid black;
box-shadow: inset 0 3px 5px -4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.05);
-gtk-icon-shadow: none;
transition: all .2s; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu) + button.titlebutton,
headerbar button.titlebutton:not(.appmenu) + button.titlebutton {
margin-left: 0; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child,
headerbar button.titlebutton:not(.appmenu):last-child {
margin-right: 5px; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu):hover,
headerbar button.titlebutton:not(.appmenu):hover {
color: #eeeeec;
background: #383d4b;
border-color: transparent;
box-shadow: 0 0 0 1px #0d0e11; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu).close,
headerbar button.titlebutton:not(.appmenu).close {
color: black;
background: #2777ff;
border-color: transparent; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu).close:hover,
headerbar button.titlebutton:not(.appmenu).close:hover {
color: white;
background: #3d85ff; }
.maximized .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .fullscreen .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .tiled .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .tiled-top .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .tiled-right .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .tiled-bottom .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .tiled-left .titlebar:not(headerbar) button.titlebutton:not(.appmenu):last-child, .maximized headerbar button.titlebutton:not(.appmenu):last-child, .fullscreen headerbar button.titlebutton:not(.appmenu):last-child, .tiled headerbar button.titlebutton:not(.appmenu):last-child, .tiled-top headerbar button.titlebutton:not(.appmenu):last-child, .tiled-right headerbar button.titlebutton:not(.appmenu):last-child, .tiled-bottom headerbar button.titlebutton:not(.appmenu):last-child, .tiled-left headerbar button.titlebutton:not(.appmenu):last-child {
margin-right: 0; }
.maximized .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .fullscreen .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .tiled .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .tiled-top .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .tiled-right .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .tiled-bottom .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .tiled-left .titlebar:not(headerbar) button.titlebutton:not(.appmenu):first-child, .maximized headerbar button.titlebutton:not(.appmenu):first-child, .fullscreen headerbar button.titlebutton:not(.appmenu):first-child, .tiled headerbar button.titlebutton:not(.appmenu):first-child, .tiled-top headerbar button.titlebutton:not(.appmenu):first-child, .tiled-right headerbar button.titlebutton:not(.appmenu):first-child, .tiled-bottom headerbar button.titlebutton:not(.appmenu):first-child, .tiled-left headerbar button.titlebutton:not(.appmenu):first-child {
margin-left: 0; }
.titlebar:not(headerbar) button.titlebutton:not(.appmenu):backdrop,
headerbar button.titlebutton:not(.appmenu):backdrop {
color: transparent;
background: transparent;
box-shadow: none;
border-color: #0d0e11;
background: rgba(0, 0, 0, 0.3); }
.default-decoration.titlebar:not(headerbar),
headerbar.default-decoration {
min-height: 0;
@@ -5536,6 +5486,11 @@ headerbar.default-decoration {
min-width: 0;
margin: 0; }
dialog .titlebar:not(headerbar), dialog headerbar, dialog headerbar:backdrop {
background: #23252e;
border: 0;
box-shadow: none; }
paned headerbar:first-child,
hdyleaflet headerbar:first-child,
headerbar.titlebar headerbar:first-child,
@@ -6005,6 +5960,31 @@ decoration {
border-width: 0;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
button.titlebutton:not(.appmenu) {
margin: 0;
margin-left: 6px;
padding: 0;
min-width: 0;
min-height: 0;
border: 0;
-gtk-icon-shadow: none; }
button.titlebutton:not(.appmenu) + button.titlebutton:not(.appmenu) {
margin-left: 0; }
button.titlebutton:not(.appmenu):last-child {
margin-right: 6px; }
button.titlebutton:not(.appmenu):hover:not(:backdrop) {
transition: 0;
background: rgba(255, 255, 255, 0.2);
box-shadow: inset 0 0 0 1px #0d0e11; }
.maximized button.titlebutton:not(.appmenu):last-child, .fullscreen button.titlebutton:not(.appmenu):last-child, .tiled button.titlebutton:not(.appmenu):last-child, .tiled-top button.titlebutton:not(.appmenu):last-child, .tiled-right button.titlebutton:not(.appmenu):last-child, .tiled-bottom button.titlebutton:not(.appmenu):last-child, .tiled-left button.titlebutton:not(.appmenu):last-child {
margin-right: 0; }
.maximized button.titlebutton:not(.appmenu):first-child, .fullscreen button.titlebutton:not(.appmenu):first-child, .tiled button.titlebutton:not(.appmenu):first-child, .tiled-top button.titlebutton:not(.appmenu):first-child, .tiled-right button.titlebutton:not(.appmenu):first-child, .tiled-bottom button.titlebutton:not(.appmenu):first-child, .tiled-left button.titlebutton:not(.appmenu):first-child {
margin-left: 0; }
button.titlebutton:not(.appmenu):backdrop {
background: transparent; }
button.titlebutton:not(.appmenu):backdrop:not(:hover) {
border-color: transparent; }
/* Nautilus */
@define-color disk_space_unknown #383c4a;
@define-color disk_space_used #2777ff;