66 lines
No EOL
1.1 KiB
SCSS
66 lines
No EOL
1.1 KiB
SCSS
.light-group {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
}
|
|
|
|
.remove-button {
|
|
margin: 10px 0 10px 60px;
|
|
}
|
|
|
|
.light-text {
|
|
padding: 0 7px;
|
|
&.light-inactive::before {
|
|
left: 10px;
|
|
}
|
|
}
|
|
|
|
.light-text-content {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100px;
|
|
} |