openwebrx-clone/htdocs/css/openwebrx.css

879 lines
16 KiB
CSS
Raw Normal View History

2014-11-29 00:07:10 +00:00
/*
This file is part of OpenWebRX,
an open-source SDR receiver software with a web UI.
Copyright (c) 2013-2015 by Andras Retzler <randras@sdr.hu>
2014-11-29 00:07:10 +00:00
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
2014-11-29 00:07:10 +00:00
This program is distributed in the hope that it will be useful,
2014-11-29 00:07:10 +00:00
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
2014-11-29 00:07:10 +00:00
*/
2019-07-11 11:44:04 +00:00
@import url("openwebrx-header.css");
@import url("openwebrx-globals.css");
2014-11-29 00:07:10 +00:00
2019-07-11 14:49:06 +00:00
html, body {
overflow: hidden;
}
select
{
font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
}
input
{
vertical-align:middle;
}
input[type=range]
{
-webkit-appearance: none;
2016-03-20 15:06:10 +00:00
margin: 0 0;
}
input[type=range]:focus
{
outline: none;
}
input[type=range]::-webkit-slider-runnable-track
{
height: 5px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #B6B6B6;
/*border-radius: 11px;*/
border: 1px solid #8A8A8A;
}
input[type=range]::-webkit-slider-thumb
{
box-shadow: 1px 1px 1px #828282;
border: 1px solid #8A8A8A;
height: 15px;
width: 15px;
border-radius: 10px;
background: #FFFFFF;
cursor: pointer;
-webkit-appearance: none;
margin-top: -7px;
}
input[type=range]:focus::-webkit-slider-runnable-track
{
background: #B6B6B6;
}
input[type=range]::-moz-range-track
{
height: 3px;
cursor: pointer;
animate: 0.2s;
box-shadow: 0px 0px 0px #000000;
background: #B6B6B6;
border-radius: 11px;
border: 1px solid #8A8A8A;
}
input[type=range]::-moz-range-thumb
{
box-shadow: 1px 1px 1px #828282;
border: 1px solid #8A8A8A;
height: 12px;
width: 12px;
border-radius: 10px;
background: #FFFFFF;
cursor: pointer;
}
input[type=range]::-ms-track
{
width: 100%;
height: 7px;
cursor: pointer;
animate: 0.2s;
background: transparent;
border-color: transparent;
color: transparent;
}
input[type=range]::-ms-fill-lower
{
background: #B6B6B6;
border: 1px solid #8A8A8A;
border-radius: 22px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper
{
background: #B6B6B6;
border: 1px solid #8A8A8A;
border-radius: 22px;
box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb
{
box-shadow: 1px 1px 1px #828282;
border: 1px solid #8A8A8A;
height: 24px;
width: 7px;
border-radius: 0px;
background: #FFFFFF;
cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower
{
background: #B6B6B6;
}
input[type=range]:focus::-ms-fill-upper
{
background: #B6B6B6;
}
2014-11-29 00:07:10 +00:00
#webrx-page-container
{
min-height:100%;
position:relative;
}
#openwebrx-scale-container
{
height: 47px;
2019-07-11 11:44:04 +00:00
background-image: url("../gfx/openwebrx-scale-background.png");
2014-11-29 00:07:10 +00:00
background-repeat: repeat-x;
overflow: hidden;
z-index:1000;
position: relative;
}
#webrx-canvas-container
{
2019-07-11 11:44:04 +00:00
/*background-image:url('../gfx/openwebrx-blank-background-1.jpg');*/
2014-11-29 00:07:10 +00:00
position: relative;
height: 2000px;
overflow-y: scroll;
overflow-x: hidden;
/*background-color: #646464;*/
/*background-image: -webkit-linear-gradient(top, rgba(247,247,247,1) 0%, rgba(0,0,0,1) 100%);*/
2019-07-11 11:44:04 +00:00
background-image: url('../gfx/openwebrx-background-cool-blue.png');
2014-11-29 00:07:10 +00:00
background-repeat: no-repeat;
background-color: #1e5f7f;
cursor: crosshair;
}
#webrx-canvas-container canvas
{
position: absolute;
border-style: none;
image-rendering: crisp-edges;
image-rendering: -webkit-optimize-contrast;
/*transition: left 200ms, width 200ms;*/
}
#openwebrx-mathbox-container
{
overflow: none;
display: none;
2014-11-29 00:07:10 +00:00
}
#openwebrx-phantom-canvas
{
position: absolute;
width: 0px;
height: 0px;
}
/*#openwebrx-canvas-gradient-background
{
overflow: hidden;
width: 100%;
height: 396px;
}*/
#openwebrx-log-scroll
2014-11-29 00:07:10 +00:00
{
/*overflow-y:auto;*/
height: 125px;
width: 619px
}
.nano .nano-pane { background: #444; }
.nano .nano-slider { background: #eee !important; }
2014-11-29 00:07:10 +00:00
#webrx-main-container
{
position: relative;
width: 100%;
margin: 0;
padding: 0;
}
.webrx-error
{
font-weight: bold;
color: #ff6262;
}
#openwebrx-problems span
{
background: #ff6262;
padding: 3px;
font-size: 8pt;
color: white;
font-weight: bold;
border-radius: 4px;
-moz-border-radius: 4px;
margin: 0px 2px 0px 2px;
}
/*#webrx-freq-show
{
visibility: hidden;
position: absolute;
top: 0px;
left: 0px;
padding: 5px;
font-weight: bold;
border-radius: 10px;
-moz-border-radius: 10px;
background-color: #999999;
color: White;
z-index:9999; /*should be higher?
2014-11-29 00:07:10 +00:00
}*/
/* removed non-free fonts like that: */
/*@font-face {
font-family: 'unibody_8_pro_regregular';
2019-07-11 11:44:04 +00:00
src: url('../gfx/unibody8pro-regular-webfont.eot');
src: url('../gfx/unibody8pro-regular-webfont.ttf');
2014-11-29 00:07:10 +00:00
font-weight: normal;
font-style: normal;
}*/
@font-face {
font-family: 'expletus-sans-medium';
2019-07-11 11:44:04 +00:00
src: url('../gfx/font-expletus-sans/ExpletusSans-Medium.ttf');
2014-11-29 00:07:10 +00:00
font-weight: normal;
font-style: normal;
}
#webrx-actual-freq
{
width: 100%;
text-align: left;
font-size: 16pt;
font-family: 'expletus-sans-medium';
padding: 0;
margin: 0;
line-height:22px;
2014-11-29 00:07:10 +00:00
}
#webrx-mouse-freq
{
width: 100%;
text-align: left;
font-size: 10pt;
color: #AAA;
font-family: 'expletus-sans-medium';
margin-bottom: 5px;
}
2014-11-29 00:07:10 +00:00
.openwebrx-panel
{
transform: perspective( 600px ) rotateX( 90deg );
2014-11-29 00:07:10 +00:00
visibility: hidden;
background-color: #575757;
padding: 10px;
color: white;
position: fixed;
font-size: 10pt;
border-radius: 15px;
-moz-border-radius: 15px;
}
.openwebrx-panel a
{
color: #5ca8ff;
text-shadow: none;
}
.openwebrx-panel-inner
{
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.openwebrx-button
{
background-color: #373737;
padding: 4.2px;
2014-11-29 00:07:10 +00:00
border-radius: 5px;
-moz-border-radius: 5px;
color: White;
font-weight: bold;
margin-right: 1px;
2014-11-29 00:07:10 +00:00
cursor: pointer;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.0 , #373737), color-stop(1, #4F4F4F) );
background:-moz-linear-gradient( center top, #373737 0%, #4F4F4F 100% );
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
display: inline-block;
2014-11-29 00:07:10 +00:00
}
.openwebrx-button:hover, .openwebrx-demodulator-button.highlighted
2014-11-29 00:07:10 +00:00
{
/*background:-webkit-gradient( linear, left top, left bottom, color-stop(0.0 , #3F3F3F), color-stop(1, #777777) );
background:-moz-linear-gradient( center top, #373737 5%, #4F4F4F 100% );*/
background: #474747;
color: #FFFF50;
}
.openwebrx-button:active
2014-11-29 00:07:10 +00:00
{
background: #777777;
color: #FFFF50;
2014-11-29 00:07:10 +00:00
}
.openwebrx-demodulator-button
{
width: 38px;
height: 19px;
font-size: 12pt;
text-align: center;
}
.openwebrx-dial-button svg {
width: 19px;
height: 19px;
vertical-align: bottom;
}
.openwebrx-dial-button #ph_dial {
fill: #888;
}
.openwebrx-dial-button.available #ph_dial {
fill: #FFF;
}
.openwebrx-square-button img
{
height: 27px;
}
.openwebrx-round-button
{
margin-right: -2px;
width: 35px;
height: 35px;
border-radius: 25px;
}
.openwebrx-round-button img
{
height: 30px;
}
.openwebrx-round-button-small
{
margin-right: -3px;
width: 20px;
height: 20px;
border-radius: 25px;
}
.openwebrx-round-button-small img
{
height: 20px;
}
img.openwebrx-mirror-img
{
transform: scale(-1, 1);
}
.openwebrx-round-rightarrow img
{
position: relative;
left: 12px;
top: 3px;
}
.openwebrx-round-leftarrow img
{
position: relative;
left: 7px;
top: 3px;
}
#openwebrx-client-log-title
2014-11-29 00:07:10 +00:00
{
margin-bottom: 5px;
font-weight: bold;
}
.openwebrx-progressbar
{
position: relative;
border-radius: 5px;
background-color: #003850; /*#006235;*/
display: inline-block;
text-align: center;
font-size: 8pt;
font-weight: bold;
text-shadow: 0px 0px 4px #000000;
cursor: default;
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.openwebrx-progressbar-bar
{
border-radius: 5px;
height: 100%;
width: 100%;
}
.openwebrx-progressbar-text
{
position: absolute;
left:0px;
top:4px;
width: inherit;
}
#openwebrx-panel-status
{
margin: 0px;
padding: 0px;
background-color:rgba(0, 0, 0, 0);
}
#openwebrx-panel-status div.openwebrx-progressbar
{
width: 200px;
height: 20px;
}
#openwebrx-panel-receiver
{
width:110px;
}
#openwebrx-mute-on
{
color: lime;
}
#openwebrx-mute-off
{
color: white;
}
.openwebrx-panel-slider
{
position: relative;
top: -2px;
width: 95px;
}
.openwebrx-sliderbtn-img
{
width: 14px;
position:relative;
top: 1px;
}
.openwebrx-panel-line
{
padding-top: 5px;
}
2016-03-20 15:06:10 +00:00
#openwebrx-smeter-outer
{
border-color: #888;
border-style: solid;
border-width: 0px;
width: 255px;
height: 7px;
background-color: #373737;
border-radius: 3px;
position: relative;
}
#openwebrx-smeter-bar
{
transition: all 0.2s linear;
width: 0px;
height: 7px;
background: linear-gradient(to top, #ff5939 , #961700);
position: absolute;
margin: 0; padding: 0; left: 0;
border-radius: 3px;
}
#openwebrx-smeter-db
{
color: #aaa;
display: inline-block;
font-size: 10pt;
float: right;
margin-right: 5px;
margin-top: 24px;
2016-03-20 15:06:10 +00:00
font-family: 'expletus-sans-medium';
}
2016-03-26 23:47:26 +00:00
#openwebrx-big-grey
{
position: fixed;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
opacity: 0.8;
background-color: #777;
left: 0;
top: 0;
2016-06-17 11:47:15 +00:00
z-index: 1001;
2016-03-26 23:47:26 +00:00
display: none;
vertical-align: middle;
text-align: center;
color: white;
font-weight: bold;
font-size: 20pt;
cursor: pointer;
transition: opacity 0.3s linear;
}
#openwebrx-big-grey img
{
width: 150px;
}
#openwebrx-digimode-canvas-container
{
/*margin: -10px -10px 10px -10px;*/
margin: -10px -10px 0px -10px;
border-radius: 15px;
height: 150px;
background-color: #333;
position: relative;
overflow: hidden;
}
#openwebrx-digimode-canvas-container canvas
{
position: absolute;
pointer-events: none;
transition: width 500ms, left 500ms;
}
2019-05-10 14:14:16 +00:00
.openwebrx-panel select {
border-radius: 5px;
background-color: #373737;
color: White;
font-weight: normal;
font-size: 13pt;
margin-right: 1px;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.0 , #373737), color-stop(1, #4F4F4F) );
background:-moz-linear-gradient( center top, #373737 0%, #4F4F4F 100% );
border-color: transparent;
border-width: 0px;
-moz-appearance: none;
}
2019-05-10 14:14:16 +00:00
.openwebrx-panel select option {
border-width: 0px;
background-color: #373737;
color: White;
}
2019-05-10 14:14:16 +00:00
#openwebrx-secondary-demod-listbox
{
width: 174px;
2019-05-10 14:14:16 +00:00
height: 27px;
padding-left:3px;
}
#openwebrx-sdr-profiles-listbox {
width: 100%;
font-size: 10pt;
height: 27px;
}
#openwebrx-cursor-blink
{
animation: cursor-blink 1s infinite;
/*animation: cursor-3d 2s infinite;*/
animation-timing-function: linear;
animation-direction: alternate;
height: 1em;
width: 8px;
background-color: White;
display: inline-block;
position: relative;
top: 1px;
/*perspective: 60px;*/
}
@keyframes cursor-blink
{
0%{ opacity: 0; }
50% { opacity: 1; }
100%{ opacity: 0; }
}
@keyframes cursor-3d
{
0%{ transform: rotateX(0deg) rotateX(Ydeg); }
50% { transform: rotateX(180deg) rotateY(360deg); opacity: 0.1; }
100%{ transform: rotateX(360deg) rotateY(720deg); }
}
#openwebrx-digimode-content
{
word-wrap: break-word;
position: absolute;
bottom: 0;
width: 100%;
}
#openwebrx-digimode-content-container
{
overflow-y: hidden;
display: block;
height: 50px;
position: relative;
}
#openwebrx-digimode-content-container .gradient
{
width: 100%;
height: 20px;
background: linear-gradient(to top, rgba(87,87,87,0) 0%,rgba(87,87,87,1) 100%);
position: absolute;
top: 0;
z-index: 10;
}
#openwebrx-digimode-content .part
{
perspective: 700px;
}
#openwebrx-digimode-content .part
{
animation: new-digimode-data-3d 100ms;
animation-timing-function: linear;
display: inline-block;
perspective-origin: 50% 50%;
transform-origin: 0% 50%;
}
@keyframes new-digimode-data
{
0%{ opacity: 0; }
100%{ opacity: 1; }
}
@keyframes new-digimode-data-3d
{
0%{ transform: rotateX(0deg) rotateY(-90deg) translateX(-5px) scale(1.3); }
100%{ transform: rotateX(0deg) rotateY(0deg) translateX(0) scale(1); }
}
#openwebrx-digimode-select-channel
{
transition: all 500ms;
background-color: Yellow;
display: block;
position: absolute;
pointer-events: none;
height: 100%;
width: 0px;
top: 0px;
left: 0px;
opacity: 0.7;
border-style: solid;
border-width: 0px;
border-color: Red;
}
2019-06-09 15:39:15 +00:00
.openwebrx-meta-slot {
2019-06-15 12:48:57 +00:00
width: 145px;
height: 196px;
2019-06-09 13:15:27 +00:00
float: left;
margin-right: 10px;
2019-06-15 12:48:57 +00:00
background-color: #676767;
padding: 2px 0;
2019-06-09 13:15:27 +00:00
color: #333;
2019-06-15 17:10:33 +00:00
text-align: center;
position: relative;
}
.openwebrx-meta-slot, .openwebrx-meta-slot.muted:before {
2019-06-09 13:15:27 +00:00
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
2019-06-15 12:48:57 +00:00
border-radius: 5px;
2019-06-15 17:10:33 +00:00
}
2019-06-15 12:48:57 +00:00
2019-06-15 17:10:33 +00:00
.openwebrx-meta-slot.muted:before {
display: block;
content: "";
2019-07-11 11:44:04 +00:00
background-image: url("../gfx/openwebrx-mute.png");
2019-06-15 17:10:33 +00:00
width:100%;
height:133px;
background-position: center;
background-repeat: no-repeat;
2019-06-15 17:50:09 +00:00
cursor: pointer;
2019-06-15 17:10:33 +00:00
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: rgba(0,0,0,.3);
2019-06-09 13:15:27 +00:00
}
2019-06-09 15:39:15 +00:00
.openwebrx-meta-slot.active {
2019-06-09 13:15:27 +00:00
background-color: #95bbdf;
}
2019-06-15 10:30:04 +00:00
.openwebrx-meta-slot.sync .openwebrx-dmr-slot:before {
content:"";
display: inline-block;
margin: 0 5px;
width: 12px;
height: 12px;
background-color: #ABFF00;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}
2019-06-09 15:39:15 +00:00
.openwebrx-meta-slot:last-child {
2019-06-09 13:15:27 +00:00
margin-right: 0;
}
2019-06-15 12:48:57 +00:00
.openwebrx-meta-slot .openwebrx-meta-user-image {
width:100%;
height:133px;
background-position: center;
background-repeat: no-repeat;
}
2019-06-09 15:39:15 +00:00
.openwebrx-meta-slot.active .openwebrx-meta-user-image {
2019-07-11 11:44:04 +00:00
background-image: url("../gfx/openwebrx-directcall.png");
2019-06-09 13:15:27 +00:00
}
2019-06-09 20:27:35 +00:00
.openwebrx-meta-slot.active .openwebrx-meta-user-image.group {
2019-07-11 11:44:04 +00:00
background-image: url("../gfx/openwebrx-groupcall.png");
2019-06-09 20:27:35 +00:00
}
2019-06-15 17:10:33 +00:00
.openwebrx-dmr-timeslot-panel * {
cursor: pointer;
}
.openwebrx-maps-pin {
2019-07-11 11:44:04 +00:00
background-image: url("../gfx/google_maps_pin.svg");
background-position: center;
background-repeat: no-repeat;
width: 15px;
height: 15px;
background-size: contain;
display: inline-block;
}
2019-07-06 19:04:18 +00:00
#openwebrx-panel-wsjt-message {
height: 180px;
}
#openwebrx-panel-wsjt-message tbody {
display: block;
overflow: auto;
height: 150px;
width: 100%;
}
#openwebrx-panel-wsjt-message thead tr {
display: block;
}
#openwebrx-panel-wsjt-message th,
#openwebrx-panel-wsjt-message td {
width: 50px;
text-align: left;
2019-07-08 18:45:09 +00:00
padding: 1px 3px;
2019-07-06 19:04:18 +00:00
}
#openwebrx-panel-wsjt-message .message {
2019-07-14 12:43:44 +00:00
width: 380px;
2019-07-06 19:04:18 +00:00
}
2019-07-08 18:45:09 +00:00
#openwebrx-panel-wsjt-message .decimal {
text-align: right;
width: 35px;
}
2019-07-14 12:43:44 +00:00
#openwebrx-panel-wsjt-message .decimal.freq {
width: 70px;
}
2019-07-13 21:16:25 +00:00
#openwebrx-panel-digimodes[data-mode="ft8"] #openwebrx-digimode-content-container,
#openwebrx-panel-digimodes[data-mode="wspr"] #openwebrx-digimode-content-container,
#openwebrx-panel-digimodes[data-mode="jt65"] #openwebrx-digimode-content-container,
#openwebrx-panel-digimodes[data-mode="jt9"] #openwebrx-digimode-content-container,
2019-07-20 11:38:25 +00:00
#openwebrx-panel-digimodes[data-mode="ft4"] #openwebrx-digimode-content-container,
#openwebrx-panel-digimodes[data-mode="ft8"] #openwebrx-digimode-select-channel,
#openwebrx-panel-digimodes[data-mode="wspr"] #openwebrx-digimode-select-channel,
#openwebrx-panel-digimodes[data-mode="jt65"] #openwebrx-digimode-select-channel,
2019-07-20 11:38:25 +00:00
#openwebrx-panel-digimodes[data-mode="jt9"] #openwebrx-digimode-select-channel,
#openwebrx-panel-digimodes[data-mode="ft4"] #openwebrx-digimode-select-channel,
#openwebrx-panel-digimodes[data-mode="packet"] #openwebrx-digimode-select-channel
2019-07-13 21:16:25 +00:00
{
2019-07-08 18:45:09 +00:00
display: none;
}
2019-07-06 19:04:18 +00:00
2019-07-13 21:16:25 +00:00
#openwebrx-panel-digimodes[data-mode="ft8"] #openwebrx-digimode-canvas-container,
#openwebrx-panel-digimodes[data-mode="wspr"] #openwebrx-digimode-canvas-container,
#openwebrx-panel-digimodes[data-mode="jt65"] #openwebrx-digimode-canvas-container,
2019-07-20 11:38:25 +00:00
#openwebrx-panel-digimodes[data-mode="jt9"] #openwebrx-digimode-canvas-container,
#openwebrx-panel-digimodes[data-mode="ft4"] #openwebrx-digimode-canvas-container
2019-07-13 21:16:25 +00:00
{
2019-07-08 18:45:09 +00:00
height: 200px;
margin: -10px;
2019-07-08 18:47:50 +00:00
}
#openwebrx-panel-digimodes[data-mode="packet"] #openwebrx-digimode-content-container {
height: 250px;
}