fleet/frontend/components/side_panels/QuerySidePanel/_styles.scss
noahtalerman 35d15d1274
Update sidepanel padding on existing "New" and "Edit/run" query pages + additional "spiffier" changes (#1716)
- Set explicit width so that changing the selected table does not alter the side panel's width
- Update side panel padding to match Figma
- Update "Software" table styles on the **Host details** page to prevent the table from overflowing the page
- Adjust alignment for edit and delete label icons on **Hosts** page
- Reveal macOS icon the "Hosts" page
2021-08-19 08:39:35 -04:00

123 lines
2 KiB
SCSS

.query-side-panel {
&__header {
margin: 0 0 $pad-small;
font-size: $x-small;
font-weight: $bold;
color: $core-fleet-black;
}
&__choose-table {
margin: 0 0 $pad-xlarge;
.form-field {
margin-bottom: $pad-medium;
}
.Select {
margin: 0 0 $pad-small;
}
}
&__description {
font-size: $x-small;
font-style: italic;
color: $core-fleet-black;
margin: 0;
}
&__platforms {
font-size: $x-small;
color: $core-fleet-black;
list-style: none;
margin: 0 0 $pad-xlarge;
padding: 0;
.fleeticon {
font-size: 18px;
margin-right: $pad-medium;
}
.icon {
margin-right: $pad-medium;
width: 20px;
height: 20px;
}
li {
height: 20px;
display: flex;
align-items: center;
padding-bottom: $pad-medium;
&:last-child {
padding-bottom: 0;
}
}
}
&__columns,
&__suggested-queries {
margin: 0 0 $pad-large;
}
&__column-list {
margin: 0;
padding: 0;
list-style: none;
}
&__column-wrapper {
display: flex;
margin: 0 0 15px;
padding-top: $pad-small;
border-top: 1px solid $ui-fleet-blue-15;
}
&__suggestion {
flex-grow: 1;
font-size: $x-small;
line-height: 1.71;
letter-spacing: 0.5px;
text-align: left;
color: $core-fleet-black;
}
&__load-suggestion {
align-self: center;
padding: 1px 5px;
margin: 0 0 0 10px;
}
}
.query-column-list {
&__item {
display: flex;
align-items: center;
justify-content: space-between;
color: $core-fleet-black;
font-size: px-to-rem(14);
padding: $pad-small 0;
&:first-of-type {
border: 0;
}
}
&__name {
border-radius: $border-radius;
margin-right: $pad-small;
font-size: $x-small;
font-weight: $bold;
color: $core-fleet-black;
}
&__description {
flex-grow: 1;
text-align: right;
}
&__type {
font-size: $x-small;
color: $core-fleet-black;
}
}