Files
shoptime/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.module.less
junghoon86.park e97172fad5 [모바일 샌드 팝업] qvc일때 원형으로 짤리는부분 수정
- qvc에서는 border-radius제거.
 - theme item일때 에러나는부분때문에 옵셔널체이닝 처리.
2025-12-15 09:43:22 +09:00

222 lines
5.1 KiB
Plaintext

@import '../../style/CommonStyle.module.less';
@import '../../style/utils.module.less';
/* 🆕 [NEW] Figma 디자인용 타이틀 헤드 스타일 */
.titleHead {
align-self: stretch;
padding: 30px;
background: #e7ebef;
display: flex;
justify-content: flex-start; // center → flex-start
align-items: center;
.titleHead__text {
text-align: left; // center → left
color: black;
font-size: 32px;
font-family: 'LG Smart UI';
font-weight: 700;
line-height: 42px;
word-wrap: break-word;
}
}
/* 🆕 [NEW] Figma 헤더 TopRow - brandLogo + productId */
.headerTopRow {
display: flex;
align-items: center;
margin-bottom: 5px; // TV 호환: gap 대신 margin 사용
.headerTopRow__brandLogo {
width: 50px;
height: 50px;
margin-right: 15px; // TV 호환: gap 대신 margin 사용
border-radius: 100%;
&.headerTopRow__brandLogo__qvc {
border-radius: 0;
}
}
.headerTopRow__productId {
color: #808080;
font-size: 24px;
font-family: 'LG Smart UI';
font-weight: 600;
line-height: 18px;
word-wrap: break-word;
}
}
.container {
z-index: 500;
.container__header {
position: relative;
&::after {
width: 100%;
height: 85px;
position: absolute;
left: 0;
top: 0;
z-index: 0;
content: '';
}
display: flex;
> .container__header__productImg,
> .container__header__textBox {
position: relative;
z-index: 1;
}
> .container__header__textBox {
margin-top: 30px;
margin-left: 15px;
width: 885px;
height: 100px;
}
> .container__header__textBoxOnly {
width: 100%;
margin-left: 30px;
}
> .container__header__productImg {
margin: 30px 0px 0 30px; // 60px → 30px로 변경
> .container__header__productImg__img {
.border-solid(@size:1px,@color:#cccccc);
width: 100px; // 132px → 100px (Figma 크기)
height: 100px; // 132px → 100px (Figma 크기)
margin-bottom: 20px;
}
}
.container__header__smsTitle {
width: 940px;
text-align: left;
font-size: 34px;
font-weight: bold;
line-height: normal;
color: @COLOR_BLACK;
padding: 25px 30px 20px 30px;
}
.container__header__subTitle {
width: 940px;
text-align: left;
font-weight: normal;
font-size: 28px;
color: @COLOR_GRAY06;
padding: 10px 30px 0 0px; // 60px → 30px로 변경
text-align: left;
.elip(@clamp:1);
}
.container__header__subTitleOnly {
width: 100%;
line-height: 60px;
text-align: center;
padding: 10px 30px 10px 30px; // 60px → 30px로 변경
}
.container__header__price {
padding: 0 30px 20px 30px; // 60px → 30px로 변경
font-size: 28px;
font-weight: bold;
color: @PRIMARY_COLOR_RED;
}
}
.container__smsArea {
display: flex;
flex-direction: row; // 가로 배치
align-items: flex-start;
margin: 10px 30px 0 30px; // 위 10px, 좌우 30px
width: 1060px; // 좌우 마진 제외한 전체 너비
height: 422px; // PhoneInputSection 높이와 동일
flex-shrink: 0; // 크기 고정
justify-content: center;
.container__smsArea__smsContainer {
flex: none; // 남은 공간을 모두 차지하도록
// min-width: 400px; // 최소 너비 보장
// max-width: 639.6px; // 최대 너비 제한
width: 492.5px;
height: 412px;
margin-right: 15px; // 오른쪽 15px 마진
background: rgba(87, 94, 102, 0.95);
border-radius: 12px;
padding: 30px;
.smsNumLayer {
width: 432.5px;
height: 54px;
background: rgba(230, 230, 230, 0.2);
border-radius: 6px;
}
.inputNum {
position: relative;
line-height: 54px;
width: 432.5px;
height: 54px;
cursor: text;
font-weight: normal;
font-size: 28px;
color: #e6e6e6;
text-align: center;
&.rucInput {
margin-right: 8px;
}
&:focus {
&::after {
.focused();
}
}
}
}
.errTxt {
width: 100%;
height: 26px;
margin: 30px 0;
text-align: center;
font-size: 22px;
color: #fb5656;
}
.flex {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.instruction {
width: 492.5px; // 고정 너비
height: 412px; // PhoneInputSection과 동일한 높이
padding: 30px;
background: #f8f8f8;
border-radius: 12px;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-shrink: 0; // 크기 고정
> span {
color: #808080;
font-size: 20px;
line-height: 24px;
}
}
}
.container__btnContainer {
display: flex;
justify-content: center;
padding: 30px 0;
> div {
margin-top: 2;
min-width: 340px;
height: 80px;
margin: 0 10px;
background: @COLOR_GRAY09;
&:focus {
background: @PRIMARY_COLOR_RED;
}
}
}
}