gitlab-org--gitlab-foss/app/assets/stylesheets/behaviors.scss
connorshea d80b8ed6d4 Enable SpaceBeforeBrace rule for SCSS Lint
Also resolve all instances of spaces not being included before opening
braces.
2016-03-30 14:30:06 -06:00

22 lines
387 B
SCSS

// Details
//--------
.js-details-container {
.content {
display: none;
&.hide { display: block; }
}
&.open .content {
display: block;
&.hide { display: none; }
}
}
// Toggle between two states.
.js-toggler-container {
.turn-on { display: block; }
.turn-off { display: none; }
&.on {
.turn-on { display: none; }
.turn-off { display: block; }
}
}