fix: IntroPanel checkbox ui수정

This commit is contained in:
djaco
2025-06-26 16:55:50 +09:00
parent f86f9b6ce3
commit 47bdfab832
2 changed files with 6 additions and 50 deletions

View File

@@ -51,7 +51,7 @@ const Container = SpotlightContainerDecorator(
"div",
);
const MAX_RETRY_ATTEMPTS = 3;
const MAX_RETRY_ATTEMPTS = 5;
const RETRY_DELAY_MS = 1500; // 1.5 seconds
export default function IntroPanel({
@@ -793,13 +793,14 @@ export default function IntroPanel({
ariaLabel={$L("Optional Terms checkbox")}
/>
<TButton
className={css.termsButtonOptional}
className={css.termsButton}
onClick={handleOptionalTermsClickMST00405}
onFocus={handleFocusOptionalButton}
onBlur={handleBlur}
spotlightId="optionalButton"
type={TYPES.terms}
ariaLabel={$L("View Optional Terms")}
style={{ marginBottom: 0 }} // 제일 아래 버튼의 경우 margin-bottom 0
>
<span className={css.termsText}>{$L("Optional Terms")}</span>
</TButton>

View File

@@ -176,55 +176,10 @@
.termsText {
font-weight: bold !important;
}
}
.termsButtonOptional {
width: 530px;
height: 120px;
padding: 0 50px;
background: @COLOR_WHITE;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
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;
// margin-bottom: 20px;
.termsText {
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;
&.required {
color: @COLOR_GREEN;
}
}
// ✅ 포커스 및 호버 상태 (통합)
&.focused,
&:focus,
&:focus-visible,
&:hover {
outline: 4px #c91d53 solid !important;
outline-offset: 2px !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 12px rgba(201, 29, 83, 0.3) !important;
.termsText {
font-weight: bold !important;
}
}
}
}
}
}
}
}
.termsRightPanel {