[TabLayout, ShowProductContents, BestSeller, PopularShow, SubCategory, SearchResultsType] 스타일 일부 적용

This commit is contained in:
hyunwoo93.cha
2024-02-29 00:27:26 +09:00
parent c7242a0270
commit 74e6f98b9f
6 changed files with 82 additions and 62 deletions

View File

@@ -80,7 +80,7 @@
}
.scrollWrap {
> div {
> div > div {
padding-top: 30px;
}
}

View File

@@ -11,7 +11,7 @@
.grid {
width: 100%;
height: 490px;
> div {
> div > div {
> div {
> div {
display: flex;

View File

@@ -14,13 +14,17 @@
.homeBestSeller {
> div {
padding: 20px 60px 30px 60px;
display: flex;
margin-left: 60px;
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
padding: 20px 60px 30px 0;
display: flex;
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
}
}
}
}

View File

@@ -10,32 +10,36 @@
overflow: unset;
> div {
padding: 20px 60px 30px 60px;
display: flex;
margin-left: 60px;
.addItem {
flex: none;
.size(@w: 198px, @h: 438px);
background-color: @COLOR_WHITE;
border: 1px solid #e4e4e4;
box-sizing: border-box;
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-nor@3x.png");
background-size: 66px 66px;
background-position: center center;
background-repeat: no-repeat;
&:focus {
box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
.border-solid(@size:4px, @color:@PRIMARY_COLOR_RED);
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-sel@3x.png");
}
}
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
padding: 20px 60px 30px 0;
display: flex;
.addItem {
flex: none;
.size(@w: 198px, @h: 438px);
background-color: @COLOR_WHITE;
border: 1px solid #e4e4e4;
box-sizing: border-box;
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-nor@3x.png");
background-size: 66px 66px;
background-position: center center;
background-repeat: no-repeat;
&:focus {
box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
.border-solid(@size:4px, @color:@PRIMARY_COLOR_RED);
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-sel@3x.png");
}
}
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
}
}
}
}

View File

@@ -7,34 +7,38 @@
border: 1px solid #dadada;
overflow: unset !important;
> div {
padding: 19px 60px;
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: unset !important;
margin-left: 60px;
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
}
&.addItem {
flex: none;
.size(@w: 198px, @h: 438px);
background-color: @COLOR_WHITE;
.border-solid(@size:1px, @color:#e4e4e4);
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-nor@3x.png");
background-size: 66px 66px;
background-position: center center;
background-repeat: no-repeat;
padding: 19px 60px 19px 0;
display: flex;
flex-direction: row;
overflow-x: auto;
overflow-y: unset !important;
&:focus {
border: 4px solid @PRIMARY_COLOR_RED;
box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
> div {
flex: none;
margin-right: 18px;
&:last-child {
margin-right: 0;
}
&.addItem {
flex: none;
.size(@w: 198px, @h: 438px);
background-color: @COLOR_WHITE;
.border-solid(@size:1px, @color:#e4e4e4);
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-sel@3x.png");
background-image: url("../../../../assets/images/btn/ic-more-nor@3x.png");
background-size: 66px 66px;
background-position: center center;
background-repeat: no-repeat;
&:focus {
border: 4px solid @PRIMARY_COLOR_RED;
box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
border-radius: 12px;
background-image: url("../../../../assets/images/btn/ic-more-sel@3x.png");
}
}
}
}

View File

@@ -2,25 +2,33 @@
@import "../../../style/utils.module.less";
.container {
.flex();
margin: 30px 0 50px;
width: 100%;
> div {
.flex();
margin: 30px 0 50px;
width: 100%;
}
&.theme {
.grid {
height: 141px;
> div {
height: 141px;
}
}
}
&.show {
.grid {
height: 281px;
> div {
height: 281px;
}
}
}
&.item {
.grid {
height: 150px;
> div {
height: 150px;
}
}
}
}