[polari] userPopover: Update labels styling
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] userPopover: Update labels styling
- Date: Fri, 11 Nov 2016 12:30:43 +0000 (UTC)
commit ddd5dc8f6560c6216ec3d54175fd495f453032c5
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Nov 10 15:20:27 2016 +0100
userPopover: Update labels styling
Make the user nick bold to reflect the nick in the chatview and
make the user status smaller to reflect the mockups.
data/resources/application.css | 4 ++++
data/resources/user-popover.ui | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index 7a11efd..cbdb332 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -142,3 +142,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; }
+
+/* tweak labels in the user popover */
+.polari-user-popover-nick { font-weight: bold; }
+.polari-user-popover-status { font-size: smaller; }
diff --git a/data/resources/user-popover.ui b/data/resources/user-popover.ui
index e080ab1..9c677df 100644
--- a/data/resources/user-popover.ui
+++ b/data/resources/user-popover.ui
@@ -25,6 +25,9 @@
<property name="ellipsize">end</property>
<property name="max-width-chars">17</property>
<property name="visible">True</property>
+ <style>
+ <class name="polari-user-popover-nick" />
+ </style>
</object>
</child>
<child>
@@ -33,6 +36,9 @@
<property name="margin-bottom">0</property>
<property name="use-markup">True</property>
<property name="visible">True</property>
+ <style>
+ <class name="polari-user-popover-status" />
+ </style>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]