You are here

ultimenu--htb-sliding.css in Ultimenu 8

Skin based on safe CSS file name: ultimenu--htb-sliding.

Sliding sample for horizontal-to-bottom orientation.

File

skins/ultimenu--htb-sliding.css
View source
  1. /**
  2. * @file
  3. * Skin based on safe CSS file name: ultimenu--htb-sliding.
  4. *
  5. * Sliding sample for horizontal-to-bottom orientation.
  6. */
  7. /**
  8. * Larger medium ~ 944px
  9. */
  10. @media all and (min-width: 59em) {
  11. #header .ultimenu--htb-sliding .ultimenu__flyout {
  12. min-width: 100%;
  13. }
  14. .ultimenu--htb-sliding .ultimenu__flyout {
  15. background: #fff;
  16. border-radius: 0 0 5px 5px;
  17. margin: 0;
  18. opacity: 1;
  19. padding: 0;
  20. top: 100%;
  21. visibility: visible;
  22. }
  23. .ultimenu--htb-sliding .ultimenu__flyout,
  24. .ultimenu--htb-sliding .ultimenu__region {
  25. max-height: 0;
  26. overflow: hidden;
  27. -moz-transition: max-height .25s ease-out;
  28. -webkit-transition: max-height .25s ease-out;
  29. transition: max-height .25s ease-out;
  30. }
  31. .ultimenu--htb-sliding .ultimenu__region {
  32. visibility: hidden;
  33. padding: 30px 30px 0 30px;
  34. position: relative;
  35. -moz-transition: visibility .5s linear 0s, padding .25s ease-out, max-height .15s ease-out;
  36. -webkit-transition: visibility .5s linear 0s, padding .25s ease-out, max-height .15s ease-out;
  37. transition: visibility .5s linear 0s, padding .25s ease-out, max-height .15s ease-out;
  38. }
  39. .ultimenu--htb-sliding > li:hover .ultimenu__flyout,
  40. .ultimenu--htb-sliding > li:hover .ultimenu__region {
  41. max-height: 620px;
  42. overflow: visible;
  43. visibility: visible;
  44. z-index: 99;
  45. }
  46. .ultimenu--htb-sliding > li:hover .ultimenu__region {
  47. padding-bottom: 30px;
  48. }
  49. }