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

23 lines
387 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; }
}
&.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; }
}
}