search.js: Vertically center the provider icon

This commit is contained in:
raresvis 2017-07-03 22:35:21 +03:00
parent c36f006b88
commit de814752d6
3 changed files with 12 additions and 3 deletions

View File

@ -1186,6 +1186,10 @@ StScrollBar {
font-size: 1.5em;
color: #e2e2df; }
.list-search-result-provider {
color: #e2e2df;
margin-top: 0.24em; }
.list-search-result-description {
color: #cacac4;
margin-left: 30px; }

View File

@ -1187,6 +1187,11 @@ StScrollBar {
.list-search-result-title {
color: #e2e2df; }
.list-search-result-provider {
color: #e2e2df;
margin-top: 0.24em;
}
.list-search-result-description {
color: rgba(202, 202, 196, 0.5);
margin-left: 30px; }

View File

@ -749,8 +749,8 @@ const ProviderInfo = new Lang.Class({
vertical: true });
let providerNameLabel = new St.Label({
style_class: 'list-search-result-title',
text: provider.appInfo.get_name() });
style_class: 'list-search-result-provider',
text: provider.appInfo.get_name() });
this._remainingResultsLabel = new St.Label({
style_class: 'list-search-result-title' });
@ -770,7 +770,7 @@ const ProviderInfo = new Lang.Class({
this._content.add(icon, { x_fill: false,
y_fill: false,
x_align: St.Align.START,
y_align: St.Align.START });
y_align: St.Align.MIDDLE });
this._content.add(this._providerDetails, { x_fill: false,
y_fill: false,
x_align: St.Align.START,