/** @format */ import styled from 'styled-components'; const Box = styled.div` .ant-spin-container::after { background: #1c2126; } `; const CustomModalContent = styled.div` padding: 16px; .ant-cascader-picker { background: #16181e !important; } .ant-input { border: 1px solid rgba(171, 209, 255, 0.5) !important; color: #abd1ff !important; } .ant-input::-webkit-input-placeholder { color: #abd1ffff; } .ant-input::-moz-input-placeholder { color: #abd1ffff; } .ant-input::-ms-input-placeholder { color: #abd1ffff; } .ant-cascader-picker-arrow { color: #abd1ff !important; } .ant-cascader-picker { color: #abd1ff !important; } .custom-cascader-popup { background: rgba(22, 24, 30, 0.9); color: #fff; left: 0px !important; top: 34px !important; .ant-cascader-menu-item:hover { background: #343746 !important; } .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover { background: transparent !important; color: #0091ff !important; } .ant-cascader-menu { border-right: 1px solid #383737 !important; } .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon, .ant-cascader-menu-item-loading-icon { color: inherit !important; } } .filter { display: flex; position: relative; .filter-item { display: flex; flex-direction: row; margin-right: 10px; flex: 1; .filler-title { font-size: 16px; width: 80px; } .filter-cascader { flex-grow: 1; } .fillter-input { flex-grow: 1; /* width: 200px; */ height: 32px; border: 1px solid rgba(171, 209, 255, 0.5) !important; background: #16181e !important; } } .filter-submit { border: 1px solid #0091ff; background: #0091ff; color: white; width: 74px; border-radius: 4px; /* margin-left: 10px; */ height: 32px; &:nth-last-child(1) { margin-left: 10px; margin-right: 10px; } } } .house-list { display: flex; flex-wrap: wrap; height: 276px; overflow-y: overlay; margin: 5px 0 5px; align-content: flex-start; } .empty { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; img { width: 50px; height: auto; } } `; const CardItemWrapper = styled.div` width: 160px; height: 60px; position: relative; margin: 5px 10px 5px 0; cursor: pointer; transition: transform 0.3s; &:nth-child(4n) { margin-right: 0; } &:hover { box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.6); } .room-info { font-size: 20px; font-family: Arial-BoldMT, Arial; font-weight: normal; color: #ffffff; line-height: 36px; text-align: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; } .re-icon-tag { position: absolute; right: 5px; top: 0; } .room-footer { background: rgba(0, 0, 0, 0.4); line-height: 24px; font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #ffffff; padding-left: 12px; padding-right: 6px; display: flex; align-items: center; .number { margin-left: 6px; } } .icon { &.square { width: 8px; height: 8px; opacity: 0.79; &.unregister { background: #2cb4f9; } &.oneself { background: #2dc199; } &.rent { background: #feacad; } &.vacancy { background: #97a2ae; } } &.circle { width: 6px; height: 6px; border-radius: 3px; display: block; &.control { background: #fa6567; } &.assist { background: #ff9900; } } &.irregular { width: 10px; height: 12px; background: url(https://gt-toolbox.oss-cn-beijing.aliyuncs.com/gt-toolbox/e211655f-5752-4aa9-aea3-32b6832ec835.svg); } &.ml16 { margin-left: 16px; } &.ml-auto { margin-left: auto; } } `; const FooterWrapper = styled.div` display: flex; justify-content: center; align-items: center; padding: 9px 0; border-top: 1px solid rgba(24, 144, 255, 0.3); -webkit-touch-callout: none; -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none; /*早期浏览器*/ user-select: none; .tag-list { display: flex; align-items: center; .tag-item { margin-left: 10px; display: flex; height: 28px; flex-direction: row; align-items: center; justify-content: center; padding: 4px 12px; border: 1px solid rgba(151, 162, 174, 0.6); background: rgba(151, 162, 174, 0.16); border-radius: 16px; cursor: pointer; .text { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #ffffff; margin-left: 6px; line-height: 1; } &:nth-child(1) { margin-left: 0; } } .tag-active { border: 1px solid rgba(0, 145, 255, 1); background: rgba(0, 145, 255, 0.16); } .split-line { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.5); margin-left: 16px; margin-right: 5px; } } .icon { &.square { width: 8px; height: 8px; opacity: 0.79; &.unregister { background: #2cb4f9; } &.oneself { background: #2dc199; } &.rent { background: #feacad; } &.vacancy { background: #97a2ae; } } &.circle { width: 6px; height: 6px; border-radius: 3px; display: block; &.control { background: #fa6567; } &.assist { background: #ff9900; } } &.irregular { width: 10px; height: 12px; background: url(https://gt-toolbox.oss-cn-beijing.aliyuncs.com/gt-toolbox/e211655f-5752-4aa9-aea3-32b6832ec835.svg); } &.ml16 { margin-left: 16px; } &.ml-auto { margin-left: auto; } } `; const TabModeWrapper = styled.div` display: flex; position: absolute; top: 58px; right: 16px; .tab-block { display: flex; justify-content: center; align-items: center; width: 92px; height: 30px; border: 1px solid #004cad; font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 22px; cursor: pointer; } .selected { background: rgba(0, 76, 173, 0.5); } `; export { CustomModalContent, CardItemWrapper, FooterWrapper, TabModeWrapper, Box, };