fleet/frontend/components/EmptyTable/_styles.scss
Jacob Shandling 7da0503ada
UI: Add ChromeOS UI elements to the Host Details page (#12093)
## Addresses #11830 
[Demo with simulated Chromebook
host](https://loom.com/share/5d6dda3a9c4a47bfbf1aadc900e1750a)
- Add features for ChromeOS
- Address some technical debt around this area
<img width="441" alt="agent options with tooltip and hardcoded values"
src="https://github.com/fleetdm/fleet/assets/61553566/0e0448f6-a896-4804-9b65-8eb289798c55">
<img width="1150" alt="disabled Schedule tab for chromeOS"
src="https://github.com/fleetdm/fleet/assets/61553566/ce6963ca-643a-45d1-9e68-6699eaa3a8f6">
<img width="411" alt="disk encryption"
src="https://github.com/fleetdm/fleet/assets/61553566/df486abd-bca6-43d1-92ab-8f6ea33dfb39">
<img width="1118" alt="no disk space graph"
src="https://github.com/fleetdm/fleet/assets/61553566/91823896-c824-40f1-ac15-6c8197aedd6b">

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-06-06 17:30:51 -04:00

66 lines
1.2 KiB
SCSS

.empty-table {
&__container {
display: flex;
flex-direction: column;
align-items: center;
margin: 96px auto $pad-large; // 96px to top of div
max-width: 450px; // standard empty state width
gap: $pad-medium; // 16px between image, text, and buttons
}
&__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;
}
p {
text-align: center;
color: $core-fleet-blue;
font-size: $x-small;
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;
}
}
}
}
&__cta-buttons {
display: flex;
justify-content: center;
gap: $pad-medium; // 16px between buttons
}
}
// more flexible styling for empty tables within tabs
.react-tabs {
.empty-table {
&__container {
align-self: center;
justify-content: center;
margin: 0;
margin-bottom: 20px;
min-height: 155px;
max-width: none;
}
}
}