Skip to content

Commit

Permalink
nautilus: make search entry the same height as buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Apr 10, 2022
1 parent 7956204 commit 882daa2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gtk/src/adw-gtk3/gtk-3.0/_apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@
border-left-color: $linked_border;
}

// A border makes the search entry slightly taller than the buttons. Fix focus state with inset box-shadow.
.titlebar entry {
border-width: 0;
&:focus { box-shadow: inset 0 0 0 2px entry_focus_border(); }
}

.view .dim-label { color: transparentize($fg_color, 0.45); }
}

Expand Down
4 changes: 4 additions & 0 deletions gtk/src/adw-gtk3/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2796,6 +2796,10 @@ tabbar .tab-indicator:not(.clickable) { background: none; box-shadow: none; bord

.nautilus-window .search + .toggle.popup { border-left-color: #5b5b5b; }

.nautilus-window .titlebar entry { border-width: 0; }

.nautilus-window .titlebar entry:focus { box-shadow: inset 0 0 0 2px rgba(120, 174, 237, 0.5); }

.nautilus-window .view .dim-label, .nautilus-window iconview .dim-label, .nautilus-window .view label.separator, .nautilus-window iconview label.separator, .nautilus-window .view headerbar .subtitle, headerbar .nautilus-window .view .subtitle, .nautilus-window iconview headerbar .subtitle, headerbar .nautilus-window iconview .subtitle, .nautilus-window .view .titlebar:not(headerbar) .subtitle, .titlebar:not(headerbar) .nautilus-window .view .subtitle, .nautilus-window iconview .titlebar:not(headerbar) .subtitle, .titlebar:not(headerbar) .nautilus-window iconview .subtitle { color: rgba(255, 255, 255, 0.55); }

.floating-bar { padding: 3px; background-color: #1e1e1e; border-width: 1px; border-style: solid solid none; border-color: #4f4f4f; border-radius: 8px 0 0 0; }
Expand Down
4 changes: 4 additions & 0 deletions gtk/src/adw-gtk3/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -2776,6 +2776,10 @@ tabbar .tab-indicator:not(.clickable) { background: none; box-shadow: none; bord

.nautilus-window .search + .toggle.popup { border-left-color: #c8c8c8; }

.nautilus-window .titlebar entry { border-width: 0; }

.nautilus-window .titlebar entry:focus { box-shadow: inset 0 0 0 2px rgba(28, 113, 216, 0.5); }

.nautilus-window .view .dim-label, .nautilus-window iconview .dim-label, .nautilus-window .view label.separator, .nautilus-window iconview label.separator, .nautilus-window .view headerbar .subtitle, headerbar .nautilus-window .view .subtitle, .nautilus-window iconview headerbar .subtitle, headerbar .nautilus-window iconview .subtitle, .nautilus-window .view .titlebar:not(headerbar) .subtitle, .titlebar:not(headerbar) .nautilus-window .view .subtitle, .nautilus-window iconview .titlebar:not(headerbar) .subtitle, .titlebar:not(headerbar) .nautilus-window iconview .subtitle { color: rgba(0, 0, 0, 0.35); }

.floating-bar { padding: 3px; background-color: #ffffff; border-width: 1px; border-style: solid solid none; border-color: #cfcfcf; border-radius: 8px 0 0 0; }
Expand Down

0 comments on commit 882daa2

Please sign in to comment.