Vitalik 1 개월 전
부모
커밋
59a632ac36
4개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 0
      public/css/styles.css
  2. 0 0
      public/css/styles.css.map
  3. 3 1
      resources/sass/layout/_header.scss
  4. 1 1
      resources/view/layouts/partials/header.php

+ 5 - 0
public/css/styles.css

@@ -398,6 +398,11 @@ h1, h2, h3, h4, h5, h6 {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }
+.header__btn--secondary {
+  border: 1px solid var(--accent-color);
+  background: var(--accent-color);
+  color: #fff;
+}
 .header__btn--secondary:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
public/css/styles.css.map


+ 3 - 1
resources/sass/layout/_header.scss

@@ -99,7 +99,9 @@
         }
 
         &--secondary {
-            // background and color will be set dynamically
+            border: 1px solid var(--accent-color);
+            background: var(--accent-color);
+            color: #fff;
             &:hover {
                 transform: translateY(-1px);
                 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

+ 1 - 1
resources/view/layouts/partials/header.php

@@ -35,7 +35,7 @@ $menuItems = json_decode($content['menu'] ?? '[]', true);
                 <button class="header__btn header__btn--primary redirect-js">
                     <?= htmlspecialchars($content['header_btn_1'] ?? 'Button 1') ?>
                 </button>
-                <button class="header__btn header__btn--secondary redirect-js">
+                <button class="header__btn header__btn--secondary  redirect-js">
                     <?= htmlspecialchars($content['header_btn_2'] ?? 'Button 2') ?>
                 </button>
             <?php endif; ?>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.