Adwaita: Don't grow flat entries

Entries in treeviews and similar embedded situations don't really
work well if their height is forced to be big. Take out the min-height
for these.

https://bugzilla.gnome.org/show_bug.cgi?id=761686
This commit is contained in:
Matthias Clasen 2016-02-11 22:35:11 -05:00
parent 85b44a3e20
commit 32804e098e
3 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,7 @@ entry {
&.flat,
&.flat:focus {
min-height: 0;
padding: 2px;
@include entry(normal, $edge:none);
border: none;

View File

@ -195,6 +195,7 @@ entry, spinbutton:not(.vertical) {
border: none;
box-shadow: none; }
entry.flat, spinbutton.flat:not(.vertical), entry.flat:focus, spinbutton.flat:focus:not(.vertical) {
min-height: 0;
padding: 2px;
background-color: #292929;
background-image: linear-gradient(to bottom, #1d2020, #242525 3px, #292929 90%);

View File

@ -195,6 +195,7 @@ entry, spinbutton:not(.vertical) {
border: none;
box-shadow: none; }
entry.flat, spinbutton.flat:not(.vertical), entry.flat:focus, spinbutton.flat:focus:not(.vertical) {
min-height: 0;
padding: 2px;
background-color: #ffffff;
background-image: linear-gradient(to bottom, #d3d3d1, #fcfcfc 2px, #ffffff 90%);