[gnome-builder/wip/chergert/completion] completion: add some CSS styling
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/completion] completion: add some CSS styling
- Date: Thu, 10 May 2018 10:19:48 +0000 (UTC)
commit 8fc54745266a919b85cebe12a81eb976f8181a2f
Author: Christian Hergert <chergert redhat com>
Date: Thu May 10 03:19:21 2018 -0700
completion: add some CSS styling
data/themes/shared.css | 1 +
data/themes/shared/shared-completion.css | 39 ++++++++++++++++++++++++++++++++
src/libide/libide.gresource.xml | 1 +
3 files changed, 41 insertions(+)
---
diff --git a/data/themes/shared.css b/data/themes/shared.css
index 5f2971b24..2b8decf6e 100644
--- a/data/themes/shared.css
+++ b/data/themes/shared.css
@@ -1,4 +1,5 @@
@import url("resource:///org/gnome/builder/themes/shared/shared-buildui.css");
+@import url("resource:///org/gnome/builder/themes/shared/shared-completion.css");
@import url("resource:///org/gnome/builder/themes/shared/shared-debugger.css");
@import url("resource:///org/gnome/builder/themes/shared/shared-layout.css");
@import url("resource:///org/gnome/builder/themes/shared/shared-editor.css");
diff --git a/data/themes/shared/shared-completion.css b/data/themes/shared/shared-completion.css
new file mode 100644
index 000000000..899dcdc8c
--- /dev/null
+++ b/data/themes/shared/shared-completion.css
@@ -0,0 +1,39 @@
+completionview,
+completionwindow,
+completionoverlay {
+ background: transparent;
+}
+
+completionview > * {
+ margin: 5px 6px 6px 6px;
+ border: 1px solid @borders;
+ box-shadow: 0px 0px 3px @wm_shadow;
+ padding: 0px 3px 0px 3px;
+ background: @content_view_bg;
+ border-radius: 5px;
+}
+
+completionview list {
+ padding: 3px 0 3px 0;
+}
+
+completionview list row {
+ border-radius: 3px;
+ padding: 3px;
+}
+
+completionview list image:first-child {
+ min-width: 16px;
+ margin-left: 6px;
+ margin-right: 6px;
+}
+
+completionview list label.left {
+ margin-right: 12px;
+ opacity: 0.55;
+}
+
+completionview list label.right {
+ margin-left: 12px;
+ opacity: 0.55;
+}
diff --git a/src/libide/libide.gresource.xml b/src/libide/libide.gresource.xml
index d520983dd..919df5f69 100644
--- a/src/libide/libide.gresource.xml
+++ b/src/libide/libide.gresource.xml
@@ -35,6 +35,7 @@
<file compressed="true" alias="shared.css">../../data/themes/shared.css</file>
<file compressed="true"
alias="shared/shared-buildui.css">../../data/themes/shared/shared-buildui.css</file>
+ <file compressed="true"
alias="shared/shared-completion.css">../../data/themes/shared/shared-completion.css</file>
<file compressed="true"
alias="shared/shared-debugger.css">../../data/themes/shared/shared-debugger.css</file>
<file compressed="true"
alias="shared/shared-editor.css">../../data/themes/shared/shared-editor.css</file>
<file compressed="true"
alias="shared/shared-greeter.css">../../data/themes/shared/shared-greeter.css</file>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]