From cec6535063fe0610cbd9784fd29231ba0db06187 Mon Sep 17 00:00:00 2001 From: "younghoon100.park" Date: Mon, 5 Feb 2024 18:08:36 +0900 Subject: [PATCH] =?UTF-8?q?[styles]=20=20utils,=20focused=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Detail Notes : 1. focused 상태의 변수 추가 --- com.twin.app.shoptime/src/style/utils.module.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/com.twin.app.shoptime/src/style/utils.module.less b/com.twin.app.shoptime/src/style/utils.module.less index 3e3b7507..9dc12705 100644 --- a/com.twin.app.shoptime/src/style/utils.module.less +++ b/com.twin.app.shoptime/src/style/utils.module.less @@ -6,6 +6,14 @@ flex-direction: @direction; } +.focused(@boxShadow: 0px, @borderRadius: 0px) { + .position(@position: absolute, @top: 0, @left: 0, @right: 0, @bottom: 0); + border: 4px solid @PRIMARY_COLOR_RED; + box-shadow: 0 0 @boxShadow 0 rgba(0, 0, 0, 0.5); + border-radius: @borderRadius; + content: ""; +} + .size(@w: 50px, @h: 50px) { width: @w; height: @h;