fleet/frontend/pages/SoftwarePage/components/icons/SoftwareIcon/_styles.scss
Gabriel Hernandez b27b63bc3b
Feat UI vpp host details page (#20611)
relates to #20612

This is the UI updates for the host details and device user pages for
the new VPP software feature.

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-07-19 17:10:28 +01:00

44 lines
965 B
SCSS

.software-icon {
flex-shrink: 0;
border: 1px solid $ui-fleet-black-10;
&__small {
border-radius: $border-radius;
}
&__medium {
border-radius: $border-radius-xlarge;
}
&__large {
border-radius: $border-radius-xxlarge;
}
&__xlarge {
border-radius: $border-radius-xxlarge;
}
&__software-img {
display: block;
}
// we use this selector to give higher specifity than the selector
// ".core-wrapper a img" which is in /styles/global/_styles.scss
// TODO: we should change ".core-wrapper a img" selector in that file
// as it too generic and can affect other parts of the app.
> img.software-icon__software-img-small {
width: 22px;
height: 22px;
border-radius: $border-radius-small;
padding: 1px;
margin-left: 0;
}
>img.software-icon__software-img-xlarge {
width: 88px;
height: 88px;
border-radius: $border-radius-xxlarge;
padding: $pad-xsmall;
margin-left: 0;
}
}