openwebrx-clone/htdocs/css/openwebrx-header.css

253 lines
4.5 KiB
CSS
Raw Normal View History

2021-02-05 16:56:02 +00:00
.webrx-top-container {
position: relative;
z-index:1000;
background-color: #575757;
2021-01-15 18:06:00 +00:00
background-image: url(../gfx/openwebrx-top-photo.jpg);
background-position-x: center;
background-position-y: top;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
}
2021-02-05 16:56:02 +00:00
.openwebrx-description-container {
2021-01-15 18:06:00 +00:00
transition-property: height, opacity;
transition-duration: 1s;
transition-timing-function: ease-out;
opacity: 0;
height: 0;
/* originally, top-bar + description was 350px */
max-height: 283px;
overflow: hidden;
}
2021-02-05 16:56:02 +00:00
.openwebrx-description-container.expanded {
2021-01-15 18:06:00 +00:00
opacity: 1;
height: 283px;
}
2021-02-05 16:58:27 +00:00
.webrx-top-bar {
2021-01-15 18:06:00 +00:00
height:67px;
background: rgba(128, 128, 128, 0.15);
margin:0;
padding:0;
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow: hidden;
2021-01-15 18:06:00 +00:00
display: flex;
2021-01-15 18:55:37 +00:00
flex-direction: row;
}
2021-02-05 16:58:27 +00:00
.webrx-top-bar > * {
2021-01-15 18:06:00 +00:00
flex: 0;
2020-05-14 20:31:54 +00:00
}
2021-02-05 16:56:02 +00:00
.webrx-top-container, .webrx-top-container * {
2021-01-15 18:06:00 +00:00
line-height: initial;
box-sizing: initial;
2020-05-14 20:31:54 +00:00
}
2021-02-05 16:56:02 +00:00
.webrx-top-logo {
2021-05-15 19:42:04 +00:00
width: 261px;
padding: 12px;
2021-05-15 19:42:04 +00:00
filter: drop-shadow(0 0 2.5px rgba(0, 0, 0, .9));
/* overwritten by media queries */
display: none;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-avatar {
2019-10-03 21:55:04 +00:00
background-color: rgba(154, 154, 154, .5);
margin: 7px;
width: 46px;
height: 46px;
padding: 4px;
border-radius: 8px;
2019-07-11 14:44:33 +00:00
box-sizing: content-box;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-texts {
/* minimum layout width */
width: 0;
/* will be getting wider with flex */
2021-01-15 18:06:00 +00:00
flex: 1;
overflow: hidden;
2021-02-05 16:22:43 +00:00
margin: auto 0;
}
2021-02-15 16:16:55 +00:00
.webrx-rx-texts div, .webrx-rx-texts h1 {
margin: 0 10px;
padding: 3px;
white-space:nowrap;
overflow: hidden;
color: #909090;
2021-02-15 16:16:55 +00:00
text-align: left;
2021-01-15 18:06:00 +00:00
}
2021-02-05 16:56:02 +00:00
.webrx-rx-title {
2021-01-15 18:06:00 +00:00
font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
font-size: 11pt;
font-weight: bold;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-desc {
font-size: 10pt;
}
2021-02-05 16:56:02 +00:00
.openwebrx-rx-details-arrow {
position: absolute;
2021-01-15 18:06:00 +00:00
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
margin: 0;
padding: 0;
line-height: 0;
display: block;
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons .button {
2020-03-16 21:48:42 +00:00
display: block;
2020-03-08 21:33:41 +00:00
width: 55px;
cursor:pointer;
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons .button[data-toggle-panel] {
2021-01-16 17:06:37 +00:00
/* will be enabled by javascript if the panel is present in the DOM */
display: none;
}
2021-05-11 21:36:30 +00:00
.openwebrx-main-buttons .button img,
.openwebrx-main-buttons .button svg {
2020-03-16 21:48:42 +00:00
height: 38px;
2021-05-11 21:36:30 +00:00
filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
2020-03-16 21:48:42 +00:00
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons a {
color: inherit;
text-decoration: inherit;
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons .button:hover {
background-color: rgba(255, 255, 255, 0.3);
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons .button:active {
background-color: rgba(255, 255, 255, 0.55);
}
2021-02-05 16:56:02 +00:00
.openwebrx-main-buttons {
2020-04-25 18:36:08 +00:00
padding: 5px 15px;
2020-03-16 21:48:42 +00:00
display: flex;
list-style: none;
margin:0;
color: white;
text-shadow: 0px 0px 4px #000000;
text-align: center;
font-size: 9pt;
font-weight: bold;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-photo-title {
2021-01-15 18:06:00 +00:00
margin: 10px 15px;
color: white;
font-size: 16pt;
text-shadow: 1px 1px 4px #444;
opacity: 1;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-photo-desc {
2021-01-15 18:06:00 +00:00
margin: 10px 15px;
color: white;
font-size: 10pt;
font-weight: bold;
text-shadow: 0px 0px 6px #444;
opacity: 1;
line-height: 1.5em;
}
2021-02-05 16:56:02 +00:00
.webrx-rx-photo-desc a {
color: #5ca8ff;
text-shadow: none;
}
2021-02-05 16:56:02 +00:00
.openwebrx-photo-trigger {
cursor: pointer;
}
/*
* Responsive stuff
*/
@media (min-width: 576px) {
2021-02-05 16:56:02 +00:00
.webrx-rx-texts {
display: initial;
}
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {
2021-02-05 16:56:02 +00:00
.webrx-top-logo {
display: initial;
}
}
@media (min-width: 1200px) {
}
/*
* Sprites (images)
*/
.sprite-panel-status {
background-position: 0 0;
width: 44px;
height: 38px;
}
.sprite-panel-log {
background-position: -44px 0;
width: 38px;
height: 38px;
}
.sprite-panel-receiver {
background-position: -82px 0;
width: 40px;
height: 38px;
}
.sprite-panel-map {
background-position: -122px 0;
width: 38px;
height: 38px;
}
.sprite-panel-settings {
background-position: -160px 0;
width: 38px;
height: 38px;
}
2021-02-05 16:56:02 +00:00
.openwebrx-rx-details-arrow--down .sprite-rx-details-arrow {
background-position: 0 -65px;
width: 43px;
height: 12px;
}
2021-02-05 16:56:02 +00:00
.openwebrx-rx-details-arrow--up .sprite-rx-details-arrow {
background-position: -43px -65px;
width: 43px;
height: 12px;
}