cartodb-4.42/assets/stylesheets/deep-insights/widgets/_error.scss

31 lines
453 B
SCSS
Raw Normal View History

2024-04-06 13:25:13 +08:00
// 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%);
}