fleet/frontend/components/forms/fields/SelectTargetsDropdown/TargetDetails/_styles.scss
noahtalerman 0f48eb8525
Bring new style variables from teams into master (#707)
This PR brings the style changes made in the "Align Fleet UI colors with Figma components"
#615 and "Align Fleet UI with Figma (spacing and fonts)" #628 PRs into the master branch.
2021-04-30 17:32:50 -04:00

182 lines
2.9 KiB
SCSS

.host-target,
.label-target {
padding: $pad-large;
&__back {
color: $core-fleet-black;
font-size: $xx-small;
display: none;
@include breakpoint(ltdesktop) {
display: inline-block;
position: absolute;
top: 10px;
left: 10px;
padding: 10px;
&:active {
top: 10px;
}
}
}
@include breakpoint(ltdesktop) {
padding-top: $pad-xxlarge;
}
}
.host-target {
&__display-text {
font-size: $medium;
font-weight: $bold;
letter-spacing: 0.6px;
color: $core-fleet-black;
margin: 0;
}
&__icon {
color: $core-fleet-blue;
margin-right: $pad-small;
width: 21px;
&--online {
color: $core-fleet-black;
}
&--offline {
color: $core-fleet-black;
}
}
&__status {
margin: $pad-xsmall 0;
font-size: $small;
font-weight: $bold;
letter-spacing: 1.3px;
text-transform: uppercase;
&--is-online {
color: $ui-success;
}
&--is-offline {
color: $ui-error;
}
}
&__labels-wrapper {
position: absolute;
bottom: $pad-large;
}
&__labels-header {
font-size: $small;
font-weight: $bold;
letter-spacing: 0.9px;
color: $core-fleet-black;
text-transform: uppercase;
margin: 0;
}
&__labels-list {
font-size: $small;
font-weight: $regular;
line-height: 1.85;
letter-spacing: 0.5px;
color: $core-fleet-black;
list-style: none;
margin: 0;
padding: 0;
li {
display: inline-block;
&::after {
content: ",";
margin-right: 3px;
}
&:last-child {
&::after {
content: "";
margin: 0;
}
}
}
}
&__platform-text {
text-transform: capitalize;
}
&__mac-address {
text-transform: uppercase;
}
}
.label-target {
&__display-text {
font-size: $medium;
font-weight: $bold;
letter-spacing: 0.6px;
color: $core-fleet-black;
margin: 0;
}
&__icon {
color: $core-fleet-blue;
margin-right: $pad-small;
width: 21px;
}
&__hosts {
margin: $pad-xsmall 0;
letter-spacing: 0.4px;
font-size: $small;
font-weight: $regular;
}
&__hosts-count {
font-weight: $bold;
color: $core-fleet-black;
strong {
min-width: 21px;
text-align: center;
font-weight: $bold;
display: inline-block;
margin-right: $pad-small;
}
}
&__hosts-online {
color: $ui-success;
}
&__description {
font-size: $pad-medium;
font-weight: $regular;
line-height: 1.71;
color: $core-fleet-black;
margin: 0 0 $pad-small;
}
}
.target-details {
&__table {
border-collapse: collapse;
border-spacing: 0;
text-align: left;
font-size: $small;
width: 100%;
margin-bottom: $pad-medium;
th {
font-weight: $bold;
line-height: 2.3;
color: $core-fleet-black;
padding-right: $pad-small;
}
}
}