[polari/wip/bastianilso/error-handling] roomList: Cosmetic fixes for the sidebar



commit ef2ccfd9fe06eb9c71946e68d423aefade5b504c
Author: Bastian Ilsø <bastianilso src gnome org>
Date:   Sun Aug 16 16:58:36 2015 +0200

    roomList: Cosmetic fixes for the sidebar
    
    A more visually simple look for the roomList
    as designed by Lapo Calamandrei.

 data/resources/application.css |   11 +++++++++--
 src/roomList.js                |    4 +++-
 2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 5dc070d..99a971e 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -41,9 +41,16 @@
 }
 
 .polari-room-list .room-list-header {
-    background-color: @polari_dark_bg_color;
-    font-size: smaller;
     padding: 2px 6px;
+    padding-top: 8px;
+    padding-left: 8px;
+    padding-bottom: 1px;
+    border-bottom: 1px solid alpha(@borders, 0.55);
+    font-size: smaller;
+}
+
+.polari-room-list .list-row {
+    padding-left: 8px;
 }
 
 .polari-room-list .list-row.inactive,
diff --git a/src/roomList.js b/src/roomList.js
index ae5e34f..79dde34 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -161,7 +161,9 @@ const RoomListHeader = new Lang.Class({
         this._app = Gio.Application.get_default();
 
         this.widget = new Gtk.Button({ sensitive: false, margin_bottom: 4,
-                                       hexpand: true, visible: true })
+                                       margin_start: 7, margin_end: 7,
+                                       hexpand: true, visible: true,
+                                       focus_on_click: false })
         this.widget.get_style_context().remove_class('button');
         this.widget.get_style_context().add_class('room-list-header');
         this.widget.connect('clicked', Lang.bind(this, function () {


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