fleet/frontend/layouts/CoreLayout/_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

61 lines
990 B
SCSS

.app-wrap {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
background-color: $ui-off-white;
}
.core-wrapper {
@include gradient-background;
flex-grow: 1;
margin: 0;
padding: 0;
position: relative;
display: flex;
// App hidden below 768px
@media (max-width: ($break-xs - 1px)) {
display: none;
&.low-width-supported {
display: initial;
}
}
// App not hidden when printing
@media print {
display: initial;
}
a {
img {
height: 12px;
width: 12px;
margin-left: $pad-xsmall;
}
}
}
.site-nav-container {
background: $core-fleet-white;
border-bottom: 1px solid $ui-fleet-black-10;
box-sizing: border-box;
top: 0;
left: 0;
z-index: 100;
// Nav hidden below 768px;
@media (max-width: ($break-xs - 1px)) {
display: none;
&.low-width-supported {
display: initial;
}
}
// Nav not hidden when printing
@media print {
display: initial;
}
}