123456789101112131415161718192021222324252627282930313233343536 |
- @media (orientation: portrait) {
-
- html[onsflag-iphonex-portrait] .fab--top__left,
- html[onsflag-iphonex-portrait] .fab--top__center,
- html[onsflag-iphonex-portrait] .fab--top__right {
- top: calc(var(--iphonex-safe-area-inset-top-portrait) + 20px);
- }
-
-
- html[onsflag-iphonex-portrait] .fab--bottom__left,
- html[onsflag-iphonex-portrait] .fab--bottom__center,
- html[onsflag-iphonex-portrait] .fab--bottom__right {
- bottom: calc(var(--iphonex-safe-area-inset-bottom-portrait));
- }
- }
-
- @media (orientation: landscape) {
-
- html[onsflag-iphonex-landscape] .fab--bottom__left,
- html[onsflag-iphonex-landscape] .fab--bottom__center,
- html[onsflag-iphonex-landscape] .fab--bottom__right {
- bottom: calc(var(--iphonex-safe-area-inset-bottom-landscape));
- }
-
-
- html[onsflag-iphonex-landscape] .fab--top__left,
- html[onsflag-iphonex-landscape] .fab--bottom__left {
- left: calc(var(--iphonex-safe-area-inset-left-landscape));
- }
-
-
- html[onsflag-iphonex-landscape] .fab--top__right,
- html[onsflag-iphonex-landscape] .fab--bottom__right {
- right: calc(var(--iphonex-safe-area-inset-right-landscape));
- }
- }
|