gitlab-org--gitlab-foss/app/assets/stylesheets/behaviors.scss

28 lines
500 B
SCSS
Raw Normal View History

2012-10-29 13:24:25 -04:00
// Details
//--------
2014-10-27 13:06:01 -04:00
.js-details-container {
.content {
display: none;
&.hide { display: block; }
}
&.open .content {
display: block;
&.hide { display: none; }
}
}
2014-06-26 03:49:14 -04:00
// Toggle between two states.
2014-10-27 13:06:01 -04:00
.js-toggler-container {
.turn-on { display: block; }
2014-10-27 13:06:01 -04:00
.turn-off { display: none; }
&.on {
.turn-on { display: none; }
2014-10-27 13:06:01 -04:00
.turn-off { display: block; }
}
}
// Hide element if Vue is still working on rendering it fully.
[v-cloak="true"] {
display: none !important;
}