debian-mirror-gitlab/app/assets/stylesheets/behaviors.scss

29 lines
501 B
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
// Details
//--------
2015-04-26 12:48:37 +05:30
.js-details-container {
.content {
display: none;
&.hide { display: block; }
}
2016-11-03 12:29:30 +05:30
2015-04-26 12:48:37 +05:30
&.open .content {
display: block;
&.hide { display: none; }
}
}
2014-09-02 18:07:02 +05:30
// Toggle between two states.
2015-04-26 12:48:37 +05:30
.js-toggler-container {
2016-06-02 11:05:42 +05:30
.turn-on { display: block; }
2015-04-26 12:48:37 +05:30
.turn-off { display: none; }
&.on {
2016-06-02 11:05:42 +05:30
.turn-on { display: none; }
2015-04-26 12:48:37 +05:30
.turn-off { display: block; }
}
}
2016-09-13 17:45:13 +05:30
// Hide element if Vue is still working on rendering it fully.
[v-cloak="true"] {
display: none !important;
}