check box 중립 디자인 추가

This commit is contained in:
김창수 2025-05-22 16:45:45 +09:00
parent 437a8e0f22
commit 4cd3b8c958
5 changed files with 25 additions and 4 deletions

View File

@ -87,6 +87,10 @@ export default function InputCommonPage() {
<input type="checkbox" id="ch06" disabled/> <input type="checkbox" id="ch06" disabled/>
<label htmlFor="ch06">Check Box</label> <label htmlFor="ch06">Check Box</label>
</div> </div>
<div className="check-form-box space" >
<input type="checkbox" id="ch07" defaultChecked/>
<label htmlFor="ch07">Check Box</label>
</div>
</div> </div>
</div> </div>
<div className="design-box" > <div className="design-box" >

View File

@ -29,7 +29,7 @@ export default function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`${geistSans.variable} ${geistMono.variable} antialiased`}
> >
{children} {children}
<Spinner/> {/* <Spinner/> */}
</body> </body>
</html> </html>
); );

View File

@ -24,7 +24,7 @@ export default function RoofCompliancePage(){
<button className="top-btn"></button> <button className="top-btn"></button>
</div> </div>
{/* 지붕제 적합성 상세 팝업 */} {/* 지붕제 적합성 상세 팝업 */}
<RoofComplianceDetailPop/> {/* <RoofComplianceDetailPop/> */}
</> </>
) )
} }

View File

@ -4,8 +4,8 @@ export default function RoofComplianceCheckData(){
return( return(
<div className={`compliance-check-bx act`}> <div className={`compliance-check-bx act`}>
<div className="check-name-wrap"> <div className="check-name-wrap">
<div className="check-form-box ch-bld"> <div className="check-form-box ch-bld space" >
<input type="checkbox" id="ch01"/> <input type="checkbox" id="ch01" defaultChecked/>
<label htmlFor="ch01"></label> <label htmlFor="ch01"></label>
</div> </div>
<div className="check-name-btn"> <div className="check-name-btn">

View File

@ -98,6 +98,23 @@
color: #8595A7; color: #8595A7;
} }
} }
&.space{
label{
&::after{
top: 8px;
left: 0px;
width: 10px;
height: 2px;
border: none;
background-color: transparent;
transform: translate(50%, 50%);
-ms-transform: none;
}
}
input[type="checkbox"]:checked + label::after{
background-color: #fff;
}
}
} }
// radio box // radio box