1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/core/scss/ui/_empty.scss

60 lines
994 B
SCSS

.empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
padding: 1rem;
text-align: center;
@include media-breakpoint-up(md) {
padding: 3rem;
}
}
.empty-icon {
margin: 0 0 1rem;
width: 3rem;
height: 3rem;
line-height: 1;
color: var(--#{$prefix}secondary);
svg {
width: 100%;
height: 100%;
}
}
.empty-img {
margin: 0 0 2rem;
line-height: 1;
}
.empty-header {
margin: 0 0 1rem;
font-size: 4rem;
font-weight: var(--#{$prefix}font-weight-light);
line-height: 1;
color: var(--#{$prefix}secondary);
}
.empty-title {
font-size: $h2-font-size;
line-height: $h2-line-height;
font-weight: $headings-font-weight;
}
.empty-title,
.empty-subtitle {
margin: 0 0 0.5rem;
}
.empty-action {
margin-top: 1.5rem;
}
.empty-bordered {
border: var(--#{$prefix}border-width) var(--#{$prefix}border-style) var(--#{$prefix}border-color);
border-radius: var(--#{$prefix}border-radius);
}