fleet/frontend/components/DeviceUserError/_styles.scss
Carlo 715d963f82
My device page (self-service) for iOS/iPadOS (#35238)
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>
2025-11-07 17:30:51 -05:00

50 lines
1,001 B
SCSS

.device-user-error {
display: flex;
flex-direction: column;
align-items: center;
&__mobile-view {
align-self: center;
vertical-align: middle;
justify-content: center; /* vertical centering */
min-height: 100vh; /* full viewport height */
}
&__inner {
display: flex;
flex-direction: row;
margin: $pad-xxxlarge 0;
}
.info {
display: flex;
flex-direction: column;
gap: $pad-large;
max-width: 333px;
padding: $pad-small;
&__header {
display: block;
gap: $pad-large;
color: $core-fleet-black;
font-weight: $bold;
font-size: $x-small;
text-align: center;
.icon {
vertical-align: sub;
margin-right: $pad-small;
position: relative;
bottom: 1px;
}
}
&__data {
display: block;
color: $core-fleet-black;
font-weight: normal;
font-size: $x-small;
text-align: center;
line-height: 21px; // Matches design
}
}
}