debian-mirror-gitlab/app/assets/stylesheets/startup/_cloaking.scss

16 lines
393 B
SCSS
Raw Normal View History

2020-10-24 23:57:45 +05:30
/**
Prevent flashing of content when using startup.css
*/
@mixin cloak-startup-scss($display) {
2021-12-11 22:18:48 +05:30
// General selector for cloaking until ready
.cloak-startup,
2020-10-24 23:57:45 +05:30
// Breadcrumbs and alerts on the top of the page
.content-wrapper > .alert-wrapper,
// Content on pages
#content-body,
// Prevent flashing of haml generated modal contents
.modal-dialog {
display: $display;
}
}