/************* * CSD Fixes * ************/ .window-frame, .window-frame:backdrop { box-shadow: 0 0 0 black; border-style: none; margin: 0; border-radius: 0; } .titlebar { border-radius: 0; } .window-frame.csd.popup { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); } .header-bar { background-image: none; box-shadow: none; } window.ssd headerbar.titlebar { padding-top: 1px; padding-bottom: 1px; min-height: 0; } window.ssd headerbar.titlebar button.titlebutton { padding: 0px; min-height: 0; min-width: 0; } .ssd .titlebar { border-width: 0; box-shadow: none; } /* CSD / SSD minimization */ /* shrink headebars */ headerbar { min-height: 0px; padding-left: 2px; /* same as childrens vertical margins for nicer proportions */ padding-right: 2px; } headerbar entry, headerbar spinbutton, headerbar button, headerbar separator { margin-top: 2px; /* same as headerbar side padding for nicer proportions */ margin-bottom: 2px; } /* shrink ssd titlebars */ .default-decoration { min-height: 0; /* let the entry and button drive the titlebar size */ padding: 2px } .default-decoration .titlebutton { min-height: 0px; /* tweak these two props to reduce button size */ min-width: 0px; } window.ssd headerbar.titlebar { padding-top: 1px; padding-bottom: 1px; min-height: 0; } window.ssd headerbar.titlebar button.titlebutton { padding-top: 1px; padding-bottom:1px; min-height: 0; } /* You may want to use this if you don't like the double title. */ GtkLabel.title { opacity: 0; } /* From elementary css */ .titlebar.default-decoration { padding: 0 3px; min-height: 32px; } dialog .titlebar.default-decoration, messagedialog .titlebar, messagedialog .titlebar.default-decoration { min-height: 0; padding: 3px; } /********************* * wingpanel support * ********************/ .panel { /* background-color: transparent; */ /* background-color: black; */ background-color: rgba(0,0,0,0.5); transition: all 1s ease-in-out; } .panel.maximized { background-color: #000; }