├── README.md ├── browserconfig.xml ├── css ├── materialize.css ├── materialize.min.css ├── nimbus.css ├── ol.css ├── weather-icons.css └── weather-icons.min.css ├── font ├── WeatherIcons-Regular.otf ├── material-design-icons │ ├── LICENSE.txt │ ├── Material-Design-Icons.eot │ ├── Material-Design-Icons.svg │ ├── Material-Design-Icons.ttf │ ├── Material-Design-Icons.woff │ └── Material-Design-Icons.woff2 ├── roboto │ ├── Roboto-Bold.ttf │ ├── Roboto-Bold.woff │ ├── Roboto-Bold.woff2 │ ├── Roboto-Light.ttf │ ├── Roboto-Light.woff │ ├── Roboto-Light.woff2 │ ├── Roboto-Medium.ttf │ ├── Roboto-Medium.woff │ ├── Roboto-Medium.woff2 │ ├── Roboto-Regular.ttf │ ├── Roboto-Regular.woff │ ├── Roboto-Regular.woff2 │ ├── Roboto-Thin.ttf │ ├── Roboto-Thin.woff │ └── Roboto-Thin.woff2 ├── weathericons-regular-webfont.eot ├── weathericons-regular-webfont.svg ├── weathericons-regular-webfont.ttf └── weathericons-regular-webfont.woff ├── icon128.png ├── img ├── android-chrome-144x144.png ├── android-chrome-192x192.png ├── android-chrome-36x36.png ├── android-chrome-48x48.png ├── android-chrome-72x72.png ├── android-chrome-96x96.png ├── apple-touch-icon-114x114.png ├── apple-touch-icon-120x120.png ├── apple-touch-icon-144x144.png ├── apple-touch-icon-152x152.png ├── apple-touch-icon-180x180.png ├── apple-touch-icon-57x57.png ├── apple-touch-icon-60x60.png ├── apple-touch-icon-72x72.png ├── apple-touch-icon-76x76.png ├── apple-touch-icon-precomposed.png ├── apple-touch-icon.png ├── favicon-16x16.png ├── favicon-194x194.png ├── favicon-32x32.png ├── favicon-96x96.png ├── favicon.ico ├── marker.png ├── mask.png ├── mstile-144x144.png ├── mstile-150x150.png ├── mstile-310x150.png ├── mstile-310x310.png ├── mstile-70x70.png ├── qr.png └── wheel.png ├── index.html ├── js ├── farbtastic.js ├── farbtastic.min.js ├── jquery-2.1.3.min.js ├── jquery.browser.min.js ├── jquery.simpleWeather.min.js ├── materialize.js ├── materialize.min.js └── nimbus.js ├── license.txt ├── manifest.json ├── manifest.webapp └── webmanifest.json /README.md: -------------------------------------------------------------------------------- 1 | Nimbus 2 | ================ 3 | Nimbus no longer works and is discontinued, read more about it [here](http://corbindavenport.com/?p=434). This code is still provided for anyone who wants to do something with it. 4 | --------------------------------------------------------- 5 | Nimbus is a simple multi-platform weather app. It's designed to only give you the information you need while looking great. It's easy to use, fast, customizable, and free. What more can you ask for? 6 | 7 | **Features:** 8 | * Support for any location worldwide (radar map only available for United States) 9 | * Five-day forecast and current conditions 10 | * Beautiful interface based on Google's Material Design 11 | * Customization of the app's colors and optional background image 12 | * Animated radar map with play/pause 13 | * Share current radar map as a GIF or HTML5 video in one tap, with Gfycat 14 | 15 | Nimbus is open source under the GPLv3 license. 16 | 17 | --------------------------------------------------------- 18 | 19 | This program is free software: you can redistribute it and/or modify 20 | it under the terms of the GNU General Public License as published by 21 | the Free Software Foundation, either version 3 of the License, or 22 | (at your option) any later version. 23 | 24 | This program is distributed in the hope that it will be useful, 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | GNU General Public License for more details. 28 | 29 | You should have received a copy of the GNU General Public License 30 | along with this program. If not, see . 31 | -------------------------------------------------------------------------------- /browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | #3ca2eb 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /css/nimbus.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | padding: 0; 4 | background: #EEEEEE; 5 | overflow: hidden; 6 | font-size: 14px !important; 7 | } 8 | 9 | @media only screen and (min-width: 650px) { 10 | #forecast-container { 11 | margin: 0 auto 0 auto; 12 | max-width: 800px; 13 | } 14 | .forecast1, .forecast3, .forecast5 { 15 | float: left; 16 | width: 48% !important; 17 | } 18 | .forecast2, .forecast4 { 19 | float: right; 20 | width: 48% !important; 21 | } 22 | #settings .card, .content .card { 23 | max-width: 800px !important; 24 | margin: 20 auto 20 auto !important; 25 | } 26 | } 27 | 28 | @media all and (max-width: 300px) { 29 | .settings { 30 | padding-left: 0px !important; 31 | padding-right: 0px !important; 32 | } 33 | .settings-item { 34 | padding: 10px 0px !important; 35 | } 36 | } 37 | 38 | .share-content { 39 | padding-bottom: 0px !important; 40 | } 41 | 42 | .toast { 43 | white-space: nowrap !important; 44 | overflow: hidden !important; 45 | } 46 | 47 | @media all and (max-width: 600px) { 48 | #toast-container { 49 | margin-bottom: 16px; 50 | min-width: calc(100% - 20px) !important; 51 | } 52 | 53 | .map-toast { 54 | min-width: 100% !important; 55 | margin-top: 0px !important; 56 | position: absolute !important; 57 | left: 0px !important; 58 | right: 0px !important; 59 | top: 0px !important; 60 | } 61 | } 62 | 63 | #tabs { 64 | position: absolute; 65 | top: 0px; 66 | left: 0px; 67 | right: 0px; 68 | height: 56px; 69 | z-index: 1; 70 | padding: 0px; 71 | -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 72 | -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 73 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); 74 | z-index: 3; 75 | visibility: hidden; 76 | } 77 | 78 | .tabs { 79 | margin: 0 auto 0 auto !important; 80 | max-width: 800px; 81 | padding: 0px; 82 | height: 56px; 83 | } 84 | 85 | .tabs li.tab { 86 | height: 56px; 87 | line-height: 56px; 88 | background: transparent !important; 89 | } 90 | 91 | .tab a { 92 | color: #FFFFFF !important; 93 | } 94 | 95 | .indicator { 96 | background-color: #FFFFFF !important; 97 | height: 4px !important; 98 | } 99 | 100 | .content { 101 | position: absolute; 102 | top: 56px; 103 | left: 0px; 104 | right: 0px; 105 | bottom: 0px; 106 | overflow: auto; 107 | display: hidden; 108 | z-index: 0; 109 | background-size: cover !important; 110 | padding-left: 10px; 111 | padding-right: 10px; 112 | min-width: 260px; 113 | } 114 | 115 | .content .card { 116 | margin: 10px auto 20px auto; 117 | } 118 | 119 | .lean-overlay { 120 | height: 200% !important; 121 | } 122 | 123 | .btn-floating { 124 | background: transparent; 125 | } 126 | 127 | .settings-trigger, .share-twitter { 128 | width: 100%; 129 | } 130 | 131 | .settings-trigger:hover, .share-twitter:hover { 132 | background-color: #FFFFFF !important; 133 | } 134 | 135 | .modal-content { 136 | padding-bottom: 0px !important; 137 | } 138 | 139 | .preloader-wrapper, .map-preloader { 140 | position:absolute; 141 | width:300px; 142 | height:200px; 143 | z-index:15; 144 | top:50%; 145 | left:50%; 146 | margin:-64px 0 0 -35px; 147 | z-index: 0; 148 | } 149 | 150 | .map-preloader { 151 | display: none; 152 | } 153 | 154 | #settings .help { 155 | display: none; 156 | } 157 | 158 | #map { 159 | background-size: cover !important; 160 | } 161 | 162 | #mapvideo, #mapgif { 163 | position: fixed; 164 | top: 50%; 165 | left: 50%; 166 | min-width: 100%; 167 | min-height: 100%; 168 | width: auto; 169 | height: auto; 170 | z-index: -100; 171 | -webkit-transform: translateX(-50%) translateY(-50%); 172 | transform: translateX(-50%) translateY(-50%); 173 | } 174 | 175 | .mapcontrol, .mapshare { 176 | position: fixed; 177 | display: none; 178 | margin-bottom: 0px !important; 179 | -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important; 180 | -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important; 181 | box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important; 182 | } 183 | 184 | #share-modal .collection { 185 | margin: 0 !important; 186 | border: 0 0 1px 0 !important solid #e0e0e0 !important; 187 | border-radius: 0 !important; 188 | background-color: #fafafa !important; 189 | } 190 | 191 | #share-modal .collection .collection-item { 192 | background-color: #fafafa; 193 | } 194 | 195 | #share-modal .collection .collection-item:hover { 196 | background-color: #dddddd; 197 | } 198 | 199 | .mapcontrol { 200 | right: 16px; 201 | bottom: 16px; 202 | } 203 | 204 | .mapshare { 205 | right: 16px; 206 | bottom: 87.5px; 207 | } 208 | 209 | .collapsible, .theme { 210 | margin: 0px !important; 211 | border: 0px !important; 212 | box-shadow: none !important; 213 | } 214 | 215 | .card-title { 216 | color: #000000 !important; 217 | } 218 | 219 | .help .card-title { 220 | color: #00bcd4 !important; 221 | } 222 | 223 | #warning, .collapsible .collapsible-header { 224 | color: #e51c23; 225 | } 226 | 227 | [type="radio"]:checked + label:after { 228 | background-color: #000000; 229 | border: #000000; 230 | } 231 | 232 | table { 233 | margin-top: 20px; 234 | margin-bottom: 20px; 235 | } 236 | 237 | td, th { 238 | font-weight: normal !important; 239 | padding: 0px !important; 240 | } 241 | 242 | .weather-icon { 243 | width: 50%; 244 | text-align: center; 245 | } 246 | 247 | .weather-info { 248 | text-align: center !important; 249 | } 250 | 251 | .weather-info .temp { 252 | font-weight: 300; 253 | } 254 | 255 | @media only screen and (max-width: 320px) { 256 | .weather-icon {font-size: 60px;} 257 | .weather-info .temp {font-size: 40px;} 258 | } 259 | 260 | @media only screen and (min-width: 320px) { 261 | .weather-icon {font-size: 80px;} 262 | .weather-info .temp {font-size: 50px;} 263 | } 264 | 265 | .weather-updated { 266 | text-align: right; 267 | font-size: 12px; 268 | } 269 | 270 | .forecast-icon { 271 | width: 30%; 272 | text-align: center; 273 | } 274 | 275 | .forecast-info { 276 | text-align: center !important; 277 | } 278 | 279 | .forecast-info .temp { 280 | font-weight: 300; 281 | } 282 | 283 | @media only screen and (max-width: 270px) { 284 | .forecast-icon {font-size: 40px;} 285 | .forecast-info .temp {font-size: 20px;} 286 | } 287 | 288 | @media only screen and (min-width: 270px) { 289 | .forecast-icon {font-size: 50px;} 290 | .forecast-info .temp {font-size: 25px;} 291 | } 292 | 293 | .card-content .row { 294 | margin-bottom: 0px !important; 295 | } 296 | 297 | .card .card-content p { 298 | margin: 0px 0px 5px; 299 | } 300 | 301 | form label { 302 | margin-right: 5px; 303 | } 304 | 305 | input[type=text], input[type=password], input[type=email], input[type=url], input[type=date], input[type=tel], input[type=number], input[type=search], textarea.materialize-textarea { 306 | margin: 0px; 307 | } 308 | 309 | .error { 310 | font-family: "Courier New", Courier, monospace; 311 | } 312 | 313 | /* Styles for Settings */ 314 | 315 | #settings { 316 | position: absolute; 317 | top: 0px; 318 | left: 0px; 319 | right: 0px; 320 | bottom: 0px; 321 | overflow: auto; 322 | background: #EEEEEE; 323 | z-index: 10; 324 | min-width: 260px; 325 | display: none; 326 | } 327 | 328 | .settings { 329 | margin: 56px auto 0px auto; 330 | padding: 10px 5px 20px 5px; 331 | max-width: 790px; 332 | -webkit-border-radius: 2px; 333 | -moz-border-radius: 2px; 334 | border-radius: 2px; 335 | background-clip: padding-box; 336 | overflow: hidden; 337 | } 338 | 339 | .settings-save { 340 | width: 100% !important; 341 | margin: 0px !important; 342 | height: 56px !important; 343 | line-height: 56px !important; 344 | position: fixed; 345 | } 346 | 347 | .settings .settings-item { 348 | line-height: 1.5rem; 349 | padding: 10px 20px; 350 | margin: 0px; 351 | border-bottom: 1px solid #e0e0e0; 352 | cursor: pointer; 353 | } 354 | 355 | .settings .settings-item:last-child { 356 | border-bottom: none; 357 | } 358 | 359 | .settings a.settings-item { 360 | display: block; 361 | -webkit-transition: 0.25s; 362 | -moz-transition: 0.25s; 363 | -o-transition: 0.25s; 364 | -ms-transition: 0.25s; 365 | transition: 0.25s; 366 | color: #26a69a; 367 | } 368 | 369 | /* Styles for color picker */ 370 | 371 | .farbtastic { 372 | position: relative; 373 | } 374 | 375 | .farbtastic * { 376 | position: absolute; 377 | cursor: crosshair; 378 | } 379 | 380 | .farbtastic, .farbtastic .wheel { 381 | width: 195px; 382 | height: 195px; 383 | } 384 | 385 | .farbtastic .color, .farbtastic .overlay { 386 | top: 47px; 387 | left: 47px; 388 | width: 101px; 389 | height: 101px; 390 | } 391 | 392 | .farbtastic .wheel { 393 | background: url(../img/wheel.png) no-repeat; 394 | width: 195px; 395 | height: 195px; 396 | } 397 | 398 | .farbtastic .overlay { 399 | background: url(../img/mask.png) no-repeat; 400 | } 401 | 402 | .farbtastic .marker { 403 | width: 17px; 404 | height: 17px; 405 | margin: -8px 0 0 -8px; 406 | overflow: hidden; 407 | background: url(../img/marker.png) no-repeat; 408 | } 409 | -------------------------------------------------------------------------------- /css/ol.css: -------------------------------------------------------------------------------- 1 | .ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:#95b9e6;background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width}.ol-overlay-container{will-change:left,right,top,bottom}.ol-unsupported{display:none}.ol-viewport .ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-control{position:absolute;background-color:#eee;background-color:rgba(255,255,255,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:rgba(255,255,255,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}@media print{.ol-control{display:none}}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-size:1.14em;font-weight:700;text-decoration:none;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:#7b98bc;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:#4c6079;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em)}.ol-attribution ul{margin:0;padding:0 .5em;font-size:.7rem;line-height:1.375em;color:#000;text-shadow:0 0 2px #fff}.ol-attribution li{display:inline;list-style:none;line-height:inherit}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit}.ol-attribution button,.ol-attribution ul{display:inline-block}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution.ol-logo-only ul{display:block}.ol-attribution:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0;height:1.1em;line-height:1em}.ol-attribution.ol-logo-only{background:0 0;bottom:.4em;height:1.1em;line-height:1em}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-logo-only button,.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{position:absolute;top:4.5em;left:.5em;background:#eee;background:rgba(255,255,255,.4);width:24px;height:200px}.ol-zoomslider-thumb{position:absolute;background:#7b98bc;background:rgba(0,60,136,.5);border-radius:2px;cursor:pointer;height:10px;width:22px;margin:3px}.ol-touch .ol-zoomslider{top:5.5em;width:2.052em}.ol-touch .ol-zoomslider-thumb{width:1.8em}.ol-overviewmap{position:absolute;left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:inline-block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:1px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:rgba(255,255,255,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)} -------------------------------------------------------------------------------- /css/weather-icons.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Weather Icons 1.3 3 | * Updated November 30th, 2014 4 | * Weather themed icons for Bootstrap 5 | * ------------------------------------------------------------------------------ 6 | * Maintained at http://erikflowers.github.io/weather-icons 7 | * http://twitter.com/Erik_UX 8 | * 9 | * License 10 | * ------------------------------------------------------------------------------ 11 | * - Fpmt licensed under SIL OFL 1.1 - 12 | * http://scripts.sil.org/OFL 13 | * - CSS and LESS are licensed under MIT License - 14 | * http://opensource.org/licenses/mit-license.html 15 | * - Documentation licensed under CC BY 3.0 - 16 | * http://creativecommons.org/licenses/by/3.0/ 17 | * - Inspired by and works great as a companion with Font Awesome 18 | * "Font Awesome by Dave Gandy - http://fontawesome.io" 19 | * 20 | * Weather Icons Bootstrap Package Author - Erik Flowers - erik@helloerik.com 21 | * ------------------------------------------------------------------------------ 22 | * Email: erik@helloerik.com 23 | * Twitter: http://twitter.com/Erik_UX 24 | */ 25 | @font-face { 26 | font-family: 'weathericons'; 27 | src: url('../font/weathericons-regular-webfont.eot'); 28 | src: url('../font/weathericons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../font/weathericons-regular-webfont.woff') format('woff'), url('../font/weathericons-regular-webfont.ttf') format('truetype'), url('../font/weathericons-regular-webfont.svg#weathericons-regular-webfontRg') format('svg'); 29 | font-weight: normal; 30 | font-style: normal; 31 | } 32 | .wi { 33 | display: inline-block; 34 | font-family: 'weathericons'; 35 | font-style: normal; 36 | font-weight: normal; 37 | line-height: 1; 38 | -webkit-font-smoothing: antialiased; 39 | -moz-osx-font-smoothing: grayscale; 40 | } 41 | .wi-day-cloudy-gusts:before { 42 | content: "\f000"; 43 | } 44 | .wi-day-cloudy-windy:before { 45 | content: "\f001"; 46 | } 47 | .wi-day-cloudy:before { 48 | content: "\f002"; 49 | } 50 | .wi-day-fog:before { 51 | content: "\f003"; 52 | } 53 | .wi-day-hail:before { 54 | content: "\f004"; 55 | } 56 | .wi-day-lightning:before { 57 | content: "\f005"; 58 | } 59 | .wi-day-rain-mix:before { 60 | content: "\f006"; 61 | } 62 | .wi-day-rain-wind:before { 63 | content: "\f007"; 64 | } 65 | .wi-day-rain:before { 66 | content: "\f008"; 67 | } 68 | .wi-day-showers:before { 69 | content: "\f009"; 70 | } 71 | .wi-day-snow:before { 72 | content: "\f00a"; 73 | } 74 | .wi-day-sprinkle:before { 75 | content: "\f00b"; 76 | } 77 | .wi-day-sunny-overcast:before { 78 | content: "\f00c"; 79 | } 80 | .wi-day-sunny:before { 81 | content: "\f00d"; 82 | } 83 | .wi-day-storm-showers:before { 84 | content: "\f00e"; 85 | } 86 | .wi-day-thunderstorm:before { 87 | content: "\f010"; 88 | } 89 | .wi-cloudy-gusts:before { 90 | content: "\f011"; 91 | } 92 | .wi-cloudy-windy:before { 93 | content: "\f012"; 94 | } 95 | .wi-cloudy:before { 96 | content: "\f013"; 97 | } 98 | .wi-fog:before { 99 | content: "\f014"; 100 | } 101 | .wi-hail:before { 102 | content: "\f015"; 103 | } 104 | .wi-lightning:before { 105 | content: "\f016"; 106 | } 107 | .wi-rain-mix:before { 108 | content: "\f017"; 109 | } 110 | .wi-rain-wind:before { 111 | content: "\f018"; 112 | } 113 | .wi-rain:before { 114 | content: "\f019"; 115 | } 116 | .wi-showers:before { 117 | content: "\f01a"; 118 | } 119 | .wi-snow:before { 120 | content: "\f01b"; 121 | } 122 | .wi-sprinkle:before { 123 | content: "\f01c"; 124 | } 125 | .wi-storm-showers:before { 126 | content: "\f01d"; 127 | } 128 | .wi-thunderstorm:before { 129 | content: "\f01e"; 130 | } 131 | .wi-windy:before { 132 | content: "\f021"; 133 | } 134 | .wi-night-alt-cloudy-gusts:before { 135 | content: "\f022"; 136 | } 137 | .wi-night-alt-cloudy-windy:before { 138 | content: "\f023"; 139 | } 140 | .wi-night-alt-hail:before { 141 | content: "\f024"; 142 | } 143 | .wi-night-alt-lightning:before { 144 | content: "\f025"; 145 | } 146 | .wi-night-alt-rain-mix:before { 147 | content: "\f026"; 148 | } 149 | .wi-night-alt-rain-wind:before { 150 | content: "\f027"; 151 | } 152 | .wi-night-alt-rain:before { 153 | content: "\f028"; 154 | } 155 | .wi-night-alt-showers:before { 156 | content: "\f029"; 157 | } 158 | .wi-night-alt-snow:before { 159 | content: "\f02a"; 160 | } 161 | .wi-night-alt-sprinkle:before { 162 | content: "\f02b"; 163 | } 164 | .wi-night-alt-storm-showers:before { 165 | content: "\f02c"; 166 | } 167 | .wi-night-alt-thunderstorm:before { 168 | content: "\f02d"; 169 | } 170 | .wi-night-clear:before { 171 | content: "\f02e"; 172 | } 173 | .wi-night-cloudy-gusts:before { 174 | content: "\f02f"; 175 | } 176 | .wi-night-cloudy-windy:before { 177 | content: "\f030"; 178 | } 179 | .wi-night-cloudy:before { 180 | content: "\f031"; 181 | } 182 | .wi-night-hail:before { 183 | content: "\f032"; 184 | } 185 | .wi-night-lightning:before { 186 | content: "\f033"; 187 | } 188 | .wi-night-rain-mix:before { 189 | content: "\f034"; 190 | } 191 | .wi-night-rain-wind:before { 192 | content: "\f035"; 193 | } 194 | .wi-night-rain:before { 195 | content: "\f036"; 196 | } 197 | .wi-night-showers:before { 198 | content: "\f037"; 199 | } 200 | .wi-night-snow:before { 201 | content: "\f038"; 202 | } 203 | .wi-night-sprinkle:before { 204 | content: "\f039"; 205 | } 206 | .wi-night-storm-showers:before { 207 | content: "\f03a"; 208 | } 209 | .wi-night-thunderstorm:before { 210 | content: "\f03b"; 211 | } 212 | .wi-celsius:before { 213 | content: "\f03c"; 214 | } 215 | .wi-cloud-down:before { 216 | content: "\f03d"; 217 | } 218 | .wi-cloud-refresh:before { 219 | content: "\f03e"; 220 | } 221 | .wi-cloud-up:before { 222 | content: "\f040"; 223 | } 224 | .wi-cloud:before { 225 | content: "\f041"; 226 | } 227 | .wi-degrees:before { 228 | content: "\f042"; 229 | } 230 | .wi-down-left:before { 231 | content: "\f043"; 232 | } 233 | .wi-down:before { 234 | content: "\f044"; 235 | } 236 | .wi-fahrenheit:before { 237 | content: "\f045"; 238 | } 239 | .wi-horizon-alt:before { 240 | content: "\f046"; 241 | } 242 | .wi-horizon:before { 243 | content: "\f047"; 244 | } 245 | .wi-left:before { 246 | content: "\f048"; 247 | } 248 | .wi-lightning:before { 249 | content: "\f016"; 250 | } 251 | .wi-night-fog:before { 252 | content: "\f04a"; 253 | } 254 | .wi-refresh-alt:before { 255 | content: "\f04b"; 256 | } 257 | .wi-refresh:before { 258 | content: "\f04c"; 259 | } 260 | .wi-right:before { 261 | content: "\f04d"; 262 | } 263 | .wi-sprinkles:before { 264 | content: "\f04e"; 265 | } 266 | .wi-strong-wind:before { 267 | content: "\f050"; 268 | } 269 | .wi-sunrise:before { 270 | content: "\f051"; 271 | } 272 | .wi-sunset:before { 273 | content: "\f052"; 274 | } 275 | .wi-thermometer-exterior:before { 276 | content: "\f053"; 277 | } 278 | .wi-thermometer-internal:before { 279 | content: "\f054"; 280 | } 281 | .wi-thermometer:before { 282 | content: "\f055"; 283 | } 284 | .wi-tornado:before { 285 | content: "\f056"; 286 | } 287 | .wi-up-right:before { 288 | content: "\f057"; 289 | } 290 | .wi-up:before { 291 | content: "\f058"; 292 | } 293 | .wi-wind-west:before { 294 | content: "\f059"; 295 | } 296 | .wi-wind-south-west:before { 297 | content: "\f05a"; 298 | } 299 | .wi-wind-south-east:before { 300 | content: "\f05b"; 301 | } 302 | .wi-wind-south:before { 303 | content: "\f05c"; 304 | } 305 | .wi-wind-north-west:before { 306 | content: "\f05d"; 307 | } 308 | .wi-wind-north-east:before { 309 | content: "\f05e"; 310 | } 311 | .wi-wind-north:before { 312 | content: "\f060"; 313 | } 314 | .wi-wind-east:before { 315 | content: "\f061"; 316 | } 317 | .wi-smoke:before { 318 | content: "\f062"; 319 | } 320 | .wi-dust:before { 321 | content: "\f063"; 322 | } 323 | .wi-snow-wind:before { 324 | content: "\f064"; 325 | } 326 | .wi-day-snow-wind:before { 327 | content: "\f065"; 328 | } 329 | .wi-night-snow-wind:before { 330 | content: "\f066"; 331 | } 332 | .wi-night-alt-snow-wind:before { 333 | content: "\f067"; 334 | } 335 | .wi-day-sleet-storm:before { 336 | content: "\f068"; 337 | } 338 | .wi-night-sleet-storm:before { 339 | content: "\f069"; 340 | } 341 | .wi-night-alt-sleet-storm:before { 342 | content: "\f06a"; 343 | } 344 | .wi-day-snow-thunderstorm:before { 345 | content: "\f06b"; 346 | } 347 | .wi-night-snow-thunderstorm:before { 348 | content: "\f06c"; 349 | } 350 | .wi-night-alt-snow-thunderstorm:before { 351 | content: "\f06d"; 352 | } 353 | .wi-solar-eclipse:before { 354 | content: "\f06e"; 355 | } 356 | .wi-lunar-eclipse:before { 357 | content: "\f070"; 358 | } 359 | .wi-meteor:before { 360 | content: "\f071"; 361 | } 362 | .wi-hot:before { 363 | content: "\f072"; 364 | } 365 | .wi-hurricane:before { 366 | content: "\f073"; 367 | } 368 | .wi-smog:before { 369 | content: "\f074"; 370 | } 371 | .wi-alien:before { 372 | content: "\f075"; 373 | } 374 | .wi-snowflake-cold:before { 375 | content: "\f076"; 376 | } 377 | .wi-stars:before { 378 | content: "\f077"; 379 | } 380 | .wi-night-partly-cloudy:before { 381 | content: "\f083"; 382 | } 383 | .wi-umbrella:before { 384 | content: "\f084"; 385 | } 386 | .wi-day-windy:before { 387 | content: "\f085"; 388 | } 389 | .wi-night-alt-cloudy:before { 390 | content: "\f086"; 391 | } 392 | .wi-up-left:before { 393 | content: "\f087"; 394 | } 395 | .wi-down-right:before { 396 | content: "\f088"; 397 | } 398 | .wi-time-12:before { 399 | content: "\f089"; 400 | } 401 | .wi-time-1:before { 402 | content: "\f08a"; 403 | } 404 | .wi-time-2:before { 405 | content: "\f08b"; 406 | } 407 | .wi-time-3:before { 408 | content: "\f08c"; 409 | } 410 | .wi-time-4:before { 411 | content: "\f08d"; 412 | } 413 | .wi-time-5:before { 414 | content: "\f08e"; 415 | } 416 | .wi-time-6:before { 417 | content: "\f08f"; 418 | } 419 | .wi-time-7:before { 420 | content: "\f090"; 421 | } 422 | .wi-time-8:before { 423 | content: "\f091"; 424 | } 425 | .wi-time-9:before { 426 | content: "\f092"; 427 | } 428 | .wi-time-10:before { 429 | content: "\f093"; 430 | } 431 | .wi-time-11:before { 432 | content: "\f094"; 433 | } 434 | .wi-day-sleet:before { 435 | content: "\f0b2"; 436 | } 437 | .wi-night-sleet:before { 438 | content: "\f0b3"; 439 | } 440 | .wi-night-alt-sleet:before { 441 | content: "\f0b4"; 442 | } 443 | .wi-sleet:before { 444 | content: "\f0b5"; 445 | } 446 | .wi-day-haze:before { 447 | content: "\f0b6"; 448 | } 449 | .wi-beafort-0:before { 450 | content: "\f0b7"; 451 | } 452 | .wi-beafort-1:before { 453 | content: "\f0b8"; 454 | } 455 | .wi-beafort-2:before { 456 | content: "\f0b9"; 457 | } 458 | .wi-beafort-3:before { 459 | content: "\f0ba"; 460 | } 461 | .wi-beafort-4:before { 462 | content: "\f0bb"; 463 | } 464 | .wi-beafort-5:before { 465 | content: "\f0bc"; 466 | } 467 | .wi-beafort-6:before { 468 | content: "\f0bd"; 469 | } 470 | .wi-beafort-7:before { 471 | content: "\f0be"; 472 | } 473 | .wi-beafort-8:before { 474 | content: "\f0bf"; 475 | } 476 | .wi-beafort-9:before { 477 | content: "\f0c0"; 478 | } 479 | .wi-beafort-10:before { 480 | content: "\f0c1"; 481 | } 482 | .wi-beafort-11:before { 483 | content: "\f0c2"; 484 | } 485 | .wi-beafort-12:before { 486 | content: "\f0c3"; 487 | } 488 | .wi-wind-default:before { 489 | content: "\f0b1"; 490 | } 491 | .wi-wind-default._0-deg { 492 | -webkit-transform: rotate(0deg); 493 | -moz-transform: rotate(0deg); 494 | -ms-transform: rotate(0deg); 495 | -o-transform: rotate(0deg); 496 | transform: rotate(0deg); 497 | } 498 | .wi-wind-default._15-deg { 499 | -webkit-transform: rotate(15deg); 500 | -moz-transform: rotate(15deg); 501 | -ms-transform: rotate(15deg); 502 | -o-transform: rotate(15deg); 503 | transform: rotate(15deg); 504 | } 505 | .wi-wind-default._30-deg { 506 | -webkit-transform: rotate(30deg); 507 | -moz-transform: rotate(30deg); 508 | -ms-transform: rotate(30deg); 509 | -o-transform: rotate(30deg); 510 | transform: rotate(30deg); 511 | } 512 | .wi-wind-default._45-deg { 513 | -webkit-transform: rotate(45deg); 514 | -moz-transform: rotate(45deg); 515 | -ms-transform: rotate(45deg); 516 | -o-transform: rotate(45deg); 517 | transform: rotate(45deg); 518 | } 519 | .wi-wind-default._60-deg { 520 | -webkit-transform: rotate(60deg); 521 | -moz-transform: rotate(60deg); 522 | -ms-transform: rotate(60deg); 523 | -o-transform: rotate(60deg); 524 | transform: rotate(60deg); 525 | } 526 | .wi-wind-default._75-deg { 527 | -webkit-transform: rotate(75deg); 528 | -moz-transform: rotate(75deg); 529 | -ms-transform: rotate(75deg); 530 | -o-transform: rotate(75deg); 531 | transform: rotate(75deg); 532 | } 533 | .wi-wind-default._90-deg { 534 | -webkit-transform: rotate(90deg); 535 | -moz-transform: rotate(90deg); 536 | -ms-transform: rotate(90deg); 537 | -o-transform: rotate(90deg); 538 | transform: rotate(90deg); 539 | } 540 | .wi-wind-default._105-deg { 541 | -webkit-transform: rotate(105deg); 542 | -moz-transform: rotate(105deg); 543 | -ms-transform: rotate(105deg); 544 | -o-transform: rotate(105deg); 545 | transform: rotate(105deg); 546 | } 547 | .wi-wind-default._120-deg { 548 | -webkit-transform: rotate(120deg); 549 | -moz-transform: rotate(120deg); 550 | -ms-transform: rotate(120deg); 551 | -o-transform: rotate(120deg); 552 | transform: rotate(120deg); 553 | } 554 | .wi-wind-default._135-deg { 555 | -webkit-transform: rotate(135deg); 556 | -moz-transform: rotate(135deg); 557 | -ms-transform: rotate(135deg); 558 | -o-transform: rotate(135deg); 559 | transform: rotate(135deg); 560 | } 561 | .wi-wind-default._150-deg { 562 | -webkit-transform: rotate(150deg); 563 | -moz-transform: rotate(150deg); 564 | -ms-transform: rotate(150deg); 565 | -o-transform: rotate(150deg); 566 | transform: rotate(150deg); 567 | } 568 | .wi-wind-default._165-deg { 569 | -webkit-transform: rotate(165deg); 570 | -moz-transform: rotate(165deg); 571 | -ms-transform: rotate(165deg); 572 | -o-transform: rotate(165deg); 573 | transform: rotate(165deg); 574 | } 575 | .wi-wind-default._180-deg { 576 | -webkit-transform: rotate(180deg); 577 | -moz-transform: rotate(180deg); 578 | -ms-transform: rotate(180deg); 579 | -o-transform: rotate(180deg); 580 | transform: rotate(180deg); 581 | } 582 | .wi-wind-default._195-deg { 583 | -webkit-transform: rotate(195deg); 584 | -moz-transform: rotate(195deg); 585 | -ms-transform: rotate(195deg); 586 | -o-transform: rotate(195deg); 587 | transform: rotate(195deg); 588 | } 589 | .wi-wind-default._210-deg { 590 | -webkit-transform: rotate(210deg); 591 | -moz-transform: rotate(210deg); 592 | -ms-transform: rotate(210deg); 593 | -o-transform: rotate(210deg); 594 | transform: rotate(210deg); 595 | } 596 | .wi-wind-default._225-deg { 597 | -webkit-transform: rotate(225deg); 598 | -moz-transform: rotate(225deg); 599 | -ms-transform: rotate(225deg); 600 | -o-transform: rotate(225deg); 601 | transform: rotate(225deg); 602 | } 603 | .wi-wind-default._240-deg { 604 | -webkit-transform: rotate(240deg); 605 | -moz-transform: rotate(240deg); 606 | -ms-transform: rotate(240deg); 607 | -o-transform: rotate(240deg); 608 | transform: rotate(240deg); 609 | } 610 | .wi-wind-default._255-deg { 611 | -webkit-transform: rotate(255deg); 612 | -moz-transform: rotate(255deg); 613 | -ms-transform: rotate(255deg); 614 | -o-transform: rotate(255deg); 615 | transform: rotate(255deg); 616 | } 617 | .wi-wind-default._270-deg { 618 | -webkit-transform: rotate(270deg); 619 | -moz-transform: rotate(270deg); 620 | -ms-transform: rotate(270deg); 621 | -o-transform: rotate(270deg); 622 | transform: rotate(270deg); 623 | } 624 | .wi-wind-default._285-deg { 625 | -webkit-transform: rotate(295deg); 626 | -moz-transform: rotate(295deg); 627 | -ms-transform: rotate(295deg); 628 | -o-transform: rotate(295deg); 629 | transform: rotate(295deg); 630 | } 631 | .wi-wind-default._300-deg { 632 | -webkit-transform: rotate(300deg); 633 | -moz-transform: rotate(300deg); 634 | -ms-transform: rotate(300deg); 635 | -o-transform: rotate(300deg); 636 | transform: rotate(300deg); 637 | } 638 | .wi-wind-default._315-deg { 639 | -webkit-transform: rotate(315deg); 640 | -moz-transform: rotate(315deg); 641 | -ms-transform: rotate(315deg); 642 | -o-transform: rotate(315deg); 643 | transform: rotate(315deg); 644 | } 645 | .wi-wind-default._330-deg { 646 | -webkit-transform: rotate(330deg); 647 | -moz-transform: rotate(330deg); 648 | -ms-transform: rotate(330deg); 649 | -o-transform: rotate(330deg); 650 | transform: rotate(330deg); 651 | } 652 | .wi-wind-default._345-deg { 653 | -webkit-transform: rotate(345deg); 654 | -moz-transform: rotate(345deg); 655 | -ms-transform: rotate(345deg); 656 | -o-transform: rotate(345deg); 657 | transform: rotate(345deg); 658 | } 659 | .wi-moon-new:before { 660 | content: "\f095"; 661 | } 662 | .wi-moon-waxing-cresent-1:before { 663 | content: "\f096"; 664 | } 665 | .wi-moon-waxing-cresent-2:before { 666 | content: "\f097"; 667 | } 668 | .wi-moon-waxing-cresent-3:before { 669 | content: "\f098"; 670 | } 671 | .wi-moon-waxing-cresent-4:before { 672 | content: "\f099"; 673 | } 674 | .wi-moon-waxing-cresent-5:before { 675 | content: "\f09a"; 676 | } 677 | .wi-moon-waxing-cresent-6:before { 678 | content: "\f09b"; 679 | } 680 | .wi-moon-first-quarter:before { 681 | content: "\f09c"; 682 | } 683 | .wi-moon-waxing-gibbous-1:before { 684 | content: "\f09d"; 685 | } 686 | .wi-moon-waxing-gibbous-2:before { 687 | content: "\f09e"; 688 | } 689 | .wi-moon-waxing-gibbous-3:before { 690 | content: "\f09f"; 691 | } 692 | .wi-moon-waxing-gibbous-4:before { 693 | content: "\f0a0"; 694 | } 695 | .wi-moon-waxing-gibbous-5:before { 696 | content: "\f0a1"; 697 | } 698 | .wi-moon-waxing-gibbous-6:before { 699 | content: "\f0a2"; 700 | } 701 | .wi-moon-full:before { 702 | content: "\f0a3"; 703 | } 704 | .wi-moon-waning-gibbous-1:before { 705 | content: "\f0a4"; 706 | } 707 | .wi-moon-waning-gibbous-2:before { 708 | content: "\f0a5"; 709 | } 710 | .wi-moon-waning-gibbous-3:before { 711 | content: "\f0a6"; 712 | } 713 | .wi-moon-waning-gibbous-4:before { 714 | content: "\f0a7"; 715 | } 716 | .wi-moon-waning-gibbous-5:before { 717 | content: "\f0a8"; 718 | } 719 | .wi-moon-waning-gibbous-6:before { 720 | content: "\f0a9"; 721 | } 722 | .wi-moon-3rd-quarter:before { 723 | content: "\f0aa"; 724 | } 725 | .wi-moon-waning-crescent-1:before { 726 | content: "\f0ab"; 727 | } 728 | .wi-moon-waning-crescent-2:before { 729 | content: "\f0ac"; 730 | } 731 | .wi-moon-waning-crescent-3:before { 732 | content: "\f0ad"; 733 | } 734 | .wi-moon-waning-crescent-4:before { 735 | content: "\f0ae"; 736 | } 737 | .wi-moon-waning-crescent-5:before { 738 | content: "\f0af"; 739 | } 740 | .wi-moon-waning-crescent-6:before { 741 | content: "\f0b0"; 742 | } 743 | -------------------------------------------------------------------------------- /css/weather-icons.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Weather Icons 1.3 3 | * Updated November 30th, 2014 4 | * Weather themed icons for Bootstrap 5 | * ------------------------------------------------------------------------------ 6 | * Maintained at http://erikflowers.github.io/weather-icons 7 | * http://twitter.com/Erik_UX 8 | * 9 | * License 10 | * ------------------------------------------------------------------------------ 11 | * - Fpmt licensed under SIL OFL 1.1 - 12 | * http://scripts.sil.org/OFL 13 | * - CSS and LESS are licensed under MIT License - 14 | * http://opensource.org/licenses/mit-license.html 15 | * - Documentation licensed under CC BY 3.0 - 16 | * http://creativecommons.org/licenses/by/3.0/ 17 | * - Inspired by and works great as a companion with Font Awesome 18 | * "Font Awesome by Dave Gandy - http://fontawesome.io" 19 | * 20 | * Weather Icons Bootstrap Package Author - Erik Flowers - erik@helloerik.com 21 | * ------------------------------------------------------------------------------ 22 | * Email: erik@helloerik.com 23 | * Twitter: http://twitter.com/Erik_UX 24 | */@font-face{font-family:weathericons;src:url(../font/weathericons-regular-webfont.eot);src:url(../font/weathericons-regular-webfont.eot?#iefix) format('embedded-opentype'),url(../font/weathericons-regular-webfont.woff) format('woff'),url(../font/weathericons-regular-webfont.ttf) format('truetype'),url(../font/weathericons-regular-webfont.svg#weathericons-regular-webfontRg) format('svg');font-weight:400;font-style:normal}.wi{display:inline-block;font-family:weathericons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wi-day-cloudy-gusts:before{content:"\f000"}.wi-day-cloudy-windy:before{content:"\f001"}.wi-day-cloudy:before{content:"\f002"}.wi-day-fog:before{content:"\f003"}.wi-day-hail:before{content:"\f004"}.wi-day-lightning:before{content:"\f005"}.wi-day-rain-mix:before{content:"\f006"}.wi-day-rain-wind:before{content:"\f007"}.wi-day-rain:before{content:"\f008"}.wi-day-showers:before{content:"\f009"}.wi-day-snow:before{content:"\f00a"}.wi-day-sprinkle:before{content:"\f00b"}.wi-day-sunny-overcast:before{content:"\f00c"}.wi-day-sunny:before{content:"\f00d"}.wi-day-storm-showers:before{content:"\f00e"}.wi-day-thunderstorm:before{content:"\f010"}.wi-cloudy-gusts:before{content:"\f011"}.wi-cloudy-windy:before{content:"\f012"}.wi-cloudy:before{content:"\f013"}.wi-fog:before{content:"\f014"}.wi-hail:before{content:"\f015"}.wi-lightning:before{content:"\f016"}.wi-rain-mix:before{content:"\f017"}.wi-rain-wind:before{content:"\f018"}.wi-rain:before{content:"\f019"}.wi-showers:before{content:"\f01a"}.wi-snow:before{content:"\f01b"}.wi-sprinkle:before{content:"\f01c"}.wi-storm-showers:before{content:"\f01d"}.wi-thunderstorm:before{content:"\f01e"}.wi-windy:before{content:"\f021"}.wi-night-alt-cloudy-gusts:before{content:"\f022"}.wi-night-alt-cloudy-windy:before{content:"\f023"}.wi-night-alt-hail:before{content:"\f024"}.wi-night-alt-lightning:before{content:"\f025"}.wi-night-alt-rain-mix:before{content:"\f026"}.wi-night-alt-rain-wind:before{content:"\f027"}.wi-night-alt-rain:before{content:"\f028"}.wi-night-alt-showers:before{content:"\f029"}.wi-night-alt-snow:before{content:"\f02a"}.wi-night-alt-sprinkle:before{content:"\f02b"}.wi-night-alt-storm-showers:before{content:"\f02c"}.wi-night-alt-thunderstorm:before{content:"\f02d"}.wi-night-clear:before{content:"\f02e"}.wi-night-cloudy-gusts:before{content:"\f02f"}.wi-night-cloudy-windy:before{content:"\f030"}.wi-night-cloudy:before{content:"\f031"}.wi-night-hail:before{content:"\f032"}.wi-night-lightning:before{content:"\f033"}.wi-night-rain-mix:before{content:"\f034"}.wi-night-rain-wind:before{content:"\f035"}.wi-night-rain:before{content:"\f036"}.wi-night-showers:before{content:"\f037"}.wi-night-snow:before{content:"\f038"}.wi-night-sprinkle:before{content:"\f039"}.wi-night-storm-showers:before{content:"\f03a"}.wi-night-thunderstorm:before{content:"\f03b"}.wi-celsius:before{content:"\f03c"}.wi-cloud-down:before{content:"\f03d"}.wi-cloud-refresh:before{content:"\f03e"}.wi-cloud-up:before{content:"\f040"}.wi-cloud:before{content:"\f041"}.wi-degrees:before{content:"\f042"}.wi-down-left:before{content:"\f043"}.wi-down:before{content:"\f044"}.wi-fahrenheit:before{content:"\f045"}.wi-horizon-alt:before{content:"\f046"}.wi-horizon:before{content:"\f047"}.wi-left:before{content:"\f048"}.wi-lightning:before{content:"\f016"}.wi-night-fog:before{content:"\f04a"}.wi-refresh-alt:before{content:"\f04b"}.wi-refresh:before{content:"\f04c"}.wi-right:before{content:"\f04d"}.wi-sprinkles:before{content:"\f04e"}.wi-strong-wind:before{content:"\f050"}.wi-sunrise:before{content:"\f051"}.wi-sunset:before{content:"\f052"}.wi-thermometer-exterior:before{content:"\f053"}.wi-thermometer-internal:before{content:"\f054"}.wi-thermometer:before{content:"\f055"}.wi-tornado:before{content:"\f056"}.wi-up-right:before{content:"\f057"}.wi-up:before{content:"\f058"}.wi-wind-west:before{content:"\f059"}.wi-wind-south-west:before{content:"\f05a"}.wi-wind-south-east:before{content:"\f05b"}.wi-wind-south:before{content:"\f05c"}.wi-wind-north-west:before{content:"\f05d"}.wi-wind-north-east:before{content:"\f05e"}.wi-wind-north:before{content:"\f060"}.wi-wind-east:before{content:"\f061"}.wi-smoke:before{content:"\f062"}.wi-dust:before{content:"\f063"}.wi-snow-wind:before{content:"\f064"}.wi-day-snow-wind:before{content:"\f065"}.wi-night-snow-wind:before{content:"\f066"}.wi-night-alt-snow-wind:before{content:"\f067"}.wi-day-sleet-storm:before{content:"\f068"}.wi-night-sleet-storm:before{content:"\f069"}.wi-night-alt-sleet-storm:before{content:"\f06a"}.wi-day-snow-thunderstorm:before{content:"\f06b"}.wi-night-snow-thunderstorm:before{content:"\f06c"}.wi-night-alt-snow-thunderstorm:before{content:"\f06d"}.wi-solar-eclipse:before{content:"\f06e"}.wi-lunar-eclipse:before{content:"\f070"}.wi-meteor:before{content:"\f071"}.wi-hot:before{content:"\f072"}.wi-hurricane:before{content:"\f073"}.wi-smog:before{content:"\f074"}.wi-alien:before{content:"\f075"}.wi-snowflake-cold:before{content:"\f076"}.wi-stars:before{content:"\f077"}.wi-night-partly-cloudy:before{content:"\f083"}.wi-umbrella:before{content:"\f084"}.wi-day-windy:before{content:"\f085"}.wi-night-alt-cloudy:before{content:"\f086"}.wi-up-left:before{content:"\f087"}.wi-down-right:before{content:"\f088"}.wi-time-12:before{content:"\f089"}.wi-time-1:before{content:"\f08a"}.wi-time-2:before{content:"\f08b"}.wi-time-3:before{content:"\f08c"}.wi-time-4:before{content:"\f08d"}.wi-time-5:before{content:"\f08e"}.wi-time-6:before{content:"\f08f"}.wi-time-7:before{content:"\f090"}.wi-time-8:before{content:"\f091"}.wi-time-9:before{content:"\f092"}.wi-time-10:before{content:"\f093"}.wi-time-11:before{content:"\f094"}.wi-day-sleet:before{content:"\f0b2"}.wi-night-sleet:before{content:"\f0b3"}.wi-night-alt-sleet:before{content:"\f0b4"}.wi-sleet:before{content:"\f0b5"}.wi-day-haze:before{content:"\f0b6"}.wi-beafort-0:before{content:"\f0b7"}.wi-beafort-1:before{content:"\f0b8"}.wi-beafort-2:before{content:"\f0b9"}.wi-beafort-3:before{content:"\f0ba"}.wi-beafort-4:before{content:"\f0bb"}.wi-beafort-5:before{content:"\f0bc"}.wi-beafort-6:before{content:"\f0bd"}.wi-beafort-7:before{content:"\f0be"}.wi-beafort-8:before{content:"\f0bf"}.wi-beafort-9:before{content:"\f0c0"}.wi-beafort-10:before{content:"\f0c1"}.wi-beafort-11:before{content:"\f0c2"}.wi-beafort-12:before{content:"\f0c3"}.wi-wind-default:before{content:"\f0b1"}.wi-wind-default._0-deg{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}.wi-wind-default._15-deg{-webkit-transform:rotate(15deg);-moz-transform:rotate(15deg);-ms-transform:rotate(15deg);-o-transform:rotate(15deg);transform:rotate(15deg)}.wi-wind-default._30-deg{-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}.wi-wind-default._45-deg{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.wi-wind-default._60-deg{-webkit-transform:rotate(60deg);-moz-transform:rotate(60deg);-ms-transform:rotate(60deg);-o-transform:rotate(60deg);transform:rotate(60deg)}.wi-wind-default._75-deg{-webkit-transform:rotate(75deg);-moz-transform:rotate(75deg);-ms-transform:rotate(75deg);-o-transform:rotate(75deg);transform:rotate(75deg)}.wi-wind-default._90-deg{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.wi-wind-default._105-deg{-webkit-transform:rotate(105deg);-moz-transform:rotate(105deg);-ms-transform:rotate(105deg);-o-transform:rotate(105deg);transform:rotate(105deg)}.wi-wind-default._120-deg{-webkit-transform:rotate(120deg);-moz-transform:rotate(120deg);-ms-transform:rotate(120deg);-o-transform:rotate(120deg);transform:rotate(120deg)}.wi-wind-default._135-deg{-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-ms-transform:rotate(135deg);-o-transform:rotate(135deg);transform:rotate(135deg)}.wi-wind-default._150-deg{-webkit-transform:rotate(150deg);-moz-transform:rotate(150deg);-ms-transform:rotate(150deg);-o-transform:rotate(150deg);transform:rotate(150deg)}.wi-wind-default._165-deg{-webkit-transform:rotate(165deg);-moz-transform:rotate(165deg);-ms-transform:rotate(165deg);-o-transform:rotate(165deg);transform:rotate(165deg)}.wi-wind-default._180-deg{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.wi-wind-default._195-deg{-webkit-transform:rotate(195deg);-moz-transform:rotate(195deg);-ms-transform:rotate(195deg);-o-transform:rotate(195deg);transform:rotate(195deg)}.wi-wind-default._210-deg{-webkit-transform:rotate(210deg);-moz-transform:rotate(210deg);-ms-transform:rotate(210deg);-o-transform:rotate(210deg);transform:rotate(210deg)}.wi-wind-default._225-deg{-webkit-transform:rotate(225deg);-moz-transform:rotate(225deg);-ms-transform:rotate(225deg);-o-transform:rotate(225deg);transform:rotate(225deg)}.wi-wind-default._240-deg{-webkit-transform:rotate(240deg);-moz-transform:rotate(240deg);-ms-transform:rotate(240deg);-o-transform:rotate(240deg);transform:rotate(240deg)}.wi-wind-default._255-deg{-webkit-transform:rotate(255deg);-moz-transform:rotate(255deg);-ms-transform:rotate(255deg);-o-transform:rotate(255deg);transform:rotate(255deg)}.wi-wind-default._270-deg{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.wi-wind-default._285-deg{-webkit-transform:rotate(295deg);-moz-transform:rotate(295deg);-ms-transform:rotate(295deg);-o-transform:rotate(295deg);transform:rotate(295deg)}.wi-wind-default._300-deg{-webkit-transform:rotate(300deg);-moz-transform:rotate(300deg);-ms-transform:rotate(300deg);-o-transform:rotate(300deg);transform:rotate(300deg)}.wi-wind-default._315-deg{-webkit-transform:rotate(315deg);-moz-transform:rotate(315deg);-ms-transform:rotate(315deg);-o-transform:rotate(315deg);transform:rotate(315deg)}.wi-wind-default._330-deg{-webkit-transform:rotate(330deg);-moz-transform:rotate(330deg);-ms-transform:rotate(330deg);-o-transform:rotate(330deg);transform:rotate(330deg)}.wi-wind-default._345-deg{-webkit-transform:rotate(345deg);-moz-transform:rotate(345deg);-ms-transform:rotate(345deg);-o-transform:rotate(345deg);transform:rotate(345deg)}.wi-moon-new:before{content:"\f095"}.wi-moon-waxing-cresent-1:before{content:"\f096"}.wi-moon-waxing-cresent-2:before{content:"\f097"}.wi-moon-waxing-cresent-3:before{content:"\f098"}.wi-moon-waxing-cresent-4:before{content:"\f099"}.wi-moon-waxing-cresent-5:before{content:"\f09a"}.wi-moon-waxing-cresent-6:before{content:"\f09b"}.wi-moon-first-quarter:before{content:"\f09c"}.wi-moon-waxing-gibbous-1:before{content:"\f09d"}.wi-moon-waxing-gibbous-2:before{content:"\f09e"}.wi-moon-waxing-gibbous-3:before{content:"\f09f"}.wi-moon-waxing-gibbous-4:before{content:"\f0a0"}.wi-moon-waxing-gibbous-5:before{content:"\f0a1"}.wi-moon-waxing-gibbous-6:before{content:"\f0a2"}.wi-moon-full:before{content:"\f0a3"}.wi-moon-waning-gibbous-1:before{content:"\f0a4"}.wi-moon-waning-gibbous-2:before{content:"\f0a5"}.wi-moon-waning-gibbous-3:before{content:"\f0a6"}.wi-moon-waning-gibbous-4:before{content:"\f0a7"}.wi-moon-waning-gibbous-5:before{content:"\f0a8"}.wi-moon-waning-gibbous-6:before{content:"\f0a9"}.wi-moon-3rd-quarter:before{content:"\f0aa"}.wi-moon-waning-crescent-1:before{content:"\f0ab"}.wi-moon-waning-crescent-2:before{content:"\f0ac"}.wi-moon-waning-crescent-3:before{content:"\f0ad"}.wi-moon-waning-crescent-4:before{content:"\f0ae"}.wi-moon-waning-crescent-5:before{content:"\f0af"}.wi-moon-waning-crescent-6:before{content:"\f0b0"} -------------------------------------------------------------------------------- /font/WeatherIcons-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/WeatherIcons-Regular.otf -------------------------------------------------------------------------------- /font/material-design-icons/LICENSE.txt: -------------------------------------------------------------------------------- 1 | https://github.com/google/material-design-icons/blob/master/LICENSE 2 | https://github.com/FezVrasta/bootstrap-material-design/blob/master/fonts/LICENSE.txt 3 | 4 | Attribution-ShareAlike 4.0 International 5 | 6 | ======================================================================= 7 | 8 | Creative Commons Corporation ("Creative Commons") is not a law firm and 9 | does not provide legal services or legal advice. Distribution of 10 | Creative Commons public licenses does not create a lawyer-client or 11 | other relationship. Creative Commons makes its licenses and related 12 | information available on an "as-is" basis. Creative Commons gives no 13 | warranties regarding its licenses, any material licensed under their 14 | terms and conditions, or any related information. Creative Commons 15 | disclaims all liability for damages resulting from their use to the 16 | fullest extent possible. 17 | 18 | Using Creative Commons Public Licenses 19 | 20 | Creative Commons public licenses provide a standard set of terms and 21 | conditions that creators and other rights holders may use to share 22 | original works of authorship and other material subject to copyright 23 | and certain other rights specified in the public license below. The 24 | following considerations are for informational purposes only, are not 25 | exhaustive, and do not form part of our licenses. 26 | 27 | Considerations for licensors: Our public licenses are 28 | intended for use by those authorized to give the public 29 | permission to use material in ways otherwise restricted by 30 | copyright and certain other rights. Our licenses are 31 | irrevocable. Licensors should read and understand the terms 32 | and conditions of the license they choose before applying it. 33 | Licensors should also secure all rights necessary before 34 | applying our licenses so that the public can reuse the 35 | material as expected. Licensors should clearly mark any 36 | material not subject to the license. This includes other CC- 37 | licensed material, or material used under an exception or 38 | limitation to copyright. More considerations for licensors: 39 | wiki.creativecommons.org/Considerations_for_licensors 40 | 41 | Considerations for the public: By using one of our public 42 | licenses, a licensor grants the public permission to use the 43 | licensed material under specified terms and conditions. If 44 | the licensor's permission is not necessary for any reason--for 45 | example, because of any applicable exception or limitation to 46 | copyright--then that use is not regulated by the license. Our 47 | licenses grant only permissions under copyright and certain 48 | other rights that a licensor has authority to grant. Use of 49 | the licensed material may still be restricted for other 50 | reasons, including because others have copyright or other 51 | rights in the material. A licensor may make special requests, 52 | such as asking that all changes be marked or described. 53 | Although not required by our licenses, you are encouraged to 54 | respect those requests where reasonable. More_considerations 55 | for the public: 56 | wiki.creativecommons.org/Considerations_for_licensees 57 | 58 | ======================================================================= 59 | 60 | Creative Commons Attribution-ShareAlike 4.0 International Public 61 | License 62 | 63 | By exercising the Licensed Rights (defined below), You accept and agree 64 | to be bound by the terms and conditions of this Creative Commons 65 | Attribution-ShareAlike 4.0 International Public License ("Public 66 | License"). To the extent this Public License may be interpreted as a 67 | contract, You are granted the Licensed Rights in consideration of Your 68 | acceptance of these terms and conditions, and the Licensor grants You 69 | such rights in consideration of benefits the Licensor receives from 70 | making the Licensed Material available under these terms and 71 | conditions. 72 | 73 | 74 | Section 1 -- Definitions. 75 | 76 | a. Adapted Material means material subject to Copyright and Similar 77 | Rights that is derived from or based upon the Licensed Material 78 | and in which the Licensed Material is translated, altered, 79 | arranged, transformed, or otherwise modified in a manner requiring 80 | permission under the Copyright and Similar Rights held by the 81 | Licensor. For purposes of this Public License, where the Licensed 82 | Material is a musical work, performance, or sound recording, 83 | Adapted Material is always produced where the Licensed Material is 84 | synched in timed relation with a moving image. 85 | 86 | b. Adapter's License means the license You apply to Your Copyright 87 | and Similar Rights in Your contributions to Adapted Material in 88 | accordance with the terms and conditions of this Public License. 89 | 90 | c. BY-SA Compatible License means a license listed at 91 | creativecommons.org/compatiblelicenses, approved by Creative 92 | Commons as essentially the equivalent of this Public License. 93 | 94 | d. Copyright and Similar Rights means copyright and/or similar rights 95 | closely related to copyright including, without limitation, 96 | performance, broadcast, sound recording, and Sui Generis Database 97 | Rights, without regard to how the rights are labeled or 98 | categorized. For purposes of this Public License, the rights 99 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 100 | Rights. 101 | 102 | e. Effective Technological Measures means those measures that, in the 103 | absence of proper authority, may not be circumvented under laws 104 | fulfilling obligations under Article 11 of the WIPO Copyright 105 | Treaty adopted on December 20, 1996, and/or similar international 106 | agreements. 107 | 108 | f. Exceptions and Limitations means fair use, fair dealing, and/or 109 | any other exception or limitation to Copyright and Similar Rights 110 | that applies to Your use of the Licensed Material. 111 | 112 | g. License Elements means the license attributes listed in the name 113 | of a Creative Commons Public License. The License Elements of this 114 | Public License are Attribution and ShareAlike. 115 | 116 | h. Licensed Material means the artistic or literary work, database, 117 | or other material to which the Licensor applied this Public 118 | License. 119 | 120 | i. Licensed Rights means the rights granted to You subject to the 121 | terms and conditions of this Public License, which are limited to 122 | all Copyright and Similar Rights that apply to Your use of the 123 | Licensed Material and that the Licensor has authority to license. 124 | 125 | j. Licensor means the individual(s) or entity(ies) granting rights 126 | under this Public License. 127 | 128 | k. Share means to provide material to the public by any means or 129 | process that requires permission under the Licensed Rights, such 130 | as reproduction, public display, public performance, distribution, 131 | dissemination, communication, or importation, and to make material 132 | available to the public including in ways that members of the 133 | public may access the material from a place and at a time 134 | individually chosen by them. 135 | 136 | l. Sui Generis Database Rights means rights other than copyright 137 | resulting from Directive 96/9/EC of the European Parliament and of 138 | the Council of 11 March 1996 on the legal protection of databases, 139 | as amended and/or succeeded, as well as other essentially 140 | equivalent rights anywhere in the world. 141 | 142 | m. You means the individual or entity exercising the Licensed Rights 143 | under this Public License. Your has a corresponding meaning. 144 | 145 | 146 | Section 2 -- Scope. 147 | 148 | a. License grant. 149 | 150 | 1. Subject to the terms and conditions of this Public License, 151 | the Licensor hereby grants You a worldwide, royalty-free, 152 | non-sublicensable, non-exclusive, irrevocable license to 153 | exercise the Licensed Rights in the Licensed Material to: 154 | 155 | a. reproduce and Share the Licensed Material, in whole or 156 | in part; and 157 | 158 | b. produce, reproduce, and Share Adapted Material. 159 | 160 | 2. Exceptions and Limitations. For the avoidance of doubt, where 161 | Exceptions and Limitations apply to Your use, this Public 162 | License does not apply, and You do not need to comply with 163 | its terms and conditions. 164 | 165 | 3. Term. The term of this Public License is specified in Section 166 | 6(a). 167 | 168 | 4. Media and formats; technical modifications allowed. The 169 | Licensor authorizes You to exercise the Licensed Rights in 170 | all media and formats whether now known or hereafter created, 171 | and to make technical modifications necessary to do so. The 172 | Licensor waives and/or agrees not to assert any right or 173 | authority to forbid You from making technical modifications 174 | necessary to exercise the Licensed Rights, including 175 | technical modifications necessary to circumvent Effective 176 | Technological Measures. For purposes of this Public License, 177 | simply making modifications authorized by this Section 2(a) 178 | (4) never produces Adapted Material. 179 | 180 | 5. Downstream recipients. 181 | 182 | a. Offer from the Licensor -- Licensed Material. Every 183 | recipient of the Licensed Material automatically 184 | receives an offer from the Licensor to exercise the 185 | Licensed Rights under the terms and conditions of this 186 | Public License. 187 | 188 | b. Additional offer from the Licensor -- Adapted Material. 189 | Every recipient of Adapted Material from You 190 | automatically receives an offer from the Licensor to 191 | exercise the Licensed Rights in the Adapted Material 192 | under the conditions of the Adapter's License You apply. 193 | 194 | c. No downstream restrictions. You may not offer or impose 195 | any additional or different terms or conditions on, or 196 | apply any Effective Technological Measures to, the 197 | Licensed Material if doing so restricts exercise of the 198 | Licensed Rights by any recipient of the Licensed 199 | Material. 200 | 201 | 6. No endorsement. Nothing in this Public License constitutes or 202 | may be construed as permission to assert or imply that You 203 | are, or that Your use of the Licensed Material is, connected 204 | with, or sponsored, endorsed, or granted official status by, 205 | the Licensor or others designated to receive attribution as 206 | provided in Section 3(a)(1)(A)(i). 207 | 208 | b. Other rights. 209 | 210 | 1. Moral rights, such as the right of integrity, are not 211 | licensed under this Public License, nor are publicity, 212 | privacy, and/or other similar personality rights; however, to 213 | the extent possible, the Licensor waives and/or agrees not to 214 | assert any such rights held by the Licensor to the limited 215 | extent necessary to allow You to exercise the Licensed 216 | Rights, but not otherwise. 217 | 218 | 2. Patent and trademark rights are not licensed under this 219 | Public License. 220 | 221 | 3. To the extent possible, the Licensor waives any right to 222 | collect royalties from You for the exercise of the Licensed 223 | Rights, whether directly or through a collecting society 224 | under any voluntary or waivable statutory or compulsory 225 | licensing scheme. In all other cases the Licensor expressly 226 | reserves any right to collect such royalties. 227 | 228 | 229 | Section 3 -- License Conditions. 230 | 231 | Your exercise of the Licensed Rights is expressly made subject to the 232 | following conditions. 233 | 234 | a. Attribution. 235 | 236 | 1. If You Share the Licensed Material (including in modified 237 | form), You must: 238 | 239 | a. retain the following if it is supplied by the Licensor 240 | with the Licensed Material: 241 | 242 | i. identification of the creator(s) of the Licensed 243 | Material and any others designated to receive 244 | attribution, in any reasonable manner requested by 245 | the Licensor (including by pseudonym if 246 | designated); 247 | 248 | ii. a copyright notice; 249 | 250 | iii. a notice that refers to this Public License; 251 | 252 | iv. a notice that refers to the disclaimer of 253 | warranties; 254 | 255 | v. a URI or hyperlink to the Licensed Material to the 256 | extent reasonably practicable; 257 | 258 | b. indicate if You modified the Licensed Material and 259 | retain an indication of any previous modifications; and 260 | 261 | c. indicate the Licensed Material is licensed under this 262 | Public License, and include the text of, or the URI or 263 | hyperlink to, this Public License. 264 | 265 | 2. You may satisfy the conditions in Section 3(a)(1) in any 266 | reasonable manner based on the medium, means, and context in 267 | which You Share the Licensed Material. For example, it may be 268 | reasonable to satisfy the conditions by providing a URI or 269 | hyperlink to a resource that includes the required 270 | information. 271 | 272 | 3. If requested by the Licensor, You must remove any of the 273 | information required by Section 3(a)(1)(A) to the extent 274 | reasonably practicable. 275 | 276 | b. ShareAlike. 277 | 278 | In addition to the conditions in Section 3(a), if You Share 279 | Adapted Material You produce, the following conditions also apply. 280 | 281 | 1. The Adapter's License You apply must be a Creative Commons 282 | license with the same License Elements, this version or 283 | later, or a BY-SA Compatible License. 284 | 285 | 2. You must include the text of, or the URI or hyperlink to, the 286 | Adapter's License You apply. You may satisfy this condition 287 | in any reasonable manner based on the medium, means, and 288 | context in which You Share Adapted Material. 289 | 290 | 3. You may not offer or impose any additional or different terms 291 | or conditions on, or apply any Effective Technological 292 | Measures to, Adapted Material that restrict exercise of the 293 | rights granted under the Adapter's License You apply. 294 | 295 | 296 | Section 4 -- Sui Generis Database Rights. 297 | 298 | Where the Licensed Rights include Sui Generis Database Rights that 299 | apply to Your use of the Licensed Material: 300 | 301 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 302 | to extract, reuse, reproduce, and Share all or a substantial 303 | portion of the contents of the database; 304 | 305 | b. if You include all or a substantial portion of the database 306 | contents in a database in which You have Sui Generis Database 307 | Rights, then the database in which You have Sui Generis Database 308 | Rights (but not its individual contents) is Adapted Material, 309 | 310 | including for purposes of Section 3(b); and 311 | c. You must comply with the conditions in Section 3(a) if You Share 312 | all or a substantial portion of the contents of the database. 313 | 314 | For the avoidance of doubt, this Section 4 supplements and does not 315 | replace Your obligations under this Public License where the Licensed 316 | Rights include other Copyright and Similar Rights. 317 | 318 | 319 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 320 | 321 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 322 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 323 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 324 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 325 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 326 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 327 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 328 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 329 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 330 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 331 | 332 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 333 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 334 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 335 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 336 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 337 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 338 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 339 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 340 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 341 | 342 | c. The disclaimer of warranties and limitation of liability provided 343 | above shall be interpreted in a manner that, to the extent 344 | possible, most closely approximates an absolute disclaimer and 345 | waiver of all liability. 346 | 347 | 348 | Section 6 -- Term and Termination. 349 | 350 | a. This Public License applies for the term of the Copyright and 351 | Similar Rights licensed here. However, if You fail to comply with 352 | this Public License, then Your rights under this Public License 353 | terminate automatically. 354 | 355 | b. Where Your right to use the Licensed Material has terminated under 356 | Section 6(a), it reinstates: 357 | 358 | 1. automatically as of the date the violation is cured, provided 359 | it is cured within 30 days of Your discovery of the 360 | violation; or 361 | 362 | 2. upon express reinstatement by the Licensor. 363 | 364 | For the avoidance of doubt, this Section 6(b) does not affect any 365 | right the Licensor may have to seek remedies for Your violations 366 | of this Public License. 367 | 368 | c. For the avoidance of doubt, the Licensor may also offer the 369 | Licensed Material under separate terms or conditions or stop 370 | distributing the Licensed Material at any time; however, doing so 371 | will not terminate this Public License. 372 | 373 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 374 | License. 375 | 376 | 377 | Section 7 -- Other Terms and Conditions. 378 | 379 | a. The Licensor shall not be bound by any additional or different 380 | terms or conditions communicated by You unless expressly agreed. 381 | 382 | b. Any arrangements, understandings, or agreements regarding the 383 | Licensed Material not stated herein are separate from and 384 | independent of the terms and conditions of this Public License. 385 | 386 | 387 | Section 8 -- Interpretation. 388 | 389 | a. For the avoidance of doubt, this Public License does not, and 390 | shall not be interpreted to, reduce, limit, restrict, or impose 391 | conditions on any use of the Licensed Material that could lawfully 392 | be made without permission under this Public License. 393 | 394 | b. To the extent possible, if any provision of this Public License is 395 | deemed unenforceable, it shall be automatically reformed to the 396 | minimum extent necessary to make it enforceable. If the provision 397 | cannot be reformed, it shall be severed from this Public License 398 | without affecting the enforceability of the remaining terms and 399 | conditions. 400 | 401 | c. No term or condition of this Public License will be waived and no 402 | failure to comply consented to unless expressly agreed to by the 403 | Licensor. 404 | 405 | d. Nothing in this Public License constitutes or may be interpreted 406 | as a limitation upon, or waiver of, any privileges and immunities 407 | that apply to the Licensor or You, including from the legal 408 | processes of any jurisdiction or authority. 409 | 410 | 411 | ======================================================================= 412 | 413 | Creative Commons is not a party to its public licenses. 414 | Notwithstanding, Creative Commons may elect to apply one of its public 415 | licenses to material it publishes and in those instances will be 416 | considered the "Licensor." Except for the limited purpose of indicating 417 | that material is shared under a Creative Commons public license or as 418 | otherwise permitted by the Creative Commons policies published at 419 | creativecommons.org/policies, Creative Commons does not authorize the 420 | use of the trademark "Creative Commons" or any other trademark or logo 421 | of Creative Commons without its prior written consent including, 422 | without limitation, in connection with any unauthorized modifications 423 | to any of its public licenses or any other arrangements, 424 | understandings, or agreements concerning use of licensed material. For 425 | the avoidance of doubt, this paragraph does not form part of the public 426 | licenses. 427 | 428 | Creative Commons may be contacted at creativecommons.org. 429 | -------------------------------------------------------------------------------- /font/material-design-icons/Material-Design-Icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/material-design-icons/Material-Design-Icons.eot -------------------------------------------------------------------------------- /font/material-design-icons/Material-Design-Icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/material-design-icons/Material-Design-Icons.ttf -------------------------------------------------------------------------------- /font/material-design-icons/Material-Design-Icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/material-design-icons/Material-Design-Icons.woff -------------------------------------------------------------------------------- /font/material-design-icons/Material-Design-Icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/material-design-icons/Material-Design-Icons.woff2 -------------------------------------------------------------------------------- /font/roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /font/roboto/Roboto-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Bold.woff -------------------------------------------------------------------------------- /font/roboto/Roboto-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Bold.woff2 -------------------------------------------------------------------------------- /font/roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /font/roboto/Roboto-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Light.woff -------------------------------------------------------------------------------- /font/roboto/Roboto-Light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Light.woff2 -------------------------------------------------------------------------------- /font/roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /font/roboto/Roboto-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Medium.woff -------------------------------------------------------------------------------- /font/roboto/Roboto-Medium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Medium.woff2 -------------------------------------------------------------------------------- /font/roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /font/roboto/Roboto-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Regular.woff -------------------------------------------------------------------------------- /font/roboto/Roboto-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Regular.woff2 -------------------------------------------------------------------------------- /font/roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /font/roboto/Roboto-Thin.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Thin.woff -------------------------------------------------------------------------------- /font/roboto/Roboto-Thin.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/roboto/Roboto-Thin.woff2 -------------------------------------------------------------------------------- /font/weathericons-regular-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/weathericons-regular-webfont.eot -------------------------------------------------------------------------------- /font/weathericons-regular-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/weathericons-regular-webfont.ttf -------------------------------------------------------------------------------- /font/weathericons-regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/font/weathericons-regular-webfont.woff -------------------------------------------------------------------------------- /icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/icon128.png -------------------------------------------------------------------------------- /img/android-chrome-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-144x144.png -------------------------------------------------------------------------------- /img/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-192x192.png -------------------------------------------------------------------------------- /img/android-chrome-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-36x36.png -------------------------------------------------------------------------------- /img/android-chrome-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-48x48.png -------------------------------------------------------------------------------- /img/android-chrome-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-72x72.png -------------------------------------------------------------------------------- /img/android-chrome-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/android-chrome-96x96.png -------------------------------------------------------------------------------- /img/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /img/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /img/apple-touch-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-144x144.png -------------------------------------------------------------------------------- /img/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /img/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /img/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /img/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /img/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /img/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /img/apple-touch-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon-precomposed.png -------------------------------------------------------------------------------- /img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/apple-touch-icon.png -------------------------------------------------------------------------------- /img/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/favicon-16x16.png -------------------------------------------------------------------------------- /img/favicon-194x194.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/favicon-194x194.png -------------------------------------------------------------------------------- /img/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/favicon-32x32.png -------------------------------------------------------------------------------- /img/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/favicon-96x96.png -------------------------------------------------------------------------------- /img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/favicon.ico -------------------------------------------------------------------------------- /img/marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/marker.png -------------------------------------------------------------------------------- /img/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mask.png -------------------------------------------------------------------------------- /img/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mstile-144x144.png -------------------------------------------------------------------------------- /img/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mstile-150x150.png -------------------------------------------------------------------------------- /img/mstile-310x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mstile-310x150.png -------------------------------------------------------------------------------- /img/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mstile-310x310.png -------------------------------------------------------------------------------- /img/mstile-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/mstile-70x70.png -------------------------------------------------------------------------------- /img/qr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/qr.png -------------------------------------------------------------------------------- /img/wheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corbindavenport/nimbus/dc54c9b3ed8073e57bf464934027710206f46807/img/wheel.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Nimbus 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 49 | 50 | 59 | 60 | 69 | 70 | 79 | 80 | 89 | 90 | 99 | 100 | 108 | 109 | 118 | 119 | 132 | 133 | 142 | 143 | 152 | 153 | 163 | 164 | 175 | 176 | 178 | 179 | 187 | 188 |
189 | 194 |
195 | 196 |
197 | Save Settings 198 | 222 |
223 | 224 |
225 | 226 |
227 | 228 |
229 | 230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 | 241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 | 251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 | 261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | -------------------------------------------------------------------------------- /js/farbtastic.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Farbtastic Color Picker 1.2 3 | * © 2008 Steven Wittens 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | jQuery.fn.farbtastic = function (callback) { 21 | $.farbtastic(this, callback); 22 | return this; 23 | }; 24 | 25 | jQuery.farbtastic = function (container, callback) { 26 | var container = $(container).get(0); 27 | return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback)); 28 | } 29 | 30 | jQuery._farbtastic = function (container, callback) { 31 | // Store farbtastic object 32 | var fb = this; 33 | 34 | // Insert markup 35 | $(container).html('
'); 36 | var e = $('.farbtastic', container); 37 | fb.wheel = $('.wheel', container).get(0); 38 | // Dimensions 39 | fb.radius = 84; 40 | fb.square = 100; 41 | fb.width = 194; 42 | 43 | // Fix background PNGs in IE6 44 | if (navigator.appVersion.match(/MSIE [0-6]\./)) { 45 | $('*', e).each(function () { 46 | if (this.currentStyle.backgroundImage != 'none') { 47 | var image = this.currentStyle.backgroundImage; 48 | image = this.currentStyle.backgroundImage.substring(5, image.length - 2); 49 | $(this).css({ 50 | 'backgroundImage': 'none', 51 | 'filter': "progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='" + image + "')" 52 | }); 53 | } 54 | }); 55 | } 56 | 57 | /** 58 | * Link to the given element(s) or callback. 59 | */ 60 | fb.linkTo = function (callback) { 61 | // Unbind previous nodes 62 | if (typeof fb.callback == 'object') { 63 | $(fb.callback).unbind('keyup', fb.updateValue); 64 | } 65 | 66 | // Reset color 67 | fb.color = null; 68 | 69 | // Bind callback or elements 70 | if (typeof callback == 'function') { 71 | fb.callback = callback; 72 | } 73 | else if (typeof callback == 'object' || typeof callback == 'string') { 74 | fb.callback = $(callback); 75 | fb.callback.bind('keyup', fb.updateValue); 76 | if (fb.callback.get(0).value) { 77 | fb.setColor(fb.callback.get(0).value); 78 | } 79 | } 80 | return this; 81 | } 82 | fb.updateValue = function (event) { 83 | if (this.value && this.value != fb.color) { 84 | fb.setColor(this.value); 85 | } 86 | } 87 | 88 | /** 89 | * Change color with HTML syntax #123456 90 | */ 91 | fb.setColor = function (color) { 92 | var unpack = fb.unpack(color); 93 | if (fb.color != color && unpack) { 94 | fb.color = color; 95 | fb.rgb = unpack; 96 | fb.hsl = fb.RGBToHSL(fb.rgb); 97 | fb.updateDisplay(); 98 | } 99 | return this; 100 | } 101 | 102 | /** 103 | * Change color with HSL triplet [0..1, 0..1, 0..1] 104 | */ 105 | fb.setHSL = function (hsl) { 106 | fb.hsl = hsl; 107 | fb.rgb = fb.HSLToRGB(hsl); 108 | fb.color = fb.pack(fb.rgb); 109 | fb.updateDisplay(); 110 | return this; 111 | } 112 | 113 | ///////////////////////////////////////////////////// 114 | 115 | /** 116 | * Retrieve the coordinates of the given event relative to the center 117 | * of the widget. 118 | */ 119 | fb.widgetCoords = function (event) { 120 | var x, y; 121 | var el = event.target || event.srcElement; 122 | var reference = fb.wheel; 123 | 124 | if (typeof event.offsetX != 'undefined') { 125 | // Use offset coordinates and find common offsetParent 126 | var pos = { x: event.offsetX, y: event.offsetY }; 127 | 128 | // Send the coordinates upwards through the offsetParent chain. 129 | var e = el; 130 | while (e) { 131 | e.mouseX = pos.x; 132 | e.mouseY = pos.y; 133 | pos.x += e.offsetLeft; 134 | pos.y += e.offsetTop; 135 | e = e.offsetParent; 136 | } 137 | 138 | // Look for the coordinates starting from the wheel widget. 139 | var e = reference; 140 | var offset = { x: 0, y: 0 } 141 | while (e) { 142 | if (typeof e.mouseX != 'undefined') { 143 | x = e.mouseX - offset.x; 144 | y = e.mouseY - offset.y; 145 | break; 146 | } 147 | offset.x += e.offsetLeft; 148 | offset.y += e.offsetTop; 149 | e = e.offsetParent; 150 | } 151 | 152 | // Reset stored coordinates 153 | e = el; 154 | while (e) { 155 | e.mouseX = undefined; 156 | e.mouseY = undefined; 157 | e = e.offsetParent; 158 | } 159 | } 160 | else { 161 | // Use absolute coordinates 162 | var pos = fb.absolutePosition(reference); 163 | x = (event.pageX || 0*(event.clientX + $('html').get(0).scrollLeft)) - pos.x; 164 | y = (event.pageY || 0*(event.clientY + $('html').get(0).scrollTop)) - pos.y; 165 | } 166 | // Subtract distance to middle 167 | return { x: x - fb.width / 2, y: y - fb.width / 2 }; 168 | } 169 | 170 | /** 171 | * Mousedown handler 172 | */ 173 | fb.mousedown = function (event) { 174 | // Capture mouse 175 | if (!document.dragging) { 176 | $(document).bind('mousemove', fb.mousemove).bind('mouseup', fb.mouseup); 177 | document.dragging = true; 178 | } 179 | 180 | // Check which area is being dragged 181 | var pos = fb.widgetCoords(event); 182 | fb.circleDrag = Math.max(Math.abs(pos.x), Math.abs(pos.y)) * 2 > fb.square; 183 | 184 | // Process 185 | fb.mousemove(event); 186 | return false; 187 | } 188 | 189 | /** 190 | * Mousemove handler 191 | */ 192 | fb.mousemove = function (event) { 193 | // Get coordinates relative to color picker center 194 | var pos = fb.widgetCoords(event); 195 | 196 | // Set new HSL parameters 197 | if (fb.circleDrag) { 198 | var hue = Math.atan2(pos.x, -pos.y) / 6.28; 199 | if (hue < 0) hue += 1; 200 | fb.setHSL([hue, fb.hsl[1], fb.hsl[2]]); 201 | } 202 | else { 203 | var sat = Math.max(0, Math.min(1, -(pos.x / fb.square) + .5)); 204 | var lum = Math.max(0, Math.min(1, -(pos.y / fb.square) + .5)); 205 | fb.setHSL([fb.hsl[0], sat, lum]); 206 | } 207 | return false; 208 | } 209 | 210 | /** 211 | * Mouseup handler 212 | */ 213 | fb.mouseup = function () { 214 | // Uncapture mouse 215 | $(document).unbind('mousemove', fb.mousemove); 216 | $(document).unbind('mouseup', fb.mouseup); 217 | document.dragging = false; 218 | } 219 | 220 | /** 221 | * Update the markers and styles 222 | */ 223 | fb.updateDisplay = function () { 224 | // Markers 225 | var angle = fb.hsl[0] * 6.28; 226 | $('.h-marker', e).css({ 227 | left: Math.round(Math.sin(angle) * fb.radius + fb.width / 2) + 'px', 228 | top: Math.round(-Math.cos(angle) * fb.radius + fb.width / 2) + 'px' 229 | }); 230 | 231 | $('.sl-marker', e).css({ 232 | left: Math.round(fb.square * (.5 - fb.hsl[1]) + fb.width / 2) + 'px', 233 | top: Math.round(fb.square * (.5 - fb.hsl[2]) + fb.width / 2) + 'px' 234 | }); 235 | 236 | // Saturation/Luminance gradient 237 | $('.color', e).css('backgroundColor', fb.pack(fb.HSLToRGB([fb.hsl[0], 1, 0.5]))); 238 | 239 | // Linked elements or callback 240 | if (typeof fb.callback == 'object') { 241 | 242 | // Change linked value 243 | $(fb.callback).each(function() { 244 | if (this.value && this.value != fb.color) { 245 | this.value = fb.color; 246 | } 247 | }); 248 | } 249 | else if (typeof fb.callback == 'function') { 250 | fb.callback.call(fb, fb.color); 251 | } 252 | } 253 | 254 | /** 255 | * Get absolute position of element 256 | */ 257 | fb.absolutePosition = function (el) { 258 | var r = { x: el.offsetLeft, y: el.offsetTop }; 259 | // Resolve relative to offsetParent 260 | if (el.offsetParent) { 261 | var tmp = fb.absolutePosition(el.offsetParent); 262 | r.x += tmp.x; 263 | r.y += tmp.y; 264 | } 265 | return r; 266 | }; 267 | 268 | /* Various color utility functions */ 269 | fb.pack = function (rgb) { 270 | var r = Math.round(rgb[0] * 255); 271 | var g = Math.round(rgb[1] * 255); 272 | var b = Math.round(rgb[2] * 255); 273 | return '#' + (r < 16 ? '0' : '') + r.toString(16) + 274 | (g < 16 ? '0' : '') + g.toString(16) + 275 | (b < 16 ? '0' : '') + b.toString(16); 276 | } 277 | 278 | fb.unpack = function (color) { 279 | if (color.length == 7) { 280 | return [parseInt('0x' + color.substring(1, 3)) / 255, 281 | parseInt('0x' + color.substring(3, 5)) / 255, 282 | parseInt('0x' + color.substring(5, 7)) / 255]; 283 | } 284 | else if (color.length == 4) { 285 | return [parseInt('0x' + color.substring(1, 2)) / 15, 286 | parseInt('0x' + color.substring(2, 3)) / 15, 287 | parseInt('0x' + color.substring(3, 4)) / 15]; 288 | } 289 | } 290 | 291 | fb.HSLToRGB = function (hsl) { 292 | var m1, m2, r, g, b; 293 | var h = hsl[0], s = hsl[1], l = hsl[2]; 294 | m2 = (l <= 0.5) ? l * (s + 1) : l + s - l*s; 295 | m1 = l * 2 - m2; 296 | return [this.hueToRGB(m1, m2, h+0.33333), 297 | this.hueToRGB(m1, m2, h), 298 | this.hueToRGB(m1, m2, h-0.33333)]; 299 | } 300 | 301 | fb.hueToRGB = function (m1, m2, h) { 302 | h = (h < 0) ? h + 1 : ((h > 1) ? h - 1 : h); 303 | if (h * 6 < 1) return m1 + (m2 - m1) * h * 6; 304 | if (h * 2 < 1) return m2; 305 | if (h * 3 < 2) return m1 + (m2 - m1) * (0.66666 - h) * 6; 306 | return m1; 307 | } 308 | 309 | fb.RGBToHSL = function (rgb) { 310 | var min, max, delta, h, s, l; 311 | var r = rgb[0], g = rgb[1], b = rgb[2]; 312 | min = Math.min(r, Math.min(g, b)); 313 | max = Math.max(r, Math.max(g, b)); 314 | delta = max - min; 315 | l = (min + max) / 2; 316 | s = 0; 317 | if (l > 0 && l < 1) { 318 | s = delta / (l < 0.5 ? (2 * l) : (2 - 2 * l)); 319 | } 320 | h = 0; 321 | if (delta > 0) { 322 | if (max == r && max != g) h += (g - b) / delta; 323 | if (max == g && max != b) h += (2 + (b - r) / delta); 324 | if (max == b && max != r) h += (4 + (r - g) / delta); 325 | h /= 6; 326 | } 327 | return [h, s, l]; 328 | } 329 | 330 | // Install mousedown handler (the others are set on the document on-demand) 331 | $('*', e).mousedown(fb.mousedown); 332 | 333 | // Init color 334 | fb.setColor('#000000'); 335 | 336 | // Set linked elements/callback 337 | if (callback) { 338 | fb.linkTo(callback); 339 | } 340 | } -------------------------------------------------------------------------------- /js/farbtastic.min.js: -------------------------------------------------------------------------------- 1 | jQuery.fn.farbtastic=function(t){return $.farbtastic(this,t),this},jQuery.farbtastic=function(t,e){var t=$(t).get(0);return t.farbtastic||(t.farbtastic=new jQuery._farbtastic(t,e))},jQuery._farbtastic=function(t,e){var a=this;$(t).html('
');var o=$(".farbtastic",t);a.wheel=$(".wheel",t).get(0),a.radius=84,a.square=100,a.width=194,navigator.appVersion.match(/MSIE [0-6]\./)&&$("*",o).each(function(){if("none"!=this.currentStyle.backgroundImage){var t=this.currentStyle.backgroundImage;t=this.currentStyle.backgroundImage.substring(5,t.length-2),$(this).css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+t+"')"})}}),a.linkTo=function(t){return"object"==typeof a.callback&&$(a.callback).unbind("keyup",a.updateValue),a.color=null,"function"==typeof t?a.callback=t:("object"==typeof t||"string"==typeof t)&&(a.callback=$(t),a.callback.bind("keyup",a.updateValue),a.callback.get(0).value&&a.setColor(a.callback.get(0).value)),this},a.updateValue=function(){this.value&&this.value!=a.color&&a.setColor(this.value)},a.setColor=function(t){var e=a.unpack(t);return a.color!=t&&e&&(a.color=t,a.rgb=e,a.hsl=a.RGBToHSL(a.rgb),a.updateDisplay()),this},a.setHSL=function(t){return a.hsl=t,a.rgb=a.HSLToRGB(t),a.color=a.pack(a.rgb),a.updateDisplay(),this},a.widgetCoords=function(t){var e,o,r=t.target||t.srcElement,s=a.wheel;if("undefined"!=typeof t.offsetX){for(var n={x:t.offsetX,y:t.offsetY},u=r;u;)u.mouseX=n.x,u.mouseY=n.y,n.x+=u.offsetLeft,n.y+=u.offsetTop,u=u.offsetParent;for(var u=s,i={x:0,y:0};u;){if("undefined"!=typeof u.mouseX){e=u.mouseX-i.x,o=u.mouseY-i.y;break}i.x+=u.offsetLeft,i.y+=u.offsetTop,u=u.offsetParent}for(u=r;u;)u.mouseX=void 0,u.mouseY=void 0,u=u.offsetParent}else{var n=a.absolutePosition(s);e=(t.pageX||0*(t.clientX+$("html").get(0).scrollLeft))-n.x,o=(t.pageY||0*(t.clientY+$("html").get(0).scrollTop))-n.y}return{x:e-a.width/2,y:o-a.width/2}},a.mousedown=function(t){document.dragging||($(document).bind("mousemove",a.mousemove).bind("mouseup",a.mouseup),document.dragging=!0);var e=a.widgetCoords(t);return a.circleDrag=2*Math.max(Math.abs(e.x),Math.abs(e.y))>a.square,a.mousemove(t),!1},a.mousemove=function(t){var e=a.widgetCoords(t);if(a.circleDrag){var o=Math.atan2(e.x,-e.y)/6.28;0>o&&(o+=1),a.setHSL([o,a.hsl[1],a.hsl[2]])}else{var r=Math.max(0,Math.min(1,-(e.x/a.square)+.5)),s=Math.max(0,Math.min(1,-(e.y/a.square)+.5));a.setHSL([a.hsl[0],r,s])}return!1},a.mouseup=function(){$(document).unbind("mousemove",a.mousemove),$(document).unbind("mouseup",a.mouseup),document.dragging=!1},a.updateDisplay=function(){var t=6.28*a.hsl[0];$(".h-marker",o).css({left:Math.round(Math.sin(t)*a.radius+a.width/2)+"px",top:Math.round(-Math.cos(t)*a.radius+a.width/2)+"px"}),$(".sl-marker",o).css({left:Math.round(a.square*(.5-a.hsl[1])+a.width/2)+"px",top:Math.round(a.square*(.5-a.hsl[2])+a.width/2)+"px"}),$(".color",o).css("backgroundColor",a.pack(a.HSLToRGB([a.hsl[0],1,.5]))),"object"==typeof a.callback?$(a.callback).each(function(){this.value&&this.value!=a.color&&(this.value=a.color)}):"function"==typeof a.callback&&a.callback.call(a,a.color)},a.absolutePosition=function(t){var e={x:t.offsetLeft,y:t.offsetTop};if(t.offsetParent){var o=a.absolutePosition(t.offsetParent);e.x+=o.x,e.y+=o.y}return e},a.pack=function(t){var e=Math.round(255*t[0]),a=Math.round(255*t[1]),o=Math.round(255*t[2]);return"#"+(16>e?"0":"")+e.toString(16)+(16>a?"0":"")+a.toString(16)+(16>o?"0":"")+o.toString(16)},a.unpack=function(t){return 7==t.length?[parseInt("0x"+t.substring(1,3))/255,parseInt("0x"+t.substring(3,5))/255,parseInt("0x"+t.substring(5,7))/255]:4==t.length?[parseInt("0x"+t.substring(1,2))/15,parseInt("0x"+t.substring(2,3))/15,parseInt("0x"+t.substring(3,4))/15]:void 0},a.HSLToRGB=function(t){var e,a,o=t[0],r=t[1],s=t[2];return a=.5>=s?s*(r+1):s+r-s*r,e=2*s-a,[this.hueToRGB(e,a,o+.33333),this.hueToRGB(e,a,o),this.hueToRGB(e,a,o-.33333)]},a.hueToRGB=function(t,e,a){return a=0>a?a+1:a>1?a-1:a,1>6*a?t+(e-t)*a*6:1>2*a?e:2>3*a?t+(e-t)*(.66666-a)*6:t},a.RGBToHSL=function(t){var e,a,o,r,s,n,u=t[0],i=t[1],c=t[2];return e=Math.min(u,Math.min(i,c)),a=Math.max(u,Math.max(i,c)),o=a-e,n=(e+a)/2,s=0,n>0&&1>n&&(s=o/(.5>n?2*n:2-2*n)),r=0,o>0&&(a==u&&a!=i&&(r+=(i-c)/o),a==i&&a!=c&&(r+=2+(c-u)/o),a==c&&a!=u&&(r+=4+(u-i)/o),r/=6),[r,s,n]},$("*",o).mousedown(a.mousedown),a.setColor("#000000"),e&&a.linkTo(e)}; -------------------------------------------------------------------------------- /js/jquery.browser.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Browser Plugin 0.0.8 3 | * https://github.com/gabceb/jquery-browser-plugin 4 | * 5 | * Original jquery-browser code Copyright 2005, 2015 jQuery Foundation, Inc. and other contributors 6 | * http://jquery.org/license 7 | * 8 | * Modifications Copyright 2015 Gabriel Cebrian 9 | * https://github.com/gabceb 10 | * 11 | * Released under the MIT license 12 | * 13 | * Date: 05-07-2015 14 | */!function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){return a(b)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(window.jQuery)}(function(a){"use strict";function b(a){void 0===a&&(a=window.navigator.userAgent),a=a.toLowerCase();var b=/(edge)\/([\w.]+)/.exec(a)||/(opr)[\/]([\w.]+)/.exec(a)||/(chrome)[ \/]([\w.]+)/.exec(a)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[],c=/(ipad)/.exec(a)||/(ipod)/.exec(a)||/(iphone)/.exec(a)||/(kindle)/.exec(a)||/(silk)/.exec(a)||/(android)/.exec(a)||/(windows phone)/.exec(a)||/(win)/.exec(a)||/(mac)/.exec(a)||/(linux)/.exec(a)||/(cros)/.exec(a)||/(playbook)/.exec(a)||/(bb)/.exec(a)||/(blackberry)/.exec(a)||[],d={},e={browser:b[5]||b[3]||b[1]||"",version:b[2]||b[4]||"0",versionNumber:b[4]||b[2]||"0",platform:c[0]||""};if(e.browser&&(d[e.browser]=!0,d.version=e.version,d.versionNumber=parseInt(e.versionNumber,10)),e.platform&&(d[e.platform]=!0),(d.android||d.bb||d.blackberry||d.ipad||d.iphone||d.ipod||d.kindle||d.playbook||d.silk||d["windows phone"])&&(d.mobile=!0),(d.cros||d.mac||d.linux||d.win)&&(d.desktop=!0),(d.chrome||d.opr||d.safari)&&(d.webkit=!0),d.rv||d.edge){var f="msie";e.browser=f,d[f]=!0}if(d.safari&&d.blackberry){var g="blackberry";e.browser=g,d[g]=!0}if(d.safari&&d.playbook){var h="playbook";e.browser=h,d[h]=!0}if(d.bb){var i="blackberry";e.browser=i,d[i]=!0}if(d.opr){var j="opera";e.browser=j,d[j]=!0}if(d.safari&&d.android){var k="android";e.browser=k,d[k]=!0}if(d.safari&&d.kindle){var l="kindle";e.browser=l,d[l]=!0}if(d.safari&&d.silk){var m="silk";e.browser=m,d[m]=!0}return d.name=e.browser,d.platform=e.platform,d}return window.jQBrowser=b(window.navigator.userAgent),window.jQBrowser.uaMatch=b,a&&(a.browser=window.jQBrowser),window.jQBrowser}); -------------------------------------------------------------------------------- /js/jquery.simpleWeather.min.js: -------------------------------------------------------------------------------- 1 | /*! simpleWeather v3.0.2 - http://simpleweatherjs.com */ 2 | !function(e){"use strict";function t(e,t){return Math.round("f"===e?5/9*(t-32):1.8*t+32)}e.extend({simpleWeather:function(i){i=e.extend({location:"",woeid:"",unit:"f",success:function(){},error:function(){}},i);var o=new Date,n="https://query.yahooapis.com/v1/public/yql?format=json&rnd="+o.getFullYear()+o.getMonth()+o.getDay()+o.getHours()+"&diagnostics=true&callback=?&q=";if(""!==i.location)n+='select * from weather.forecast where woeid in (select woeid from geo.placefinder where text="'+i.location+'" and gflags="R" limit 1) and u="'+i.unit+'"';else{if(""===i.woeid)return i.error({message:"Could not retrieve weather due to an invalid location."}),!1;n+="select * from weather.forecast where woeid="+i.woeid+' and u="'+i.unit+'"'}return e.getJSON(encodeURI(n),function(e){if(null!==e&&null!==e.query&&null!==e.query.results&&"Yahoo! Weather Error"!==e.query.results.channel.description){var o,n=e.query.results.channel,r={},s=["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW","N"],a="https://s.yimg.com/os/mit/media/m/weather/images/icons/l/44d-100567.png";r.title=n.item.title,r.temp=n.item.condition.temp,r.code=n.item.condition.code,r.todayCode=n.item.forecast[0].code,r.currently=n.item.condition.text,r.high=n.item.forecast[0].high,r.low=n.item.forecast[0].low,r.text=n.item.forecast[0].text,r.humidity=n.atmosphere.humidity,r.pressure=n.atmosphere.pressure,r.rising=n.atmosphere.rising,r.visibility=n.atmosphere.visibility,r.sunrise=n.astronomy.sunrise,r.sunset=n.astronomy.sunset,r.description=n.item.description,r.city=n.location.city,r.country=n.location.country,r.region=n.location.region,r.updated=n.item.pubDate,r.link=n.item.link,r.units={temp:n.units.temperature,distance:n.units.distance,pressure:n.units.pressure,speed:n.units.speed},r.wind={chill:n.wind.chill,direction:s[Math.round(n.wind.direction/22.5)],speed:n.wind.speed},r.heatindex=n.item.condition.temp<80&&n.atmosphere.humidity<40?-42.379+2.04901523*n.item.condition.temp+10.14333127*n.atmosphere.humidity-.22475541*n.item.condition.temp*n.atmosphere.humidity-6.83783*Math.pow(10,-3)*Math.pow(n.item.condition.temp,2)-5.481717*Math.pow(10,-2)*Math.pow(n.atmosphere.humidity,2)+1.22874*Math.pow(10,-3)*Math.pow(n.item.condition.temp,2)*n.atmosphere.humidity+8.5282*Math.pow(10,-4)*n.item.condition.temp*Math.pow(n.atmosphere.humidity,2)-1.99*Math.pow(10,-6)*Math.pow(n.item.condition.temp,2)*Math.pow(n.atmosphere.humidity,2):n.item.condition.temp,"3200"==n.item.condition.code?(r.thumbnail=a,r.image=a):(r.thumbnail="https://s.yimg.com/zz/combo?a/i/us/nws/weather/gr/"+n.item.condition.code+"ds.png",r.image="https://s.yimg.com/zz/combo?a/i/us/nws/weather/gr/"+n.item.condition.code+"d.png"),r.alt={temp:t(i.unit,n.item.condition.temp),high:t(i.unit,n.item.forecast[0].high),low:t(i.unit,n.item.forecast[0].low)},r.alt.unit="f"===i.unit?"c":"f",r.forecast=[];for(var m=0;m -1)) { 58 | alert("You are running an older version of Firefox OS.\n\nNimbus may work, but it is designed for Firefox OS 2.0 and higher. Please update your device if possible.\n\nThis warning will not be shown again."); 59 | localStorage["oldalert"] = "completed"; 60 | } 61 | 62 | // Read values of settings from localStorage 63 | 64 | $("#location").val(localStorage['weather']); 65 | $("#unit").val(localStorage['unit']).change(); 66 | $("#radar-location").val(localStorage['radar-location']).change(); 67 | if (!(supportType('video/webm') || supportType('video/mp4')) || (($.browser.mozilla) && (navigator.userAgent.indexOf("Mobile") > -1))) { 68 | localStorage['radar-player'] = 'false'; 69 | $("#radar-player").prop('disabled', true); 70 | $('#radar-player').parent().parent().click(function() { 71 | $('#html5modal').openModal(); 72 | }); 73 | } else { 74 | if (localStorage.getItem("radar-player") === "true") { 75 | $("#radar-player").prop('checked', true); 76 | } else { 77 | $("#radar-player").prop('checked', false); 78 | } 79 | } 80 | $("#color").val(localStorage['color']); 81 | $("#bg").val(localStorage['bg']); 82 | 83 | // Google Analytics 84 | 85 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 86 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 87 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 88 | })(window,document,'script','http://www.google-analytics.com/analytics.js','ga'); 89 | 90 | ga('create', 'UA-59452245-1', 'auto'); 91 | ga('send', 'pageview'); 92 | 93 | // Set background image 94 | 95 | if (localStorage.getItem("bg").length > 0) { 96 | $(".content").css("background", "url(" + localStorage.getItem("bg") + ") center no-repeat", "important"); 97 | } 98 | 99 | // Set tab/links color 100 | 101 | $("#tabs").css("background", localStorage['color'], 'important'); 102 | $(".tabs").css("background", localStorage['color'], 'important'); 103 | $(".tab a").css("background", localStorage['color'], 'important'); 104 | $(".credit").css("color", localStorage['color'], 'important'); 105 | $(".title").css("color", localStorage['color'], 'important'); 106 | $(".secondary-content").css("color", localStorage['color'], 'important'); 107 | 108 | // Set buttons color 109 | 110 | $(".settings-save").css("background", localStorage['color'], 'important'); 111 | $(".mapcontrol").css("background", localStorage['color'], 'important'); 112 | $(".mapshare").css("background", localStorage['color'], 'important'); 113 | $(".btn").css("background", localStorage['color'], 'important'); 114 | $(".btn").css("background", localStorage['color'], 'important'); 115 | 116 | // Set spinning wheel color 117 | 118 | $(".spinner-layer").css("border-color", localStorage['color'], 'important'); 119 | 120 | // Actions on settings button click/tap 121 | 122 | $(document).on('click', ".settings-trigger", function() { 123 | $('#settings').fadeIn( "slow", function() {}); 124 | }); 125 | 126 | // Social Media links 127 | 128 | $('.twitterlink').click(function() { 129 | window.open("https://twitter.com/NimbusWeather", "_blank"); 130 | }); 131 | 132 | $('.googlelink').click(function() { 133 | window.open("https://plus.google.com/107563170995027312930", "_blank"); 134 | }); 135 | 136 | $('.githublink').click(function() { 137 | window.open("https://github.com/corbindavenport/nimbus", "_blank"); 138 | }); 139 | 140 | // Settings 141 | 142 | $('.location-item').click(function() { 143 | $('#location-modal').openModal(); 144 | $("#location").select(); 145 | }); 146 | $('.units-item').click(function() { 147 | $('#units-modal').openModal(); 148 | }); 149 | $('.reset-item').click(function() { 150 | $('#reset-modal').openModal(); 151 | }); 152 | $('.reset-confirm').click(function() { 153 | localStorage['weather'] = '10001'; 154 | localStorage['unit'] = 'f'; 155 | localStorage['radar-quality'] = '1'; 156 | localStorage['radar-location'] = ''; 157 | localStorage['radar-player'] = 'true'; 158 | localStorage['color'] = '#3ca2eb'; 159 | localStorage['bg'] = ''; 160 | window.location.replace('index.html'); 161 | }); 162 | $('.radar-location-item').click(function() { 163 | $('#radar-location-modal').openModal(); 164 | $("#radar-location").select(); 165 | }); 166 | $('.hex-item').click(function() { 167 | $('#hex-modal').openModal(); 168 | $("#color").select(); 169 | }); 170 | $('.picker-item').click(function() { 171 | $('#picker-modal').openModal(); 172 | }); 173 | $('.color-reset').click(function() { 174 | document.getElementById("color").value = "#3ca2eb"; 175 | Materialize.toast('Color reset!', 3000, 'rounded'); 176 | }); 177 | $('.background-item').click(function() { 178 | $('#background-modal').openModal(); 179 | $("#bg").select(); 180 | }); 181 | $('.privacy').click(function() { 182 | $('#privacymodal').openModal(); 183 | }); 184 | $('.paypal').click(function() { 185 | $('#paypalmodal').openModal(); 186 | }); 187 | $('.bitcoin').click(function() { 188 | $('#bitcoinmodal').openModal(); 189 | }); 190 | 191 | // Actions on save button click/tap 192 | 193 | $('.settings-save').click(function() { 194 | if (($("#location").val().length > '0') && (($("#radar-location").val().match(/^\d+$/) != null)) || ($("#radar-location").val() === "")) { 195 | localStorage['weather'] = $("#location").val(); 196 | localStorage['unit'] = $("#unit").val(); 197 | localStorage['radar-location'] = $("#radar-location").val(); 198 | if ($('#radar-player').is(':checked')) { 199 | localStorage['radar-player'] = "true"; 200 | } else { 201 | localStorage['radar-player'] = "false"; 202 | } 203 | localStorage['color'] = $("#color").val(); 204 | localStorage['bg'] = $("#bg").val(); 205 | window.location.replace('index.html'); 206 | } else { 207 | toast('Enter a valid location!', 3000, 'rounded'); 208 | } 209 | }); 210 | 211 | // Determine correct icon 212 | // Yahoo Weather API condition codes: https://developer.yahoo.com/weather/documentation.html#codes 213 | function getIcon(condition) { 214 | var icon = ""; 215 | if (condition == 0) { 216 | icon = "wi-tornado"; 217 | } else if (condition == 1 || condition == 45) { 218 | icon = "wi-storm-showers"; 219 | } else if (condition == 2) { 220 | icon = "wi-lightning"; 221 | } else if (condition == 3 || condition == 4 || condition == 47) { 222 | icon = "wi-thunderstorm"; 223 | } else if (condition == 5 || condition == 46) { 224 | icon = "wi-rain-mix"; 225 | } else if (condition == 6 || condition == 7 || condition == 13 || condition == 14 || condition == 18 || condition == 36) { 226 | icon = "wi-sleet"; 227 | } else if (condition == 8 || condition == 9 || condition == 10 || condition == 11 || condition == 12) { 228 | icon = "wi-showers"; 229 | } else if (condition == 15 || condition == 41 || condition == 42 || condition == 43) { 230 | icon = "wi-snow"; 231 | } else if (condition == 16) { 232 | icon = "wi-snow-wind"; 233 | } else if (condition == 17) { 234 | icon = "wi-hail"; 235 | } else if (condition == 19) { 236 | icon = "wi-dust"; 237 | } else if (condition == 20) { 238 | icon = "wi-fog"; 239 | } else if (condition == 21) { 240 | icon = "wi-day-haze"; 241 | } else if (condition == 22) { 242 | icon = "wi-smoke"; 243 | } else if (condition == 23 || condition == 24) { 244 | icon = "wi-windy"; 245 | } else if (condition == 25) { 246 | icon = "wi-snowflake-cold"; 247 | } else if (condition == 26) { 248 | icon = "wi-cloud"; 249 | } else if (condition == 27 || condition == 29) { 250 | icon = "wi-night-cloudy"; 251 | } else if (condition == 28 || condition == 30) { 252 | icon = "wi-day-cloudy"; 253 | } else if (condition == 31 || condition == 33 || condition == 44) { 254 | icon = "wi-stars"; 255 | } else if (condition == 32 || condition == 34) { 256 | icon = "wi-day-sunny"; 257 | } else if (condition == 36) { 258 | icon = "wi-hot"; 259 | } else if (condition == 37 || condition == 38 || condition == 39) { 260 | icon = "wi-thunderstorm"; 261 | } else if (condition == 40) { 262 | icon = "wi-showers"; 263 | } else if (condition == 3200) { 264 | icon = "wi-alien"; 265 | } 266 | return icon; 267 | } 268 | 269 | // Weather 270 | 271 | var country = ""; 272 | 273 | $.simpleWeather({ 274 | location: localStorage['weather'], 275 | woeid: '', 276 | unit: localStorage['unit'], 277 | success: function(weather) { 278 | 279 | // Fill content 280 | current = '
' + weather.city + ', ' + weather.region + '
' + weather.temp + '°' + weather.units.temp + '
' + weather.high + '°' + weather.units.temp + ' / ' + weather.low + '°' + weather.units.temp + '
Last updated ' + weather.updated + '
Winds

Wind chill: ' + weather.wind.chill + '°' + weather.units.temp + '

Speed: ' + weather.wind.speed + ' ' + weather.units.speed + ' ' + weather.wind.direction + '

Daylight

Sunrise: ' + weather.sunrise + '

Sunset: ' + weather.sunset + '

Visibility: ' + weather.visibility + ' ' + weather.units.distance + '

'; 281 | $("#current").append(current); 282 | forecast = '
Forecast on ' + weather.forecast[0].day + '
' + weather.forecast[0].high + '°' + weather.units.temp + ' / ' + weather.forecast[0].low + '°' + weather.units.temp + '
' + weather.forecast[0].text + '
Forecast on ' + weather.forecast[1].day + '
' + weather.forecast[1].high + '°' + weather.units.temp + ' / ' + weather.forecast[1].low + '°' + weather.units.temp + '
' + weather.forecast[1].text + '
Forecast on ' + weather.forecast[2].day + '
' + weather.forecast[2].high + '°' + weather.units.temp + ' / ' + weather.forecast[2].low + '°' + weather.units.temp + '
' + weather.forecast[2].text + '
Forecast on ' + weather.forecast[3].day + '
' + weather.forecast[3].high + '°' + weather.units.temp + ' / ' + weather.forecast[3].low + '°' + weather.units.temp + '
' + weather.forecast[3].text + '
Forecast on ' + weather.forecast[4].day + '
' + weather.forecast[4].high + '°' + weather.units.temp + ' / ' + weather.forecast[4].low + '°' + weather.units.temp + '
' + weather.forecast[4].text + '
'; 283 | $("#forecast").append(forecast); 284 | 285 | // Share button 286 | var socialmessage = "It's currently " + weather.temp + "°" + weather.units.temp + " and " + weather.currently + " in " + weather.city + " right now!"; 287 | $('.share-twitter').click(function() { 288 | window.open("https://twitter.com/intent/tweet?via=NimbusWeather&text=" + encodeURIComponent(socialmessage), "Twitter", "width=500,height=300,scrollbars=0"); 289 | }); 290 | 291 | // Radar Map 292 | 293 | if (weather.country === 'United States') { 294 | if (localStorage.getItem('radar-location') !== '') { 295 | var radarmap = 'http://www.adiabatic.weather.net/cgi-bin/razradar.cgi?zipcode=' + localStorage["radar-location"]; 296 | if ((localStorage.getItem("radar-player") === "true") && (supportType('video/webm') || supportType('video/mp4'))) { 297 | $('.forecast-trigger').click(function() { $('.mapcontrol').hide(); $('.mapshare').hide(); }); 298 | $('.current-trigger').click(function() { $('.mapcontrol').hide(); $('.mapshare').hide(); }); 299 | $('.map-trigger').click(function() { $('.mapcontrol').show(); $('.mapshare').show(); }); 300 | // Generate string of date/time and add it to URL to avoid Gfy caching 301 | var currentdate = new Date(); 302 | // Generate Gyfcat URL 303 | var gfycat = "http://upload.gfycat.com/transcode?fetchUrl=" + encodeURIComponent(radarmap + "&width=" + $("#map").width() + "&height=" + $("#map").height() + ".gif" + "&time=" + currentdate.getMonth() + currentdate.getDate() + currentdate.getFullYear() + currentdate.getHours()); 304 | $('#map').prepend('
Requesting map...
'); 305 | $.getJSON(gfycat, function(data) { 306 | if (data.error != null) { 307 | $('.map-toast').fadeOut("slow", function() {}); 308 | $('.map-preloader').fadeOut("slow", function() {}); 309 | if (data.error === "Unable to encode gif") { 310 | $('#map').append('
Freese-Notis Error

There was an error trying to load the weather map from Freese-Notis Weather. There is nothing Nimbus can do until they fix their API.

Current national radar from AccuWeather.

'); 311 | } else { 312 | $('#map').append('
Gfycat API Error

Gfycat was unable to load the radar map, and reported this error:

' + data.error + '

You can try reopening Nimbus, or switching "New radar player" to off in the settings.

'); 313 | } 314 | $('.mapcontrol').fadeOut("slow", function() { 315 | $('.mapcontrol').remove(); 316 | }); 317 | $('.mapshare').fadeOut("slow", function() { 318 | $('.mapshare').remove(); 319 | }); 320 | } else { 321 | $('.map-toast').html('Downloading map...'); 322 | $('#map').append(''); 323 | var mapvideo = document.getElementById("mapvideo"); 324 | $('#mapvideo').hide(); 325 | $('#mapvideo').on('loadedmetadata', function() { 326 | $('.map-toast').html('Map loaded!'); 327 | $('.map-toast').fadeOut("slow", function() {}); 328 | $('.map-preloader').fadeOut("slow", function() {}); 329 | $('#mapvideo').show(); 330 | $('.mapcontrol').html(''); 331 | $('.mapshare').click(function() { 332 | $('#share-modal').openModal(); 333 | }); 334 | $("#share-modal").html(''); 335 | $('.share-map-gfycat').click(function() { 336 | window.open("http://gfycat.com/" + data.gfyName, "_blank"); 337 | }); 338 | $('.share-map-twitter').click(function() { 339 | window.open("https://twitter.com/intent/tweet?via=NimbusWeather&text=http://zippy.gfycat.com/" + data.gfyName + ".gif", "Twitter", "width=500,height=300,scrollbars=0"); 340 | }); 341 | $('.share-map-googleplus').click(function() { 342 | window.open("https://plus.google.com/share?url=http://zippy.gfycat.com/" + data.gfyName + ".gif", "Google+", "width=600,height=400,scrollbars=0"); 343 | }); 344 | $('.share-map-facebook').click(function() { 345 | window.open("http://www.facebook.com/sharer.php?u=http://zippy.gfycat.com/" + data.gfyName + ".gif", "Facebook", "width=600,height=400,scrollbars=0"); 346 | }); 347 | $('.share-map-evernote').click(function() { 348 | window.open("http://www.evernote.com/clip.action?url=http://zippy.gfycat.com/" + data.gfyName + ".gif", "Evernote", "width=600,height=400,scrollbars=0"); 349 | }); 350 | $(".collection-item").css("color", localStorage['color'], 'important'); 351 | mapvideo.play(); // Attempt to auto-play video, doesn't work on some mobile browsers 352 | if (mapvideo.paused) { 353 | $(".mapcontrol").html(''); 354 | } else { 355 | $(".mapcontrol").html(''); 356 | } 357 | $('.mapcontrol').click(function() { 358 | if (mapvideo.paused) { 359 | $(".mapcontrol").children().addClass('mdi-av-pause').removeClass('mdi-av-play-arrow'); 360 | mapvideo.play(); 361 | } else { 362 | $(".mapcontrol").children().addClass('mdi-av-play-arrow').removeClass('mdi-av-pause'); 363 | mapvideo.pause(); 364 | } 365 | }); 366 | }); 367 | } 368 | }); 369 | } else { 370 | $('.forecast-trigger').click(function() { $('.mapshare').hide(); }); 371 | $('.current-trigger').click(function() { $('.mapshare').hide(); }); 372 | $('.map-trigger').click(function() { $('.mapshare').show(); }); 373 | $('.mapshare').css('bottom', '16px'); 374 | var radargif = radarmap + "&width=" + $("#map").width() + "&height=" + $("#map").height(); 375 | $(window).load(function(){ 376 | $('#map').append(''); 377 | $('#mapgif').hide(); 378 | $('#map').prepend('
Loading GIF...
'); 379 | $('#mapgif').load(function(){ 380 | $('.map-toast').html('Map loaded!'); 381 | $('#mapgif').fadeIn("slow", function() { 382 | $('.map-preloader').fadeOut("slow", function() {}); 383 | $('.map-toast').fadeOut("slow", function() {}); 384 | }); 385 | }); 386 | }); 387 | $('.mapshare').click(function() { 388 | $('#share-modal').openModal(); 389 | }); 390 | var sharedradargif = radarmap + "&width=500&height=500"; 391 | $("#share-modal").html(''); 392 | $('.share-map-gfycat').click(function() { 393 | // Generate string of date/time and add it to URL to avoid Gfy caching 394 | var currentdate = new Date(); 395 | window.open("http://gfycat.com/fetch/" + encodeURIComponent(sharedradargif + ".gif" + "&time=" + currentdate.getMonth() + currentdate.getDate() + currentdate.getFullYear() + currentdate.getHours()), "_blank"); 396 | }); 397 | $('.share-map-twitter').click(function() { 398 | window.open("https://twitter.com/intent/tweet?via=NimbusWeather&text=" + sharedradargif, "Twitter", "width=500,height=300,scrollbars=0"); 399 | }); 400 | $('.share-map-googleplus').click(function() { 401 | window.open("https://plus.google.com/share?url=" + sharedradargif, "Google+", "width=600,height=400,scrollbars=0"); 402 | }); 403 | $('.share-map-facebook').click(function() { 404 | window.open("http://www.facebook.com/sharer.php?u=" + sharedradargif, "Facebook", "width=600,height=400,scrollbars=0"); 405 | }); 406 | $('.share-map-evernote').click(function() { 407 | window.open("http://www.evernote.com/clip.action?url=" + sharedradargif, "Evernote", "width=600,height=400,scrollbars=0"); 408 | }); 409 | $(".collection-item").css("color", localStorage['color'], 'important'); 410 | } 411 | 412 | } else { 413 | $('#map').html('
Map not configured

Due to an API limitation, you need to configure the location for the radar map seperately. Go to the settings and set a radar location.

'); 414 | } 415 | } else { 416 | $('#map').html('
Map unavailable

Due to an API limitation, radar maps are not available for locations outside the United States. This is being worked on, and may be available in a future update.

'); 417 | } 418 | 419 | }, 420 | error: function(error) { 421 | $("#current").html('
Error

There was an error loading the weather.

'); 422 | $("#forecast").html('
Error

There was an error loading the forecast.

'); 423 | $("#map").html('
Error

There was an error loading the radar map.

'); 424 | } 425 | }); 426 | 427 | }); 428 | 429 | // Display everything 430 | 431 | $(window).load(function(){ 432 | $('select').material_select(); 433 | $('.nimbus-preloader').fadeOut( "slow", function() {}); 434 | $('#current').fadeIn( "slow", function() {}); 435 | $("#tabs").css("visibility","visible"); 436 | $('#settings-trigger').fadeIn( "slow", function() {}); 437 | $('#colorpicker').farbtastic('#color'); 438 | }); 439 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Nimbus", 3 | "description": "Nimbus is a simple and powerful weather app for Android, Firefox, and Chrome.", 4 | "version": "2.2.1", 5 | "minimum_chrome_version": "25", 6 | "manifest_version": 2, 7 | "permissions": [ 8 | "unlimitedStorage" 9 | ], 10 | "app": { 11 | "urls": [ 12 | "http://corbindavenport.github.io/nimbus/" 13 | ], 14 | "launch": { 15 | "web_url": "http://corbindavenport.github.io/nimbus/" 16 | } 17 | }, 18 | "icons": {"128": "icon128.png" } 19 | } 20 | -------------------------------------------------------------------------------- /manifest.webapp: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Nimbus", 3 | "version": "2.2.1", 4 | "description": "Nimbus is a simple and powerful weather app.", 5 | "launch_path": "/index.html", 6 | "icons": { 7 | "128": "/icon128.png" 8 | }, 9 | "developer": { 10 | "name": "Corbin Davenport", 11 | "url": "http://www.corbindavenport.com/" 12 | }, 13 | "default_locale": "en" 14 | } 15 | -------------------------------------------------------------------------------- /webmanifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Nimbus", 3 | "version": "2.0", 4 | "default_locale": "en", 5 | "icons": [ 6 | { 7 | "src": "\/img\/android-chrome-36x36.png", 8 | "sizes": "36x36", 9 | "type": "image\/png", 10 | "density": "0.75" 11 | }, 12 | { 13 | "src": "\/img\/android-chrome-48x48.png", 14 | "sizes": "48x48", 15 | "type": "image\/png", 16 | "density": "1.0" 17 | }, 18 | { 19 | "src": "\/img\/android-chrome-72x72.png", 20 | "sizes": "72x72", 21 | "type": "image\/png", 22 | "density": "1.5" 23 | }, 24 | { 25 | "src": "\/img\/android-chrome-96x96.png", 26 | "sizes": "96x96", 27 | "type": "image\/png", 28 | "density": "2.0" 29 | }, 30 | { 31 | "src": "\/img\/android-chrome-144x144.png", 32 | "sizes": "144x144", 33 | "type": "image\/png", 34 | "density": "3.0" 35 | }, 36 | { 37 | "src": "\/img\/android-chrome-192x192.png", 38 | "sizes": "192x192", 39 | "type": "image\/png", 40 | "density": "4.0" 41 | } 42 | ], 43 | "display": "standalone" 44 | } 45 | --------------------------------------------------------------------------------