ws4kp/server/styles/scss/_page.scss

671 lines
13 KiB
SCSS
Raw Normal View History

@use 'shared/_utils'as u;
2022-08-05 19:03:14 +00:00
@font-face {
font-family: "Star4000";
src: url('../fonts/Star4000.woff') format('woff');
}
body {
font-family: "Star4000";
2022-12-08 22:25:12 +00:00
@media (prefers-color-scheme: dark) {
background-color: #000000;
color: white;
}
a {
@media (prefers-color-scheme: dark) {
color: lightblue;
}
}
2022-08-05 19:03:14 +00:00
}
input,
button {
font-family: "Star4000";
}
#imgGetGps {
height: 13px;
vertical-align: middle;
}
#txtAddress {
width: 490px;
font-size: 16pt;
2022-12-09 19:11:53 +00:00
max-width: calc(100% - 8px);
2022-12-08 22:25:12 +00:00
@media (prefers-color-scheme: dark) {
background-color: #000000;
color: white;
border: 1px solid darkgray;
}
2022-08-05 19:03:14 +00:00
}
#btnGetGps,
#btnGetLatLng,
#btnClearQuery {
font-size: 16pt;
2022-12-08 22:25:12 +00:00
@media (prefers-color-scheme: dark) {
background-color: #000000;
color: white;
}
border: 1px solid darkgray;
}
2022-12-13 21:43:06 +00:00
#btnGetGps {
img {
2022-12-08 22:25:12 +00:00
2022-12-13 21:43:06 +00:00
&.dark {
display: none;
2022-12-08 22:25:12 +00:00
2022-12-13 21:43:06 +00:00
@media (prefers-color-scheme: dark) {
display: inline-block;
}
}
&.light {
@media (prefers-color-scheme: dark) {
display: none;
}
2022-12-08 22:25:12 +00:00
}
}
2022-12-13 21:43:06 +00:00
&.active {
background-color: black;
2022-12-08 22:25:12 +00:00
@media (prefers-color-scheme: dark) {
2022-12-13 21:43:06 +00:00
background-color: white;
}
img {
filter: invert(1);
2022-12-08 22:25:12 +00:00
}
}
2022-08-05 19:03:14 +00:00
}
.autocomplete-suggestions {
background-color: #ffffff;
border: 1px solid #000000;
2022-12-09 19:51:51 +00:00
@media (prefers-color-scheme: dark) {
background-color: #000000;
}
2022-08-05 19:03:14 +00:00
}
.autocomplete-suggestion {
/*padding: 2px 5px;*/
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 16pt;
}
.autocomplete-selected {
background-color: #0000ff;
color: #ffffff;
}
#divTwc {
display: block;
background-color: #000000;
color: #ffffff;
width: 100%;
max-width: 640px;
}
#divTwcLeft {
display: none;
text-align: right;
flex-direction: column;
vertical-align: middle;
}
#divTwcLeft>div {
flex: 1;
padding-right: 12px;
display: flex;
flex-direction: column;
justify-content: center;
}
#divTwcRight {
text-align: left;
display: none;
flex-direction: column;
vertical-align: middle;
}
#divTwcRight>div {
flex: 1;
padding-left: 12px;
display: flex;
flex-direction: column;
justify-content: center;
}
#divTwcBottom {
/* visibility: hidden; */
display: flex;
flex-direction: row;
background-color: #000000;
2022-12-08 22:25:12 +00:00
@media (prefers-color-scheme: dark) {
background-color: rgb(48, 48, 48);
}
2022-08-05 19:03:14 +00:00
color: #ffffff;
width: 100%;
}
#divTwcBottom>div {
padding-left: 6px;
padding-right: 6px;
}
#divTwcBottomLeft {
flex: 1;
text-align: left;
}
#divTwcBottomMiddle {
flex: 0;
text-align: center;
}
#divTwcBottomRight {
flex: 1;
text-align: right;
}
#divTwcNavContainer {
display: none;
}
#divTwcNav {
width: 100%;
display: flex;
flex-direction: row;
background-color: #000000;
color: #ffffff;
max-width: 640px;
}
#divTwcNav>div {
padding-left: 6px;
padding-right: 6px;
}
#divTwcNavLeft {
flex: 1;
text-align: left;
}
#divTwcNavMiddle {
flex: 0;
text-align: center;
}
#divTwcNavRight {
flex: 1;
text-align: right;
}
#imgPause1x,
#imgPause2x {
visibility: hidden;
position: absolute;
}
.HideCursor {
cursor: none !important;
}
#txtScrollText {
width: 475px;
}
@font-face {
font-family: "Star4000";
src: url('../fonts/Star4000.woff') format('woff');
}
@font-face {
font-family: "Star 4 Radar";
src: url('../fonts/Star 4 Radar.woff') format('woff');
}
@font-face {
font-family: 'Star4000 Extended';
src: url('../fonts/Star4000 Extended.woff') format('woff');
}
@font-face {
font-family: 'Star4000LCN';
src: url('../fonts/Star4000LCN.woff') format('woff');
}
@font-face {
font-family: 'Star4000 Large Compressed';
src: url('../fonts/Star4000 Large Compressed.woff') format('woff');
}
@font-face {
font-family: 'Star4000 Large';
src: url('../fonts/Star4000 Large.ttf') format('truetype');
}
@font-face {
font-family: 'Star4000 Small';
src: url('../fonts/Star4000 Small.woff') format('woff');
}
#display {
font-family: "Star4000";
margin: 0 0 0 0;
width: 100%;
}
#container {
position: relative;
2022-12-14 19:32:55 +00:00
width: 640px;
height: 480px;
overflow: hidden;
2022-08-05 19:03:14 +00:00
background-image: url(../images/BackGround1_1.png);
2022-12-14 19:32:55 +00:00
2022-08-05 19:03:14 +00:00
}
#divTwc:fullscreen #container {
background-image: none;
2022-11-22 03:49:10 +00:00
width: unset;
height: unset;
2022-08-05 19:03:14 +00:00
}
#loading {
width: 640px;
height: 480px;
max-width: 100%;
text-shadow: 4px 4px black;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
2022-12-12 21:49:20 +00:00
.title {
font-family: Star4000 Large;
font-size: 36px;
color: yellow;
margin-bottom: 0px;
}
2022-08-05 19:03:14 +00:00
2022-12-12 21:49:20 +00:00
.version {
margin-bottom: 35px;
}
.instructions {
font-size: 18pt;
}
2022-08-05 19:03:14 +00:00
}
.heading {
font-weight: bold;
margin-top: 15px;
}
#enabledDisplays {
margin-bottom: 15px;
@include u.status-colors();
2022-08-05 19:03:14 +00:00
2022-12-19 16:17:12 +00:00
.press-here {
color: white;
}
2022-12-15 03:47:27 +00:00
@media (prefers-color-scheme: light) {
.loading,
.retrying {
color: hsl(60, 100%, 30%);
}
.press-here {
2022-12-19 16:17:12 +00:00
color: black;
2022-12-15 03:47:27 +00:00
cursor: pointer;
}
.failed {
color: hsl(0, 100%, 30%);
}
.no-data {
color: hsl(0, 0%, 30%);
}
.disabled {
color: hsl(0, 0%, 30%);
}
}
label {
display: block;
max-width: 300px;
2022-12-14 22:28:33 +00:00
.alert {
display: none;
&.show {
display: inline;
color: red;
}
}
}
2022-08-05 19:03:14 +00:00
}
#divTwcBottom img {
zoom: 150%;
}
#divTwc:fullscreen {
display: flex;
2022-11-22 03:49:10 +00:00
align-items: center;
justify-content: center;
align-content: center;
2022-08-05 19:03:14 +00:00
}
#divTwc:fullscreen #display {
position: relative;
}
#divTwc:fullscreen #divTwcBottom {
display: flex;
flex-direction: row;
background-color: rgb(0 0 0 / 0.5);
color: #ffffff;
width: 100%;
position: absolute;
bottom: 0px;
}
.navButton {
cursor: pointer;
}
.visible {
visibility: visible;
opacity: 1;
transition: opacity 1s linear;
}
.hidden {
visibility: hidden;
opacity: 0;
transition: visibility 0s 1s, opacity 1s linear
2022-12-13 16:19:30 +00:00
}
.github-links {
width: 610px;
max-width: calc(100vw - 30px);
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
2022-12-14 16:44:00 +00:00
span {
a {
text-decoration: none;
outline: 0
}
.widget {
display: inline-block;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
font-size: 0;
line-height: 0;
white-space: nowrap
}
.btn,
.social-count {
position: relative;
display: inline-block;
display: inline-flex;
height: 14px;
padding: 2px 5px;
font-size: 11px;
font-weight: 600;
line-height: 14px;
vertical-align: bottom;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-repeat: repeat-x;
background-position: -1px -1px;
background-size: 110% 110%;
border: 1px solid
}
.btn {
border-radius: .25em
}
.btn:not(:last-child) {
border-radius: .25em 0 0 .25em
}
.social-count {
border-left: 0;
border-radius: 0 .25em .25em 0
}
.widget-lg .btn,
.widget-lg .social-count {
height: 16px;
padding: 5px 10px;
font-size: 12px;
line-height: 16px
}
.octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
overflow: visible
}
.btn:focus-visible,
.social-count:focus-visible {
outline: 2px solid #0969da;
outline-offset: -2px
}
.btn {
color: #24292f;
background-color: #ebf0f4;
border-color: #ccd1d5;
border-color: rgba(27, 31, 36, .15);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f6f8fa'/%3e%3cstop offset='90%25' stop-color='%23ebf0f4'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #f6f8fa, #ebf0f4 90%);
background-image: linear-gradient(180deg, #f6f8fa, #ebf0f4 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF6F8FA', endColorstr='#FFEAEFF3')
}
:root .btn {
filter: none
}
.btn:hover,
.btn:focus {
background-color: #e9ebef;
background-position: 0 -0.5em;
border-color: #caccd1;
border-color: rgba(27, 31, 36, .15);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f3f4f6'/%3e%3cstop offset='90%25' stop-color='%23e9ebef'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #f3f4f6, #e9ebef 90%);
background-image: linear-gradient(180deg, #f3f4f6, #e9ebef 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF3F4F6', endColorstr='#FFE8EAEE')
}
:root .btn:hover,
:root .btn:focus {
filter: none
}
.btn:active {
background-color: #e5e9ed;
border-color: #c7cbcf;
border-color: rgba(27, 31, 36, .15);
box-shadow: inset 0 .15em .3em rgba(27, 31, 36, .15);
background-image: none;
filter: none
}
.social-count {
color: #24292f;
background-color: #fff;
border-color: #ddddde;
border-color: rgba(27, 31, 36, .15)
}
.social-count:hover,
.social-count:focus {
color: #0969da
}
.octicon-heart {
color: #bf3989
}
@media(prefers-color-scheme:light) {
.btn:focus-visible,
.social-count:focus-visible {
outline: 2px solid #0969da;
outline-offset: -2px
}
.btn {
color: #24292f;
background-color: #ebf0f4;
border-color: #ccd1d5;
border-color: rgba(27, 31, 36, .15);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f6f8fa'/%3e%3cstop offset='90%25' stop-color='%23ebf0f4'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #f6f8fa, #ebf0f4 90%);
background-image: linear-gradient(180deg, #f6f8fa, #ebf0f4 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF6F8FA', endColorstr='#FFEAEFF3')
}
:root .btn {
filter: none
}
.btn:hover,
.btn:focus {
background-color: #e9ebef;
background-position: 0 -0.5em;
border-color: #caccd1;
border-color: rgba(27, 31, 36, .15);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f3f4f6'/%3e%3cstop offset='90%25' stop-color='%23e9ebef'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #f3f4f6, #e9ebef 90%);
background-image: linear-gradient(180deg, #f3f4f6, #e9ebef 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF3F4F6', endColorstr='#FFE8EAEE')
}
:root .btn:hover,
:root .btn:focus {
filter: none
}
.btn:active {
background-color: #e5e9ed;
border-color: #c7cbcf;
border-color: rgba(27, 31, 36, .15);
box-shadow: inset 0 .15em .3em rgba(27, 31, 36, .15);
background-image: none;
filter: none
}
.social-count {
color: #24292f;
background-color: #fff;
border-color: #ddddde;
border-color: rgba(27, 31, 36, .15)
}
.social-count:hover,
.social-count:focus {
color: #0969da
}
.octicon-heart {
color: #bf3989
}
}
@media(prefers-color-scheme:dark) {
.btn:focus-visible,
.social-count:focus-visible {
outline: 2px solid #58a6ff;
outline-offset: -2px
}
.btn {
color: #c9d1d9;
background-color: #1a1e23;
border-color: #2f3439;
border-color: rgba(240, 246, 252, .1);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%2321262d'/%3e%3cstop offset='90%25' stop-color='%231a1e23'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #21262d, #1a1e23 90%);
background-image: linear-gradient(180deg, #21262d, #1a1e23 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF21262D', endColorstr='#FF191D22')
}
:root .btn {
filter: none
}
.btn:hover,
.btn:focus {
background-color: #292e33;
background-position: 0 -0.5em;
border-color: #8b949e;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%2330363d'/%3e%3cstop offset='90%25' stop-color='%23292e33'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
background-image: -moz-linear-gradient(top, #30363d, #292e33 90%);
background-image: linear-gradient(180deg, #30363d, #292e33 90%);
filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FF30363D', endColorstr='#FF282D32')
}
:root .btn:hover,
:root .btn:focus {
filter: none
}
.btn:active {
background-color: #161719;
border-color: #8b949e;
box-shadow: inset 0 .15em .3em rgba(1, 4, 9, .15);
background-image: none;
filter: none
}
.social-count {
color: #c9d1d9;
background-color: #0d1117;
border-color: #24282e;
border-color: rgba(240, 246, 252, .1)
}
.social-count:hover,
.social-count:focus {
color: #58a6ff
}
.octicon-heart {
color: #db61a2
}
}
}
2022-08-05 19:03:14 +00:00
}