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/light-group.scss

71 lines
No EOL
1.2 KiB
SCSS

#active-lights {
margin: 2vh auto;
padding-top: 10px;
max-width: 800px;
display: flex;
justify-content: center;
flex-wrap: wrap;
.tooltip.top {
margin-top: 1px;
margin-left: 2px;
}
}
.hue-light {
width: 35px;
}
.toggleable-light {
cursor: pointer;
position: relative;
border-radius: 30%;
border: 2px solid $whitish;
margin: 0 2px;
display: flex;
height: 50px;
align-items: center;
justify-content: center;
padding: 3px;
}
.light-inactive {
border-color: rgba($secondaryThemeColor, 0.4);
}
.light-inactive::before {
font-weight: bold;
position: absolute;
top: -5px;
content: "\e014";
font-family: 'Glyphicons Halflings';
font-size: 40px;
color: rgba($secondaryThemeColor, 0.6);
}
.light-active {
border-color: rgba(green, 0.4);
.hue-light {
transition-duration: 0.3s;
transition-property: transform;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hue-light:hover {
transform: scale(1.2);
}
}
.remove-button {
margin: 10px 0 10px 60px;
}
.light-text {
padding: 0 7px;
}
.light-text-content {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100px;
}