Files
shoptime/com.twin.app.shoptime/src/views/IntroPanel/IntroPanel.new.module.less
2025-06-15 23:02:15 +09:00

385 lines
8.7 KiB
Plaintext

@import "../../style/CommonStyle.module.less";
@import "../../style/utils.module.less";
.panel {
> section {
color: @COLOR_GRAY06;
}
}
.introLayout {
width: 100%;
height: 100%;
padding: 45.5px 43px;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 40px;
display: inline-flex;
background-color: @BG_COLOR_03;
// 첫 번째 영역: 헤더 섹션 (타이틀 + 설명)
.headerSection {
width: 1834px;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 40px;
display: flex;
.titleContainer {
align-self: stretch;
justify-content: center;
align-items: center;
gap: 14px;
display: inline-flex;
.welcomeText {
color: #807F81;
font-size: 62px;
font-family: 'LG Smart UI';
font-weight: 400;
line-height: 62px;
word-wrap: break-word;
}
.brandContainer {
.shopText {
color: #57585A;
font-size: 70px;
font-family: 'LG Smart_Korean';
font-weight: 700;
line-height: 75px;
word-wrap: break-word;
}
.oText {
color: #C91D53;
font-size: 70px;
font-family: 'LG Smart_Korean';
font-weight: 700;
line-height: 75px;
word-wrap: break-word;
}
.timeText {
color: #57585A;
font-size: 70px;
font-family: 'LG Smart_Korean';
font-weight: 700;
line-height: 75px;
word-wrap: break-word;
}
}
}
.descriptionContainer {
align-self: stretch;
justify-content: center;
align-items: center;
gap: 10px;
display: inline-flex;
.descriptionText {
width: 1012.49px;
text-align: center;
color: #807F81;
font-size: 36px;
font-family: 'LG Smart UI';
font-weight: 400;
line-height: 43px;
word-wrap: break-word;
}
}
}
// 두 번째 영역: 약관 선택 섹션
.termsSection {
align-self: stretch;
justify-content: center;
align-items: flex-start;
display: inline-flex;
.termsLeftPanel {
flex: 1 1 0;
padding-left: 60px;
padding-right: 60px;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 20px;
display: inline-flex;
.termsItem {
justify-content: flex-start;
align-items: center;
gap: 20px;
display: inline-flex; .checkbox {
/* TCheckBoxSquare 컴포넌트가 스타일링을 담당 */
width: 45px;
height: 45px;
}
.termsButton {
width: 530px;
height: 120px;
padding: 0 50px;
background: @COLOR_WHITE;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.20);
border-radius: 6px;
border: 1px solid #CFCFCF;
justify-content: space-between;
align-items: center;
display: flex;
cursor: pointer;
transition: all 0.3s ease;
will-change: transform;
.termsText {
// color: #207847;
color: black;
font-size: 35px;
font-family: 'LG Smart UI';
font-weight: 700;
line-height: 35px;
word-wrap: break-word;
transition: color 0.3s ease;
}
포커스 상태
&.focused {
outline: 2px #C91D53 solid !important;
outline-offset: 2px !important;
background-color: rgba(201, 29, 83, 0.1) !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 12px rgba(201, 29, 83, 0.3) !important;
.termsText {
color: #C70850;
}
}
// 호버 효과
&:hover {
background-color: rgba(255, 255, 255, 0.1);
transform: translate3d(0, -2px, 0);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
.termsText {
color: #C70850;
font-weight: bold;
}
}
}
}
} .termsRightPanel {
flex: 1 1 0;
align-self: stretch;
padding-left: 60px;
padding-right: 60px;
border-left: 1px #C5C6C9 solid;
justify-content: flex-start;
align-items: center;
gap: 10px;
display: flex;
.optionalDescription {
width: 595px;
color: #807F81;
font-size: 26px;
font-family: 'LG Smart UI';
font-weight: 400;
line-height: 43px;
word-wrap: break-word;
}
// OptionalTermsInfo 컴포넌트 스타일
.termsInfo {
width: 100%;
height: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
}
// 세 번째 영역: Select All
.selectAllSection {
justify-content: center;
align-items: center;
gap: 15px;
display: inline-flex; .selectAllCheckbox {
/* TCheckBoxSquare 컴포넌트가 스타일링을 담당 */
width: 45px;
height: 45px;
}
.selectAllText {
color: @COLOR_BLACK;
font-size: 35px;
font-family: 'LG Smart UI';
font-weight: 700;
line-height: 35px;
word-wrap: break-word;
}
}
// 네 번째 영역: 버튼 섹션
.buttonSection {
width: 940px;
height: 100px;
position: relative;
display: flex;
gap: 40px;
justify-content: center;
.agreeButton {
width: 450px;
height: 100px;
background-color: #C70850 !important;
border: 2px solid #C70850 !important;
color: white !important;
border-radius: 12px;
font-size: 35px;
font-family: 'LG Smart UI';
font-weight: 700;
line-height: 35px;
cursor: pointer;
transition: all 0.3s ease;
// 포커스 상태
&.focused {
background-color: #a40640 !important;
border-color: #a40640 !important;
color: white !important;
transform: scale(1.05);
}
// 호버 효과
&:hover {
background-color: #a40640 !important;
border-color: #a40640 !important;
color: white !important;
transform: scale(1.05);
}
// 비활성화 상태
&:disabled {
background-color: @COLOR_GRAY03 !important;
border-color: @COLOR_GRAY03 !important;
cursor: not-allowed;
transform: none;
}
}
.disagreeButton {
width: 450px;
height: 100px;
background-color: #999999 !important;
border: 2px solid #999999 !important;
color: white !important;
border-radius: 12px;
font-size: 35px;
font-family: 'LG Smart UI';
font-weight: 700;
line-height: 35px;
cursor: pointer;
transition: all 0.3s ease;
// 포커스 상태
&.focused {
background-color: #7a7a7a !important;
border-color: #7a7a7a !important;
color: white !important;
transform: scale(1.05);
}
// 호버 효과
&:hover {
background-color: #7a7a7a !important;
border-color: #7a7a7a !important;
color: white !important;
transform: scale(1.05);
}
}
}
}
/* intro terms popup */
.introTermsConts {
background-color: #f8f8f8;
> div:nth-child(2) {
background-color: @COLOR_WHITE;
border: 1px solid @COLOR_GRAY02;
width: 980px;
height: 300px;
}
.termsDesc {
padding: 30px;
min-height: 300px;
color: @COLOR_GRAY03;
font-size: 24px;
line-height: 1.27;
letter-spacing: normal;
text-align: left;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
.tab {
width: 980px;
}
}
// ✅ 로컬 체크박스 스타일로 변경
.customCheckbox {
width: 45px;
height: 45px;
position: relative;
&:before {
content: '';
width: 42px;
height: 42px;
background: @COLOR_WHITE;
border: 2px solid @COLOR_GRAY02;
border-radius: 4px;
display: block;
}
// 선택된 상태
&.selected:before {
background: #C91D53;
border-color: #C91D53;
}
// 선택된 상태의 체크 마크
&.selected:after {
content: '✓';
color: @COLOR_WHITE;
font-size: 24px;
font-weight: bold;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
&.focused:before {
border-color: #C91D53;
box-shadow: 0 0 10px rgba(199, 8, 80, 0.3);
}
// 비활성화 상태
&.disabled:before {
background: @COLOR_GRAY01;
border-color: @COLOR_GRAY02;
opacity: 0.5;
}
}