gitlab-org--gitlab-foss/app/assets/stylesheets/behaviors.scss
2014-10-27 18:13:01 +01:00

22 lines
389 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; }
}
}