/** @format */ import styled from 'styled-components'; // Modal Container const Container = styled.div` .custom-modal-content { padding: 16px; .person-list { display: flex; overflow: overlay; padding-bottom: 12px; .person-item { margin-right: 24px; margin-top: 10px; cursor: pointer; &:hover { .img-box { box-shadow: 0 0 10px 0 #0091ff; } } &.active { .img-box { box-shadow: 0 0 1px 1px #0091ff; } } .img-box { width: 40px; height: 40px; border-radius: 50%; background-size: cover; background-repeat: no-repeat; margin-bottom: 8px; } } } .no-data-tip { .tip-content { width: 48px; height: 58px; background: url(https://gt-toolbox.oss-cn-beijing.aliyuncs.com/gt-toolbox/dfb856f7-5ac9-4d25-b6cf-d6297eb803bf.png) no-repeat; margin: 46px auto 56px; } } .person-info { margin-top: 8px; display: flex; .img-box { width: 110px; height: 110px; border-radius: 50%; background-size: cover; background-repeat: no-repeat; margin-right: 20px; flex-shrink: 1; } .label { width: 84px; height: 24px; border-radius: 2px; border: 1px solid rgba(255, 59, 48, 0.79); margin-left: 6px; padding: 2px 6px; font-size: 12px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ff3b30; line-height: 20px; &.danger { color: #ff3b30; border: 1px solid rgba(255, 59, 48, 0.79); } &.warning { color: #f8d000; border: 1px solid rgba(248, 208, 0, 0.79); } } } .level-block { width: 24px; height: 10px; display: inline-block; &.level-1 { background: #ff3b30; } &.level-2 { background: #f96d1a; } &.level-3 { background: #f8d000; } &.level-4 { background: #00a2ff; } &.level-5 { background: #00ce97; } } } `; const Title = styled.div` font-size: 18px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 26px; .ml16 { margin-left: 16px; } `; const SubTitle = styled.div` font-size: 16px; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #fff; line-height: 24px; margin-top: 24px; margin-bottom: 2px; `; const Name = styled.div` font-size: 14px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 22px; text-align: center; `; const Text = styled.div` font-size: 14px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #ffffff; line-height: 24px; width: 250px; &.lh28 { line-height: 28px; } .ml8 { margin-left: 8px; } .bold { font-weight: 600; } .danger { color: #ff3b30; } .pointer { cursor: pointer; &:hover { opacity: 0.9; } } .blue { color: #166fc2; } .underline { text-decoration: underline; } `; export { Container, Title, SubTitle, Name, Text };