mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Adwaita: flatten up search bars and inline toolbars
This commit is contained in:
parent
f1b34a719e
commit
54b378b3df
@ -1180,7 +1180,7 @@ toolbar {
|
||||
//searchbar, location-bar & inline-toolbar
|
||||
.inline-toolbar {
|
||||
@extend toolbar;
|
||||
@extend %inset-bar;
|
||||
@extend %darkbar;
|
||||
border-width: 0 1px 1px;
|
||||
padding: 3px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
@ -1189,18 +1189,16 @@ toolbar {
|
||||
searchbar,
|
||||
.location-bar {
|
||||
@extend toolbar;
|
||||
@extend %inset-bar;
|
||||
@extend %darkbar;
|
||||
border-width: 0 0 1px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
%inset-bar {
|
||||
%darkbar {
|
||||
border-style: solid;
|
||||
border-color: $borders_color;
|
||||
$_bg: mix($bg_color, $borders_color, 70%);
|
||||
background-color: $_bg;
|
||||
box-shadow: inset 0 2px 3px -1px mix($borders_color, $_bg, 60%),
|
||||
_widget_edge();
|
||||
|
||||
&:backdrop {
|
||||
border-color: $backdrop_borders_color;
|
||||
|
@ -1547,8 +1547,7 @@ searchbar,
|
||||
.location-bar {
|
||||
border-style: solid;
|
||||
border-color: #1c1f1f;
|
||||
background-color: #303535;
|
||||
box-shadow: inset 0 2px 3px -1px #242828, 0 1px rgba(238, 238, 236, 0); }
|
||||
background-color: #303535; }
|
||||
.inline-toolbar:backdrop, searchbar:backdrop,
|
||||
.location-bar:backdrop {
|
||||
border-color: #1f2222;
|
||||
|
@ -1551,8 +1551,7 @@ searchbar,
|
||||
.location-bar {
|
||||
border-style: solid;
|
||||
border-color: #9d9d99;
|
||||
background-color: #d2d2d0;
|
||||
box-shadow: inset 0 2px 3px -1px #b2b2af, 0 1px rgba(255, 255, 255, 0); }
|
||||
background-color: #d2d2d0; }
|
||||
.inline-toolbar:backdrop, searchbar:backdrop,
|
||||
.location-bar:backdrop {
|
||||
border-color: #a5a5a1;
|
||||
|
Loading…
Reference in New Issue
Block a user