From 8944029128e3d0f9e32b61e00e880d92fceabb31 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 5 Sep 2017 23:53:18 +0200 Subject: Move encryption menu into ChatInput, PGP support for MUCs --- main/data/chat_input.ui | 18 ++++++++--- main/data/conversation_summary/message_item.ui | 4 +-- main/data/menu_encryption.ui | 2 +- main/data/pre_theme.css | 10 ------ main/data/theme.css | 45 ++++++++++++++++++++++++++ 5 files changed, 61 insertions(+), 18 deletions(-) delete mode 100644 main/data/pre_theme.css create mode 100644 main/data/theme.css (limited to 'main/data') diff --git a/main/data/chat_input.ui b/main/data/chat_input.ui index 2436ff82..9a8cf424 100644 --- a/main/data/chat_input.ui +++ b/main/data/chat_input.ui @@ -6,6 +6,9 @@ horizontal 5 True + 300 @@ -15,12 +18,17 @@ True - - GTK_WRAP_WORD_CHAR - 5 - True - True + True + + + GTK_WRAP_WORD_CHAR + 5 + True + True + True + + diff --git a/main/data/conversation_summary/message_item.ui b/main/data/conversation_summary/message_item.ui index 8d53a691..a6937d10 100644 --- a/main/data/conversation_summary/message_item.ui +++ b/main/data/conversation_summary/message_item.ui @@ -38,7 +38,7 @@ - + False 1 start @@ -54,7 +54,7 @@ - + False 1 start diff --git a/main/data/menu_encryption.ui b/main/data/menu_encryption.ui index 7aae53ee..9e63b17d 100644 --- a/main/data/menu_encryption.ui +++ b/main/data/menu_encryption.ui @@ -30,4 +30,4 @@ - \ No newline at end of file + diff --git a/main/data/pre_theme.css b/main/data/pre_theme.css deleted file mode 100644 index 392e603f..00000000 --- a/main/data/pre_theme.css +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This theme file is applied before the operating system theme and any user configuration. - * It provides sane defaults for things that are very Dino-specific. - */ - -window.dino-main headerbar.dino-left label.title { - opacity: 0; - font-size: 0; - color: transparent; -} \ No newline at end of file diff --git a/main/data/theme.css b/main/data/theme.css new file mode 100644 index 00000000..d2723d54 --- /dev/null +++ b/main/data/theme.css @@ -0,0 +1,45 @@ +/** + * This theme file is applied after the operating system theme + * It provides sane defaults for things that are very Dino-specific. + */ + +window.dino-main headerbar.dino-left label.title { + opacity: 0; + font-size: 0; + color: transparent; +} + +window.dino-main .dino-chatinput frame box { + background: @theme_base_color; +} + +window.dino-main .dino-chatinput frame box:backdrop { + background: @theme_unfocused_base_color; +} + +window.dino-main button.dino-chatinput-button { + border: none; + background: transparent; + box-shadow: none; + min-height: 0; + padding: 7px 5px; + color: alpha(@theme_fg_color, 0.6); + outline: none; +} + +window.dino-main button.dino-chatinput-button:hover { + color: @theme_selected_bg_color; +} + +window.dino-main button.dino-chatinput-button:backdrop { + color: alpha(@theme_unfocused_fg_color, 0.6); +} + +window.dino-main button.dino-chatinput-button:active, +window.dino-main button.dino-chatinput-button:checked { + color: alpha(@theme_selected_bg_color, 0.8); +} + +window.dino-main button.dino-chatinput-button:checked:backdrop { + color: alpha(@theme_unfocused_selected_bg_color, 0.8); +} -- cgit v1.2.3-54-g00ecf