/** @format */ import styled from 'styled-components'; const SubModalWrapper = styled.div` padding: 16px 16px 32px; .title-info { display: inline-flex; align-items: center; .title { font-size: 18px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 26px; } .type-box { border-radius: 2px; padding: 2px 6px; font-size: 12px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 20px; margin-left: 10px; } } .center-box { display: flex; margin-top: 16px; .owner-info { flex-shrink: 1; width: 100%; .owner-top { display: flex; margin-top: 20px; .img-box { width: 76px; height: 76px; border-radius: 50%; background-size: cover; background-repeat: no-repeat; } } .owner-bottom { margin-top: 14px; } .top-right { margin-left: 16px; margin-top: 10px; } } .right-box { display: flex; flex-direction: column; flex-shrink: 1; } } .actual-living-info { margin-top: 24px; .sub-title { font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #ffffff; line-height: 24px; } table { width: 100%; margin-top: 6px; tr td:nth-child(1), tr th:nth-child(1) { padding-left: 10px; } tr:not(:first-child) { border-bottom: 1px solid #384466; } th, td { font-size: 14px; font-family: PingFang-SC-Medium, PingFang-SC; font-weight: 500; color: #ffffff; line-height: 36px; } tr:nth-child(1) { width: 670px; height: 36px; background: #384466; } } } .sub-title { font-size: 16px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #fff; line-height: 24px; &.mb2 { margin-bottom: 2px; } &.mb20 { margin-bottom: 20px; } &.mt24 { margin-top: 24px; } } .text { font-size: 14px; font-family: PingFang-SC-Medium, PingFang-SC; font-weight: 500; color: #ffffff; line-height: 28px; } .room-pic { display: flex; justify-content: center; align-items: center; margin-top: 16px; } `; export { SubModalWrapper };