cartodb/assets/stylesheets/deep-insights/widgets/_error.scss
2020-06-15 10:58:47 +08:00

31 lines
453 B
SCSS

// Default styles for error state
// --------------------------------------------------
.CDB-Widget--alert,
.CDB-Widget--error {
padding: $sMargin-section - 4;
}
.CDB-Widget--error {
border-top: 2px solid $cError;
h2 {
color: $cError;
}
}
.CDB-Widget--alert {
border-top: 2px solid $cLink;
h2 {
color: $cLink;
}
}
.CDB-Widget-errorButton {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}