選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

231 行
4.5 KiB

  1. header {
  2. .inside {
  3. @include make-container();
  4. width: 100%;
  5. max-width: 1200px;
  6. padding: 45px 0 25px 0;
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. @media (max-width: 1280px) {
  11. max-width: 1280px;
  12. padding-left: 40px;
  13. padding-right: 40px;
  14. }
  15. @media (max-width: 768px) {
  16. padding-left: 20px;
  17. padding-right: 20px;
  18. }
  19. @media (min-width: 576px) {
  20. padding-top: 45px;
  21. padding-bottom: 25px;
  22. }
  23. }
  24. .ce_image {
  25. padding: 0;
  26. img {
  27. max-width: 198px;
  28. @include transition();
  29. @media (max-width: 1004px) {
  30. max-width: 160px;
  31. }
  32. @media (max-width: 768px) {
  33. max-width: 198px;
  34. }
  35. }
  36. }
  37. .spwn-navigations {
  38. display: flex;
  39. justify-content: flex-start;
  40. align-items: center;
  41. }
  42. #spwn-main-nav.mod_navigation {
  43. .spwn-nav-icon,
  44. .spwn-nav-close {
  45. display: none;
  46. }
  47. ul {
  48. display: flex;
  49. justify-content: flex-start;
  50. }
  51. li {
  52. margin-left: 22px;
  53. @media (max-width: 768px) {
  54. display: none;
  55. &.isotope-basket {
  56. display: block;
  57. }
  58. }
  59. a, strong {
  60. display: block;
  61. width: 125px;
  62. padding: 10px 0;
  63. text-decoration: none;
  64. font-weight: 700;
  65. color: $font;
  66. text-align: center;
  67. background: #F5F5F5;
  68. border: 1px solid #F5F5F5;
  69. border-radius: 20px;
  70. @include transition();
  71. @media (max-width: 1004px) {
  72. width: 100px;
  73. padding: 6px 0;
  74. }
  75. &:hover {
  76. color: $secondary;
  77. border-color: $secondary;
  78. }
  79. &.active,
  80. &.trail {
  81. background: $secondary;
  82. border-color: $secondary;
  83. &:hover {
  84. color: $font;
  85. }
  86. }
  87. &.isotope-basket {
  88. position: relative;
  89. background: $tertiary url("../images/elements/basket.svg") no-repeat 15px 9px;
  90. background-size: 24px auto;
  91. border-color: $tertiary;
  92. text-indent: -9999px;
  93. width: 78px;
  94. @media (max-width: 1004px) {
  95. line-height: 24px;
  96. background-size: 18px auto;
  97. }
  98. &:hover {
  99. background-color: #F5F5F5;
  100. border-color: $secondary;
  101. color: $font;
  102. }
  103. }
  104. }
  105. }
  106. }
  107. #spwn-mobile-nav.mod_navigation {
  108. display: none;
  109. @media (max-width: 768px) {
  110. display: block;
  111. }
  112. .spwn-nav-icon {
  113. position: relative;
  114. width: 24px;
  115. height: 18px;
  116. border-top: 2px solid $font;
  117. cursor: pointer;
  118. margin-left: 24px;
  119. &:before,
  120. &:after {
  121. content: '';
  122. display: block;
  123. position: absolute;
  124. left: 0;
  125. width: 100%;
  126. height: 2px;
  127. background: $font;
  128. }
  129. &:before {
  130. top: 5px;
  131. }
  132. &:after {
  133. top: 12px;
  134. }
  135. }
  136. .spwn-nav-close {
  137. position: absolute;
  138. right: 20px;
  139. top: 70px;
  140. width: 24px;
  141. height: 24px;
  142. cursor: pointer;
  143. &:before,
  144. &:after {
  145. content: '';
  146. position: absolute;
  147. right: 0;
  148. top: 0;
  149. width: 2px;
  150. height: 24px;
  151. background: $font;
  152. }
  153. &:before {
  154. transform: rotate(45deg) translate(-9px, 9px);
  155. }
  156. &:after {
  157. transform: rotate(-45deg) translate(-9px, -9px);
  158. }
  159. }
  160. .spwn-nav {
  161. visibility: hidden;
  162. opacity: 0;
  163. position: absolute;
  164. right: 0;
  165. top: 0;
  166. z-index: 200;
  167. width: 50vw;
  168. height: 100vh;
  169. background: $white;
  170. border-left: 2px solid $primary;
  171. box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.2);
  172. @include transition();
  173. @media (max-width: 575px) {
  174. width: 80vw;
  175. }
  176. .mobile-nav-open & {
  177. visibility: visible;
  178. opacity: 1;
  179. }
  180. }
  181. ul {
  182. padding: 7rem 0 0 0;
  183. }
  184. li {
  185. font-size: size(20);
  186. line-height: size(24);
  187. &.isotope-basket {
  188. display: none;
  189. }
  190. }
  191. a,
  192. strong {
  193. display: block;
  194. padding: 1rem 3rem;
  195. }
  196. }
  197. #header-basket-items {
  198. position: absolute;
  199. right: 15px;
  200. top: 50%;
  201. transform: translate(0, -50%);
  202. text-indent: 0;
  203. }
  204. }