WebStudio/src/App.css

269 lines
3.8 KiB
CSS
Raw Normal View History

2019-11-12 12:21:05 +00:00
.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;
}
2019-11-26 10:01:26 +00:00
.sp-container {
display: flex;
flex-direction: column;
height: 100%;
margin-left: .5%;
margin-right: .5%;
2019-11-26 10:01:26 +00:00
}
.sp {
flex: 1;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
height: calc(100% - 60px);
align-items: stretch;
2020-03-21 23:06:22 +00:00
overflow: hidden;
2019-11-26 10:01:26 +00:00
}
.sp-col {
2020-03-19 17:49:55 +00:00
display: flex;
2019-11-26 10:01:26 +00:00
overflow-y: scroll;
margin-left: .2vw;
margin-right: .2vw;
padding: .2vw;
2020-03-19 17:49:55 +00:00
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 {
2020-03-29 15:15:46 +00:00
writing-mode: vertical-rl;
flex: 1;
}
.sp-main-col.active {
margin-right: -250px;
2019-11-26 10:01:26 +00:00
}
2020-03-16 23:34:19 +00:00
.sp-col-inner {
2020-03-19 17:49:55 +00:00
flex: 1;
2020-03-16 23:34:19 +00:00
}
2019-11-26 10:01:26 +00:00
.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;
}
2020-03-22 03:43:25 +00:00
.sp-track .central {
color: green;
}
.sp-track .aux {
color: #07F;
}
.sp-track .ghost {
color: gray;
}
2020-03-16 23:34:19 +00:00
.sp-track-active {
2020-03-19 17:49:55 +00:00
background-color: #10c998 !important;
2020-03-16 23:34:19 +00:00
}
2019-11-26 10:01:26 +00:00
html, body, #root {
padding: 0;
margin: 0;
width: 100%;
2020-03-18 15:26:26 +00:00
height: 100vh;
2019-11-26 13:00:15 +00:00
}
.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;
2020-03-17 22:11:49 +00:00
}
2020-03-18 15:26:26 +00:00
.mediaButtons button{
width: 32%;
border-style: none;
margin: .5%;
padding: 2%;
2020-03-18 15:26:26 +00:00
}
2020-03-17 22:11:49 +00:00
.sp-state-playing {
background-color: #2cdb2c;
}
.sp-state-paused {
background-color: #dbbb2c;
}
.player.loaded .sp-state-stopped {
2020-03-17 22:11:49 +00:00
background-color: #db2c2c;
}
2020-03-18 15:26:26 +00:00
button{
background-color: rgb(199, 199, 199);
}
/*.player div {
overflow-x: hidden;
}*/
.player {
opacity: 0.5;
}
.player.loaded {
opacity: 1;
}
2020-03-19 17:49:55 +00:00
.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 button {
flex: 1;
background: transparent;
border: 1px solid black;
z-index: 100;
}
2020-03-20 12:23:05 +00:00
2020-03-20 14:21:33 +00:00
.sp-alert {
display: block;
color: white;
background-color: #e6463e;
padding: 0.3em;
}
2020-03-21 01:35:11 +00:00
.waveform span {
float: left;
position: relative;
display: block;
z-index: 5;
/* padding: 1px; */
2020-03-21 01:35:11 +00:00
}
.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;
2020-03-21 01:35:11 +00:00
}
.waveform .graph {
position: absolute;
height: 6vh;
2020-03-21 01:35:11 +00:00
width: 100%;
2020-03-29 15:36:02 +00:00
overflow: hidden;
2020-03-21 01:35:11 +00:00
}
.waveform .graph wave {
height: 6vh !important;
}
2020-03-21 01:35:11 +00:00
.waveform .loading {
width: 100%;
text-align: center;
font-size: 1.5rem;
font-weight: 200;
opacity: 0.5;
}
.bypass-click {
pointer-events: none;
}
2020-03-21 01:35:11 +00:00
/* Flash class and keyframe animation */
.sp-ending-soon {
-webkit-animation: flash steps(1) 0.5s infinite;
animation: flash steps(1) 0.5s infinite;
}
@-webkit-keyframes flash {
0% { }
50% { background-color: rgb(199, 255, 199); }
2020-03-21 01:35:11 +00:00
}
@keyframes flash {
0% { }
50% { background-color: rgb(199, 255, 199); }
2020-03-21 01:35:11 +00:00
}
.ReactModal__Overlay {
z-index: 10000;
}