[polari/wip/fmuellner/combined-gsoc: 56/136] work so far 5, added css class



commit 76315ee5a76ba58331d3eb1935623241f921e0cf
Author: raresv <rares visalom gmail com>
Date:   Tue Jun 21 15:18:35 2016 +0300

    work so far 5, added css class

 data/resources/application.css |    4 ++++
 src/userList.js                |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 6c9ab30..089ba1c 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -147,3 +147,7 @@
 
 /* the following adds a border on top of the inputbar when users scroll up */
 .polari-chat-view > undershoot.bottom { border-bottom: 1px solid @borders; }
+
+.nick-popover-status {
+    font-size: 10px;
+}
diff --git a/src/userList.js b/src/userList.js
index 2817cfd..02d60d2 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -327,7 +327,7 @@ const UserPopover = new Lang.Class({
         this.bind_property('visible', this._userDetails, 'expanded', 0);
 
         let context = this._statusLabel.get_style_context();
-        context.add_class('subtitle');
+        context.add_class('nick-popover-status');
         //context.save();
 
         this._vbox = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]