1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00
FrankerFaceZ/styles/widgets/container.scss

74 lines
923 B
SCSS
Raw Permalink Normal View History

2017-11-13 01:23:39 -05:00
$spacing: 1rem;
$border-light: #dad8de;
$border-dark: #2c2541;
$bg-light: #faf9fa;
$bg-dark: #17141f;
.ffz--outer-container {
margin-bottom: $spacing * 2;
&:last-child {
margin-bottom: 0
}
}
.ffz--inner-container {
padding: $spacing;
}
.ffz--widget {
margin-bottom: $spacing;
label {
padding-top: .5rem;
padding-bottom: .5rem;
}
&.default, &.inherits {
label:before, label:after {
opacity: 0.5;
}
input:focus + label {
&:before, &:after {
opacity: 1
}
}
.default-dimmable,
2017-11-13 01:23:39 -05:00
input, textarea, select {
opacity: 0.5;
&:focus {
opacity: 1
}
}
}
&.inherits {
label:before, label:after {
filter: grayscale(100%);
}
label:hover,
input:focus + label {
&:before, &:after {
filter: none;
}
}
input, textarea, select {
filter: grayscale(100%);
&:hover, &:focus {
filter: none;
}
}
}
&:last-child {
margin-bottom: 0
}
}