UNPKG

weather-bar-app

Version:

Weather Bar is a Weather Application that lives in your Menu Bar giving you beautiful access to real-time weather conditions and a generous 15-day forecast.

122 lines (103 loc) 2.83 kB
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } html, body { width: 100%; height: 100%; overflow: hidden; padding: 0; margin: 0; } body { background: url('../images/web-bg.png') top left repeat #030a13; align-items: center; display: -ms-flexbox; display: -ms-flexbox; display: -webkit-box; display: -webkit-box; display: -webkit-flex; display: -webkit-flex; display: flex; display: flex; flex-direction: column; justify-content: center; -ms-flex-align: center; -ms-flex-direction: column; -ms-flex-pack: center; -webkit-align-items: center; -webkit-box-align: center; -webkit-box-direction: normal; -webkit-box-orient: vertical; -webkit-box-pack: center; -webkit-flex-direction: column; -webkit-justify-content: center; font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #FFF; } #app { width: 280px; height: 480px; margin: 0 auto; box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5); background: linear-gradient(to bottom, #2a3641 0%, #535f6a 100%); position: relative; overflow: hidden; transform: translateZ(0); } ::selection { background: transparent; } .router-view { position: relative; top: 0; left: 0; width: 100%; height: 100%; transition: all .5s cubic-bezier(.55, 0, .1, 1); } .fade-enter-active, .fade-leave-active { transition: opacity .5s ease; } .fade-enter, .fade-leave-active { opacity: 0 } .slide-left-enter, .slide-right-leave-active { opacity: 0; transform: translate(30px, 0); } .slide-left-leave-active, .slide-right-enter { opacity: 0; transform: translate(-30px, 0); }