[styles] utils, focused 추가
Detail Notes : 1. focused 상태의 변수 추가
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user