SHARE
    TWEET
    coffeeandphotos

    Mega Rejuve menu backup

    Apr 9th, 2025
    655
    0
    Never
    Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
    CSS 1.74 KB | None | 0 0
    1. //MEGA MENU
    2. .mega {
    3. position: absolute;
    4. width: 100%;
    5. opacity: 0;
    6. left: 0;
    7. bottom: 0px;
    8. visibility: hidden;
    9. pointer-events: none;
    10. transition:transform 1s ease;
    11. transform: translate(0,95%);
    12. &:after {
    13. position: absolute;
    14. left: 0;
    15. content: '';
    16. height: 100%;
    17. width: 100%;
    18. z-index: -1;
    19. background: transparent;
    20. top: 5px;
    21. transform: translate(0,-100%);
    22. }
    23. }
    24. .mega:hover {
    25. opacity: 1;
    26. visibility: visible;
    27. pointer-events: auto!important;
    28. -webkit-transition-delay: 0s;
    29. -o-transition-delay: 0s;
    30. transition-delay: 0s;
    31. transform: translate(0,100%);
    32. & * {
    33. pointer-events: auto;
    34. }
    35. }
    36. .folder a {
    37. pointer-events:none;
    38. }
    39. .folder:hover {
    40. & + .mega {
    41. opacity: 1;
    42. pointer-events: auto!important;
    43. visibility: visible;
    44. transform: translate(0,100%);
    45. }
    46. }
    47. @media (min-width:991px) {
    48. .folder {
    49. z-index:99999 !important;
    50. .header-nav-folder-content {
    51. display: none;
    52. }
    53. }
    54. .header-nav-item,
    55. .header-title,
    56. .header-actions {
    57. z-index: 9;
    58. position: relative !important;
    59. }
    60. .header-background,.header::before,
    61. {
    62. pointer-events: none!important;
    63. }
    64. .header-display,
    65. .header-inner {
    66. position: static!important;
    67. }
    68. }
    69. //LEFT ALIGN TEXT
    70. .mega {
    71. p,h2,h3,h1 {
    72. text-align:left;
    73. }
    74. //remove underlines in links
    75. p a {
    76. border-bottom:0px !important;
    77. }
    78. }
    79. .section-background-content img {
    80. visibility:visible !important;
    81. }
    82. //background color
    83. //Mega Menu Background color
    84. .mega {
    85. .section-background {
    86. background-color: #EBEAEB !important;
    87. }
    88. }
    89. //padding
    90. .mega {
    91. .content-wrapper {
    92. padding-top: 5vh !important;
    93. padding-bottom: 5vh !important;
    94. }
    95. }
    96. //typography
    97. .mega {
    98. h3 {
    99. font-size:18px;
    100. font-family: Poppins;
    101. }
    102. h1,h2,h3,h4, p {
    103. text-align:left;
    104. line-height: 1.8;
    105. }
    106. }
    107. //END MEGA MENU END
    Advertisement
    Add Comment
    Please, Sign In to add comment
    Public Pastes
    We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
    Not a member of Pastebin yet?
    Sign Up, it unlocks many cool features!

    AltStyle によって変換されたページ (->オリジナル) /