From 12c2ac12b2adbaecbbbe81da4d396d9b11df2eaf Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Sat, 28 Jan 2017 23:47:41 -0500 Subject: [PATCH] eliminate vestigial styles. make tables consistent across blocks. --- skins/Standard/celestial.inc | 8 ++--- skins/Standard/current.inc | 4 +-- skins/Standard/hilo.inc | 2 +- skins/Standard/sensors.inc | 6 ++-- skins/Standard/skin.conf | 20 +++++++++--- skins/Standard/standard.css | 49 ++++++++++++++--------------- skins/Standard/statistics.html.tmpl | 8 ++--- skins/Standard/statistics.inc | 2 +- 8 files changed, 52 insertions(+), 47 deletions(-) diff --git a/skins/Standard/celestial.inc b/skins/Standard/celestial.inc index 79ec80bf..675c36e1 100644 --- a/skins/Standard/celestial.inc +++ b/skins/Standard/celestial.inc @@ -41,7 +41,7 @@ #if $almanac.hasExtras
- + @@ -58,7 +58,7 @@
Sun
Sun
Rise $almanac.sun.rise.string($sun_None)
- + @@ -97,7 +97,7 @@
Moon
Moon
Rise $almanac.moon.rise
- + @@ -163,7 +163,7 @@
Sun
Sun
Start civil twilight $almanac(horizon=-6).sun(use_center=1).rise
- + diff --git a/skins/Standard/current.inc b/skins/Standard/current.inc index 79e7b1bc..1a200859 100644 --- a/skins/Standard/current.inc +++ b/skins/Standard/current.inc @@ -4,13 +4,13 @@
- Current + Current Conditions
-
Moon
Moon
  
Rise
+
diff --git a/skins/Standard/hilo.inc b/skins/Standard/hilo.inc index 06b80b75..2d7f917e 100644 --- a/skins/Standard/hilo.inc +++ b/skins/Standard/hilo.inc @@ -12,7 +12,7 @@
-
$obs.label.outTemp
+
diff --git a/skins/Standard/sensors.inc b/skins/Standard/sensors.inc index 14b2b407..32885929 100644 --- a/skins/Standard/sensors.inc +++ b/skins/Standard/sensors.inc @@ -51,7 +51,7 @@ LOW
#if $have_conn - + #if $day.rxCheckPercent.has_data @@ -61,7 +61,7 @@ LOW #end if #if $have_battery_status - + #if $day.txBatteryStatus.has_data @@ -95,7 +95,7 @@ LOW #end if #if $have_voltage - + #if $day.consBatteryVoltage.has_data diff --git a/skins/Standard/skin.conf b/skins/Standard/skin.conf index 7a42b110..d52a2d59 100644 --- a/skins/Standard/skin.conf +++ b/skins/Standard/skin.conf @@ -443,9 +443,11 @@ [[[dayradiation]]] [[[[radiation]]]] [[[[radiation_max]]]] + label = Maximum data_type = radiation aggregate_type = max aggregate_interval = 3600 + line_gap_fraction = 0.1 [[[dayuv]]] yscale = 0, 16, 1 @@ -455,7 +457,8 @@ data_type = UV aggregate_type = max aggregate_interval = 3600 - + line_gap_fraction = 0.1 + [[[dayrx]]] [[[[rxCheckPercent]]]] @@ -511,8 +514,10 @@ [[[weekradiation]]] [[[[radiation]]]] [[[[radiation_max]]]] + label = Maximum data_type = radiation aggregate_type = max + line_gap_fraction = 0.1 [[[weekuv]]] yscale = 0, 16, 1 @@ -521,7 +526,8 @@ label = Maximum data_type = UV aggregate_type = max - + line_gap_fraction = 0.1 + [[[weekrx]]] [[[[rxCheckPercent]]]] @@ -578,8 +584,10 @@ [[[monthradiation]]] [[[[radiation]]]] [[[[radiation_max]]]] + label = Maximum data_type = radiation aggregate_type = max + line_gap_fraction = 0.1 [[[monthuv]]] yscale = 0, 16, 1 @@ -588,7 +596,8 @@ label = Maximum data_type = UV aggregate_type = max - + line_gap_fraction = 0.1 + [[[monthrx]]] [[[[rxCheckPercent]]]] @@ -646,8 +655,10 @@ [[[yearradiation]]] [[[[radiation]]]] [[[[radiation_max]]]] + label = Maximum data_type = radiation aggregate_type = max + line_gap_fraction = 0.1 [[[yearuv]]] yscale = 0, 16, 1 @@ -656,7 +667,8 @@ label = Maximum data_type = UV aggregate_type = max - + line_gap_fraction = 0.1 + [[[yearrx]]] [[[[rxCheckPercent]]]] diff --git a/skins/Standard/standard.css b/skins/Standard/standard.css index e3a43220..6ed1a694 100644 --- a/skins/Standard/standard.css +++ b/skins/Standard/standard.css @@ -128,21 +128,6 @@ a:hover { */ } -.stats { -} - -table.stats th { - font-weight: normal; - font-size: 80%; - text-align: left; -} - -.rowhead { - text-align: right; - padding-top: 10px; - border-bottom: 1px solid #dddddd; -} - .label { font-size: 80%; vertical-align: top; @@ -169,6 +154,14 @@ table.stats th { font-weight: normal; } +.hival { + color: #aa4444; +} + +.loval { + color: #4444aa; +} + .button { cursor: pointer; padding-left: 10px; @@ -219,15 +212,20 @@ table.stats th { border-top: 1px solid #dddddd; } -table.celestial th { - text-align: left; -} - .celestial_body { + margin-bottom: 30px; float: left; } -#hilo_widget table.stats th { +#celestial_widget table th { + font-weight: normal; + text-align: right; + border-bottom: 1px solid #dddddd; +} + +#hilo_widget table th { + font-weight: normal; + font-size: 80%; text-align: right; } @@ -238,12 +236,11 @@ table.celestial th { padding-left: 10px; } -.hival { - color: #aa4444; -} - -.loval { - color: #4444aa; +#sensors_widget table th { + font-weight: normal; + text-align: right; + padding-top: 10px; + border-bottom: 1px solid #dddddd; } #history_widget img { diff --git a/skins/Standard/statistics.html.tmpl b/skins/Standard/statistics.html.tmpl index d41706f2..3141f6c3 100644 --- a/skins/Standard/statistics.html.tmpl +++ b/skins/Standard/statistics.html.tmpl @@ -12,15 +12,11 @@
Connectivity
Connectivity
$obs.label.rxCheckPercent
Battery Status
Battery Status
$obs.label.txBatteryStatus
Voltage
Voltage
$obs.label.consBatteryVoltage