diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-05-29 11:38:34 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-05-31 20:34:59 +0200 |
| commit | ff206e967993bd2e7aa6597b03d0affee20948b9 (patch) | |
| tree | 1b03b3da44e5db205c55f6ed7783a94c6da3d8d7 /client/simple | |
| parent | a800dd04735c98a293edff00493a5fee3dfeaed7 (diff) | |
[mod] weather results: add types, i18n/l10n, symbols & unit conversions
The types necessary for weather information such as GeoLocation, DateTime,
Temperature,Pressure, WindSpeed, RelativeHumidity, Compass (wind direction) and
symbols for the weather have been implemented.
There are unit conversions and translations for weather property labels.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'client/simple')
| -rw-r--r-- | client/simple/src/less/style.less | 1 | ||||
| -rw-r--r-- | client/simple/src/less/weather.less | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/client/simple/src/less/style.less b/client/simple/src/less/style.less index 4725f7db8..df7710b83 100644 --- a/client/simple/src/less/style.less +++ b/client/simple/src/less/style.less @@ -19,6 +19,7 @@ @import "new_issue.less"; @import "stats.less"; @import "result_templates.less"; +@import "weather.less"; // for index.html template @import "index.less"; diff --git a/client/simple/src/less/weather.less b/client/simple/src/less/weather.less new file mode 100644 index 000000000..b77747a96 --- /dev/null +++ b/client/simple/src/less/weather.less @@ -0,0 +1,38 @@ +#answers .weather { + summary { + display: block; + list-style: none; + } + + div.summary { + margin: 0; + padding: 0.5rem 1rem; + background-color: var(--color-header-background); + .rounded-corners-tiny; + } + + table { + font-size: 0.9rem; + table-layout: fixed; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + } + + td { + padding: 0; + } + + img.symbol { + width: 5rem; + margin: auto; + display: block; + } + + .title { + // background-color: var(--color-result-keyvalue-even); + } + + .measured { + // background-color: var(--color-result-keyvalue-odd); + } +} |