calendar: Make notification icons font-relative
As notification icons now align with the title, it makes sense for them to follow the text size in case a text-scaling-factor other than 1 is applied. https://bugzilla.gnome.org/show_bug.cgi?id=788265
This commit is contained in:
parent
023b50e7a7
commit
3eb80dc6c0
@ -918,17 +918,17 @@ StScrollBar {
|
|||||||
background-color: #0d0d0d; }
|
background-color: #0d0d0d; }
|
||||||
|
|
||||||
.message-icon-bin {
|
.message-icon-bin {
|
||||||
padding: 10px 3px 10px 10px; }
|
padding: 0.68em 0.2em 0.68em 0.68em; }
|
||||||
.message-icon-bin:rtl {
|
.message-icon-bin:rtl {
|
||||||
padding: 10px 10px 10px 3px; }
|
padding: 0.68em 0.68em 0.68em 0.2em; }
|
||||||
|
|
||||||
.message-icon-bin > StIcon {
|
.message-icon-bin > StIcon {
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
icon-size: 16px;
|
icon-size: 1.09em;
|
||||||
-st-icon-style: symbolic; }
|
-st-icon-style: symbolic; }
|
||||||
|
|
||||||
.message-secondary-bin {
|
.message-secondary-bin {
|
||||||
padding: 0 12px; }
|
padding: 0 0.82em; }
|
||||||
|
|
||||||
.message-secondary-bin > .event-time {
|
.message-secondary-bin > .event-time {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
@ -938,7 +938,7 @@ StScrollBar {
|
|||||||
padding-bottom: 0.13em; }
|
padding-bottom: 0.13em; }
|
||||||
|
|
||||||
.message-secondary-bin > StIcon {
|
.message-secondary-bin > StIcon {
|
||||||
icon-size: 16px; }
|
icon-size: 1.09em; }
|
||||||
|
|
||||||
.message-title {
|
.message-title {
|
||||||
color: #f2f2f2; }
|
color: #f2f2f2; }
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 594ec0b5ccf2d4e92e234c708c0d5b31882e0f97
|
Subproject commit 336c2d5ad6b165f586330ec7e1fdc23ff220638a
|
@ -918,17 +918,17 @@ StScrollBar {
|
|||||||
background-color: #454c4c; }
|
background-color: #454c4c; }
|
||||||
|
|
||||||
.message-icon-bin {
|
.message-icon-bin {
|
||||||
padding: 10px 3px 10px 10px; }
|
padding: 0.68em 0.2em 0.68em 0.68em; }
|
||||||
.message-icon-bin:rtl {
|
.message-icon-bin:rtl {
|
||||||
padding: 10px 10px 10px 3px; }
|
padding: 0.68em 0.68em 0.68em 0.2em; }
|
||||||
|
|
||||||
.message-icon-bin > StIcon {
|
.message-icon-bin > StIcon {
|
||||||
color: #bebeb6;
|
color: #bebeb6;
|
||||||
icon-size: 16px;
|
icon-size: 1.09em;
|
||||||
-st-icon-style: symbolic; }
|
-st-icon-style: symbolic; }
|
||||||
|
|
||||||
.message-secondary-bin {
|
.message-secondary-bin {
|
||||||
padding: 0 12px; }
|
padding: 0 0.82em; }
|
||||||
|
|
||||||
.message-secondary-bin > .event-time {
|
.message-secondary-bin > .event-time {
|
||||||
color: #8e8e80;
|
color: #8e8e80;
|
||||||
@ -938,7 +938,7 @@ StScrollBar {
|
|||||||
padding-bottom: 0.13em; }
|
padding-bottom: 0.13em; }
|
||||||
|
|
||||||
.message-secondary-bin > StIcon {
|
.message-secondary-bin > StIcon {
|
||||||
icon-size: 16px; }
|
icon-size: 1.09em; }
|
||||||
|
|
||||||
.message-title {
|
.message-title {
|
||||||
color: #e2e2df; }
|
color: #e2e2df; }
|
||||||
|
@ -20,7 +20,7 @@ var MSECS_IN_DAY = 24 * 60 * 60 * 1000;
|
|||||||
var SHOW_WEEKDATE_KEY = 'show-weekdate';
|
var SHOW_WEEKDATE_KEY = 'show-weekdate';
|
||||||
var ELLIPSIS_CHAR = '\u2026';
|
var ELLIPSIS_CHAR = '\u2026';
|
||||||
|
|
||||||
var MESSAGE_ICON_SIZE = 16;
|
var MESSAGE_ICON_SIZE = -1; // pick up from CSS
|
||||||
|
|
||||||
// alias to prevent xgettext from picking up strings translated in GTK+
|
// alias to prevent xgettext from picking up strings translated in GTK+
|
||||||
const gtk30_ = Gettext_gtk30.gettext;
|
const gtk30_ = Gettext_gtk30.gettext;
|
||||||
|
Loading…
Reference in New Issue
Block a user