mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 02:11:08 +00:00
HighContrast: set min-height for headerbars
https://bugzilla.gnome.org/show_bug.cgi?id=784562
This commit is contained in:
parent
0fb4a018f5
commit
d2a577d797
@ -1181,6 +1181,7 @@ searchbar {
|
||||
|
||||
.titlebar,
|
||||
headerbar {
|
||||
min-height: 46px;
|
||||
border-width: 0 0 1px;
|
||||
border-style: solid;
|
||||
border-color: $borders_color;
|
||||
@ -1250,6 +1251,18 @@ headerbar {
|
||||
.fullscreen & {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&.default-decoration {
|
||||
min-height: 28px;
|
||||
padding: 4px;
|
||||
|
||||
button.titlebutton {
|
||||
min-height: 26px;
|
||||
min-width: 26px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/************
|
||||
|
@ -482,7 +482,7 @@ toolbar.inline-toolbar, searchbar.inline-toolbar { border-style: solid; border-c
|
||||
toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-color: #737373; background-color: #282828; box-shadow: none; }
|
||||
|
||||
/*************** Header bars * */
|
||||
.titlebar, headerbar { border-width: 0 0 1px; border-style: solid; border-color: gray; border-radius: 7px 7px 0 0; background-color: transparent; background-image: linear-gradient(to bottom, #0a0a0a, #000); box-shadow: inset 0 -1px #262626, inset 0 1px #000; padding: 6px; }
|
||||
.titlebar, headerbar { min-height: 46px; border-width: 0 0 1px; border-style: solid; border-color: gray; border-radius: 7px 7px 0 0; background-color: transparent; background-image: linear-gradient(to bottom, #0a0a0a, #000); box-shadow: inset 0 -1px #262626, inset 0 1px #000; padding: 6px; }
|
||||
|
||||
.titlebar:backdrop, headerbar:backdrop { border-color: #737373; background-color: #000; background-image: none; box-shadow: none; }
|
||||
|
||||
@ -520,6 +520,10 @@ toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-colo
|
||||
|
||||
.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled headerbar, .maximized headerbar, .fullscreen headerbar { border-radius: 0; }
|
||||
|
||||
.titlebar.default-decoration, headerbar.default-decoration { min-height: 28px; padding: 4px; }
|
||||
|
||||
.titlebar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton { min-height: 26px; min-width: 26px; margin: 0; padding: 0; }
|
||||
|
||||
/************ Pathbars * */
|
||||
.path-bar button { padding: 5px 6px 6px; }
|
||||
|
||||
|
@ -486,7 +486,7 @@ toolbar.inline-toolbar, searchbar.inline-toolbar { border-style: solid; border-c
|
||||
toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-color: #8d8d8d; background-color: #d7d7d7; box-shadow: none; }
|
||||
|
||||
/*************** Header bars * */
|
||||
.titlebar, headerbar { border-width: 0 0 1px; border-style: solid; border-color: gray; border-radius: 7px 7px 0 0; background-color: transparent; background-image: linear-gradient(to bottom, white, #fff); box-shadow: inset 0 -1px #d9d9d9, inset 0 1px #fff; padding: 6px; }
|
||||
.titlebar, headerbar { min-height: 46px; border-width: 0 0 1px; border-style: solid; border-color: gray; border-radius: 7px 7px 0 0; background-color: transparent; background-image: linear-gradient(to bottom, white, #fff); box-shadow: inset 0 -1px #d9d9d9, inset 0 1px #fff; padding: 6px; }
|
||||
|
||||
.titlebar:backdrop, headerbar:backdrop { border-color: #8d8d8d; background-color: #fff; background-image: none; box-shadow: none; }
|
||||
|
||||
@ -524,6 +524,10 @@ toolbar.inline-toolbar:backdrop, searchbar.inline-toolbar:backdrop { border-colo
|
||||
|
||||
.tiled .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled headerbar, .maximized headerbar, .fullscreen headerbar { border-radius: 0; }
|
||||
|
||||
.titlebar.default-decoration, headerbar.default-decoration { min-height: 28px; padding: 4px; }
|
||||
|
||||
.titlebar.default-decoration button.titlebutton, headerbar.default-decoration button.titlebutton { min-height: 26px; min-width: 26px; margin: 0; padding: 0; }
|
||||
|
||||
/************ Pathbars * */
|
||||
.path-bar button { padding: 5px 6px 6px; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user