[components] TItemCard, css 수정
Detail Notes : 1. focused 상태의 border 수정
This commit is contained in:
@@ -73,10 +73,10 @@
|
||||
}
|
||||
|
||||
/* focused */
|
||||
&:focus-within {
|
||||
border: solid 1px @PRIMARY_COLOR_RED;
|
||||
box-shadow: inset 0 0 0 4px @PRIMARY_COLOR_RED,
|
||||
0 0 50px 0 rgba(0, 0, 0, 0.5);
|
||||
&:focus {
|
||||
&::after {
|
||||
.focused(@boxShadow:50px, @borderRadius:12px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
// best sellet
|
||||
// best seller
|
||||
> div:nth-child(3) {
|
||||
.position(@position: absolute, @top: -1px, @left: 18px);
|
||||
.flex(@direction: column, @justifyCenter: space-between);
|
||||
@@ -173,10 +173,10 @@
|
||||
}
|
||||
|
||||
/* focused */
|
||||
&:focus-within {
|
||||
border: solid 1px @PRIMARY_COLOR_RED;
|
||||
box-shadow: inset 0 0 0 4px @PRIMARY_COLOR_RED,
|
||||
0 0 50px 0 rgba(0, 0, 0, 0.5);
|
||||
&:focus {
|
||||
&::after {
|
||||
.focused(@boxShadow:50px, @borderRadius:12px);
|
||||
}
|
||||
|
||||
// best seller
|
||||
div:nth-child(3) {
|
||||
|
||||
Reference in New Issue
Block a user