.scraped_site_status { .state { display: none; } &.failed { .failed.state { display: block; } } &.processing { .processing.state { display: block; } } }