[gnome-todo] welcome-action-card: Use .large-title CSS class
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] welcome-action-card: Use .large-title CSS class
- Date: Thu, 18 Nov 2021 02:33:50 +0000 (UTC)
commit 1d05d4e2b00bb5bc89c8e215252dbde3ab0077d9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 17 23:23:55 2021 -0300
welcome-action-card: Use .large-title CSS class
src/plugins/welcome/gtd-welcome-action-card.ui | 7 +++++--
src/plugins/welcome/themes/shared.css | 9 ---------
2 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/src/plugins/welcome/gtd-welcome-action-card.ui b/src/plugins/welcome/gtd-welcome-action-card.ui
index a859c17a..383d56a2 100644
--- a/src/plugins/welcome/gtd-welcome-action-card.ui
+++ b/src/plugins/welcome/gtd-welcome-action-card.ui
@@ -27,7 +27,7 @@
<child>
<object class="GtkLabel" id="title_label">
<style>
- <class name="title" />
+ <class name="large-title" />
</style>
</object>
</child>
@@ -43,8 +43,11 @@
<child>
<object class="GtkLabel" id="counter_label">
<style>
- <class name="counter" />
+ <class name="large-title" />
</style>
+ <attributes>
+ <attribute name="scale" value="1.5" />
+ </attributes>
</object>
</child>
diff --git a/src/plugins/welcome/themes/shared.css b/src/plugins/welcome/themes/shared.css
index ea4ecd03..24bd2504 100644
--- a/src/plugins/welcome/themes/shared.css
+++ b/src/plugins/welcome/themes/shared.css
@@ -23,12 +23,3 @@ welcome-action-card {
welcome-action-card.empty {
opacity: 0.5;
}
-
-welcome-action-card label.title {
- font-size: 1.4rem;
-}
-
-welcome-action-card label.counter {
- font-size: 48px;
- font-weight: 300;
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]