style.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. #loginForm {
  2. fieldset {
  3. position: relative;
  4. border: 1px solid var(--border-strong);
  5. border-radius: 3px;
  6. padding: 20px 26px;
  7. align-content: center;
  8. min-width: 0;
  9. > legend {
  10. position: absolute;
  11. top: -0.625rem;
  12. left: 1.25rem;
  13. padding: 0 5px;
  14. background: var(--bg-page);
  15. font-size: 1rem;
  16. font-weight: bold;
  17. }
  18. // 로그인 창
  19. > form {
  20. input,
  21. button {
  22. width: 100%;
  23. }
  24. label {
  25. cursor: pointer;
  26. margin-bottom: 7px;
  27. &:last-child {
  28. margin-bottom: 0;
  29. }
  30. }
  31. input[type="email"],
  32. input[type="password"] {
  33. &:nth-of-type(1) {
  34. margin-bottom: 15px;
  35. }
  36. &:nth-of-type(2) {
  37. letter-spacing: 1px;
  38. margin-bottom: 10px;
  39. }
  40. }
  41. }
  42. // 우측 안내문구
  43. dl {
  44. dt {
  45. font-weight: bold;
  46. padding-bottom: 8px;
  47. }
  48. dd {
  49. font-size: 0.938rem;
  50. a {
  51. display: block;
  52. padding: 0.438rem 0;
  53. color: var(--text-link);
  54. text-decoration: none;
  55. &:hover {
  56. text-decoration: underline;
  57. color: var(--text-link-hover);
  58. }
  59. small {
  60. vertical-align: text-top;
  61. }
  62. }
  63. }
  64. &:last-child {
  65. dd > a {
  66. padding-bottom: 0;
  67. }
  68. }
  69. }
  70. hr {
  71. margin: 0.938rem 0;
  72. }
  73. }
  74. }
  75. // 소셜 로그인 버튼 (네이버 #03C75A / 카카오 #FEE500 — 각사 브랜드 컬러 가이드)
  76. .social-login {
  77. display: flex;
  78. flex-direction: column;
  79. gap: 8px;
  80. margin-top: 8px;
  81. &__button {
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. gap: 8px;
  86. width: 100%;
  87. height: 40px;
  88. border-radius: 4px;
  89. font-size: 0.938rem;
  90. font-weight: 600;
  91. text-decoration: none;
  92. transition: filter 0.15s ease;
  93. &:hover {
  94. filter: brightness(0.96);
  95. }
  96. &--naver {
  97. background: #03c75a;
  98. color: #fff;
  99. }
  100. &--kakao {
  101. background: #fee500;
  102. color: rgba(0, 0, 0, 0.85); // 카카오 가이드: 검정 85%
  103. }
  104. }
  105. &__icon {
  106. &--naver {
  107. font-weight: 800;
  108. font-size: 1.063rem;
  109. line-height: 1;
  110. }
  111. &--kakao {
  112. width: 18px;
  113. height: 18px;
  114. }
  115. }
  116. }
  117. @media (max-width: 420px) {
  118. #loginForm {
  119. fieldset {
  120. padding: 1rem 0 0 0;
  121. border: none;
  122. > legend {
  123. position: initial;
  124. padding: initial;
  125. font-size: 1rem;
  126. font-weight: bold;
  127. }
  128. > form {
  129. padding: 0;
  130. }
  131. > hr {
  132. display: block;
  133. }
  134. }
  135. }
  136. }
  137. @media (max-width: 768px) {
  138. #loginForm {
  139. fieldset {
  140. width: 100%;
  141. > form {
  142. padding: 1rem 0 0 0;
  143. }
  144. }
  145. }
  146. }