diff options
author | bobufa <bobufa@users.noreply.github.com> | 2018-07-10 00:31:39 +0200 |
---|---|---|
committer | bobufa <bobufa@users.noreply.github.com> | 2018-08-13 22:31:22 +0200 |
commit | 61915ca56617e8f45ae8bd85cb87f0b8a9a895b0 (patch) | |
tree | 2fd35772c1d1145852f36e0baed6fafc0a73a517 /main/data | |
parent | 8b23ddad2d33a1504cd28c0df583dfe50cadccda (diff) | |
download | dino-61915ca56617e8f45ae8bd85cb87f0b8a9a895b0.tar.gz dino-61915ca56617e8f45ae8bd85cb87f0b8a9a895b0.zip |
initial search logic / display
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/global_search.ui | 35 | ||||
-rw-r--r-- | main/data/theme.css | 5 | ||||
-rw-r--r-- | main/data/unified_main_content.ui | 12 |
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> |