mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-11-28 18:28:04 -08:00
2328 lines
60 KiB
CSS
2328 lines
60 KiB
CSS
@font-face {
|
|
font-family: "Star4000";
|
|
src: url("../fonts/Star4000.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
html:not(:has(body.kiosk)) {
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
body {
|
|
font-family: "Star4000";
|
|
margin: 0;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #000000;
|
|
color: white;
|
|
}
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
body a {
|
|
color: lightblue;
|
|
}
|
|
}
|
|
body.kiosk {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
overflow: hidden;
|
|
width: 100vw;
|
|
background-color: #000000 !important;
|
|
}
|
|
|
|
#divQuery {
|
|
box-sizing: border-box;
|
|
width: var(--player-width, 100%);
|
|
max-width: var(--player-width, 640px);
|
|
padding: 8px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
-moz-column-gap: 8px;
|
|
column-gap: 8px;
|
|
}
|
|
#divQuery:has(~ #divTwc.wide) {
|
|
max-width: var(--player-width, 854px);
|
|
}
|
|
#divQuery .location-input {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
position: relative;
|
|
}
|
|
#divQuery .location-input .autocomplete-suggestions {
|
|
top: 100%;
|
|
left: 0px;
|
|
}
|
|
#divQuery .location-status {
|
|
flex-basis: 100%;
|
|
margin-top: 6px;
|
|
font-size: 14px;
|
|
color: #c62828;
|
|
}
|
|
#divQuery .buttons {
|
|
flex: none;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
#divQuery .buttons button {
|
|
font-size: 21px;
|
|
border: 1px solid darkgray;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divQuery .buttons button {
|
|
background-color: #000000;
|
|
color: white;
|
|
}
|
|
}
|
|
#divQuery .buttons #btnGetGps img.dark {
|
|
display: none;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divQuery .buttons #btnGetGps img.dark {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divQuery .buttons #btnGetGps img.light {
|
|
display: none;
|
|
}
|
|
}
|
|
#divQuery .buttons #btnGetGps.active {
|
|
background-color: black;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divQuery .buttons #btnGetGps.active {
|
|
background-color: white;
|
|
}
|
|
}
|
|
#divQuery .buttons #btnGetGps.active img {
|
|
filter: invert(1);
|
|
}
|
|
#divQuery input,
|
|
#divQuery button {
|
|
font-family: "Star4000";
|
|
}
|
|
#divQuery #txtLocation {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
font-size: 21px;
|
|
display: block;
|
|
background-color: white;
|
|
color: black;
|
|
border: 2px inset #808080;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divQuery #txtLocation {
|
|
background-color: #000000;
|
|
color: white;
|
|
border: 2px inset #808080;
|
|
}
|
|
}
|
|
|
|
.autocomplete-suggestions {
|
|
background-color: #ffffff;
|
|
border: 1px solid #000000;
|
|
position: absolute;
|
|
z-index: 9999;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
.autocomplete-suggestions {
|
|
background-color: #000000;
|
|
}
|
|
}
|
|
.autocomplete-suggestions div {
|
|
/*padding: 2px 5px;*/
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 21px;
|
|
}
|
|
.autocomplete-suggestions div.selected {
|
|
background-color: #0000ff;
|
|
color: #ffffff;
|
|
}
|
|
|
|
#divTwc {
|
|
display: block;
|
|
background-color: #000000;
|
|
color: #ffffff;
|
|
width: 100%;
|
|
max-width: 640px;
|
|
margin: 0;
|
|
}
|
|
#divTwc.wide {
|
|
max-width: 854px;
|
|
}
|
|
|
|
.content-wrapper {
|
|
padding: 8px;
|
|
}
|
|
|
|
#divTwcMain {
|
|
width: 640px;
|
|
height: 480px;
|
|
position: relative;
|
|
}
|
|
.wide #divTwcMain {
|
|
width: 854px;
|
|
}
|
|
.enhanced.portrait #divTwcMain {
|
|
height: 1137px;
|
|
}
|
|
|
|
.kiosk #divTwc {
|
|
max-width: unset;
|
|
}
|
|
|
|
#divTwcBottom {
|
|
/* visibility: hidden; */
|
|
display: flex;
|
|
flex-direction: row;
|
|
background-color: #000000;
|
|
color: #ffffff;
|
|
width: 640px;
|
|
}
|
|
.wide #divTwcBottom {
|
|
width: 854px;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#divTwcBottom {
|
|
background-color: rgb(48, 48, 48);
|
|
}
|
|
}
|
|
|
|
#divTwcBottom > div {
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
}
|
|
@media (max-width: 550px) {
|
|
#divTwcBottom > div {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|
|
@media (max-width: 500px) {
|
|
#divTwcBottom > div {
|
|
font-size: 0.8em;
|
|
}
|
|
}
|
|
@media (max-width: 450px) {
|
|
#divTwcBottom > div {
|
|
font-size: 0.7em;
|
|
}
|
|
}
|
|
@media (max-width: 400px) {
|
|
#divTwcBottom > div {
|
|
font-size: 0.6em;
|
|
}
|
|
}
|
|
@media (max-width: 350px) {
|
|
#divTwcBottom > div {
|
|
font-size: 0.5em;
|
|
}
|
|
}
|
|
|
|
#divTwcBottomLeft {
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
#divTwcBottomMiddle {
|
|
flex: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
#divTwcBottomRight {
|
|
flex: 1;
|
|
text-align: right;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Star4000 Extended";
|
|
src: url("../fonts/Star4000 Extended.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "Star4000 Large";
|
|
src: url("../fonts/Star4000 Large.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "Star4000 Small";
|
|
src: url("../fonts/Star4000 Small.woff") format("woff");
|
|
font-display: swap;
|
|
}
|
|
#display {
|
|
font-family: "Star4000";
|
|
margin: 0 0 0 0;
|
|
width: 100%;
|
|
}
|
|
|
|
#container {
|
|
position: relative;
|
|
width: 640px;
|
|
height: 480px;
|
|
background-image: url(../images/backgrounds/1.png);
|
|
transform-origin: 0 0;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.portrait.enhanced #container {
|
|
width: 640px;
|
|
height: 1137px;
|
|
background-image: url(../images/backgrounds/1-portrait.png);
|
|
}
|
|
|
|
.wide #container {
|
|
width: 854px;
|
|
background: url(../images/backgrounds/1-wide.png);
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
#divTwc:fullscreen #container,
|
|
.kiosk #divTwc #container {
|
|
width: unset;
|
|
height: unset;
|
|
}
|
|
|
|
#loading {
|
|
width: 640px;
|
|
height: 480px;
|
|
max-width: 100%;
|
|
text-shadow: 4px 4px black;
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
justify-content: center;
|
|
}
|
|
.wide #loading {
|
|
margin-left: 107px;
|
|
}
|
|
#loading .title {
|
|
font-family: Star4000 Large;
|
|
font-size: 36px;
|
|
color: yellow;
|
|
margin-bottom: 0px;
|
|
}
|
|
#loading .version {
|
|
margin-bottom: 35px;
|
|
}
|
|
#loading .instructions {
|
|
font-size: 24px;
|
|
}
|
|
#loading .location-status {
|
|
max-width: 80%;
|
|
margin: 24px auto 0;
|
|
font-size: 20px;
|
|
color: yellow;
|
|
}
|
|
|
|
.location-status:empty {
|
|
display: none;
|
|
}
|
|
|
|
#divTwcBottom img {
|
|
transform: scale(0.75);
|
|
}
|
|
@media (max-width: 550px) {
|
|
.wide #divTwcBottom img {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
#divTwc:fullscreen,
|
|
.kiosk #divTwc {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-content: center;
|
|
}
|
|
#divTwc:fullscreen.no-cursor,
|
|
.kiosk #divTwc.no-cursor {
|
|
cursor: none;
|
|
}
|
|
|
|
#divTwc:fullscreen #display,
|
|
.kiosk #divTwc #display {
|
|
position: relative;
|
|
}
|
|
|
|
#divTwc:fullscreen #divTwcBottom,
|
|
.kiosk #divTwc #divTwcBottom {
|
|
display: flex;
|
|
flex-direction: row;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
color: #ffffff;
|
|
width: 100%;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.kiosk #divTwc #divTwcBottom {
|
|
display: none;
|
|
}
|
|
|
|
.navButton {
|
|
cursor: pointer;
|
|
background: none;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
.navButton:focus-visible {
|
|
outline: 2px solid yellow;
|
|
outline-offset: -4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#ToggleScanlines {
|
|
display: inline-block;
|
|
}
|
|
#ToggleScanlines .on {
|
|
display: none;
|
|
}
|
|
#ToggleScanlines .off {
|
|
display: inline-block;
|
|
}
|
|
#ToggleScanlines.on .on {
|
|
display: inline-block;
|
|
}
|
|
#ToggleScanlines.on .off {
|
|
display: none;
|
|
}
|
|
|
|
.visible {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transition: opacity 0.1s linear;
|
|
}
|
|
|
|
#divTwc:fullscreen .hidden {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transition: visibility 0s 1s, opacity 1s linear;
|
|
}
|
|
|
|
body.kiosk #loading .instructions {
|
|
display: none !important;
|
|
}
|
|
|
|
.kiosk > *:not(#divTwc) {
|
|
display: none !important;
|
|
}
|
|
|
|
.portrait-only {
|
|
display: none;
|
|
}
|
|
.portrait.enhanced .portrait-only {
|
|
display: block;
|
|
}
|
|
|
|
.standard-only {
|
|
display: block;
|
|
}
|
|
.portrait.enhanced .standard-only {
|
|
display: none;
|
|
}
|
|
|
|
.weather-display {
|
|
width: 640px;
|
|
height: 480px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
background-image: url(../images/backgrounds/1.png);
|
|
}
|
|
.wide .weather-display {
|
|
width: 854px;
|
|
background-position-x: 107px;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.wide.enhanced .weather-display:has(.can-enhance) {
|
|
background-image: url(../images/backgrounds/1-wide-enhanced.png);
|
|
background-position-x: 0px;
|
|
}
|
|
.weather-display {
|
|
/* this method is required to hide blocks so they can be measured while off screen */
|
|
height: 0px;
|
|
}
|
|
.enhanced.portrait .weather-display {
|
|
background-image: url(../images/backgrounds/1-portrait.png);
|
|
}
|
|
.weather-display.show {
|
|
height: 480px;
|
|
}
|
|
.enhanced.portrait .weather-display.show {
|
|
height: 1137px;
|
|
}
|
|
.weather-display .template {
|
|
display: none;
|
|
}
|
|
.weather-display > .header {
|
|
width: 640px;
|
|
height: 60px;
|
|
position: relative;
|
|
padding-top: 30px;
|
|
}
|
|
.wide .weather-display > .header {
|
|
left: 107px;
|
|
}
|
|
.weather-display > .header .title {
|
|
color: yellow;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
position: absolute;
|
|
width: 250px;
|
|
}
|
|
.weather-display > .header .title.single {
|
|
left: 170px;
|
|
}
|
|
.weather-display > .header .title.dual {
|
|
left: 170px;
|
|
}
|
|
.weather-display > .header .title.dual > div {
|
|
position: absolute;
|
|
}
|
|
.weather-display > .header .title.dual .top {
|
|
top: -3px;
|
|
}
|
|
.weather-display > .header .title.dual .bottom {
|
|
top: 26px;
|
|
}
|
|
.weather-display > .header .logo {
|
|
top: 30px;
|
|
left: 50px;
|
|
position: absolute;
|
|
z-index: 10;
|
|
}
|
|
.weather-display > .header .noaa-logo {
|
|
position: absolute;
|
|
top: 39px;
|
|
left: 356px;
|
|
}
|
|
.weather-display > .header .title.single {
|
|
top: 40px;
|
|
}
|
|
.weather-display > .header .date-time {
|
|
white-space: pre;
|
|
color: white;
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
left: 415px;
|
|
width: 170px;
|
|
text-align: right;
|
|
position: absolute;
|
|
}
|
|
.weather-display > .header .date-time.date {
|
|
padding-top: 22px;
|
|
}
|
|
.weather-display .main {
|
|
position: relative;
|
|
}
|
|
.wide .weather-display .main {
|
|
left: 107px;
|
|
}
|
|
.wide.enhanced .weather-display .main.can-enhance {
|
|
left: 0px;
|
|
width: 854px;
|
|
}
|
|
.weather-display .main.has-scroll {
|
|
width: 640px;
|
|
margin-top: 0;
|
|
height: 310px;
|
|
overflow: hidden;
|
|
}
|
|
.weather-display .main.has-scroll.no-header {
|
|
height: 400px;
|
|
margin-top: 0;
|
|
}
|
|
.portrait.enhanced .weather-display .main.has-scroll.no-header {
|
|
height: 1057px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.has-scroll {
|
|
height: 967px;
|
|
}
|
|
.weather-display .main.has-box {
|
|
margin-left: 64px;
|
|
margin-right: 64px;
|
|
width: calc(100% - 128px);
|
|
}
|
|
.wide.enhanced .weather-display .main.has-box.can-enhance {
|
|
width: 726px;
|
|
}
|
|
|
|
#container > .scroll {
|
|
display: none;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
width: 640px;
|
|
height: 77px;
|
|
overflow: hidden;
|
|
margin-top: 3px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
z-index: 1;
|
|
}
|
|
.wide #container > .scroll {
|
|
left: 107px;
|
|
width: 854px;
|
|
margin-left: -107px;
|
|
}
|
|
.wide #container > .scroll .scroll-container {
|
|
margin-left: 107px;
|
|
}
|
|
.wide.enhanced #container > .scroll:has(.scroll-area) .scroll-container {
|
|
width: 854px;
|
|
margin-left: 0px;
|
|
}
|
|
#container > .scroll.hazard {
|
|
background-color: rgb(112, 35, 35);
|
|
}
|
|
#container > .scroll .scroll-container {
|
|
width: 640px;
|
|
}
|
|
#container > .scroll .scroll-container .fixed,
|
|
#container > .scroll .scroll-container .scroll-header {
|
|
margin-left: 55px;
|
|
margin-right: 55px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
#container > .scroll .scroll-container .scroll-header {
|
|
height: 26px;
|
|
font-family: "Star4000 Small";
|
|
font-size: 26px;
|
|
margin-top: -10px;
|
|
}
|
|
#container > .scroll .scroll-container .fixed {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
#container > .scroll .scroll-container .fixed .scroll-area {
|
|
text-wrap: nowrap;
|
|
position: relative;
|
|
}
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
#container > .scroll .scroll-container .reveal {
|
|
overflow: hidden;
|
|
width: 0;
|
|
animation: typing 0.2s steps(21, end) forwards;
|
|
}
|
|
}
|
|
@keyframes typing {
|
|
to {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.weather-display .main.current-weather.main {
|
|
width: 512px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main {
|
|
align-content: center;
|
|
}
|
|
.weather-display .main.current-weather.main .portrait-location {
|
|
text-align: center;
|
|
font-family: "Star4000 Large";
|
|
font-size: 42px;
|
|
color: yellow;
|
|
}
|
|
.weather-display .main.current-weather.main .col {
|
|
width: 255px;
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
position: absolute;
|
|
}
|
|
.wide.enhanced .weather-display .main.current-weather.main .col {
|
|
width: 300px;
|
|
margin-left: 25px;
|
|
margin-right: 25px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col {
|
|
margin-left: 20px;
|
|
width: 472px;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col .wind-container {
|
|
margin-left: 50px;
|
|
width: 372px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col .wind-portrait {
|
|
white-space: pre;
|
|
}
|
|
.weather-display .main.current-weather.main .col.left {
|
|
font-family: "Star4000 Extended";
|
|
font-size: 32px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col.left {
|
|
font-size: 38px;
|
|
line-height: 40px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col.left .icon {
|
|
margin-top: 50px;
|
|
transform: scale(1.5);
|
|
margin-bottom: 50px;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right {
|
|
right: 0px;
|
|
font-family: "Star4000 Large";
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
line-height: 24px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col.right {
|
|
font-family: "Star4000 Extended";
|
|
font-size: 38px;
|
|
font-weight: 300;
|
|
line-height: 36px;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row.hidden {
|
|
display: none;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row.portrait-only {
|
|
display: none;
|
|
}
|
|
.portrait.enhanced .weather-display .main.current-weather.main .col.right .row.portrait-only:not(.hidden) {
|
|
display: flex;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row .label,
|
|
.weather-display .main.current-weather.main .col.right .row .value {
|
|
display: inline-block;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row .label {
|
|
margin-left: 20px;
|
|
}
|
|
.weather-display .main.current-weather.main .col.right .row .value {
|
|
float: right;
|
|
text-align: right;
|
|
margin-right: 10px;
|
|
}
|
|
.weather-display .main.current-weather.main .center {
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.current-weather.main .temp {
|
|
font-family: "Star4000 Large";
|
|
font-size: 32px;
|
|
}
|
|
.weather-display .main.current-weather.main .icon img {
|
|
margin: 0 auto;
|
|
display: block;
|
|
}
|
|
.weather-display .main.current-weather.main .wind-container {
|
|
margin-left: 10px;
|
|
}
|
|
.standard-only .weather-display .main.current-weather.main .wind-container {
|
|
display: flex;
|
|
}
|
|
.weather-display .main.current-weather.main .wind-container > div {
|
|
width: 45%;
|
|
display: inline-block;
|
|
}
|
|
.weather-display .main.current-weather.main .wind-container .wind {
|
|
text-align: right;
|
|
float: right;
|
|
white-space: pre;
|
|
}
|
|
.weather-display .main.current-weather.main .wind-gusts {
|
|
text-align: right;
|
|
font-size: 32px;
|
|
}
|
|
.weather-display .main.current-weather.main .location {
|
|
color: yellow;
|
|
max-height: 32px;
|
|
margin-bottom: 10px;
|
|
padding-top: 4px;
|
|
overflow: hidden;
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
#extended-forecast-html.weather-display {
|
|
background-image: url("../images/backgrounds/2.png");
|
|
}
|
|
.portrait.enhanced #extended-forecast-html.weather-display {
|
|
background-image: url(../images/backgrounds/2-portrait.png);
|
|
background-position-x: 0px;
|
|
}
|
|
|
|
.weather-display .main.extended-forecast .day-container {
|
|
margin-top: 16px;
|
|
margin-left: 27px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.extended-forecast .day-container {
|
|
margin-top: 90px;
|
|
}
|
|
.weather-display .main.extended-forecast .day {
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
padding: 5px;
|
|
height: 285px;
|
|
width: 155px;
|
|
display: inline-block;
|
|
margin: 0px 15px;
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.extended-forecast .day {
|
|
height: 360px;
|
|
margin-bottom: 75px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .date {
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
color: yellow;
|
|
}
|
|
.weather-display .main.extended-forecast .day .condition {
|
|
text-align: center;
|
|
height: 74px;
|
|
margin-top: 5px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.extended-forecast .day .condition {
|
|
margin-top: 20px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .icon {
|
|
text-align: center;
|
|
height: 75px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .icon img {
|
|
max-height: 75px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.extended-forecast .day .icon {
|
|
margin-top: 20px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
}
|
|
.portrait.enhanced .weather-display .main.extended-forecast .day .temperatures {
|
|
margin-top: 20px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures .temperature-block {
|
|
display: inline-block;
|
|
width: 44%;
|
|
vertical-align: top;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures .temperature-block > div {
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures .temperature-block .value {
|
|
font-family: "Star4000 Large";
|
|
margin-top: 4px;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures .temperature-block.lo .label {
|
|
color: #8080FF;
|
|
}
|
|
.weather-display .main.extended-forecast .day .temperatures .temperature-block.hi .label {
|
|
color: yellow;
|
|
}
|
|
|
|
.weather-display .main.hourly.main {
|
|
overflow-y: hidden;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers {
|
|
background-color: rgb(32, 0, 87);
|
|
height: 20px;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers {
|
|
position: sticky;
|
|
top: 0px;
|
|
z-index: 5;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers div {
|
|
display: inline-block;
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
color: yellow;
|
|
position: absolute;
|
|
top: -14px;
|
|
z-index: 5;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers .temp {
|
|
left: 355px;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers .like {
|
|
left: 435px;
|
|
}
|
|
.weather-display .main.hourly.main .column-headers .wind {
|
|
left: 535px;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines {
|
|
min-height: 338px;
|
|
padding-top: 10px;
|
|
will-change: transform;
|
|
backface-visibility: hidden;
|
|
background: repeating-linear-gradient(0deg, #001040 0px, #102080 136px, #102080 202px, #001040 338px);
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row {
|
|
font-family: "Star4000 Large";
|
|
font-size: 32px;
|
|
height: 72px;
|
|
color: yellow;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
position: relative;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row > div {
|
|
position: absolute;
|
|
white-space: pre;
|
|
top: 8px;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .hour {
|
|
left: 25px;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .icon {
|
|
left: 255px;
|
|
width: 70px;
|
|
top: 20px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .icon img {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .temp {
|
|
left: 355px;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .like {
|
|
left: 425px;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .like.heat-index {
|
|
color: #e00;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .like.wind-chill {
|
|
color: #8080FF;
|
|
}
|
|
.weather-display .main.hourly.main .hourly-lines .hourly-row .wind {
|
|
left: 505px;
|
|
width: 100px;
|
|
text-align: right;
|
|
}
|
|
|
|
#hourly-graph-html {
|
|
background-image: url(../images/backgrounds/1-chart.png);
|
|
}
|
|
.wide.enhanced #hourly-graph-html {
|
|
background-image: url(../images/backgrounds/1-chart-wide.png);
|
|
background-position-x: 0px;
|
|
}
|
|
.portrait.enhanced #hourly-graph-html {
|
|
background-image: url(../images/backgrounds/1-chart-portrait.png);
|
|
background-position-x: 0px;
|
|
}
|
|
|
|
.right .legend {
|
|
position: absolute;
|
|
}
|
|
.header .right .legend {
|
|
top: 35px;
|
|
}
|
|
.right .legend {
|
|
right: 60px;
|
|
width: 360px;
|
|
font-family: "Star4000 Small";
|
|
font-size: 28px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
text-align: right;
|
|
}
|
|
.right .legend div {
|
|
margin-top: -18px;
|
|
}
|
|
.right .legend .temperature {
|
|
color: red;
|
|
}
|
|
.portrait.enhanced .header .right .legend .temperature {
|
|
margin-top: 12px;
|
|
}
|
|
.right .legend .dewpoint {
|
|
color: green;
|
|
}
|
|
.right .legend .cloud {
|
|
color: lightgrey;
|
|
}
|
|
.right .legend .rain {
|
|
color: aqua;
|
|
}
|
|
|
|
.weather-display .main.hourly-graph.main .chart-container {
|
|
position: absolute;
|
|
top: 0px;
|
|
height: 310px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.portrait-only {
|
|
top: 495px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container > div {
|
|
position: absolute;
|
|
}
|
|
.portrait.enhanced .weather-display .main.hourly-graph.main .chart-container {
|
|
height: 470px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .label {
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
color: yellow;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
margin-top: -15px;
|
|
position: absolute;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis {
|
|
bottom: 0px;
|
|
left: 54px;
|
|
width: 532px;
|
|
height: 20px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label {
|
|
text-align: center;
|
|
transform: translateX(-50%);
|
|
white-space: nowrap;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-1 {
|
|
left: 0px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-2 {
|
|
left: 133px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-3 {
|
|
left: 266px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-4 {
|
|
left: 399px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-5 {
|
|
left: 532px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-1 {
|
|
left: 0px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-2 {
|
|
left: 124.3333333333px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-3 {
|
|
left: 248.6666666667px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-4 {
|
|
left: 373px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-5 {
|
|
left: 497.3333333333px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-6 {
|
|
left: 621.6666666667px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-7 {
|
|
left: 746px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-6, .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-7 {
|
|
display: none;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-6, .wide.enhanced .weather-display .main.hourly-graph.main .chart-container .x-axis .label.l-7 {
|
|
display: block;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .chart {
|
|
top: 0px;
|
|
left: 50px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .chart canvas {
|
|
width: 532px;
|
|
height: 285px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hourly-graph.main .chart-container .chart canvas {
|
|
width: 746px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.hourly-graph.main .chart-container .chart canvas {
|
|
height: 450px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis {
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 50px;
|
|
height: 285px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.hourly-graph.main .chart-container .y-axis {
|
|
height: 450px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label {
|
|
text-align: right;
|
|
right: 0px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-1 {
|
|
top: 0px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-2, .weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-3 {
|
|
margin-top: -5px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-2 {
|
|
top: calc(10px + (100% - 20px) / 3);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-3 {
|
|
top: calc(10px + (100% - 20px) * 2 / 3);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container .y-axis .label.l-4 {
|
|
bottom: 0px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.bottom .y-axis .label.l-2 {
|
|
top: calc(10px + (100% - 20px) / 4);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.bottom .y-axis .label.l-3 {
|
|
top: calc(10px + (100% - 20px) / 2);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.bottom .y-axis .label.l-4 {
|
|
top: calc(10px + (100% - 20px) * 3 / 4);
|
|
bottom: auto;
|
|
margin-top: -5px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.bottom .y-axis .label.l-5 {
|
|
bottom: 0px;
|
|
}
|
|
.weather-display .main.hourly-graph.main .chart-container.bottom .right {
|
|
width: 640px;
|
|
position: absolute;
|
|
top: -25px;
|
|
}
|
|
|
|
.weather-display .main.travel.main {
|
|
overflow-y: hidden;
|
|
}
|
|
.weather-display .main.travel.main .column-headers {
|
|
background-color: rgb(32, 0, 87);
|
|
height: 20px;
|
|
position: sticky;
|
|
top: 0px;
|
|
width: 100%;
|
|
z-index: 5;
|
|
overflow: hidden;
|
|
}
|
|
.weather-display .main.travel.main .column-headers div {
|
|
display: inline-block;
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
color: yellow;
|
|
position: absolute;
|
|
top: -14px;
|
|
z-index: 5;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.weather-display .main.travel.main .column-headers .temp {
|
|
width: 50px;
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.travel.main .column-headers .temp.low {
|
|
left: 455px;
|
|
}
|
|
.weather-display .main.travel.main .column-headers .temp.high {
|
|
left: 510px;
|
|
width: 60px;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines {
|
|
min-height: 338px;
|
|
padding-top: 10px;
|
|
will-change: transform;
|
|
backface-visibility: hidden;
|
|
background: repeating-linear-gradient(0deg, #001040 0px, #102080 136px, #102080 202px, #001040 338px);
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row {
|
|
font-family: "Star4000 Large";
|
|
font-size: 32px;
|
|
height: 72px;
|
|
color: yellow;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
position: relative;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row > div {
|
|
position: absolute;
|
|
white-space: pre;
|
|
top: 8px;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .city {
|
|
left: 80px;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .icon {
|
|
left: 330px;
|
|
width: 70px;
|
|
top: 20px;
|
|
transform: translateY(-50%);
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .icon img {
|
|
display: block;
|
|
margin: 0 auto;
|
|
max-width: 47px;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .temp {
|
|
width: 50px;
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .temp.low {
|
|
left: 455px;
|
|
}
|
|
.weather-display .main.travel.main .travel-lines .travel-row .temp.high {
|
|
left: 510px;
|
|
width: 60px;
|
|
}
|
|
|
|
.weather-display .latest-observations.main {
|
|
overflow-y: hidden;
|
|
}
|
|
.weather-display .latest-observations.main .container {
|
|
max-height: 300px;
|
|
overflow: hidden;
|
|
}
|
|
.portrait.enhanced .weather-display .latest-observations.main .container {
|
|
max-height: 947px;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers {
|
|
height: 20px;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers {
|
|
top: 0px;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers div {
|
|
display: inline-block;
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
position: absolute;
|
|
top: -14px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers .temp {
|
|
display: none;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers .temp.show {
|
|
display: inline-block;
|
|
}
|
|
.weather-display .latest-observations.main .column-headers .like {
|
|
display: none;
|
|
}
|
|
.weather-display .latest-observations.main .temp {
|
|
left: 230px;
|
|
width: 45px;
|
|
text-align: right;
|
|
}
|
|
.weather-display .latest-observations.main .like {
|
|
width: 60px;
|
|
text-align: right;
|
|
}
|
|
.weather-display .latest-observations.main .weather {
|
|
left: 280px;
|
|
}
|
|
.weather-display .latest-observations.main .wind {
|
|
left: 430px;
|
|
}
|
|
.weather-display .latest-observations.main .like {
|
|
display: none;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .temp {
|
|
left: 320px;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .like {
|
|
left: 380px;
|
|
display: block;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .like.heat-index {
|
|
color: #e00;
|
|
display: block;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .like.wind-chill {
|
|
display: block;
|
|
color: #8080FF;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .weather {
|
|
left: 470px;
|
|
}
|
|
.wide.enhanced .weather-display .latest-observations.main .wind {
|
|
left: 630px;
|
|
}
|
|
.weather-display .latest-observations.main .observation-lines {
|
|
min-height: 338px;
|
|
padding-top: 10px;
|
|
}
|
|
.portrait.enhanced .weather-display .latest-observations.main .observation-lines {
|
|
padding-top: 40px;
|
|
}
|
|
.weather-display .latest-observations.main .observation-lines .observation-row {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
position: relative;
|
|
height: 40px;
|
|
}
|
|
.weather-display .latest-observations.main .observation-lines .observation-row > div {
|
|
position: absolute;
|
|
top: 8px;
|
|
}
|
|
.weather-display .latest-observations.main .observation-lines .observation-row .wind {
|
|
white-space: pre;
|
|
}
|
|
.portrait.enhanced .weather-display .latest-observations.main .observation-lines .observation-row {
|
|
font-family: "Star4000 Large";
|
|
font-size: 21px;
|
|
height: 48px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.weather-display .local-forecast.main {
|
|
width: 512px;
|
|
}
|
|
.weather-display .local-forecast .container {
|
|
position: relative;
|
|
top: 15px;
|
|
margin: 0px 10px;
|
|
box-sizing: border-box;
|
|
height: 280px;
|
|
overflow: hidden;
|
|
}
|
|
.portrait.enhanced .weather-display .local-forecast .container {
|
|
height: 960px;
|
|
}
|
|
.weather-display .local-forecast .forecasts {
|
|
position: relative;
|
|
}
|
|
.weather-display .local-forecast .forecast {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.weather-display .progress {
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
font-family: "Star4000 Extended";
|
|
font-size: 25px;
|
|
}
|
|
.weather-display .progress.main {
|
|
width: 512px;
|
|
}
|
|
.weather-display .progress .container {
|
|
position: relative;
|
|
top: 15px;
|
|
margin: 0px 10px;
|
|
box-sizing: border-box;
|
|
height: 310px;
|
|
overflow: hidden;
|
|
line-height: 28px;
|
|
}
|
|
.portrait.enhanced .weather-display .progress .container {
|
|
height: unset;
|
|
}
|
|
.weather-display .progress .container .item {
|
|
position: relative;
|
|
}
|
|
.weather-display .progress .container .item .name {
|
|
white-space: nowrap;
|
|
}
|
|
.weather-display .progress .container .item .name::after {
|
|
content: "........................................................................";
|
|
}
|
|
.weather-display .progress .container .item .links {
|
|
position: absolute;
|
|
text-align: right;
|
|
right: 0px;
|
|
top: 0px;
|
|
}
|
|
.weather-display .progress .container .item .links > div {
|
|
background-color: #26235a;
|
|
display: none;
|
|
padding-left: 4px;
|
|
}
|
|
.weather-display .progress .container .item .links .loading,
|
|
.weather-display .progress .container .item .links .retrying {
|
|
color: #ffff00;
|
|
}
|
|
.weather-display .progress .container .item .links .press-here {
|
|
color: #00ff00;
|
|
cursor: pointer;
|
|
}
|
|
.weather-display .progress .container .item .links .failed {
|
|
color: #ff0000;
|
|
}
|
|
.weather-display .progress .container .item .links .no-data {
|
|
color: #C0C0C0;
|
|
}
|
|
.weather-display .progress .container .item .links .disabled {
|
|
color: #C0C0C0;
|
|
}
|
|
.weather-display .progress .container .item .links.loading .loading, .weather-display .progress .container .item .links.press-here .press-here, .weather-display .progress .container .item .links.failed .failed, .weather-display .progress .container .item .links.no-data .no-data, .weather-display .progress .container .item .links.disabled .disabled, .weather-display .progress .container .item .links.retrying .retrying {
|
|
display: block;
|
|
}
|
|
|
|
@keyframes progress-scroll {
|
|
0% {
|
|
background-position: -40px 0;
|
|
}
|
|
100% {
|
|
background-position: 40px 0;
|
|
}
|
|
}
|
|
#progress-html.weather-display .scroll .progress-bar-container {
|
|
border: 2px solid black;
|
|
background-color: white;
|
|
margin: 20px auto;
|
|
width: 524px;
|
|
position: relative;
|
|
display: none;
|
|
}
|
|
#progress-html.weather-display .scroll .progress-bar-container.show {
|
|
display: block;
|
|
}
|
|
.portrait.enhanced #progress-html.weather-display .scroll .progress-bar-container {
|
|
margin-top: 40px;
|
|
}
|
|
#progress-html.weather-display .scroll .progress-bar-container .progress-bar {
|
|
height: 20px;
|
|
margin: 2px;
|
|
width: 520px;
|
|
background: repeating-linear-gradient(90deg, #09246f 0px, #09246f 5px, #364ac0 5px, #364ac0 10px, #4f99f9 10px, #4f99f9 15px, #8ffdfa 15px, #8ffdfa 20px, #4f99f9 20px, #4f99f9 25px, #364ac0 25px, #364ac0 30px, #09246f 30px, #09246f 40px);
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
animation-iteration-count: infinite;
|
|
animation-name: progress-scroll;
|
|
animation-timing-function: steps(8, end);
|
|
}
|
|
#progress-html.weather-display .scroll .progress-bar-container .cover {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
background-color: white;
|
|
width: 100%;
|
|
height: 24px;
|
|
transition: width 1s steps(6);
|
|
}
|
|
|
|
#radar-html.weather-display,
|
|
#future-radar-html.weather-display {
|
|
background-image: url("../images/backgrounds/4.png");
|
|
}
|
|
.wide #radar-html.weather-display,
|
|
.wide #future-radar-html.weather-display {
|
|
background: url(../images/backgrounds/4-wide.png);
|
|
}
|
|
#radar-html.weather-display .header,
|
|
#future-radar-html.weather-display .header {
|
|
height: 83px;
|
|
}
|
|
#radar-html.weather-display .header .title.dual,
|
|
#future-radar-html.weather-display .header .title.dual {
|
|
color: white;
|
|
font-family: "Arial", sans-serif;
|
|
font-weight: bold;
|
|
font-size: 38px;
|
|
left: 155px;
|
|
}
|
|
#radar-html.weather-display .header .title.dual .top,
|
|
#future-radar-html.weather-display .header .title.dual .top {
|
|
top: -4px;
|
|
}
|
|
#radar-html.weather-display .header .title.dual .bottom,
|
|
#future-radar-html.weather-display .header .title.dual .bottom {
|
|
top: 31px;
|
|
}
|
|
#radar-html.weather-display .header .right,
|
|
#future-radar-html.weather-display .header .right {
|
|
position: absolute;
|
|
right: 0px;
|
|
width: 360px;
|
|
margin-top: 2px;
|
|
font-family: "Star4000";
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
text-align: center;
|
|
}
|
|
#radar-html.weather-display .header .right .scale > div,
|
|
#future-radar-html.weather-display .header .right .scale > div {
|
|
display: inline-block;
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table,
|
|
#future-radar-html.weather-display .header .right .scale-table {
|
|
display: table-row;
|
|
border-collapse: collapse;
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box,
|
|
#future-radar-html.weather-display .header .right .scale-table .box {
|
|
display: table-cell;
|
|
border: 2px solid black;
|
|
width: 17px;
|
|
height: 24px;
|
|
padding: 0;
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-1,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-1 {
|
|
background-color: rgb(49, 210, 22);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-2,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-2 {
|
|
background-color: rgb(28, 138, 18);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-3,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-3 {
|
|
background-color: rgb(20, 90, 15);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-4,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-4 {
|
|
background-color: rgb(10, 40, 10);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-5,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-5 {
|
|
background-color: rgb(196, 179, 70);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-6,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-6 {
|
|
background-color: rgb(190, 72, 19);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-7,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-7 {
|
|
background-color: rgb(171, 14, 14);
|
|
}
|
|
#radar-html.weather-display .header .right .scale-table .box-8,
|
|
#future-radar-html.weather-display .header .right .scale-table .box-8 {
|
|
background-color: rgb(115, 31, 4);
|
|
}
|
|
#radar-html.weather-display .header .right .scale .text,
|
|
#future-radar-html.weather-display .header .right .scale .text {
|
|
position: relative;
|
|
top: -5px;
|
|
}
|
|
#radar-html.weather-display .header .right .time,
|
|
#future-radar-html.weather-display .header .right .time {
|
|
position: relative;
|
|
font-weight: normal;
|
|
top: -14px;
|
|
font-family: "Star4000 Small";
|
|
font-size: 32px;
|
|
}
|
|
|
|
.weather-display .main.radar,
|
|
.weather-display .main.future-radar {
|
|
overflow: hidden;
|
|
height: 367px;
|
|
width: 640px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.radar,
|
|
.portrait.enhanced .weather-display .main.future-radar {
|
|
height: 1024px;
|
|
}
|
|
.weather-display .main.radar .container .tiles,
|
|
.weather-display .main.future-radar .container .tiles {
|
|
position: absolute;
|
|
}
|
|
.weather-display .main.radar .container .tiles img,
|
|
.weather-display .main.future-radar .container .tiles img {
|
|
vertical-align: middle;
|
|
}
|
|
.weather-display .main.radar .container .scroll-area,
|
|
.weather-display .main.future-radar .container .scroll-area {
|
|
position: relative;
|
|
}
|
|
|
|
.weather-display .main.regional-forecast {
|
|
position: relative;
|
|
}
|
|
.weather-display .main.regional-forecast .map {
|
|
position: absolute;
|
|
transform-origin: 0 0;
|
|
}
|
|
.weather-display .main.regional-forecast .location {
|
|
position: absolute;
|
|
}
|
|
.weather-display .main.regional-forecast .location > div {
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.weather-display .main.regional-forecast .location .city {
|
|
font-family: Star4000;
|
|
font-size: 20px;
|
|
}
|
|
.weather-display .main.regional-forecast .location .details {
|
|
padding-top: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.weather-display .main.regional-forecast .location .details .icon img {
|
|
display: block;
|
|
max-height: 32px;
|
|
}
|
|
.weather-display .main.regional-forecast .location .details .temp {
|
|
position: relative;
|
|
top: 5px;
|
|
font-family: "Star4000 Large";
|
|
font-size: 28px;
|
|
color: yellow;
|
|
}
|
|
|
|
#almanac-html.weather-display {
|
|
background-image: url("../images/backgrounds/3.png");
|
|
}
|
|
.wide.enhanced #almanac-html.weather-display {
|
|
background-image: url("../images/backgrounds/3-wide-enhanced.png");
|
|
}
|
|
.portrait.enhanced #almanac-html.weather-display {
|
|
background-image: url(../images/backgrounds/3-portrait.png);
|
|
}
|
|
|
|
.weather-display .main.almanac {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
}
|
|
.weather-display .main.almanac .sun {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, auto);
|
|
grid-template-rows: repeat(3, auto);
|
|
gap: 0px 90px;
|
|
margin: 3px auto 5px auto;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
line-height: 30px;
|
|
}
|
|
.wide.enhanced .weather-display .main.almanac .sun {
|
|
grid-template-columns: repeat(4, auto);
|
|
}
|
|
.portrait.enhanced .weather-display .main.almanac .sun {
|
|
display: none;
|
|
}
|
|
.weather-display .main.almanac .sun .grid-item {
|
|
width: auto;
|
|
height: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
.weather-display .main.almanac .sun .grid-item.header {
|
|
color: yellow;
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.almanac .sun .grid-item.row-label {
|
|
text-align: right;
|
|
}
|
|
.weather-display .main.almanac .sun .grid-item.time {
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.almanac .sun .grid-item.wide-enhanced {
|
|
display: none;
|
|
}
|
|
.wide.enhanced .weather-display .main.almanac .sun .grid-item.wide-enhanced {
|
|
display: block;
|
|
}
|
|
.portrait.enhanced .weather-display .main.almanac {
|
|
font-size: 38px;
|
|
}
|
|
.weather-display .main.almanac .sun.sun-portrait {
|
|
display: none;
|
|
}
|
|
.portrait.enhanced .weather-display .main.almanac .sun.sun-portrait {
|
|
display: grid;
|
|
}
|
|
.weather-display .main.almanac .sun.sun-portrait .grid-item {
|
|
margin: 8px 0px;
|
|
}
|
|
.weather-display .main.almanac .moon {
|
|
position: relative;
|
|
padding: 7px 50px;
|
|
line-height: 36px;
|
|
}
|
|
.weather-display .main.almanac .moon .title {
|
|
color: yellow;
|
|
padding-left: 13px;
|
|
}
|
|
.weather-display .main.almanac .moon .days {
|
|
text-align: center;
|
|
}
|
|
.weather-display .main.almanac .moon .day {
|
|
display: inline-block;
|
|
text-align: center;
|
|
width: 132px;
|
|
}
|
|
.weather-display .main.almanac .moon .day .icon {
|
|
padding-left: 10px;
|
|
}
|
|
.weather-display .main.almanac .moon .day .date {
|
|
position: relative;
|
|
top: -10px;
|
|
}
|
|
.weather-display .main.almanac .moon .day.wide-enhanced {
|
|
display: none;
|
|
}
|
|
.wide.enhanced .weather-display .main.almanac .moon .day.wide-enhanced {
|
|
display: inline-block;
|
|
}
|
|
|
|
#hazards-html.weather-display {
|
|
background-image: url("../images/backgrounds/7.png");
|
|
}
|
|
|
|
.weather-display .main.hazards.main {
|
|
overflow-y: hidden;
|
|
height: 480px;
|
|
background-color: rgb(112, 35, 35);
|
|
width: 640px;
|
|
}
|
|
.wide.enhanced .weather-display .main.hazards.main {
|
|
left: 0px;
|
|
}
|
|
.portrait.enhanced .weather-display .main.hazards.main {
|
|
height: 1137px;
|
|
}
|
|
.weather-display .main.hazards.main .hazard-lines {
|
|
min-height: 400px;
|
|
padding-top: 10px;
|
|
will-change: transform;
|
|
backface-visibility: hidden;
|
|
}
|
|
.weather-display .main.hazards.main .hazard-lines .hazard {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
color: white;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 0px 0px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
position: relative;
|
|
text-transform: uppercase;
|
|
margin-top: 10px;
|
|
margin-left: 80px;
|
|
margin-right: 80px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.wide.hazards #container {
|
|
background: url(../images/backgrounds/7-wide.png);
|
|
}
|
|
|
|
#ToggleMediaContainer {
|
|
display: none;
|
|
position: relative;
|
|
}
|
|
#ToggleMediaContainer.available {
|
|
display: inline-block;
|
|
}
|
|
#ToggleMediaContainer.available img.on {
|
|
display: none;
|
|
}
|
|
#ToggleMediaContainer.available img.off {
|
|
display: block;
|
|
}
|
|
#ToggleMediaContainer.available.playing img.on {
|
|
display: block;
|
|
}
|
|
#ToggleMediaContainer.available.playing img.off {
|
|
display: none;
|
|
}
|
|
#ToggleMediaContainer.available.playing #ToggleMediaVolume,
|
|
#ToggleMediaContainer.available.playing .volume-slider {
|
|
opacity: 1;
|
|
}
|
|
#ToggleMediaContainer #ToggleMedia,
|
|
#ToggleMediaContainer #ToggleMediaVolume {
|
|
display: inline-block;
|
|
}
|
|
#ToggleMediaContainer #ToggleMediaVolume {
|
|
margin-left: 4px;
|
|
}
|
|
#ToggleMediaContainer #ToggleMediaVolume,
|
|
#ToggleMediaContainer .volume-slider {
|
|
opacity: 0.4;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
#ToggleMediaContainer .volume-slider {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0px;
|
|
transform: translateY(-100%) translateX(100%);
|
|
width: 50%;
|
|
background-color: #000;
|
|
text-align: center;
|
|
z-index: 100;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#ToggleMediaContainer .volume-slider {
|
|
background-color: #303030;
|
|
}
|
|
}
|
|
#ToggleMediaContainer .volume-slider input[type=range] {
|
|
writing-mode: vertical-lr;
|
|
direction: rtl;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
#ToggleMediaContainer .volume-slider.show {
|
|
display: block;
|
|
}
|
|
|
|
#lower-tabs {
|
|
--panel: #f6f7f9;
|
|
--line: #d9dde3;
|
|
--field: #ffffff;
|
|
--text: #1b1e23;
|
|
--muted: #5d6570;
|
|
--accent: #1f5fbf;
|
|
--accent-text: #ffffff;
|
|
--ready: #1f9d3a;
|
|
--loading: #b58a00;
|
|
--failed: #d11f1f;
|
|
--off: #9aa1ab;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#lower-tabs {
|
|
--panel: #111418;
|
|
--line: #2a2f37;
|
|
--field: #000000;
|
|
--text: #e8eaed;
|
|
--muted: #9aa1ab;
|
|
--accent: #7fb2ff;
|
|
--accent-text: #000000;
|
|
--ready: #3ddc5c;
|
|
--loading: #ffd400;
|
|
--failed: #ff4d4d;
|
|
--off: #5b626c;
|
|
}
|
|
}
|
|
#lower-tabs {
|
|
box-sizing: border-box;
|
|
width: var(--player-width, 100%);
|
|
max-width: var(--player-width, 640px);
|
|
color: var(--text);
|
|
}
|
|
#divTwc.wide ~ #lower-tabs {
|
|
max-width: var(--player-width, 854px);
|
|
}
|
|
#lower-tabs *,
|
|
#lower-tabs *::before,
|
|
#lower-tabs *::after {
|
|
box-sizing: inherit;
|
|
}
|
|
#lower-tabs button,
|
|
#lower-tabs input,
|
|
#lower-tabs select {
|
|
font-family: inherit;
|
|
}
|
|
#lower-tabs .tab-bar {
|
|
display: flex;
|
|
background-color: #000000;
|
|
}
|
|
#lower-tabs .tab-bar [role=tab] {
|
|
flex: 1;
|
|
padding: 11px 6px;
|
|
font-size: 14px;
|
|
color: #aaaabb;
|
|
background: none;
|
|
border: none;
|
|
border-bottom: 3px solid transparent;
|
|
cursor: pointer;
|
|
}
|
|
#lower-tabs .tab-bar [role=tab][aria-selected=true] {
|
|
color: #ffffff;
|
|
border-bottom-color: #ffd400;
|
|
}
|
|
#lower-tabs .tab-bar [role=tab]:focus-visible {
|
|
outline: 2px solid #ffd400;
|
|
outline-offset: -2px;
|
|
}
|
|
#lower-tabs .tab-bar [role=tab] .count {
|
|
font-size: 11px;
|
|
color: #888899;
|
|
}
|
|
@media (max-width: 450px) {
|
|
#lower-tabs .tab-bar [role=tab] {
|
|
padding: 11px 2px;
|
|
font-size: 12px;
|
|
}
|
|
#lower-tabs .tab-bar [role=tab] .count {
|
|
display: none;
|
|
}
|
|
}
|
|
#lower-tabs .tab-panels {
|
|
display: grid;
|
|
background-color: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-top: none;
|
|
}
|
|
#lower-tabs .tab-panel {
|
|
grid-area: 1/1;
|
|
padding: 16px 18px;
|
|
visibility: hidden;
|
|
}
|
|
#lower-tabs .tab-panel.active {
|
|
visibility: visible;
|
|
}
|
|
@media (max-width: 400px) {
|
|
#lower-tabs .tab-panel:not(.active) {
|
|
display: none;
|
|
}
|
|
}
|
|
#lower-tabs #enabledDisplays {
|
|
-moz-columns: 2;
|
|
columns: 2;
|
|
-moz-column-gap: 16px;
|
|
column-gap: 16px;
|
|
}
|
|
@media (max-width: 400px) {
|
|
#lower-tabs #enabledDisplays {
|
|
-moz-columns: 1;
|
|
columns: 1;
|
|
}
|
|
}
|
|
#lower-tabs #enabledDisplays label {
|
|
display: flex;
|
|
margin-bottom: 2px;
|
|
-moz-column-break-inside: avoid;
|
|
break-inside: avoid;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 6px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
#lower-tabs #enabledDisplays label:hover {
|
|
background-color: color-mix(in srgb, var(--text) 7%, transparent);
|
|
}
|
|
#lower-tabs #enabledDisplays label::after {
|
|
content: "";
|
|
flex: none;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-left: auto;
|
|
border-radius: 50%;
|
|
background-color: var(--off);
|
|
}
|
|
#lower-tabs #enabledDisplays label.press-here::after {
|
|
background-color: var(--ready);
|
|
box-shadow: 0 0 6px var(--ready);
|
|
}
|
|
#lower-tabs #enabledDisplays label.loading::after, #lower-tabs #enabledDisplays label.retrying::after {
|
|
background-color: var(--loading);
|
|
}
|
|
#lower-tabs #enabledDisplays label.failed::after {
|
|
background-color: var(--failed);
|
|
}
|
|
#lower-tabs #enabledDisplays label.disabled, #lower-tabs #enabledDisplays label.no-data {
|
|
color: var(--muted);
|
|
}
|
|
#lower-tabs #enabledDisplays label .alert {
|
|
display: none;
|
|
}
|
|
#lower-tabs #enabledDisplays label .alert.show {
|
|
display: inline;
|
|
padding: 2px 5px;
|
|
font-size: 10px;
|
|
color: #ffffff;
|
|
background-color: var(--failed);
|
|
border-radius: 4px;
|
|
}
|
|
#lower-tabs #enabledDisplays input,
|
|
#lower-tabs #settings input[type=checkbox] {
|
|
width: 15px;
|
|
height: 15px;
|
|
margin: 0;
|
|
accent-color: var(--accent);
|
|
}
|
|
#lower-tabs .legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px 14px;
|
|
margin-top: 12px;
|
|
padding-top: 10px;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
#lower-tabs .legend span::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 7px;
|
|
margin-right: 6px;
|
|
vertical-align: 1px;
|
|
border-radius: 50%;
|
|
}
|
|
#lower-tabs .legend .ready::before {
|
|
background-color: var(--ready);
|
|
}
|
|
#lower-tabs .legend .loading::before {
|
|
background-color: var(--loading);
|
|
}
|
|
#lower-tabs .legend .failed::before {
|
|
background-color: var(--failed);
|
|
}
|
|
#lower-tabs .legend .off::before {
|
|
background-color: var(--off);
|
|
}
|
|
#lower-tabs #settings {
|
|
--label-width: 110px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
#lower-tabs #settings label {
|
|
display: grid;
|
|
grid-template-columns: var(--label-width) minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
}
|
|
#lower-tabs #settings label:has(input[type=checkbox]) {
|
|
grid-template-columns: 15px minmax(0, 1fr);
|
|
margin-left: calc(var(--label-width) + 10px);
|
|
}
|
|
#lower-tabs #settings label:has(input[type=text]) {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
margin-left: calc(var(--label-width) + 10px);
|
|
}
|
|
@media (max-width: 400px) {
|
|
#lower-tabs #settings label:has(input[type=checkbox]), #lower-tabs #settings label:has(input[type=text]) {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
#lower-tabs #settings select,
|
|
#lower-tabs #settings input[type=text],
|
|
#lower-tabs #settings input[type=button],
|
|
#lower-tabs #share-link-url,
|
|
#lower-tabs .tab-button {
|
|
min-width: 0;
|
|
padding: 6px 8px;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
background-color: var(--field);
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
}
|
|
#lower-tabs #settings input[type=text] {
|
|
width: 100%;
|
|
}
|
|
#lower-tabs #settings input[type=button],
|
|
#lower-tabs .tab-button {
|
|
cursor: pointer;
|
|
}
|
|
#lower-tabs .share-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
#lower-tabs #share-link-url {
|
|
flex: 1;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
#lower-tabs .tab-button {
|
|
padding: 7px 12px;
|
|
white-space: nowrap;
|
|
color: var(--accent-text);
|
|
background-color: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
#lower-tabs .tab-panel .hint {
|
|
margin: 8px 0 0;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
#lower-tabs .copied {
|
|
color: var(--ready);
|
|
}
|
|
#lower-tabs #divInfo {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
gap: 10px 16px;
|
|
margin: 0;
|
|
}
|
|
#lower-tabs #divInfo .wide-item {
|
|
grid-column: span 2;
|
|
}
|
|
#lower-tabs #divInfo .full-row {
|
|
grid-column: 1/-1;
|
|
}
|
|
#lower-tabs #divInfo dt {
|
|
font-size: 10px;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
#lower-tabs #divInfo dd {
|
|
margin: 2px 0 0;
|
|
font-size: 14px;
|
|
}
|
|
#lower-tabs .button-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 16px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
#spc-outlook-html.weather-display {
|
|
background-image: url("../images/backgrounds/6.png");
|
|
}
|
|
.portrait.enhanced #spc-outlook-html.weather-display {
|
|
background-image: url("../images/backgrounds/6-portrait.png");
|
|
}
|
|
|
|
.weather-display .spc-outlook {
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
font-size: 32px;
|
|
}
|
|
.weather-display .spc-outlook .header {
|
|
font-family: "Star4000 Large";
|
|
color: yellow;
|
|
text-align: center;
|
|
margin-top: 12px;
|
|
line-height: 60px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories {
|
|
top: 0px;
|
|
margin: 0px 10px;
|
|
box-sizing: border-box;
|
|
height: 300px;
|
|
overflow: hidden;
|
|
}
|
|
.enhanced.portrait .weather-display .spc-outlook .container-categories {
|
|
height: 420px;
|
|
margin-top: 40px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels {
|
|
position: relative;
|
|
left: 206px;
|
|
font-family: "Star4000 Small";
|
|
}
|
|
.enhanced.portrait .weather-display .spc-outlook .container-categories .risk-levels {
|
|
left: 149px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level {
|
|
position: relative;
|
|
top: -14px;
|
|
height: 20px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(1) {
|
|
left: 100px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(2) {
|
|
left: 80px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(3) {
|
|
left: 60px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(4) {
|
|
left: 40px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(5) {
|
|
left: 20px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .risk-levels .risk-level:nth-child(6) {
|
|
left: 0px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .days {
|
|
position: relative;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .days .day {
|
|
height: 60px;
|
|
}
|
|
.enhanced.portrait .weather-display .spc-outlook .container-categories .days .day {
|
|
height: 80px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .days .day .day-name {
|
|
position: absolute;
|
|
font-family: "Star4000";
|
|
width: 200px;
|
|
text-align: right;
|
|
padding-top: 20px;
|
|
}
|
|
.enhanced.portrait .weather-display .spc-outlook .container-categories .days .day .day-name {
|
|
width: 143px;
|
|
}
|
|
.weather-display .spc-outlook .container-categories .days .day .risk-bar {
|
|
position: absolute;
|
|
width: 150px;
|
|
height: 40px;
|
|
left: 210px;
|
|
margin-top: 20px;
|
|
border: 3px outset hsl(0, 0%, 70%);
|
|
background: linear-gradient(0deg, hsl(0, 0%, 40%) 0%, hsl(0, 0%, 60%) 50%, hsl(0, 0%, 40%) 100%);
|
|
}
|
|
.enhanced.portrait .weather-display .spc-outlook .container-categories .days .day .risk-bar {
|
|
left: 153px;
|
|
}
|
|
.weather-display .spc-outlook .container-details .header {
|
|
margin-top: 140px;
|
|
}
|
|
.weather-display .spc-outlook .container-details .table {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, auto);
|
|
grid-template-rows: repeat(3, auto);
|
|
gap: 0px 70px;
|
|
margin: 30px auto 5px auto;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
line-height: 50px;
|
|
}
|
|
.weather-display .spc-outlook .container-details .table .grid-item {
|
|
width: auto;
|
|
height: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
.weather-display .spc-outlook .container-details .table .grid-item.header {
|
|
color: yellow;
|
|
text-align: center;
|
|
}
|
|
.weather-display .spc-outlook .container-details .table .grid-item.row-label {
|
|
text-align: right;
|
|
}
|
|
.weather-display .spc-outlook .container-details .table .grid-item.percent {
|
|
text-align: center;
|
|
}
|
|
|
|
.weather-display .climate.main {
|
|
width: 512px;
|
|
}
|
|
.weather-display .climate .container {
|
|
position: relative;
|
|
top: 15px;
|
|
margin: 0px 10px;
|
|
box-sizing: border-box;
|
|
height: 280px;
|
|
overflow: hidden;
|
|
}
|
|
.portrait.enhanced .weather-display .climate .container {
|
|
height: 960px;
|
|
}
|
|
.weather-display .climate .data {
|
|
font-family: "Star4000";
|
|
font-size: 32px;
|
|
/* eventually, when chrome supports paint-order for html elements */
|
|
/* -webkit-text-stroke: 2px black; */
|
|
/* paint-order: stroke fill; */
|
|
text-shadow: 3px 3px 0 black, -1.5px -1.5px 0 black, 0 -1.5px 0 black, 1.5px -1.5px 0 black, 1.5px 0 0 black, 1.5px 1.5px 0 black, 0 1.5px 0 black, -1.5px 1.5px 0 black, -1.5px 0 0 black;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
}
|
|
.weather-display .climate .data div:first-child {
|
|
margin-top: 20px;
|
|
}
|
|
.weather-display .climate .spacer {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
/* REGULAR SCANLINES SETTINGS */
|
|
/* MOVING SCANLINE SETTINGS */
|
|
/* MIXINS */
|
|
/* CSS .scanlines CLASS */
|
|
.scanlines {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.scanlines:before, .scanlines:after {
|
|
display: block;
|
|
pointer-events: none;
|
|
content: "";
|
|
position: absolute;
|
|
}
|
|
.scanlines:before {
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
z-index: 2147483649;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
opacity: 0.75;
|
|
animation: scanline 6s linear infinite;
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.scanlines:before {
|
|
animation: none;
|
|
}
|
|
}
|
|
.scanlines:after {
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 2147483648;
|
|
background: repeating-linear-gradient(to bottom, transparent 0, transparent 1px, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0.3) 2px);
|
|
animation: none;
|
|
image-rendering: crisp-edges;
|
|
image-rendering: pixelated;
|
|
}
|
|
.scanlines:before {
|
|
height: var(--scanline-thickness, 1px);
|
|
}
|
|
.scanlines:after {
|
|
background: repeating-linear-gradient(to bottom, transparent 0, transparent var(--scanline-thickness, 1px), rgba(0, 0, 0, 0.3) var(--scanline-thickness, 1px), rgba(0, 0, 0, 0.3) calc(var(--scanline-thickness, 1px) * 2));
|
|
}
|
|
|
|
/* ANIMATE UNIQUE SCANLINE */
|
|
@keyframes scanline {
|
|
0% {
|
|
transform: translate3d(0, 200000%, 0);
|
|
}
|
|
}
|
|
@keyframes scanlines {
|
|
0% {
|
|
background-position: 0 50%;
|
|
}
|
|
}/*# sourceMappingURL=ws.min.css.map */ |