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/web/app/styles/hue-controls.scss
2017-12-30 00:14:04 -08:00

189 lines
2.8 KiB
SCSS

#lights-tab {
padding: 0;
.paper-icon {
line-height: 0.8 !important;
}
}
.promo-img {
display: block;
margin: auto;
height: 50vh;
min-height: 250px;
}
.promo-title {
font-size: 18px;
text-align: center;
}
.promo-text {
font-size: 14px;
img {
margin-top: 20px;
}
}
.lights-control-tooltip + .tooltip {
left: 0 !important;
}
#color-row {
cursor: pointer;
.md-list-item-inner {
padding-right: 0;
}
}
#hue-controls {
max-width: 1200px;
height: 90vh;
md-progress-circular {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
#navigation {
padding: 15px 0 0;
text-align: center;
margin: auto;
position: relative;
.ember-basic-dropdown-trigger {
z-index: 3;
text-align: right;
position: absolute;
top: -10px;
right: -10px;
transform: scale(1.1);
}
}
.navigation-item {
font-size: 20px;
padding: 0 10px 0 10px;
font-size: 19px;
&.active {
font-weight: bold;
cursor: default;
text-decoration: none !important;
}
&:hover {
text-decoration: underline;
}
}
.color {
border: 1px solid rgba(0, 0, 0, 0.5);
}
#color-picker {
padding: 5px;
background: rgba(0, 0, 0, 0.6);
box-shadow: 5px 10px 15px 5px rgba(0, 0, 0, 0.3);
color: #ffffff;
position: absolute;
width: 266px;
height: 266px;
right: 6px;
top: -9px;
z-index: 3;
}
.color-content {
box-shadow: none !important;
md-menu-content,
md-menu-item {
background-color: transparent !important;
}
}
#picker {
cursor: crosshair;
border-radius: 50%;
}
#picker-pointer {
position: absolute;
top: 0;
left: 0;
width: 24px;
height: 24px;
border: 2px solid white;
border-radius: 50%;
opacity: 0;
cursor: pointer;
}
#loop-addition {
position: absolute;
left: 33px;
top: 15px;
font-size: 16px !important;
}
#huegasm-content {
height: 80%;
max-height: 500px;
}
.dice {
width: 40px;
height: 40px;
cursor: pointer;
margin-right: 20px;
}
.dice:hover,
.dice:focus,
.dice:active {
animation-name: hvr-buzz-out;
animation-duration: 0.75s;
animation-timing-function: linear;
animation-iteration-count: 1;
}
@keyframes hvr-buzz-out {
10% {
transform: translateX(2px) rotate(2deg);
}
20% {
transform: translateX(-2px) rotate(-2deg);
}
30% {
transform: translateX(2px) rotate(2deg);
}
40% {
transform: translateX(-2px) rotate(-2deg);
}
50% {
transform: translateX(2px) rotate(1deg);
}
60% {
transform: translateX(-2px) rotate(-1deg);
}
70% {
transform: translateX(2px) rotate(1deg);
}
80% {
transform: translateX(-2px) rotate(-1deg);
}
90% {
transform: translateX(1px) rotate(0);
}
100% {
transform: translateX(-1px) rotate(0);
}
}
@media (min-width: 767px) {
#lights-tab {
font-size: 20px;
.paper-icon {
font-size: 24px;
}
}
}