From 5ee322cbd987d36497522b82b876659e1d19da43 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 24 Dec 2024 16:02:13 +0100 Subject: Contact details dialog: Add encryption tab --- main/data/conversation_details.css | 30 +++++++++++-- main/data/conversation_details.ui | 45 ++++++++++++++------ main/data/gresource.xml | 1 + main/data/muc_member_list_row.ui | 86 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 147 insertions(+), 15 deletions(-) create mode 100644 main/data/muc_member_list_row.ui (limited to 'main/data') diff --git a/main/data/conversation_details.css b/main/data/conversation_details.css index 0eaf60c0..f0cbf666 100644 --- a/main/data/conversation_details.css +++ b/main/data/conversation_details.css @@ -1,7 +1,31 @@ -.extended-headerbar { - background-color: @headerbar_bg_color; -} .extended-headerbar-end { padding-bottom: 24px; border-bottom: 1px solid @borders; +} + +.extended-headerbar { + background-color: @headerbar_bg_color; + padding-bottom: 0; +} + +.dino-underlined-tabs .toggle { + background: none; + padding: 0; + margin: 0 12px 0 0; + border-left: none; + min-width: 0; +} + +.dino-underlined-tabs .toggle label { + border-bottom: 2px solid transparent; + margin: 0; + padding: 6px; +} + +.dino-underlined-tabs .toggle:checked label { + border-bottom-color: @accent_color; +} + +.dino-underlined-tabs .toggle:hover:not(:checked) label { + border-bottom-color: alpha(@accent_color, 0.25); } \ No newline at end of file diff --git a/main/data/conversation_details.ui b/main/data/conversation_details.ui index 5ee156bb..593dd4bf 100644 --- a/main/data/conversation_details.ui +++ b/main/data/conversation_details.ui @@ -134,25 +134,46 @@ + + + stack + start + 12 + 12 + + + - - True + - - - - vertical - 12 - 12 - 12 - 12 - 40 + + About + about + + + True + + + + + vertical + 12 + 12 + 12 + 18 + 40 + + + + - + diff --git a/main/data/gresource.xml b/main/data/gresource.xml index 661185ab..88858e13 100644 --- a/main/data/gresource.xml +++ b/main/data/gresource.xml @@ -70,6 +70,7 @@ menu_conversation.ui menu_encryption.ui message_item_widget_edit_mode.ui + muc_member_list_row.ui occupant_list.ui occupant_list_item.ui quote.ui diff --git a/main/data/muc_member_list_row.ui b/main/data/muc_member_list_row.ui new file mode 100644 index 00000000..cefad3fc --- /dev/null +++ b/main/data/muc_member_list_row.ui @@ -0,0 +1,86 @@ + + + + \ No newline at end of file -- cgit v1.2.3-70-g09d2