You are here

header-buttons-mobile.css in Drupal 10

Same filename and directory in other branches
  1. 9 core/themes/olivero/css/components/header-buttons-mobile.css

Header Mobile Buttons.

File

core/themes/olivero/css/components/header-buttons-mobile.css
View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Header Mobile Buttons.
  10. */
  11. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. [dir="ltr"] .mobile-buttons {
  20. margin-left: auto
  21. }
  22. [dir="rtl"] .mobile-buttons {
  23. margin-right: auto
  24. }
  25. .mobile-buttons {
  26. margin-top: var(--sp0-5)
  27. }
  28. @media (min-width: 31.25rem) {
  29. .mobile-buttons {
  30. margin-top: var(--sp2)
  31. }
  32. }
  33. @media (min-width: 43.75rem) {
  34. .mobile-buttons {
  35. margin-top: var(--sp4)
  36. }
  37. }
  38. @media (min-width: 75rem) {
  39. .mobile-buttons {
  40. margin-top: var(--sp6)
  41. }
  42. }
  43. @media (min-width: 75rem) {
  44. body:not(.is-always-mobile-nav) .mobile-buttons {
  45. display: none;
  46. }
  47. }