css: Symbolic icons size must actually be specified relative to font size

Commit a277f8e0e1 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
This commit is contained in:
Rui Matos 2012-03-08 17:29:08 +01:00
parent 895745ac14
commit 9b5bb62aa7

View File

@ -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;
}