Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_mega-menu.scss 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. /*------------------*
  2. # mega-menu
  3. *------------------*/
  4. .mega-menu {
  5. position: absolute;
  6. top: 100%;
  7. left: 0;
  8. right: 0;
  9. max-width: 100%;
  10. opacity: 0;
  11. visibility: hidden;
  12. z-index: 3;
  13. background: $color-white;
  14. padding: 30px 15px;
  15. box-shadow: 0 0 3.76px 0.24px rgba(0, 0, 0, 0.15);
  16. margin: 0 15px;
  17. transform-origin: 0 0;
  18. transform-style: preserve-3d;
  19. @include transform(rotateX(-75deg));
  20. }
  21. .main-menu {
  22. li {
  23. &:hover > {
  24. .mega-menu {
  25. opacity: 1;
  26. visibility: visible;
  27. transition: transform 0.3s, opacity 0.3s;
  28. @include transform(rotateX(0deg));
  29. }
  30. }
  31. }
  32. }
  33. .mega-menu {
  34. > li {
  35. margin: 0;
  36. }
  37. }
  38. .mega-menu li ul li {
  39. margin: 0;
  40. }
  41. .mega-menu li > ul li:last-child a {
  42. padding-bottom: 0;
  43. }
  44. .mega-menu li > ul li > a:hover {
  45. padding-left: 5px;
  46. }
  47. .mega-menu li ul li.mega-menu-title {
  48. margin-bottom: 20px;
  49. }
  50. .mega-menu li ul li.mega-menu-title a {
  51. color: $color-dark;
  52. line-height: 1;
  53. text-transform: uppercase;
  54. font-size: 14px;
  55. font-weight: fontweight(medium);
  56. padding: 0 !important;
  57. }
  58. .mega-menu li a {
  59. text-align: left;
  60. padding: 0 0 5px;
  61. color: #565656;
  62. text-transform: capitalize;
  63. line-height: 28px;
  64. font-weight: fontweight(regular);
  65. font-size: 14px;
  66. }
  67. // mega-menu-custom-with
  68. .mega-menu-custom-with {
  69. max-width: 1110px;
  70. min-width: 1110px;
  71. @include max-screen(1200) {
  72. min-width: 95%;
  73. left: 0%;
  74. right: 0%;
  75. }
  76. left: 23%;
  77. }
  78. // theme1
  79. .theme1 {
  80. .mega-menu {
  81. li {
  82. ul {
  83. li {
  84. &.mega-menu-title {
  85. a {
  86. &:hover {
  87. color: $theme-color;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }
  95. }
  96. // blog-ctry-menu
  97. .blog-ctry-menu {
  98. li {
  99. a {
  100. position: relative;
  101. font-weight: fontweight(regular);
  102. color: #565656;
  103. display: block;
  104. font-size: 14px;
  105. text-transform: capitalize;
  106. line-height: 35px;
  107. &::before {
  108. content: "\f2c7";
  109. position: absolute;
  110. display: inline-block;
  111. font-family: "Ionicons";
  112. right: 0;
  113. }
  114. }
  115. &.active {
  116. a {
  117. &::before {
  118. content: "\f462";
  119. }
  120. }
  121. }
  122. // category-sub-menu
  123. ul.category-sub-menu {
  124. display: none;
  125. li {
  126. a {
  127. font-size: 13px;
  128. line-height: 35px;
  129. padding: 0 10px;
  130. display: block;
  131. color: $body-color;
  132. &::before {
  133. content: "";
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. /*------------------*
  141. # mega-menu END
  142. *------------------*/