aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
Diffstat (limited to 'main/data')
-rw-r--r--main/data/global_search.ui35
-rw-r--r--main/data/theme.css5
-rw-r--r--main/data/unified_main_content.ui12
3 files changed, 42 insertions, 10 deletions
diff --git a/main/data/global_search.ui b/main/data/global_search.ui
new file mode 100644
index 00000000..cc5f043b
--- /dev/null
+++ b/main/data/global_search.ui
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <template class="DinoUiGlobalSearch" parent="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkSearchEntry" id="search_entry">
+ <property name="visible">True</property>
+ <property name="margin">12</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="entry_number_label">
+ <property name="xalign">0</property>
+ <property name="use-markup">True</property>
+ <property name="margin-left">17</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkScrolledWindow" id="results_scrolled">
+ <property name="expand">True</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkBox" id="results_box">
+ <property name="orientation">vertical</property>
+ <property name="spacing">25</property>
+ <property name="margin">10</property>
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>
diff --git a/main/data/theme.css b/main/data/theme.css
index 52ca1af7..61f15af4 100644
--- a/main/data/theme.css
+++ b/main/data/theme.css
@@ -26,6 +26,11 @@ window.dino-main .dino-sidebar frame.collapsed {
border-bottom: 1px solid @borders;
}
+window.dino-main .dino-sidebar textview,
+window.dino-main .dino-sidebar textview text {
+ background-color: transparent;
+}
+
window.dino-main .dino-chatinput frame box {
background: @theme_base_color;
diff --git a/main/data/unified_main_content.ui b/main/data/unified_main_content.ui
index 9b396b34..61781ac4 100644
--- a/main/data/unified_main_content.ui
+++ b/main/data/unified_main_content.ui
@@ -49,16 +49,8 @@
<property name="width-request">400</property>
<property name="shadow-type">none</property>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
+ <object class="DinoUiGlobalSearch" id="search_box">
<property name="visible">True</property>
- <child>
- <object class="GtkSearchEntry" id="search_entry">
- <property name="visible">True</property>
- <property name="margin">12</property>
- </object>
- </child>
- <child><placeholder/></child>
</object>
</child>
</object>
@@ -72,4 +64,4 @@
</packing>
</child>
</object>
-</interface> \ No newline at end of file
+</interface>