436 lines
7.7 KiB
CSS
436 lines
7.7 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: .5%;
|
|
margin-right: .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: .2vw;
|
|
margin-right: .2vw;
|
|
padding: .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-shrink: 1;
|
|
flex-grow: 0;
|
|
width: auto;
|
|
|
|
}
|
|
.sidebar-toggle .btn {
|
|
text-orientation: sideways;
|
|
}
|
|
|
|
.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 .central {
|
|
color: green;
|
|
}
|
|
|
|
.sp-track .aux {
|
|
color: #07F;
|
|
}
|
|
|
|
.sp-track .ghost {
|
|
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: .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 button {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: 1px solid black;
|
|
z-index: 100;
|
|
}
|
|
|
|
.sp-alert {
|
|
display: block;
|
|
color: white;
|
|
background-color: #e6463e;
|
|
padding: 0.3em;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Stuff to get the nav to collapse at 991px (when the menu collapses)
|
|
* Taken from http://stackoverflow.com/a/36289507/995325 */
|
|
@media (max-width: 991px) {
|
|
.navbar-header {
|
|
float: none;
|
|
}
|
|
.navbar-left, .navbar-right {
|
|
float: none !important;
|
|
}
|
|
.navbar-toggle {
|
|
display: block;
|
|
}
|
|
.navbar-collapse {
|
|
border-top: 1px solid transparent;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
.navbar-fixed-top {
|
|
top: 0;
|
|
border-width: 0 0 1px;
|
|
}
|
|
.navbar-collapse.collapse {
|
|
display: none !important;
|
|
}
|
|
.navbar-nav {
|
|
float: none !important;
|
|
margin-top: 7.5px;
|
|
}
|
|
.navbar-nav > li {
|
|
float: none;
|
|
}
|
|
.navbar-nav > li > a {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
.collapse.in {
|
|
display: block !important;
|
|
}
|
|
}
|
|
/** MyRadio bootstrap navbar overides taken from http://work.smarchal.com/twbscolor/css/2D425F2D425Fffffffe1e1e11 **/
|
|
.navbar-ury {
|
|
background-color: #2D333C;
|
|
border-color: #2D425F;
|
|
border: none;
|
|
height: 60px;
|
|
max-height: 7vh;
|
|
}
|
|
.navbar-ury .navbar-brand {
|
|
color: #ffffff;
|
|
padding: 10px 15px; /** added to center the logo **/
|
|
line-height: 30px; /** added to center the logo **/
|
|
margin-right: 0;
|
|
|
|
}
|
|
.navbar-ury .navbar-brand img {
|
|
max-height: 100%;
|
|
}
|
|
.navbar-ury .navbar-brand:hover,
|
|
.navbar-ury .navbar-brand:focus {
|
|
color: #e1e1e1;
|
|
}
|
|
.navbar-ury .navbar-brand.divider {
|
|
border-right: 1px white solid;
|
|
margin: 14px 0;
|
|
height: 22px;
|
|
padding: 0;
|
|
}
|
|
.navbar-ury .navbar-text {
|
|
color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-nav > li > a {
|
|
color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-nav > li.nav-img {
|
|
height: 50px;
|
|
}
|
|
.navbar-ury .navbar-nav > li.nav-img > a {
|
|
height: 100%;
|
|
padding: 10px 10px;
|
|
}
|
|
.navbar-ury .navbar-nav > li.nav-img > a > img {
|
|
height: 100%;
|
|
}
|
|
.navbar-ury .navbar-nav .caret {
|
|
margin-left: 5px;
|
|
}
|
|
.navbar-ury .navbar-nav .glyphicon {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.navbar-ury .navbar-nav > li > a:hover,
|
|
.navbar-ury .navbar-nav > li > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D425F;
|
|
}
|
|
.navbar-ury .navbar-nav > li > .dropdown-menu {
|
|
background-color: #2D333C;
|
|
border-top: none;
|
|
}
|
|
.navbar-ury .navbar-nav > li > .dropdown-menu > a {
|
|
color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-nav > li > .dropdown-menu > a:hover,
|
|
.navbar-ury .navbar-nav > li > .dropdown-menu > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D425F;
|
|
}
|
|
.navbar-ury .navbar-nav > li > .dropdown-menu > .divider {
|
|
background-color: #2D425F;
|
|
}
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a,
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a:hover,
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D333C;
|
|
}
|
|
.navbar-ury .navbar-nav > .active > a,
|
|
.navbar-ury .navbar-nav > .active > a:hover,
|
|
.navbar-ury .navbar-nav > .active > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D333C;
|
|
}
|
|
.navbar-ury .navbar-nav > .open > a,
|
|
.navbar-ury .navbar-nav > .open > a:hover,
|
|
.navbar-ury .navbar-nav > .open > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D425F !important;
|
|
}
|
|
.navbar-ury .navbar-toggle {
|
|
border-color: #2D425F;
|
|
}
|
|
.navbar-ury .navbar-toggle:hover,
|
|
.navbar-ury .navbar-toggle:focus {
|
|
background-color: #2D425F;
|
|
}
|
|
.navbar-ury .navbar-toggle .icon-bar {
|
|
background-color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-collapse,
|
|
.navbar-ury .navbar-form {
|
|
border-color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-link {
|
|
color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-link:hover {
|
|
color: #e1e1e1;
|
|
}
|
|
.navbar-ury .navbar-brand:hover {
|
|
color: #e1e1e1;
|
|
background-color: #2D425F !important;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > li > a {
|
|
color: #ffffff;
|
|
}
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > li > a:hover,
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
color: #e1e1e1;
|
|
}
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a,
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a:hover,
|
|
.navbar-ury .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
color: #e1e1e1;
|
|
background-color: #2D425F;
|
|
}
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
.waveform .graph wave {
|
|
height: 6vh !important;
|
|
}
|
|
.waveform .loading {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
font-weight: 200;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.bypass-click {
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 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); }
|
|
}
|
|
@keyframes flash {
|
|
0% { }
|
|
50% { background-color: rgb(199, 255, 199); }
|
|
}
|