diff options
author | raresvis <rares.visalom@gmail.com> | 2017-07-03 22:35:21 +0300 |
---|---|---|
committer | raresvis <rares.visalom@gmail.com> | 2017-07-05 01:00:49 +0300 |
commit | de814752d6918a0ff9c747c96edb88a351add118 (patch) | |
tree | 5c901b58c81972d3a27a1f191d60db37f7d4b2e6 | |
parent | c36f006b8843c93d2b45102772749f16b23edc9b (diff) | |
download | gnome-shell-wip/raresv/uiTweaks.tar.gz |
search.js: Vertically center the provider iconwip/raresv/uiTweaks
-rw-r--r-- | data/theme/gnome-shell-high-contrast.css | 4 | ||||
-rw-r--r-- | data/theme/gnome-shell.css | 5 | ||||
-rw-r--r-- | js/ui/search.js | 6 |
3 files changed, 12 insertions, 3 deletions
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index e32bacb0d..157f5faa9 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -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; } diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 007741dde..c6e374b17 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -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; } diff --git a/js/ui/search.js b/js/ui/search.js index b2f2e31bc..0beda1eea 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -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, |