Commit e22370b0 authored by Daniel García Moreno's avatar Daniel García Moreno

Blue divider for new messages

parent c4fd9590
......@@ -66,6 +66,15 @@ row:not(:selected) .msg-emote {
color: #4a90d9
}
.divider {
color: #4a90d9
}
.divider separator {
background: #4a90d9;
}
row .timestamp {
font-size: small;
}
......
......@@ -4,6 +4,9 @@ use self::gtk::prelude::*;
pub fn new(text: &str) -> gtk::Box {
let divider = gtk::Box::new(gtk::Orientation::Horizontal, 6);
if let Some(style) = divider.get_style_context() {
style.add_class("divider");
}
let left_separator = gtk::Separator::new(gtk::Orientation::Horizontal);
left_separator.set_valign(gtk::Align::Center);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment