[fractal/wip/cdavis/next-style-cleanup: 1/6] content-message-row.ui: Remove displayname style, use adw styling
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/wip/cdavis/next-style-cleanup: 1/6] content-message-row.ui: Remove displayname style, use adw styling
- Date: Fri, 25 Jun 2021 21:23:02 +0000 (UTC)
commit db2e533ecd9d76542e0feb2b5643266a9c9c9377
Author: Christopher Davis <christopherdavis gnome org>
Date: Tue Jun 22 15:31:25 2021 -0700
content-message-row.ui: Remove displayname style, use adw styling
Remove the custom display name style and instead use
libadwaita's "heading" and "accent" styles to set the right styling and colors.
data/resources/style.css | 8 +-------
data/resources/ui/content-message-row.ui | 4 +++-
2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index 2c452d83..34e8d98e 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -122,15 +122,9 @@ headerbar.flat {
font-weight: bold;
}
-.displayname {
- font-size: 0.9em;
- font-weight: bold;
- color: @theme_selected_bg_color;
-}
-
.timestamp {
- font-size: 0.9em;
min-width: 36px;
+ font-weight: normal;
}
.codeview {
diff --git a/data/resources/ui/content-message-row.ui b/data/resources/ui/content-message-row.ui
index bba2bfbf..2a639673 100644
--- a/data/resources/ui/content-message-row.ui
+++ b/data/resources/ui/content-message-row.ui
@@ -24,13 +24,15 @@
<property name="ellipsize">end</property>
<property name="selectable">True</property>
<style>
- <class name="displayname"/>
+ <class name="heading"/>
+ <class name="accent"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkLabel" id="timestamp">
<style>
+ <class name="heading"/>
<class name="timestamp"/>
<class name="dim-label"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]