From 4e3a5f4521cb90b77f0e77faca0c2920fb6ca5b6 Mon Sep 17 00:00:00 2001 From: None Date: Sat, 18 Apr 2015 09:48:04 +0200 Subject: [PATCH] Removed hard-coded colors, and use system styles instead, should work better with different themes. --- data/stylesheet.css | 2 -- src/extension.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/data/stylesheet.css b/data/stylesheet.css index 813d5cb..1cfc49c 100644 --- a/data/stylesheet.css +++ b/data/stylesheet.css @@ -51,7 +51,6 @@ padding-left: 5px; .openweather-current-databox-captions { text-align: right; padding-right: 5px; -color: #999999; } .openweather-forecast-icon { @@ -70,7 +69,6 @@ min-width: 140px; } .openweather-forecast-day { -color: #999999; font-size: 90%; } diff --git a/src/extension.js b/src/extension.js index 4460766..b6a0593 100644 --- a/src/extension.js +++ b/src/extension.js @@ -1356,7 +1356,7 @@ const OpenweatherMenuButton = new Lang.Class({ }); let rb_captions = new St.BoxLayout({ vertical: true, - style_class: 'openweather-current-databox-captions' + style_class: 'popup-status-menu-item openweather-current-databox-captions' }); let rb_values = new St.BoxLayout({ vertical: true, @@ -1449,7 +1449,7 @@ const OpenweatherMenuButton = new Lang.Class({ style_class: 'openweather-forecast-icon' }); forecastWeather.Day = new St.Label({ - style_class: 'openweather-forecast-day' + style_class: 'popup-status-menu-item openweather-forecast-day' }); forecastWeather.Summary = new St.Label({ style_class: 'openweather-forecast-summary'