.Appreciate { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; background: url('../../../../assets/img/layoutBg.png') no-repeat; background-size: 100% 100%; padding: 0 100px; :global { .top_A { width: 100%; height: 18%; display: flex; align-items: flex-end; padding-bottom: 30px; gap: 20px; .search { width: 250px; height: 40px; background-color: rgba(248, 241, 226, 1); display: flex; align-items: center; border-radius: 25px; border: 1px solid rgba(248, 241, 226, 1); &:hover { border: 1px solid rgb(194, 164, 116); } & > input { width: 180px; height: 30px; line-height: 30px; background-color: transparent; border: none; outline: none; font-size: 16px; color: rgba(159, 91, 44, 1); margin-left: 20px; &::placeholder { font-weight: lighter; color: rgba(230, 203, 160, 1); font-size: 14px; letter-spacing: 1px; } } & > img { width: 20px; height: 20px; margin-left: 10px; cursor: pointer; } } .texture, .type { width: 200px; height: 40px; color: rgba(159, 91, 44, 1); display: flex; align-items: center; .label { width: 50px; height: 100%; line-height: 40px; text-align: center; font-size: 16px; } .ant-select { color: rgba(159, 91, 44, 1); width: 120px; .ant-select-selector { background-color: rgba(248, 241, 226, 1); height: 40px; border-radius: 50px; .ant-select-selection-placeholder { padding-right: 9px; } .ant-select-selection-item { line-height: 40px; text-align: center; } &:hover { border: 1px solid rgba(230, 203, 160, 1); } } } } .type { .label { width: 80px; } } .total { font-size: 16px; color: rgba(159, 91, 44, 1); } } .content { width: 100%; height: 72%; overflow: auto; &::-webkit-scrollbar { width: 0; height: 0; } .scroll { width: 100%; height: 100%; display: flex; align-items: center; align-content: flex-start; gap: 1.5%; flex-wrap: wrap; } .item { width: 23.5%; height: 300px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; cursor: pointer; .img { width: 100%; height: 90%; background-color: rgba(248, 241, 226, 1); & > img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; } } .txt { width: 100%; height: 10%; line-height: 30px; text-align: center; font-size: 16px; color: rgba(159, 91, 44, 1); } } } .page { display: flex; width: 100%; height: 10%; flex-direction: column; align-items: center; .ant-pagination-item-active { background-color: rgba(248, 241, 226, 1); border: none; } } .detail { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(255, 251, 244, 1); & > iframe { width: 100%; height: 100%; border: none; } .info { position: absolute; top: 8%; left: 3%; display: flex; align-items: center; width: 350px; height: 280px; background-color: rgba(251, 242, 227, 1); border: 1px solid rgba(230, 203, 160, 1); border-radius: 10px; padding: 30px 10px; .arrow { width: 33px; padding-right: 20px; height: 100%; display: flex; align-items: center; cursor: pointer; & > img { width: 100%; object-fit: contain; } } .arrowR { width: 23px; padding: 0; padding-left: 10px; } .content { width: 350px; height: 100%; display: flex; flex-direction: column; gap: 10px; & > div { width: 100%; font-size: 15px; color: rgba(159, 91, 44, 1); letter-spacing: 1px; } .title { text-align: left; width: fit-content; height: 20px; font-size: 18px; font-weight: bold; color: rgba(159, 91, 44, 1); &::after { content: ''; position: relative; bottom: 8px; left: -10%; display: block; width: 120%; height: 10px; background-color: rgba(159, 91, 44, 0.5); } } .texture { margin-top: 20px; } .size { height: 80px; } } } .hideInfo { transform: translateX(-320px); transition: all 0.3s ease-in-out; .arrow { transform: rotate(180deg); opacity: 0; } .arrowR { transform: translateX(0); opacity: 1; } } .showInfo { transform: translateX(0); transition: all 0.3s ease-in-out; .arrowR { transform: rotate(180deg); opacity: 0; } } .close { position: absolute; top: 30px; right: 30px; width: 35px; height: 35px; background: url('../../../../assets/img/close.png') no-repeat center center; background-size: 100% 100%; cursor: pointer; & > img { width: 100%; object-fit: contain; } } .bigger { position: absolute; bottom: 90px; right: 30px; width: 35px; height: 35px; background: url('../../../../assets/img/enlarge_on.png') no-repeat center center; background-size: 100% 100%; cursor: pointer; & > img { width: 100%; object-fit: contain; } } .smaller { position: absolute; bottom: 30px; right: 30px; width: 35px; height: 35px; background: url('../../../../assets/img/narrow_off.png') no-repeat center center; background-size: 100% 100%; cursor: pointer; & > img { width: 100%; object-fit: contain; } } } .detail2 { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(255, 251, 244, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; .swiper_container { width: 50%; height: 60%; perspective: 1500px; .swiper-slide-shadow-coverflow { background-image: none; } .swiper-button-arr-custom { width: 50px; height: 65px; &:after { content: ''; } & > img { width: 50px; height: 55px; object-fit: cover; } } .itemCard { border-radius: 20px; margin: 0 auto; width: 90%; height: 100%; position: relative; cursor: pointer; transition: transform 0.3s ease; .name { width: 100%; height: 7%; text-align: center; font-weight: 600; font-size: 30px; color: #9d0800; letter-spacing: 5px; } .itemImage { width: 100%; height: 93%; background-color: rgba(241, 229, 208, 1); border-radius: 20px; & > img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; transition: all 0.3s ease; } } } } .swiper-button-arr-custom { left: 50%; transform: translateX(-50%); &:after { content: '' !important; } &.swiper-button-prev { transform: translate(-550px, -100px); } &.swiper-button-next { transform: translate(550px, -100px); } } .detail2Info { width: 40%; height: 20%; display: flex; flex-direction: column; align-items: center; gap: 10px; & > div { width: 100%; font-size: 17px; color: rgba(159, 91, 44, 1); letter-spacing: 1px; } .title { text-align: center; width: fit-content; height: 20px; font-size: 20px; font-weight: bold; color: rgba(159, 91, 44, 1); &::after { content: ''; position: relative; bottom: 8px; left: -10%; display: block; width: 120%; height: 10px; background-color: rgba(159, 91, 44, 0.5); } } .texture { margin-top: 20px; } .size { height: fit-content; } } .close { position: absolute; top: 30px; right: 30px; width: 35px; height: 35px; background: url('../../../../assets/img/close.png') no-repeat center center; background-size: 100% 100%; cursor: pointer; & > img { width: 100%; object-fit: contain; } } } } } @media screen and (max-width: 768px) { .Appreciate { padding: 0; background-image: none; background-color: rgba(255, 251, 244, 1); :global { .top_A { height: 100px; gap: 8px; align-items: center; padding: 0 20px; flex-wrap: wrap; .txt_A { width: 75px; white-space: nowrap; font-size: 18px; font-weight: bold; color: rgba(159, 91, 44, 1); } .search { max-width: 60%; width: calc(100% - 120px); height: 30px; background-color: rgba(248, 241, 226, 1); display: flex; align-items: center; border-radius: 25px; border: 1px solid rgba(248, 241, 226, 1); & > input { width: calc(100% - 45px); height: 30px; line-height: 30px; background-color: transparent; border: none; outline: none; font-size: 13px; color: rgba(159, 91, 44, 1); margin-left: 10px; &::placeholder { font-size: 10px; font-weight: 500; } } & > img { width: 15px; height: 15px; margin-left: 10px; cursor: pointer; } } .texture, .type { width: 48%; height: 30px; color: rgba(159, 91, 44, 1); display: flex; align-items: center; .label { width: 50px; height: 100%; line-height: 30px; text-align: center; font-size: 13px; } .ant-select { color: rgba(159, 91, 44, 1); width: 100px; .ant-select-selector { background-color: rgba(248, 241, 226, 1); height: 30px; border-radius: 50px; .ant-select-selection-item { line-height: 30px; text-align: center; } &:hover { border: none; } } } } .type { .label { width: 80px; } } .total { display: none; } } .content { width: 100%; height: calc(100% - 235px); overflow: auto; &::-webkit-scrollbar { width: 0; height: 0; } .scroll { width: 100%; height: 100%; display: flex; align-items: center; justify-content: flex-start; align-content: flex-start; gap: 5%; flex-wrap: wrap; padding: 0 10px; } .item { width: 47%; height: 170px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; cursor: pointer; .img { width: 100%; height: 80%; border-radius: 10px; background-color: rgba(250, 241, 227, 1); & > img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; } } .txt { width: 100%; height: 32px; line-height: 30px; text-align: center; font-size: 14px; color: rgba(159, 91, 44, 1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } .detail { .info { position: absolute; top: auto; bottom: -4%; left: 50%; display: flex; align-items: center; width: 90%; height: 280px; background-color: rgba(251, 242, 227, 1); border: 1px solid rgba(230, 203, 160, 1); border-radius: 10px; padding: 10px 30px; flex-direction: column; .arrow { height: 33px; padding: 0; padding-bottom: 20px; width: 100%; display: flex; align-items: center; cursor: pointer; & > img { height: 100%; object-fit: contain; } } .arrowR { height: 23px; padding: 0; padding-top: 10px; } .content { height: 260px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; & > div { width: 100%; font-size: 15px; color: rgba(159, 91, 44, 1); letter-spacing: 1px; } .title { height: 20px; font-size: 18px; font-weight: bold; color: rgba(159, 91, 44, 1); &::after { content: ''; position: relative; bottom: 8px; left: -10px; display: block; width: 100px; height: 10px; background-color: rgba(159, 91, 44, 0.5); } } .time { margin-top: 20px; } .size { height: 80px; } } } .hideInfo { transform: translate(-50%, 250px); transition: all 0.3s ease-in-out; .arrow { transform: rotate(0); opacity: 1; } .arrowR { opacity: 0; } } .showInfo { transform: translate(-50%, 0); transition: all 0.3s ease-in-out; .arrow { opacity: 0; } .arrowR { transform: rotate(0); opacity: 1; } } .bigger, .smaller { display: none; } } .detail2 { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(255, 251, 244, 1); display: flex; flex-direction: column; align-items: center; justify-content: center; .swiper_container { width: 90%; height: 60%; } .detail2Info { width: 90%; height: 20%; display: flex; flex-direction: column; align-items: center; gap: 10px; & > div { width: 100%; font-size: 17px; color: rgba(159, 91, 44, 1); letter-spacing: 1px; } .title { text-align: center; width: fit-content; height: 20px; font-size: 20px; font-weight: bold; color: rgba(159, 91, 44, 1); &::after { content: ''; position: relative; bottom: 8px; left: -10%; display: block; width: 120%; height: 10px; background-color: rgba(159, 91, 44, 0.5); } } .texture { margin-top: 20px; } .size { height: 80px; overflow: auto; &::-webkit-scrollbar { width: 0; height: 0; } } } .close { position: absolute; top: 30px; right: 30px; width: 35px; height: 35px; background: url('../../../../assets/img/close.png') no-repeat center center; background-size: 100% 100%; cursor: pointer; & > img { width: 100%; object-fit: contain; } } } } } }