[detail] 버튼 부분 스타일 중복 제거 및 수정

- 중복 제거 및 flex 제거 .
This commit is contained in:
junghoon86.park
2025-10-21 12:01:55 +09:00
parent 0e431e085a
commit 635ab0cd50

View File

@@ -371,11 +371,8 @@
// 액션 버튼들 (actionButtons 참고)
.actionButtonsWrapper {
align-self: stretch;
width: 100%;
padding-top: 20px;
display: flex;
flex-direction: column;
> * {
margin-bottom: 5px;
&:last-child {
@@ -398,6 +395,7 @@
display: flex;
align-items: center;
justify-content: center;
width: 100%;
color: #eaeaea;
font-size: 25px;
@@ -427,22 +425,6 @@
}
}
// QR 래퍼 (imageSection 참고 - 240px 고정)
.qrWrapper {
width: 240px;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
> * {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
}
// ProductOverview 컨테이너 스타일 수정 (자식 요소에 맞게 크기 조정)
[class*="ProductOverview"] {
padding: 0 0 5px;
@@ -838,59 +820,6 @@
}
}
// 액션 버튼들 (actionButtons 참고)
.actionButtonsWrapper {
align-self: stretch;
padding-top: 20px;
display: flex;
flex-direction: column;
> * {
margin-bottom: 5px;
&:last-child {
margin-bottom: 0;
}
}
&:last-child {
padding: 0;
}
}
// 모든 버튼 기본 스타일 (PRODUCT DETAILS는 빨간색 아님!)
.productDetailsButton,
.userReviewsButton,
.youMayLikeButton {
align-self: stretch;
height: 60px;
background: rgba(255, 255, 255, 0.05); // 기본 회색 배경
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: #eaeaea;
font-size: 25px;
font-family: @baseFont; // LG Smart 폰트 사용
font-weight: 400; // Bold에서 Regular로 변경
line-height: 35px;
&:focus {
background: @PRIMARY_COLOR_RED; // 포커스시만 빨간색
}
}
.themeButton {
align-self: stretch;
height: 60px;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
margin-top: 10px;
&:focus {
background: @PRIMARY_COLOR_RED;
}
}
// QR 래퍼 (imageSection 참고 - 240px 고정)
.qrWrapper {
width: 240px;
@@ -937,43 +866,6 @@
}
}
// ProductOverview 컨테이너 스타일 수정 (자식 요소에 맞게 크기 조정)
[class*="ProductOverview"] {
padding: 0 0 5px;
// 내부 div (productInfoWrapper)
> div {
align-self: stretch;
justify-content: flex-start;
align-items: flex-start;
}
> div:first-child {
text-align: left;
}
}
// LayoutSample 포커스 테스트용 스타일
.layoutSample {
width: 1114px;
height: 300px;
background-color: yellow;
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
color: black;
font-size: 24px;
font-weight: bold;
cursor: pointer;
position: relative;
border-radius: 8px;
&:focus {
&::after {
.focused(@boxShadow:22px, @borderRadius:8px);
}
}
}
.arrow {
width: 238px;
height: 75px;