[polari/wip/bastianilso/error-handling] roomList: Cosmetic fixes for the sidebar
- From: Bastian Ilsø Hougaard <bastianilso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/bastianilso/error-handling] roomList: Cosmetic fixes for the sidebar
- Date: Sun, 16 Aug 2015 15:15:23 +0000 (UTC)
commit 6cb16a2f502af7e842b9e4d8693181358a08fbaf
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 | 1 +
2 files changed, 10 insertions(+), 2 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..dae55f6 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -161,6 +161,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, visible: true })
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]