Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

fab.css 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. @media (orientation: portrait) {
  2. /* For top safe area */
  3. html[onsflag-iphonex-portrait] .fab--top__left,
  4. html[onsflag-iphonex-portrait] .fab--top__center,
  5. html[onsflag-iphonex-portrait] .fab--top__right {
  6. top: calc(var(--iphonex-safe-area-inset-top-portrait) + 20px);
  7. }
  8. /* For bottom safe area */
  9. html[onsflag-iphonex-portrait] .fab--bottom__left,
  10. html[onsflag-iphonex-portrait] .fab--bottom__center,
  11. html[onsflag-iphonex-portrait] .fab--bottom__right {
  12. bottom: calc(var(--iphonex-safe-area-inset-bottom-portrait)); /* Omit 20px space */
  13. }
  14. }
  15. @media (orientation: landscape) {
  16. /* For bottom safe area */
  17. html[onsflag-iphonex-landscape] .fab--bottom__left,
  18. html[onsflag-iphonex-landscape] .fab--bottom__center,
  19. html[onsflag-iphonex-landscape] .fab--bottom__right {
  20. bottom: calc(var(--iphonex-safe-area-inset-bottom-landscape)); /* Omit 20px space */
  21. }
  22. /* For left safe area */
  23. html[onsflag-iphonex-landscape] .fab--top__left,
  24. html[onsflag-iphonex-landscape] .fab--bottom__left {
  25. left: calc(var(--iphonex-safe-area-inset-left-landscape)); /* Omit 20px space */
  26. }
  27. /* For right safe area */
  28. html[onsflag-iphonex-landscape] .fab--top__right,
  29. html[onsflag-iphonex-landscape] .fab--bottom__right {
  30. right: calc(var(--iphonex-safe-area-inset-right-landscape)); /* Omit 20px space */
  31. }
  32. }