Adwaita: avoid too tall headerbars

the vertical padding from the headerbar has been removed, now the
sizing is done with min-height, this avoids title and subtitle
labels making the headbar.
This commit is contained in:
Lapo Calamandrei
2016-01-08 20:56:40 +01:00
parent b94f30bb64
commit 48fbe5137e
3 changed files with 20 additions and 9 deletions

View File

@@ -1112,7 +1112,8 @@ searchbar,
%titlebar,
headerbar {
padding: 6px;
padding: 0 6px;
min-height: 46px;
border-width: 0 0 1px;
border-style: solid;
border-color: $borders_color;
@@ -1277,8 +1278,12 @@ headerbar {
}
&.default-decoration {
padding: 4px;
button { padding: 5px; }
padding: 0 4px;
min-height: 36px;
button {
min-height: 26px;
padding: 0 5px;
}
}
}

View File

@@ -1603,7 +1603,8 @@ searchbar,
***************/
.titlebar:not(headerbar),
headerbar {
padding: 6px;
padding: 0 6px;
min-height: 46px;
border-width: 0 0 1px;
border-style: solid;
border-color: #1c1f1f;
@@ -1918,12 +1919,14 @@ headerbar {
border-radius: 0; }
.default-decoration.titlebar:not(headerbar),
headerbar.default-decoration {
padding: 4px; }
padding: 0 4px;
min-height: 36px; }
.default-decoration.titlebar:not(headerbar) button,
headerbar.default-decoration button,
headerbar.default-decoration .titlebar button.titlebutton,
.titlebar headerbar.default-decoration button.titlebutton {
padding: 5px; }
min-height: 26px;
padding: 0 5px; }
.titlebar, .titlebar:backdrop {
border-top-left-radius: 7px;

View File

@@ -1607,7 +1607,8 @@ searchbar,
***************/
.titlebar:not(headerbar),
headerbar {
padding: 6px;
padding: 0 6px;
min-height: 46px;
border-width: 0 0 1px;
border-style: solid;
border-color: #9d9d99;
@@ -1922,12 +1923,14 @@ headerbar {
border-radius: 0; }
.default-decoration.titlebar:not(headerbar),
headerbar.default-decoration {
padding: 4px; }
padding: 0 4px;
min-height: 36px; }
.default-decoration.titlebar:not(headerbar) button,
headerbar.default-decoration button,
headerbar.default-decoration .titlebar button.titlebutton,
.titlebar headerbar.default-decoration button.titlebutton {
padding: 5px; }
min-height: 26px;
padding: 0 5px; }
.titlebar, .titlebar:backdrop {
border-top-left-radius: 7px;