mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
Implements #32247. This is the complete feature branch, consolidating: - https://github.com/fleetdm/fleet/pull/35018 - https://github.com/fleetdm/fleet/pull/34758 - https://github.com/fleetdm/fleet/pull/35009 - https://github.com/fleetdm/fleet/pull/35181 - https://github.com/fleetdm/fleet/pull/35342 --------- Co-authored-by: Jonathan Katz <44128041+jkatz01@users.noreply.github.com> Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Co-authored-by: Martin Angers <martin.n.angers@gmail.com> Co-authored-by: jkatz01 <yehonatankatz@gmail.com>
70 lines
1.2 KiB
SCSS
70 lines
1.2 KiB
SCSS
.empty-table {
|
|
&__container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 96px auto; // 96px to top of div
|
|
max-width: 500px; // standard empty state width
|
|
gap: $pad-large;
|
|
|
|
&--mobile {
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
&__inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $pad-small; // 4px from header to info text
|
|
|
|
h3,
|
|
h3 a {
|
|
text-align: center;
|
|
font-size: $small;
|
|
font-weight: $bold;
|
|
margin: 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: $core-fleet-black;
|
|
list-style: none;
|
|
|
|
li {
|
|
&::before {
|
|
content: "•";
|
|
color: $core-vibrant-blue;
|
|
margin-right: $pad-medium;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__info,
|
|
&__additional-info {
|
|
@include help-text;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
&__cta-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: $pad-large;
|
|
}
|
|
}
|
|
|
|
// more flexible styling for empty tables within tabs
|
|
.react-tabs {
|
|
.empty-table {
|
|
&__container {
|
|
align-self: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
min-height: 155px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
}
|