mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-03 04:47:47 +00:00
343 lines
6.2 KiB
CSS
343 lines
6.2 KiB
CSS
html {
|
|
font-size: 1rem;
|
|
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont;
|
|
}
|
|
*,
|
|
a,
|
|
button {
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
|
|
body {
|
|
color: #6e6c6f;
|
|
margin: 0px;
|
|
user-select: none;
|
|
overflow-x: hidden;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
.red {
|
|
color: #eb6b5e;
|
|
}
|
|
.green {
|
|
color: #61c650;
|
|
}
|
|
.left {
|
|
float: left;
|
|
}
|
|
|
|
#main {
|
|
box-sizing: border-box;
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100vh;
|
|
grid-template-columns: 270px 1fr;
|
|
}
|
|
.col {
|
|
border-right: rgba(0, 0, 0, 0.5) 1px solid;
|
|
height: 100vh !important;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
|
|
/* FIRST COL */
|
|
#device-list-col {
|
|
background-color: transparent;
|
|
color: #707070;
|
|
}
|
|
#view-buttons-bar {
|
|
box-sizing: border-box;
|
|
text-align: right;
|
|
padding-left: 100px;
|
|
padding-right: 7px;
|
|
user-select: text;
|
|
-webkit-app-region: drag;
|
|
z-index: 1000;
|
|
}
|
|
#view-buttons-bar button {
|
|
background-color: rgba(255, 255, 255, 0.07);
|
|
width: 26px;
|
|
border-radius: 10px;
|
|
font-size: 0.8rem;
|
|
}
|
|
#view-buttons-bar button:hover {
|
|
background-color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
#device-list {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: 0px 10px;
|
|
}
|
|
#device-list div {
|
|
pointer-events: none;
|
|
}
|
|
#device-list .device {
|
|
box-sizing: border-box;
|
|
clear: both;
|
|
display: block;
|
|
width: 100%;
|
|
height: 40px;
|
|
padding: 10px 5px;
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
}
|
|
#device-list .device.active-device {
|
|
/*background-color: #0e5ccd;*/
|
|
/*background-color: #c9961f;*/
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
#device-list .status {
|
|
float: left;
|
|
width: 25px;
|
|
font-size: 18px;
|
|
}
|
|
#device-list .type {
|
|
float: left;
|
|
width: 30px;
|
|
color: #f6bd26;
|
|
}
|
|
#device-list .name {
|
|
position: relative;
|
|
left: 0px;
|
|
color: white;
|
|
font-weight: 600;
|
|
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
#device-list h3.init {
|
|
margin: 0px auto;
|
|
padding-top: 200px;
|
|
text-align: center;
|
|
font-weight: 300;
|
|
font-size: 16px;
|
|
width: 210px;
|
|
pointer-events: none;
|
|
}
|
|
#device-inspector{
|
|
position: absolute;
|
|
bottom: 0px;
|
|
width: 100%;
|
|
}
|
|
#device-tools {
|
|
/* position: absolute;
|
|
bottom: 210px;
|
|
left: 0px;*/
|
|
width: 100%;
|
|
height: 30px;
|
|
padding-right: 10px;
|
|
/*background: linear-gradient(#2f2f2f 0%, #2c2c2c 100%);*/
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
border-top: rgba(0, 0, 0, 0.3) 1px solid;
|
|
/*border-bottom: #3a3a3a 1px solid;*/
|
|
}
|
|
#device-tools select {
|
|
text-align: center;
|
|
}
|
|
|
|
#device-settings {
|
|
height: 300px;
|
|
padding: 5px;
|
|
color: white;
|
|
font-weight: 300;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
#device-settings th {
|
|
text-align: right;
|
|
padding-right: 3px;
|
|
color: white;
|
|
font-weight: normal;
|
|
}
|
|
#device-settings td {
|
|
padding: 6px;
|
|
}
|
|
#device-settings-table {
|
|
display: none;
|
|
}
|
|
#device-settings h3 {
|
|
padding-top: 90px;
|
|
text-align: center;
|
|
font-weight: 300;
|
|
}
|
|
#device-settings #device-settings-name,
|
|
#device-settings #device-settings-ip,
|
|
#device-settings #device-settings-plugin-dropdown {
|
|
width: 170px;
|
|
}
|
|
#device-settings #device-settings-port {
|
|
width: 70px;
|
|
}
|
|
|
|
/* SECOND COL */
|
|
#all-devices {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
.device-pin {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 8px;
|
|
height: 20px;
|
|
padding: inherit;
|
|
}
|
|
.device-wrapper {
|
|
box-sizing: border-box;
|
|
border: black 1px solid;
|
|
padding: 2px;
|
|
}
|
|
.draw-area {
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
}
|
|
.active-device-outline {
|
|
padding: 0px;
|
|
border: #fdea08 3px solid;
|
|
}
|
|
|
|
input {
|
|
display: block;
|
|
box-sizing: content-box;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
height: 28px;
|
|
padding: 2px 6px;
|
|
margin: 0px;
|
|
border: rgba(255, 255, 255, 0.1) 1px solid;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: text;
|
|
}
|
|
select {
|
|
display: block;
|
|
box-sizing: content-box;
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
height: 28px;
|
|
padding: 2px 6px;
|
|
margin: 0px;
|
|
border: rgba(255, 255, 255, 0.1) 1px solid;
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
select option {
|
|
/* these styles don't affect macOS but are important for Windows! */
|
|
text-align: left;
|
|
background-color: #333333;
|
|
}
|
|
input:focus,
|
|
select:focus {
|
|
outline: #fdea08 2px solid;
|
|
color: white;
|
|
}
|
|
input[type='checkbox'] {
|
|
position: relative;
|
|
height: 14px;
|
|
width: 14px;
|
|
padding: 2px;
|
|
-webkit-appearance: none;
|
|
cursor: default;
|
|
}
|
|
input[type='checkbox']:checked {
|
|
background-color: #616064;
|
|
}
|
|
input[type='checkbox']:checked:after {
|
|
content: '\2713';
|
|
font-size: 18px;
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 1px;
|
|
color: white;
|
|
}
|
|
input::-webkit-outer-spin-button,
|
|
input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
input:disabled{
|
|
color: gray;
|
|
cursor: not-allowed;
|
|
}
|
|
button,
|
|
select.button {
|
|
box-sizing: content-box;
|
|
width: 40px;
|
|
height: 25px;
|
|
margin-top: 7px;
|
|
margin-bottom: 7px;
|
|
margin-left: 4px;
|
|
border: none;
|
|
outline: none;
|
|
padding: 0px;
|
|
|
|
color: white;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
user-select: none;
|
|
}
|
|
button:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
button:focus {
|
|
outline: none;
|
|
}
|
|
button.active {
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
color: white;
|
|
}
|
|
button:disabled {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
}
|
|
button img {
|
|
height: 18px;
|
|
}
|
|
|
|
select.button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('img/Material Icons'), local('img/MaterialIcons-Regular'),
|
|
url(img/MaterialIcons-Regular.ttf) format('truetype');
|
|
}
|
|
.material-icons {
|
|
font-family: 'Material Icons';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px; /* Preferred icon size */
|
|
display: inline-block;
|
|
line-height: 1;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
word-wrap: normal;
|
|
white-space: nowrap;
|
|
direction: ltr;
|
|
|
|
/* Support for all WebKit browsers. */
|
|
-webkit-font-smoothing: antialiased;
|
|
/* Support for Safari and Chrome. */
|
|
text-rendering: optimizeLegibility;
|
|
|
|
/* Support for Firefox. */
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
/* Support for IE. */
|
|
font-feature-settings: 'liga';
|
|
}
|