[gnome-shell] css: Symbolic icons size must actually be specified relative to font size
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] css: Symbolic icons size must actually be specified relative to font size
- Date: Fri, 9 Mar 2012 11:56:07 +0000 (UTC)
commit 9b5bb62aa7b53ad73e54eacd64b8d4eece5b3523
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Mar 8 17:29:08 2012 +0100
css: Symbolic icons size must actually be specified relative to font size
Commit a277f8e0e1003b6c60d82f37f557e115a2781419 prevents icons from being
scaled when the global desktop resolution changes which is wrong since
symbolic icons are supposed to be treated like text.
Instead of specifying their size in pixels, go back to em but with a value
adjusted to the new font size that actually yields unscaled symbolic icons for
the default resolution.
https://bugzilla.gnome.org/show_bug.cgi?id=671657
data/theme/gnome-shell.css | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 7b5684f..d1bb163 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -251,7 +251,7 @@ StScrollBar StButton#vhandle:hover
}
.popup-menu-icon {
- icon-size: 16px;
+ icon-size: 1.09em;
}
/* Switches */
@@ -479,7 +479,7 @@ StScrollBar StButton#vhandle:hover
}
.system-status-icon {
- icon-size: 16px;
+ icon-size: 1.09em;
}
/* Overview */
@@ -617,7 +617,7 @@ StScrollBar StButton#vhandle:hover
}
.search-entry-icon {
- icon-size: 16px;
+ icon-size: 1em;
color: #8d8f8a;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]