1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

fix height of window decorations

This commit is contained in:
Horst3180 2016-03-07 22:25:37 +01:00
parent c0cad431d3
commit 0353810bd2
7 changed files with 34 additions and 20 deletions

View File

@ -897,8 +897,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #2f343f; background-color: #2f343f;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2650,7 +2650,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -896,8 +896,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #2f343f; background-color: #2f343f;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2649,7 +2649,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -897,8 +897,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #2f343f; background-color: #2f343f;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2650,7 +2650,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -896,8 +896,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #2f343f; background-color: #2f343f;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2649,7 +2649,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -896,8 +896,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #e7e8eb; background-color: #e7e8eb;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2653,7 +2653,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -896,8 +896,8 @@ headerbar {
headerbar.default-decoration, headerbar.default-decoration,
.csd headerbar.default-decoration, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration, headerbar.default-decoration:backdrop,
.csd headerbar.default-decoration:backdrop { .csd headerbar.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: #e7e8eb; background-color: #e7e8eb;
border-bottom-width: 0; } border-bottom-width: 0; }
.maximized headerbar.default-decoration, .maximized .maximized headerbar.default-decoration, .maximized
@ -2653,7 +2653,9 @@ decoration {
headerbar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton,
.titlebar.default-decoration button.titlebutton { .titlebar.default-decoration button.titlebutton {
padding: 0 4px; padding: 0 4px;
min-width: 0; } min-width: 0;
min-height: 0;
margin: 0; }
headerbar button.titlebutton, headerbar button.titlebutton,
.titlebar button.titlebutton { .titlebar button.titlebutton {

View File

@ -975,8 +975,8 @@ headerbar {
.csd &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows .csd &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows
&.default-decoration:backdrop, &.default-decoration:backdrop,
.csd &.default-decoration:backdrop { .csd &.default-decoration:backdrop {
padding-top: 5px; min-height: 28px;
padding-bottom: 5px; padding: 0 3px;
background-color: opacify($header_bg, 1); background-color: opacify($header_bg, 1);
border-bottom-width: 0; border-bottom-width: 0;
@ -2885,6 +2885,8 @@ headerbar,
&.default-decoration button.titlebutton { // no vertical padding for ssd buttons &.default-decoration button.titlebutton { // no vertical padding for ssd buttons
padding: 0 4px; // already handled by the titlebar-padding padding: 0 4px; // already handled by the titlebar-padding
min-width: 0; min-width: 0;
min-height: 0;
margin: 0;
} }
button.titlebutton { button.titlebutton {