sub.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /** 탑 비쥬얼 공통 모듈 **/
  2. #top--visual{
  3. display: flex;
  4. align-items: center;
  5. justify-content: center;
  6. height:100%;
  7. width: 100%;
  8. &.contact{
  9. background: url(/img/top_ban_contact.jpg) no-repeat top;
  10. background-attachment: fixed;
  11. background-size: contain;
  12. }
  13. .inner--content{
  14. max-height: 440px;
  15. min-height: 440px;
  16. display: flex;
  17. align-items: center;
  18. justify-content: center;
  19. position: relative;
  20. > h1{
  21. color:#FFF;
  22. text-align: center;
  23. font-size: 48px;
  24. font-weight: 800;
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. }
  29. nav{
  30. position: absolute;
  31. bottom:0px;
  32. left:50%;
  33. transform: translateX(-50%);
  34. >ul{
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. >li{
  39. position: relative;
  40. padding:24px 0px;
  41. margin-right:81px;
  42. &:last-child{
  43. margin-right:0px;
  44. &:after{
  45. display: none;
  46. }
  47. }
  48. &:after{
  49. content:'';
  50. display: block;
  51. width:1px;
  52. height:12px;
  53. opacity: .5;
  54. background: #fff;
  55. position: absolute;
  56. top:50%;
  57. transform: translateY(-50%);
  58. right:-41px;
  59. }
  60. a{
  61. color:#FFF;
  62. font-size: 14px;
  63. font-style: normal;
  64. font-weight: 700;
  65. white-space: nowrap;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. flex-wrap: nowrap;
  70. gap:4px;
  71. i{
  72. min-width:20px;
  73. height:20px;
  74. width:20px;
  75. svg{
  76. transition: transform 0.3s ease;
  77. }
  78. &.active svg {
  79. transform: rotate(180deg);
  80. transition: transform 0.3s ease;
  81. }
  82. }
  83. }
  84. > ul{
  85. position: absolute;
  86. top:60px;
  87. left:50%;
  88. transform: translateX(-50%);
  89. background: #fff;
  90. padding:16px;
  91. max-height: 0;
  92. overflow: hidden;
  93. opacity: 0;
  94. visibility: hidden;
  95. transition: all 0.3s ease;
  96. &.show {
  97. max-height: 200px;
  98. opacity: 1;
  99. visibility: visible;
  100. }
  101. li{
  102. display: flex;
  103. align-items: center;
  104. justify-content: flex-start;
  105. width:100%;
  106. margin-bottom:16px;
  107. &:last-child{
  108. margin-bottom:0px;
  109. }
  110. a{
  111. color:#515973;
  112. font-size: 14px;
  113. font-style: normal;
  114. font-weight: 700;
  115. text-align: left;
  116. &:hover{
  117. color:#00A654;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. }
  125. }
  126. }