~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to modules/forecastio/weather-module1-p.template.json

  • Committer: Dan Garner
  • Date: 2016-02-18 16:07:16 UTC
  • mfrom: (454.4.137)
  • Revision ID: git-v1:8867f12675bc9e0e67e7e622c80da7471b9f294a
Merge pull request #139 from dasgarner/feature/nested-display-groups

Feature/nested display groups

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{
2
 
 "id":"weather-module1p",
3
 
 "value":"Template 5 - Portrait - Current day, 2 day forecast",
4
 
 "main":"<div class=\"bg-div bg-[icon] container\">\r\n    <div class=\"row main-cont center-block\">\r\n        <div class=\"col-xs-12 upcoming-days\">\r\n            <div class=\"summary shadowed\">[summary]<\/div>\r\n            <div class=\"big-temp shadowed\">[temperatureRound]\u00ba[temperatureUnit]<\/div>\r\n            <div class=\"powered shadowed\">Powered by DarkSky<\/div>\r\n            <div class=\"small-icon shadowed\"><i class=\"wi [wicon]\"><\/i><\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <div class=\"row row-details text-center\">\r\n        [dailyForecast|2|1]\r\n    <\/div>\r\n<\/div>",
5
 
 "daily":"<div class=\"col-xs-12 row-day\">\r\n    <div class=\"col-xs-3 day\"><strong>[time|D]<\/strong><\/div>\r\n    <div class=\"col-xs-6 temp\">[temperatureMinRound]\u00ba - [temperatureMaxRound]\u00ba [temperatureUnit]<\/div>\r\n    <div class=\"col-xs-3 icon-up\"><i class=\"wi [wicon]\"><\/i><\/div>\r\n<\/div>",
6
 
 "css":"body {\r\n    font-family: \"Helvetica\", \"Arial\", sans-serif;\r\n    line-height: 1;\r\n}\r\n\r\n.container {\r\n    background-repeat: no-repeat;\r\n    background-size: cover;\r\n    background-position: center;\r\n    width: 540px !important;\r\n    height: 960px !important;\r\n}\r\n\r\n.main-panel {\r\n    margin-top: 74px;\r\n    height: 137px;\r\n}\r\n\r\n.big-icon {\r\n    font-size: 200px;\r\n    color: #fff;\r\n}\r\n\r\n.date {\r\n    color: #fff;\r\n    font-size: 18px;\r\n    font-family: \"Helvetica\", sans-serif;\r\n    font-weight: light;\r\n    padding-bottom: 1px;\r\n}\r\n\r\n.month {\r\n    font-size: 15px;\r\n    color: #fff;\r\n    font-family: \"Helvetica\", sans-serif;\r\n    font-weight: light;\r\n}\r\n\r\n.current-temp {\r\n    font-family: \"Helvetica\", sans-serif;\r\n    font-weight: bold;\r\n    font-size: 100px;\r\n    color: #fff;\r\n}\r\n\r\n.main-cont {\r\n    margin-top: 50px;\r\n    width: 400px;\r\n    height: 600px;\r\n    color: #fff;\r\n    padding: 0px 50px;\r\n    position: relative;\r\n}\r\n\r\n.main-icon {\r\n    font-size: 70px;\r\n    color: #fff;\r\n}\r\n\r\n.summary {\r\n    font-weight: bold;\r\n    font-size: 40px;\r\n    padding-top: 30px;\r\n}\r\n\r\n.powered {\r\n    font-weight: light;\r\n    font-size: 15px;\r\n    padding-bottom: 40px;\r\n}\r\n\r\n.small-day {\r\n    padding-top: 50px;\r\n    font-size: 28px;\r\n    font-style: italic;\r\n    font-weight: lighter;\r\n    color: #fff;\r\n}\r\n\r\n.small-icon {\r\n    font-size: 180px;\r\n    padding: 90px 0px;\r\n    color: #fff;\r\n}\r\n\r\n.big-temp {\r\n    padding-top: 30px;\r\n    font-size: 120px;\r\n    color: #fff;\r\n    font-weight: bold;\r\n}\r\n\r\n.even {\r\n    background-color: rgba(0, 0, 0, 0.6);\r\n    background: rgba(0, 0, 0, 0.6);\r\n    color: #fff;\r\n}\r\n\r\n.odd {\r\n    background-color: rgba(0, 0, 0, 0.8);\r\n    background: rgba(0, 0, 0, 0.8);\r\n    color: #fff !important;\r\n}\r\n\r\n.details-box {\r\n    height: 290px;\r\n    padding-left: 30px;\r\n    color: #272625;\r\n}\r\n\r\n.upcoming-days {\r\n    height: 365px;\r\n    text-align: center;\r\n    color: #fff;\r\n}\r\n\r\n.selector-day {\r\n    font-size: 15px;\r\n    font-weight: light;\r\n    margin-top: 25px;\r\n    color: #fff;\r\n}\r\n\r\n.selector-temp {\r\n    font-size: 25px;\r\n    font-weight: bold;\r\n    font-style: italic;\r\n}\r\n\r\n.arrow-down {\r\n    width: 0;\r\n    height: 0;\r\n    border-left: 20px solid transparent;\r\n    border-right: 20px solid transparent;\r\n    border-top: 20px solid rgba(0, 0, 0, 0.8);\r\n    margin-left: 120px;\r\n}\r\n\r\n.row-details {\r\n    margin-top: 128px;\r\n    background-color: #fff;\r\n    height: 182px;\r\n    color: #fff;\r\n}\r\n\r\n.row-day {\r\n    padding: 30px 0px;\r\n    border-bottom: #eee solid 1px;\r\n    color: #000;\r\n}\r\n\r\n.day {\r\n    font-size: 30px;\r\n    font-weight: bold;\r\n    color: #434343;\r\n}\r\n\r\n.temp {\r\n    font-size: 30px;\r\n    font-weight: light;\r\n    color: #434343;\r\n}\r\n\r\n.icon-up {\r\n    font-size: 30px;\r\n    color: color: #434343;\r\n}\r\n\r\n.shadowed {\r\n    text-shadow: 0px 0px 2px #111;\r\n    filter: dropshadow(color=#111, offx=2, offy=2);\r\n}\r\n\r\n.bg-cloudy {\r\n    background-image: url('[cloudy-image]');\r\n}\r\n\r\n.bg-partly-cloudy-day {\r\n    background-image: url('[day-cloudy-image]');\r\n}\r\n\r\n.bg-clear-day {\r\n    background-image: url('[day-sunny-image]');\r\n}\r\n\r\n.bg-fog {\r\n    background-image: url('[fog-image]');\r\n}\r\n\r\n.bg-sleet {\r\n    background-image: url('[hail-image]');\r\n}\r\n\r\n.bg-clear-night {\r\n    background-image: url('[night-clear-image]');\r\n}\r\n\r\n.bg-partly-cloudy-night {\r\n    background-image: url('[night-partly-cloudy-image]');\r\n}\r\n\r\n.bg-rain {\r\n    background-image: url('[rain-image]');\r\n}\r\n\r\n.bg-snow {\r\n    background-image: url('[snow-image]');\r\n}\r\n\r\n.bg-wind {\r\n    background-image: url('[windy-image]');\r\n}",
7
 
 "widgetOriginalWidth": "540",
8
 
 "widgetOriginalHeight": "960",
9
 
 "image":"modules/forecastio/template-thumbs/weather1p.png"
10
 
}
 
 
b'\\ No newline at end of file'