From e689cdc1c5894dbb369d2bb5ed79ddc0f96ff3bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Wed, 8 Dec 2021 10:52:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=B4=ED=85=8C=EA=B3=A0=EB=A6=AC=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=20=EC=82=AC=EC=9D=B4=EB=93=9C=EB=B0=94=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/css/common.css | 18 +++- .../templates/fragments/leftMenu.html | 91 +++++++++++-------- .../resources/templates/layout/layout.html | 2 +- 3 files changed, 72 insertions(+), 39 deletions(-) diff --git a/src/main/resources/static/css/common.css b/src/main/resources/static/css/common.css index 434da4c..ae5afca 100644 --- a/src/main/resources/static/css/common.css +++ b/src/main/resources/static/css/common.css @@ -1,4 +1,3 @@ - .form-signin{ width: 100%; max-width: 330px; @@ -9,4 +8,21 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); +} + +.btn-toggle:hover, .btn-toggle:focus { + color: rgba(0, 0, 0, .85); + background-color: #d2f4ea; +} +.btn-toggle::before { + width: 1.25em; + line-height: 0; + content: url("/img/bootstrap-icons-1.7.1/caret-right-fill.svg"); + transition: transform .35s ease; + transform-origin: 0.5em 50%; +} +.btn-toggle[aria-expanded="true"]::before { + content: url("/img/bootstrap-icons-1.7.1/caret-down-fill.svg"); + /*왜 안돌까?*/ + /*transform: rotate(90deg);*/ } \ No newline at end of file diff --git a/src/main/resources/templates/fragments/leftMenu.html b/src/main/resources/templates/fragments/leftMenu.html index a0d0521..00fd03e 100644 --- a/src/main/resources/templates/fragments/leftMenu.html +++ b/src/main/resources/templates/fragments/leftMenu.html @@ -19,51 +19,68 @@
-
+
\ No newline at end of file diff --git a/src/main/resources/templates/layout/layout.html b/src/main/resources/templates/layout/layout.html index 493bf7f..6277d3c 100644 --- a/src/main/resources/templates/layout/layout.html +++ b/src/main/resources/templates/layout/layout.html @@ -9,7 +9,7 @@ - +