This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
huegasm/app/styles/app.scss
2015-10-05 03:24:16 -07:00

998 lines
17 KiB
SCSS

@import 'ember-paper';
@import 'bower_components/bootstrap-sass/assets/stylesheets/_bootstrap';
@import "bower_components/font-awesome/scss/font-awesome";
@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 + 20px;
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 {
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;
p {
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;
}
// HUE 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;
}
#hueControls {
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 TAB
.row {
margin: 0;
}
#musicTab{
padding: 0;
}
.zIndexTwo {
z-index: 2;
}
.#{$fa-css-prefix}-youtubeWorkaround:before {
content: $fa-var-youtube-play;
font-size: 22px;
}
#slideToggle {
color: $playerDefaultIconColor;
background: darkgrey;
z-index: 2;
div i {
font-size: 25px;
color: inherit !important;
}
}
#slideToggle:hover{
color: lighten($playerDefaultIconColor, 30%) !important;;
}
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 {
cursor: pointer;
color: $playerDefaultIconColor !important;
transition-duration: 0.1s;
margin-right: 10px;
}
i.playerControllIcon {
font-size: 20px;
margin-right: 12px;
}
.playerControllIcon.active {
color: #F12B24 !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;
padding: 0;
z-index: 2;
}
#playerArea:hover #playerControls {
opacity: 1;
}
#playlist {
height: $playerHeight;
background-color: $playListBackgroundColor;
padding-left: 0.625em;
padding-right: 0.625em;
z-index: 2;
}
#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 {
min-height: 35px;
margin-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #3a3a3a;
}
#playListArea, #playAreaMic, #playAreaYoutube {
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, .mic {
position: absolute;
top: 40%;
font-size: 100px;
opacity: 0.5;
width: 100%;
text-align: center;
}
.mic {
top: 30%;
font-size: 120px;
}
}
.ember-notify-cn {
top: 0;
bottom: auto;
}
.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 {
z-index: 2;
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: 15px;
margin-bottom: 15px;
}
#beatOptionButtonGroup {
margin: 20px 0;
}
.beatOption {
text-align: center;
md-switch {
margin: 0;
}
.optionDescription {
font-size: 13px;
}
}
#playerBottom {
color: black;
border: 1px solid black;
width: 100%;
z-index: 2;
}
#beatContainer {
vertical-align: middle;
padding: 0 10px;
z-index: 2;
md-switch {
bottom: 0;
position: absolute;
margin-left: 0;
z-index: 3;
margin-bottom: 2px;
}
}
#beatArea .lightGroup {
margin: 10px 20px 0 40px;
float: right;
div {
display: block;
padding: 10px;
}
}
#playerButtonGroup {
margin-top: 10px;
button {
box-shadow: 5px 0 15px 5px rgba(0, 0, 0, 0.3);
}
}
#beatHistory {
color: black;
height: 300px;
background-color: white;
border-radius: 10px;
width: 90%;
margin: 0 auto 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;
}
}
// FANCY SPEAKER
/* Variables */
$centersize: 100px;
$center1size: 250px;
$bezelsize: 285px;
$vibratesize: $centersize*1.06;
$vibratemargin:-$vibratesize/2;
$vibrateblur: 2px;
$vibrateblur1:1px;
/* Extenders */
%base {
border-radius: 100%;
}
%rivet {
position: absolute;
height: 8px;
width: 8px;
background-color: #555;
border-radius: 100%;
box-shadow: inset 0 0 3px #000, 0 0 2px #000;
}
/* Keyframes */
@keyframes vibrate {
0% {
-webkit-filter: blur($vibrateblur);
filter: blur($vibrateblur);
height: $vibratesize;
width: $vibratesize;
margin-left: $vibratemargin;
margin-top: $vibratemargin;
}
30% {
-webkit-filter: blur(0);
filter: blur(0);
height: $centersize;
width: $centersize;
}
50% {
-webkit-filter: blur($vibrateblur);
filter: blur($vibrateblur);
height: $vibratesize;
width: $vibratesize;
margin-left: $vibratemargin;
margin-top: $vibratemargin;
}
65% {
-webkit-filter: blur(0);
filter: blur(0);
height: $centersize;
width: $centersize;
}
70% {
-webkit-filter: blur($vibrateblur);
filter: blur($vibrateblur);
height: $vibratesize;
width: $vibratesize;
margin-left: $vibratemargin;
margin-top: $vibratemargin;
}
80% {
-webkit-filter: blur($vibrateblur);
filter: blur($vibrateblur);
height: $centersize;
width: $centersize;
}
100% {
-webkit-filter: blur($vibrateblur);
filter: blur($vibrateblur);
height: $vibratesize;
width: $vibratesize;
margin-left: $vibratemargin;
margin-top: $vibratemargin;
}
}
@keyframes vibrate1 {
0% {
-webkit-filter: blur($vibrateblur1);
filter: blur($vibrateblur1);
border: 15px solid #333;
}
30% {
-webkit-filter: blur(0);
filter: blur(0);
border: 17px solid #333;
}
50% {
-webkit-filter: blur($vibrateblur1);
filter: blur($vibrateblur1);
border: 15px solid #333;
}
65% {
-webkit-filter: blur(0);
filter: blur(0);
border: 17px solid #333;
}
70% {
-webkit-filter: blur($vibrateblur1);
filter: blur($vibrateblur1);
border: 15px solid #333;
}
80% {
-webkit-filter: blur($vibrateblur1);
filter: blur($vibrateblur1);
border: 17px solid #333;
}
100% {
-webkit-filter: blur($vibrateblur1);
filter: blur($vibrateblur1);
border: 15px solid #333;
}
}
#beatSpeakerCenterInner {
@extend %base;
height: $centersize;
width: $centersize;
position: absolute;
bottom: 60px;
right: 60px;
-webkit-filter: blur(1px);
filter: blur(1px);
background: rgb(0,0,0);
background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,1) 0%, rgba(79,79,79,1) 0%, rgba(0,0,0,1) 100%);
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,1)), color-stop(0%,rgba(79,79,79,1)), color-stop(100%,rgba(0,0,0,1)));
background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,1) 0%,rgba(79,79,79,1) 0%,rgba(0,0,0,1) 100%);
background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,1) 0%,rgba(79,79,79,1) 0%,rgba(0,0,0,1) 100%);
background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,1) 0%,rgba(79,79,79,1) 0%,rgba(0,0,0,1) 100%);
background: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%,rgba(79,79,79,1) 0%,rgba(0,0,0,1) 100%);
box-shadow: 0 0 10px rgba(0, 0, 0, 1);
}
.vibrateInner{
-webkit-animation: vibrate 0.25s linear 1;
animation: vibrate 0.15s linear 1;
}
#beatSpeakerCenterOuter {
@extend %base;
position: absolute;
top: 16px;
left: 16px;
height: $center1size;
width: $center1size;
border: 15px solid #333;
box-shadow: -3px -3px 15px rgba(0, 0, 0, 0.4), inset -3px -3px 15px rgba(0, 0, 0, 0.5);
background: -moz-linear-gradient(130deg, rgba(117, 117, 117, 1) 55%, rgba(220, 220, 220, 1) 100%);
background: -webkit-linear-gradient(130deg, rgba(117, 117, 117, 1) 55%, rgba(220, 220, 220, 1) 100%);
background: -o-linear-gradient(130deg, rgba(117, 117, 117, 1) 55%, rgba(220, 220, 220, 1) 100%);
background: -ms-linear-gradient(130deg, rgba(117, 117, 117, 1) 55%, rgba(220, 220, 220, 1) 100%);
background: linear-gradient(130deg, rgba(117, 117, 117, 1) 55%, rgba(220, 220, 220, 1) 100%);
}
.vibrateOuter {
-webkit-animation: vibrate1 0.25s linear 1;
animation: vibrate1 0.15s linear 1;
}
.bezel {
@extend %base;
margin: 0 auto;
height: $bezelsize;
width: $bezelsize;
position: relative;
background-color: #A8A8A8;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), inset 3px 3px 10px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.8), inset 0 0 30px -5px rgba(0, 0, 0, 0.8);
}
.rivet1 {
@extend %rivet;
top: 6px;
left: 50%;
}
.rivet2 {
@extend %rivet;
bottom: 6px;
left: 50%;
}
.rivet3 {
@extend %rivet;
top: 50%;
left: 6px;
}
.rivet4 {
@extend %rivet;
top: 50%;
right: 6px;
}
.rivet5 {
@extend %rivet;
top: 18%;
left: 13.7%;
}
.rivet6 {
@extend %rivet;
top: 18%;
right: 13.5%;
}
.rivet7 {
@extend %rivet;
bottom: 17%;
left: 13.5%;
}
.rivet8 {
@extend %rivet;
bottom: 17%;
right: 13.5%;
}
#ytplayer{
display: block;
width: 100%;
height: 100%
}
#dimmer {
position: fixed;
width: 100%;
height: 100%;
background: black;
opacity: 0.7;
top: 0;
left: 0;
display: none;
}