[polari] roomList: Updated style of sidebar
- From: Bastian Ilsø Hougaard <bastianilso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] roomList: Updated style of sidebar
- Date: Sun, 16 Aug 2015 23:24:07 +0000 (UTC)
commit 1a1d936d2afd6b13c2a6d3f7c156c8f4c3a8dd52
Author: Bastian Ilsø <bastianilso src gnome org>
Date: Sun Aug 16 16:58:36 2015 +0200
roomList: Updated style of sidebar
A more visually simple look for the roomList
as designed by Lapo Calamandrei.
data/resources/application.css | 8 ++++++--
src/roomList.js | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 5dc070d..4ea3973 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -41,9 +41,13 @@
}
.polari-room-list .room-list-header {
- background-color: @polari_dark_bg_color;
font-size: smaller;
- padding: 2px 6px;
+ padding: 8px 6px 1px 8px;
+ border-bottom: 1px solid alpha(@borders, 0.55);
+}
+
+.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 6592838..660f093 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -149,6 +149,7 @@ const RoomListHeader = new Lang.Class({
this._app = Gio.Application.get_default();
this.widget = new Gtk.Button({ sensitive: false, margin_bottom: 4,
+ margin_start: 7, margin_end: 7,
hexpand: true, focus_on_click: false })
this.widget.get_style_context().remove_class('button');
this.widget.get_style_context().add_class('room-list-header');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]