759 lines
12 KiB
SCSS
759 lines
12 KiB
SCSS
@import 'ember-paper';
|
|
@import 'bower_components/bootstrap-sass/assets/stylesheets/_bootstrap';
|
|
@import 'ember-modal-dialog/ember-modal-structure';
|
|
@import 'ember-modal-dialog/ember-modal-appearance';
|
|
|
|
$playerBackColor: #F12B24;
|
|
$playerHeight: 400px;
|
|
$playListBackgroundColor: #1E1E1E;
|
|
$playerDefaultIconColor: #BBBBBB;
|
|
$footerHeight: 40px;
|
|
|
|
// BRIDGE FINDER
|
|
html {
|
|
min-height: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Slabo 27px', serif;
|
|
margin-bottom: $footerHeight;
|
|
position: static;
|
|
}
|
|
|
|
.relative {
|
|
position: relative;
|
|
}
|
|
|
|
#settings {
|
|
text-align: right;
|
|
}
|
|
|
|
.settingsItem {
|
|
margin-left: 15px;
|
|
position: relative;
|
|
}
|
|
|
|
md-switch[disabled=disabled], md-switch[disabled=disabled] .md-container, md-slider[disabled=disabled] {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.settingsItem .settings::before, .settingsItem .group::before {
|
|
font-size: 28px;
|
|
transition: 0.1s all ease-in-out;
|
|
}
|
|
|
|
.appSettingsItem {
|
|
padding: 10px;
|
|
transition: 0.1s all ease-in-out;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.appSettingsItem.warn {
|
|
text-transform: uppercase;
|
|
background: rgba(255, 0, 0, 0.20);
|
|
}
|
|
|
|
.appSettingsItem.warn:hover {
|
|
text-transform: uppercase;
|
|
background: rgba(255, 0, 0, 0.70);
|
|
color: white;
|
|
}
|
|
|
|
.appSettingsItem:hover {
|
|
background: darken(white, 20%);
|
|
}
|
|
|
|
.settingsItem.on md-icon.md-default-theme.group,
|
|
.settingsItem.on md-icon.md-default-theme.settings {
|
|
color: #F12B24 !important;
|
|
}
|
|
|
|
.settingsItem:hover md-icon.group,
|
|
.settingsItem:hover md-icon.settings {
|
|
color: black !important;
|
|
}
|
|
|
|
.ember-app {
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
.footer {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: $footerHeight;
|
|
}
|
|
|
|
.footer .text-muted {
|
|
padding-left: 0;
|
|
margin-top: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cursorPointer {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bridgeFinder {
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.bridgeFinder .title {
|
|
font-size: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
#bridgeInput {
|
|
md-input-container {
|
|
max-width: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
md-progress-circular {
|
|
margin: 0 auto 20px auto !important;
|
|
}
|
|
|
|
md-progress-linear {
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
#pressButtonBridgeImg {
|
|
width: 200px;
|
|
margin: 0 auto 30px auto;
|
|
display: inherit;
|
|
}
|
|
|
|
.noTextDecoration {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#bridgeButtonGroup {
|
|
width: 150px;
|
|
margin: 30px auto;
|
|
text-align: left;
|
|
}
|
|
|
|
// BRIDGE CONTROLS
|
|
#appSettings {
|
|
position: absolute;
|
|
background: white;
|
|
box-shadow: 5px 10px 15px 5px rgba(0, 0, 0, .3);
|
|
z-index: 2;
|
|
width: 200px;
|
|
right: 0;
|
|
}
|
|
|
|
.bootstrapTooltip md-icon {
|
|
cursor: pointer;
|
|
}
|
|
|
|
md-list {
|
|
padding: 0;
|
|
}
|
|
|
|
md-list-item .md-no-style {
|
|
padding: 0;
|
|
}
|
|
|
|
#bridgeControls {
|
|
position: relative;
|
|
}
|
|
|
|
.navigation {
|
|
text-align: center;
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.navigationItem {
|
|
font-size: 18px;
|
|
padding: 0 10px 0 10px;
|
|
}
|
|
|
|
.navigationItem.active {
|
|
font-weight: bold;
|
|
cursor: default;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.navigationItem:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.color {
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
position: absolute;
|
|
top: -53px;
|
|
right: 0;
|
|
}
|
|
|
|
.colorpicker {
|
|
padding: 10px;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
box-shadow: 5px 10px 15px 5px rgba(0, 0, 0, 0.3);
|
|
color: #FFFFFF;
|
|
z-index: 2;
|
|
position: absolute;
|
|
width: 275px;
|
|
height: 275px;
|
|
right: 6px;
|
|
top: -9px;
|
|
}
|
|
|
|
#picker {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
#loopAddition {
|
|
position: absolute;
|
|
left: 18px;
|
|
top: 13px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
// LIGHT GROUP
|
|
md-slider {
|
|
cursor: pointer;
|
|
}
|
|
|
|
md-slider.md-default-theme .md-thumb:after {
|
|
border-color: #F12B24;
|
|
background-color: #F12B24;
|
|
}
|
|
|
|
.paper-sidenav {
|
|
overflow: visible;
|
|
}
|
|
|
|
#groupControls {
|
|
display: none;
|
|
box-shadow: 5px 10px 15px 5px rgba(0, 0, 0, .3);
|
|
border-radius: 0 0 5px 5px;
|
|
width: 300px;
|
|
top: 20px;
|
|
right: 0;
|
|
position: absolute;
|
|
z-index: 2;
|
|
background-color: white;
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
text-align: left;
|
|
}
|
|
|
|
#groupControls.on {
|
|
display: block;
|
|
}
|
|
|
|
.lightGroup {
|
|
margin: 0 auto 0 auto;
|
|
.tooltip.top {
|
|
margin-top: -10px;
|
|
margin-left: -3px;
|
|
}
|
|
div {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.hueLight {
|
|
margin-right: 10px;
|
|
border-radius: 20px;
|
|
background-color: white;
|
|
}
|
|
|
|
.lightInactive {
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.lightInactive::before {
|
|
font-weight: bold;
|
|
position: absolute;
|
|
content: "X";
|
|
top: 0;
|
|
left: 15px;
|
|
font-size: 40px;
|
|
color: rgba(255, 0, 0, 0.37);
|
|
font-family: cursive;
|
|
}
|
|
|
|
.horizontalLightGroup {
|
|
.lightInactive::before {
|
|
top: -9px;
|
|
left: 6px;
|
|
}
|
|
.tooltip.top {
|
|
margin-top: 2px;
|
|
margin-left: -2px;
|
|
}
|
|
}
|
|
|
|
.lightUnreachable {
|
|
background-color: rgba(255, 0, 0, 0.7);
|
|
}
|
|
|
|
.lightActive {
|
|
cursor: pointer;
|
|
|
|
img {
|
|
transition-duration: 0.3s;
|
|
transition-property: transform;
|
|
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
|
|
}
|
|
img:hover {
|
|
transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
.ember-modal-overlay.translucent {
|
|
background-color: rgba(0, 0, 0, 0.50);
|
|
}
|
|
|
|
md-icon {
|
|
color: rgba(0, 0, 0, 0.54) !important;
|
|
}
|
|
|
|
.addButton .group-add {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.addButton .group-add:hover {
|
|
color: darken(#333333, 5%) !important;
|
|
}
|
|
|
|
.removeButton {
|
|
margin: 10px 0 10px 60px;
|
|
}
|
|
|
|
.sideNavTitle {
|
|
margin-left: 16px;
|
|
margin-top: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
md-toolbar {
|
|
background-color: inherit !important;
|
|
}
|
|
|
|
// GROUP CONTROL
|
|
.groupRow {
|
|
transition: 0.1s all ease-in-out;
|
|
}
|
|
|
|
.groupRow.selectedRow {
|
|
background-color: #7F7F7F !important;
|
|
color: white;
|
|
}
|
|
|
|
.groupRow:hover {
|
|
background-color: #c3c3c3;
|
|
}
|
|
|
|
.groupRow.selectedRow .groupSelect {
|
|
cursor: default;
|
|
}
|
|
|
|
.groupSelect {
|
|
padding: 10px 0 10px 10px;
|
|
width: 70%;
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
.groupRow:hover * .close {
|
|
display: block;
|
|
}
|
|
|
|
.groupRow:hover * .close {
|
|
display: block;
|
|
}
|
|
|
|
.selectedRow * .close {
|
|
color: white !important;
|
|
}
|
|
|
|
.selectedRow.groupRow * .close:hover {
|
|
color: darken(white, 20%) !important;
|
|
}
|
|
|
|
.close:hover {
|
|
color: darken(#333333, 5%) !important;
|
|
}
|
|
|
|
.close:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.close {
|
|
color: rgb(51, 51, 51);
|
|
display: none;
|
|
opacity: 1;
|
|
text-shadow: none;
|
|
}
|
|
|
|
// MUSIC CONTROL
|
|
.row {
|
|
margin: 0;
|
|
}
|
|
|
|
md-switch.md-default-theme.md-checked .md-bar {
|
|
background-color: rgba(241, 43, 36, 0.5);
|
|
}
|
|
|
|
md-switch.md-default-theme.md-checked .md-thumb {
|
|
background-color: #F12B24;
|
|
}
|
|
|
|
#playerControls {
|
|
opacity: 0;
|
|
transition: all 0.2s ease-in-out;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 0.714em;
|
|
width: 100%;
|
|
color: white !important;
|
|
z-index: 20;
|
|
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
|
|
.tooltip.top {
|
|
margin-top: -15px;
|
|
}
|
|
.tooltip-arrow {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#playerTimeControls {
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 14px;
|
|
display: inline-block;
|
|
margin-left: 1em;
|
|
position: relative;
|
|
bottom: 2px;
|
|
}
|
|
|
|
.playerControllIcon {
|
|
color: $playerDefaultIconColor !important;
|
|
transition-duration: 0.1s;
|
|
margin-right: 0.208em;
|
|
}
|
|
|
|
.playerControllIcon.active {
|
|
color: lighten($playerDefaultIconColor, 20%) !important;
|
|
}
|
|
|
|
.playerControllIcon:hover {
|
|
color: white !important;
|
|
}
|
|
|
|
#playNotification {
|
|
position: relative;
|
|
color: white;
|
|
top: 45%;
|
|
left: 45%;
|
|
opacity: 0;
|
|
}
|
|
|
|
.fadeOut {
|
|
animation-duration: 1s;
|
|
animation-name: fadeOut;
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
from {
|
|
opacity: 0.8;
|
|
font-size: 24px;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
font-size: 50px;
|
|
}
|
|
}
|
|
|
|
#playerArea {
|
|
height: $playerHeight;
|
|
background-color: black;
|
|
display: inline-block;
|
|
}
|
|
|
|
#playerArea:hover #playerControls {
|
|
opacity: 1;
|
|
}
|
|
|
|
#playlist {
|
|
height: $playerHeight;
|
|
background-color: $playListBackgroundColor;
|
|
padding-left: 0.625em;
|
|
padding-right: 0.625em;
|
|
}
|
|
|
|
#playerArea * .noUi-origin {
|
|
background-color: black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#playerArea * .noUi-base {
|
|
background-color: $playerBackColor;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.noUi-connect {
|
|
background-color: $playerBackColor;
|
|
}
|
|
|
|
#volumeBar {
|
|
width: 5em;
|
|
height: 0.4em;
|
|
display: inline-block;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.noUi-handle {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.noUi-horizontal .noUi-handle {
|
|
width: 0.4em;
|
|
height: 1.3em;
|
|
left: -0.071em;
|
|
top: -0.500em;
|
|
transition-duration: 0.1s;
|
|
background: $playerDefaultIconColor !important;
|
|
}
|
|
|
|
.noUi-horizontal .noUi-handle:hover {
|
|
background: white !important;
|
|
}
|
|
|
|
#playerArea * .noUi-handle::after, #playerArea * .noUi-handle::before {
|
|
content: none;
|
|
}
|
|
|
|
#seekSlider {
|
|
height: 6px;
|
|
margin-bottom: 10px;
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
#seekSlider:hover {
|
|
height: 8px;
|
|
}
|
|
|
|
#seekSlider:hover * .noUi-handle {
|
|
opacity: 1;
|
|
}
|
|
|
|
#seekSlider * .noUi-handle {
|
|
border: none;
|
|
height: 13px;
|
|
width: 13px;
|
|
border-radius: 50%;
|
|
top: -4px;
|
|
left: -6px;
|
|
opacity: 0;
|
|
transition-duration: 0.1s;
|
|
background-color: $playerBackColor !important;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#playListControls {
|
|
margin-top: 10px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #3a3a3a;
|
|
}
|
|
|
|
#playListArea {
|
|
background-color: lighten($playListBackgroundColor, 20%);
|
|
width: 100%;
|
|
height: 333px;
|
|
margin: 10px auto 0 auto;
|
|
border-radius: 5px;
|
|
transition: 0.1s all ease-in-out;
|
|
position: relative;
|
|
overflow: auto;
|
|
#dragHere {
|
|
position: absolute;
|
|
top: 27%;
|
|
font-size: 20px;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
.library-music {
|
|
position: absolute;
|
|
top: 40%;
|
|
font-size: 100px;
|
|
opacity: 0.5;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.songArtist {
|
|
font-style: italic;
|
|
}
|
|
|
|
#playListArea.dragHereHighlight {
|
|
background-color: white;
|
|
border: 5px dotted #5383ff;
|
|
}
|
|
|
|
#playListArea.draggingOver {
|
|
background-color: darken(white, 5%);
|
|
box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 1);
|
|
}
|
|
|
|
#fileInput {
|
|
width: 1px;
|
|
height: 1px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.playlistItem {
|
|
min-height: 50px;
|
|
font-family: 'Open Sans', sans-serif;
|
|
padding: 5px 20px 5px 5px;
|
|
position: relative;
|
|
color: darken(white, 20%);
|
|
.close {
|
|
position: absolute;
|
|
top: 25%;
|
|
right: 10px;
|
|
}
|
|
}
|
|
|
|
.playlistItem.active {
|
|
background-color: lighten($playListBackgroundColor, 30%);
|
|
}
|
|
|
|
.playlistItem:hover {
|
|
background-color: lighten($playListBackgroundColor, 40%);
|
|
color: white;
|
|
.close {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#beatArea {
|
|
position: relative;
|
|
}
|
|
|
|
#beatArea * .noUi-target {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#beatArea * .noUi-base, #beatArea * .noUi-background {
|
|
background-color: #3F3F3F;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#beatArea * .noUi-vertical {
|
|
height: 170px;
|
|
margin-top: 20px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#beatOptionGroup {
|
|
margin-top: 20px;
|
|
.beatOption {
|
|
display: inline-block;
|
|
margin-right: 1em;
|
|
}
|
|
}
|
|
|
|
#playerBottom {
|
|
color: white;
|
|
background-color: #5D5D5D;
|
|
width: 100%;
|
|
}
|
|
|
|
#beatContainer {
|
|
vertical-align: middle;
|
|
padding: 0;
|
|
md-switch {
|
|
bottom: 0;
|
|
position: absolute;
|
|
margin-left: 0;
|
|
z-index: 3;
|
|
margin-bottom: 2px;
|
|
}
|
|
}
|
|
|
|
#beatSpeaker {
|
|
position: relative;
|
|
padding: 0 5%;
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
#beatSpeakerCenter {
|
|
position: absolute;
|
|
width: 100%;
|
|
top: 14%;
|
|
right: 0;
|
|
padding: 0 20%;
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.pop {
|
|
animation-name: pop;
|
|
animation-duration: 0.1s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: 1;
|
|
}
|
|
|
|
@keyframes pop {
|
|
50% {
|
|
transform: scale(1.1);
|
|
}
|
|
}
|
|
|
|
#beatArea .lightGroup {
|
|
margin: 10px 20px 0 40px;
|
|
float: right;
|
|
div {
|
|
display: block;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|
|
#playerButtonGroup {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#vertDivider {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 25%;
|
|
width: 2px;
|
|
height: 50%;
|
|
background-color: white;
|
|
}
|
|
|
|
#beatHistory {
|
|
color: black;
|
|
height: 250px;
|
|
background-color: white;
|
|
border-radius: 10px;
|
|
width: 80%;
|
|
margin: 20px auto;
|
|
overflow: auto;
|
|
padding: 10px;
|
|
box-shadow: 5px 10px 15px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
#playerBottom {
|
|
display: table;
|
|
}
|
|
#beatArea, #beatContainer {
|
|
float: none;
|
|
display: table-cell;
|
|
}
|
|
}
|