search: Replace the gradient separator with a simple line
The current separator uses a gradient effect as a separator between search results. As the mockups suggest, the gradient separator is no longer needed, in favor of a more simple one, which is a thin semitransparent line. https://bugzilla.gnome.org/show_bug.cgi?id=749957
This commit is contained in:
parent
0a8d81c095
commit
9d77fa8341
@ -1172,11 +1172,8 @@ StScrollBar {
|
|||||||
spacing: 3px; }
|
spacing: 3px; }
|
||||||
|
|
||||||
.search-section-separator {
|
.search-section-separator {
|
||||||
-gradient-height: 1px;
|
height: 2px;
|
||||||
-gradient-start: rgba(255, 255, 255, 0);
|
background-color: rgba(255, 255, 255, 0.2); }
|
||||||
-gradient-end: rgba(255, 255, 255, 0.1);
|
|
||||||
-margin-horizontal: 1.5em;
|
|
||||||
height: 1px; }
|
|
||||||
|
|
||||||
.list-search-result-content {
|
.list-search-result-content {
|
||||||
spacing: 30px; }
|
spacing: 30px; }
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 07f43e04251e0daedf2828a5b15c007e8e57fb05
|
Subproject commit 46963bc8e332cbe36a0791ed6345c48241d5c52a
|
@ -1172,11 +1172,8 @@ StScrollBar {
|
|||||||
spacing: 3px; }
|
spacing: 3px; }
|
||||||
|
|
||||||
.search-section-separator {
|
.search-section-separator {
|
||||||
-gradient-height: 1px;
|
height: 2px;
|
||||||
-gradient-start: rgba(255, 255, 255, 0);
|
background-color: rgba(255, 255, 255, 0.2); }
|
||||||
-gradient-end: rgba(255, 255, 255, 0.1);
|
|
||||||
-margin-horizontal: 1.5em;
|
|
||||||
height: 1px; }
|
|
||||||
|
|
||||||
.list-search-result-content {
|
.list-search-result-content {
|
||||||
spacing: 30px; }
|
spacing: 30px; }
|
||||||
|
@ -17,7 +17,6 @@ const IconGrid = imports.ui.iconGrid;
|
|||||||
const Main = imports.ui.main;
|
const Main = imports.ui.main;
|
||||||
const Overview = imports.ui.overview;
|
const Overview = imports.ui.overview;
|
||||||
const RemoteSearch = imports.ui.remoteSearch;
|
const RemoteSearch = imports.ui.remoteSearch;
|
||||||
const Separator = imports.ui.separator;
|
|
||||||
const Util = imports.misc.util;
|
const Util = imports.misc.util;
|
||||||
|
|
||||||
const SEARCH_PROVIDERS_SCHEMA = 'org.gnome.desktop.search-providers';
|
const SEARCH_PROVIDERS_SCHEMA = 'org.gnome.desktop.search-providers';
|
||||||
@ -149,8 +148,8 @@ const SearchResultsBase = new Lang.Class({
|
|||||||
y_fill: true });
|
y_fill: true });
|
||||||
this.actor.add(this._resultDisplayBin, { expand: true });
|
this.actor.add(this._resultDisplayBin, { expand: true });
|
||||||
|
|
||||||
let separator = new Separator.HorizontalSeparator({ style_class: 'search-section-separator' });
|
let separator = new St.Widget({ style_class: 'search-section-separator' });
|
||||||
this.actor.add(separator.actor);
|
this.actor.add(separator);
|
||||||
|
|
||||||
this._resultDisplays = {};
|
this._resultDisplays = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user