diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/data/style.css | 8 | ||||
-rw-r--r-- | main/src/ui/call_window/participant_widget.vala | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/main/data/style.css b/main/data/style.css index deac24fe..af1c58fa 100644 --- a/main/data/style.css +++ b/main/data/style.css @@ -396,17 +396,13 @@ box.dino-input-error .chat-input-status.input-status-highlight-once { text-shadow: 0 0 2px black; } -.dino-call-window .call-header-background { +.dino-call-window .participant-header-bar { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0)); border: 0; border-radius: 0; } -.dino-call-window .participant-header-bar button { - background: none; -} - -.dino-call-window .participant-header-bar button:hover { +.dino-call-window .participant-header-bar button:hover:not(.close) { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0); box-shadow: none; diff --git a/main/src/ui/call_window/participant_widget.vala b/main/src/ui/call_window/participant_widget.vala index 8ec1f5ea..bed64c30 100644 --- a/main/src/ui/call_window/participant_widget.vala +++ b/main/src/ui/call_window/participant_widget.vala @@ -74,14 +74,11 @@ namespace Dino.Ui { header_bar.show_title_buttons = is_highest_row; if (is_highest_row) { - header_bar.add_css_class("call-header-background"); Gtk.Settings? gtk_settings = Gtk.Settings.get_default(); if (gtk_settings != null) { string[] buttons = gtk_settings.gtk_decoration_layout.split(":"); header_bar.decoration_layout = (is_start ? buttons[0] : "") + ":" + (is_end && buttons.length == 2 ? buttons[1] : ""); } - } else { - header_bar.remove_css_class("call-header-background"); } reveal_or_hide_controls(); } |