15 lines
393 B
SCSS
15 lines
393 B
SCSS
/**
|
|
Prevent flashing of content when using startup.css
|
|
*/
|
|
@mixin cloak-startup-scss($display) {
|
|
// General selector for cloaking until ready
|
|
.cloak-startup,
|
|
// 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;
|
|
}
|
|
}
|