[styles] utils, focused 추가

Detail Notes :

1. focused 상태의 변수 추가
This commit is contained in:
younghoon100.park
2024-02-05 18:08:36 +09:00
parent 88f31cce4f
commit cec6535063

View File

@@ -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;