.Home { width: 100%; height: 100vh; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(207, 202, 189, 1)); :global { .modelTxtBox { z-index: 10; opacity: 0; pointer-events: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; } .activeTxtBox { opacity: 1; pointer-events: auto; } .title { width: 100%; height: 90px; background-color: #741A1A; display: flex; justify-content: center; align-items: center; position: relative; .logo { width: 215px; &>img { width: 100%; } } } .mainBox { width: 1400px; margin: 10px auto 50px; height: calc(100% - 170px); position: relative; .screenBox { border-radius: 0 0 3px 3px; border-top: 6px solid #D9D9D9; box-shadow: 0px 0px 5px 3px #ccc; padding: 10px 24px; height: 60px; display: flex; justify-content: center; align-items: center; &>div { width: 300px; height: 30px; } .search { position: relative; .searchBtn { position: absolute; top: 0; left: 0; cursor: pointer; width: 30px; height: 30px; z-index: 2; } .searchClear { position: absolute; top: 0; right: 0; cursor: pointer; width: 30px; height: 30px; z-index: 2; display: flex; justify-content: center; align-items: center; } } .sortBox { margin: 0 40px; } } .modelBox::-webkit-scrollbar { width: 6px; } .modelBox::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #741A1A; } .modelBox::-webkit-scrollbar-track { border-radius: 10px; } .modelBox { border-radius: 3px 3px 0 0; margin-top: 10px; box-shadow: 0px 0px 5px 3px #ccc; background-color: rgba(255, 255, 255, 0.5000); width: 100%; height: calc(100% - 50px); overflow-y: auto; display: flex; flex-wrap: wrap; padding: 20px 15px 0; .modelBox_row { border-radius: 6px; overflow: hidden; cursor: pointer; width: 264px; height: 264px; background-color: #CFCABD; margin: 0 10px 10px 0; position: relative; .modelBox_row_hover { opacity: 0; position: none; transition: opacity .3s; text-align: center; display: flex; justify-content: center; align-items: center; color: #fff; padding: 50px; font-size: 24px; line-height: 34px; backdrop-filter: blur(4px); background-color: rgba(0,0,0,.8); position: absolute; top: 0; left: 0; border-radius: 6px; width: 100%; height: 100%; } &:hover { .modelBox_row_hover { opacity: 1; } } &:nth-of-type(5n) { margin-right: 0; } &>img { width: 264px; height: 224px; object-fit: cover; } p { height: 40px; display: flex; align-items: center; background-color: #741A1A; text-align: center; color: #fff; font-size: 16px; .row_txt1 { height: 100%; width: 100px; background-color: rgba(255, 255, 255, .6); line-height: 40px; border-right: 2px solid #fff; } .row_txt2 { height: 100%; flex: 1; line-height: 40px; } } } .noneList { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; .incoBox { font-size: 24px; display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; margin-bottom: 15px; background-color: #BE262B; border-radius: 50%; color: #fff; font-weight: 700; } &>p { font-weight: 700; font-size: 20px; } } } .page { margin-top: 10px; display: flex; justify-content: flex-end; } } } }