315 lines
4.5 KiB
CSS
315 lines
4.5 KiB
CSS
.App {
|
|
text-align: center;
|
|
}
|
|
|
|
.App-logo {
|
|
height: 40vmin;
|
|
}
|
|
|
|
.App-header {
|
|
background-color: #282c34;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: calc(10px + 2vmin);
|
|
color: white;
|
|
}
|
|
|
|
.App-link {
|
|
color: #09d3ac;
|
|
}
|
|
|
|
.sp-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
margin-left: 0.5%;
|
|
margin-right: 0.5%;
|
|
}
|
|
|
|
.sp {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
height: calc(100% - 60px);
|
|
align-items: stretch;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sp-col {
|
|
display: flex;
|
|
overflow-y: scroll;
|
|
margin-left: 0.2vw;
|
|
margin-right: 0.2vw;
|
|
padding: 0.2vw;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.sp-main-col {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: flex-end;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#sidebar {
|
|
min-width: 250px;
|
|
max-width: 250px;
|
|
transition: all 0.3s;
|
|
}
|
|
.sidebar-toggle {
|
|
flex-grow: 0;
|
|
width: auto;
|
|
}
|
|
.sidebar-toggle .btn {
|
|
writing-mode: vertical-rl;
|
|
flex: 1;
|
|
}
|
|
|
|
.sp-main-col.active {
|
|
margin-right: -250px;
|
|
}
|
|
|
|
.sp-col-inner {
|
|
flex: 1;
|
|
}
|
|
|
|
.sp-track {
|
|
display: block;
|
|
/* overflow-x: hidden; */
|
|
/* height: 1.6em; */
|
|
margin: 0.2em 0;
|
|
/* overflow: hidden; */
|
|
/* height: 1.3em; */
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sp-track:hover {
|
|
background-color: #78acf1;
|
|
}
|
|
|
|
.sp-track .circle {
|
|
margin: auto auto;
|
|
margin-top: 2px;
|
|
height: 16px;
|
|
width: 16px;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.sp-track .central {
|
|
background-color: green;
|
|
}
|
|
|
|
.sp-track .aux {
|
|
background-color: #07f;
|
|
}
|
|
|
|
.sp-track .ghost {
|
|
background-color: gray;
|
|
}
|
|
|
|
.sp-track-active {
|
|
background-color: #10c998 !important;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
.react-contextmenu--visible {
|
|
background-color: white;
|
|
padding: 0.7em;
|
|
border: 1.5px solid grey;
|
|
box-shadow: 3px 3px 6px grey;
|
|
}
|
|
|
|
.react-contextmenu-item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.react-contextmenu-item--disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.mediaButtons button {
|
|
width: 32%;
|
|
border-style: none;
|
|
margin: 0.5%;
|
|
padding: 2%;
|
|
}
|
|
|
|
.sp-state-playing {
|
|
background-color: #2cdb2c;
|
|
}
|
|
|
|
.sp-state-paused {
|
|
background-color: #dbbb2c;
|
|
}
|
|
|
|
.player.loaded .sp-state-stopped {
|
|
background-color: #db2c2c;
|
|
}
|
|
|
|
button {
|
|
background-color: rgb(199, 199, 199);
|
|
}
|
|
|
|
/*.player div {
|
|
overflow-x: hidden;
|
|
}*/
|
|
.player {
|
|
opacity: 0.5;
|
|
}
|
|
.player.loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
.sp-player-button {
|
|
height: 2em;
|
|
}
|
|
|
|
.sp-mixer-buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
position: relative;
|
|
}
|
|
|
|
.sp-mixer-buttons-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
background-color: #78acf1;
|
|
}
|
|
|
|
.sp-mixer-buttons.disabled .sp-mixer-buttons-backdrop {
|
|
background-color: #999;
|
|
}
|
|
|
|
.sp-mixer-buttons button {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: 1px solid black;
|
|
z-index: 100;
|
|
}
|
|
|
|
.sp-alert {
|
|
display: block;
|
|
color: white;
|
|
background-color: #e6463e;
|
|
padding: 0.3em;
|
|
}
|
|
|
|
.waveform span {
|
|
float: left;
|
|
position: relative;
|
|
display: block;
|
|
z-index: 5;
|
|
/* padding: 1px; */
|
|
}
|
|
.waveform .current,
|
|
.waveform .remaining,
|
|
.waveform .length {
|
|
font-weight: 800;
|
|
}
|
|
.waveform .remaining,
|
|
.waveform .outro {
|
|
right: 0;
|
|
position: absolute;
|
|
}
|
|
.waveform .intro,
|
|
.waveform .outro,
|
|
.waveform .length {
|
|
bottom: 0;
|
|
position: absolute;
|
|
}
|
|
.waveform .length {
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
.waveform {
|
|
height: 6vh;
|
|
}
|
|
.waveform .graph {
|
|
position: absolute;
|
|
height: 6vh;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.waveform .graph wave {
|
|
height: 6vh !important;
|
|
}
|
|
.waveform .loading {
|
|
background: #ccccff;
|
|
}
|
|
|
|
.bypass-click {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Flash class and keyframe animation */
|
|
.sp-ending-soon {
|
|
-webkit-animation: green-flash steps(1) 0.5s infinite;
|
|
animation: green-flash steps(1) 0.5s infinite;
|
|
}
|
|
@-webkit-keyframes green-flash {
|
|
0% {
|
|
}
|
|
50% {
|
|
background-color: rgb(199, 255, 199);
|
|
}
|
|
}
|
|
@keyframes green-flash {
|
|
0% {
|
|
}
|
|
50% {
|
|
background-color: rgb(199, 255, 199);
|
|
}
|
|
}
|
|
|
|
/* Flash class and keyframe animation */
|
|
.sp-muted-player {
|
|
-webkit-animation: red-flash steps(1) 0.5s infinite;
|
|
animation: red-flash steps(1) 0.5s infinite;
|
|
}
|
|
@-webkit-keyframes red-flash {
|
|
0% {
|
|
}
|
|
50% {
|
|
background-color: rgb(255, 199, 199);
|
|
}
|
|
}
|
|
@keyframes red-flash {
|
|
0% {
|
|
}
|
|
50% {
|
|
background-color: rgb(255, 199, 199);
|
|
}
|
|
}
|
|
|
|
.ReactModal__Overlay {
|
|
z-index: 10000;
|
|
}
|
|
|
|
.sp-mic-live {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9000;
|
|
pointer-events: none;
|
|
box-shadow: inset 0 0 3px 6px red;
|
|
}
|