[gnome-shell] calendar: Tweak message list style
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] calendar: Tweak message list style
- Date: Wed, 5 Aug 2015 15:34:55 +0000 (UTC)
commit 11cbd396c0fb6e0ec296165ae6ae67e9f382f720
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jun 2 16:57:06 2015 +0200
calendar: Tweak message list style
* make icons smaller
* use small font size in body
* add some spacing between secondary item and title
https://bugzilla.gnome.org/show_bug.cgi?id=749958
data/theme/gnome-shell-high-contrast.css | 13 ++++++++++---
data/theme/gnome-shell-sass | 2 +-
data/theme/gnome-shell.css | 13 ++++++++++---
js/ui/calendar.js | 2 +-
4 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css
index 610afbe..87b542d 100644
--- a/data/theme/gnome-shell-high-contrast.css
+++ b/data/theme/gnome-shell-high-contrast.css
@@ -787,7 +787,12 @@ StScrollBar {
padding: 8px 8px 8px 0px; }
.message-icon-bin > StIcon {
- icon-size: 48px; }
+ icon-size: 32px; }
+
+.message-secondary-bin:ltr {
+ padding-left: 8px; }
+.message-secondary-bin:rtl {
+ padding-right: 8px; }
.message-secondary-bin {
color: #999999; }
@@ -796,10 +801,12 @@ StScrollBar {
icon-size: 16px; }
.message-title {
- font-weight: bold; }
+ font-weight: bold;
+ font-size: 1.1em; }
.message-content {
- padding: 8px; }
+ padding: 8px;
+ font-size: .9em; }
.system-switch-user-submenu-icon {
icon-size: 24px;
diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass
index e12b124..1726663 160000
--- a/data/theme/gnome-shell-sass
+++ b/data/theme/gnome-shell-sass
@@ -1 +1 @@
-Subproject commit e12b124a78a0aee58416a212567676c225506777
+Subproject commit 172666394146a88445811e86ce37a3f36775004c
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 5f4347a..edf2ae0 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -787,7 +787,12 @@ StScrollBar {
padding: 8px 8px 8px 0px; }
.message-icon-bin > StIcon {
- icon-size: 48px; }
+ icon-size: 32px; }
+
+.message-secondary-bin:ltr {
+ padding-left: 8px; }
+.message-secondary-bin:rtl {
+ padding-right: 8px; }
.message-secondary-bin {
color: #8e8e80; }
@@ -796,10 +801,12 @@ StScrollBar {
icon-size: 16px; }
.message-title {
- font-weight: bold; }
+ font-weight: bold;
+ font-size: 1.1em; }
.message-content {
- padding: 8px; }
+ padding: 8px;
+ font-size: .9em; }
.system-switch-user-submenu-icon {
icon-size: 24px;
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 291e808..b61424f 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -24,7 +24,7 @@ const MSECS_IN_DAY = 24 * 60 * 60 * 1000;
const SHOW_WEEKDATE_KEY = 'show-weekdate';
const ELLIPSIS_CHAR = '\u2026';
-const MESSAGE_ICON_SIZE = 48;
+const MESSAGE_ICON_SIZE = 32;
const MESSAGE_ANIMATION_TIME = 0.1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]