import styled from 'styled-components'; export const Wrapper = styled.div` width: 589px; height: 488px; margin-top: 32px; background: #FFFFFF; box-shadow: 0 0 4px 0 rgba(0,0,0,0.20); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; ` export const Header = styled.div` display: flex; background-image: linear-gradient(90deg, #1D86F0 1%, #5CADFF 100%); height: 34px; align-items: center; font-size: 14px; color: #FFF; justify-content: space-between; padding: 0 16px; ` export const Body = styled.div` display: flex; flex: 1; flex-direction: column; padding: 0 17px; height: 0; ` export const Filter = styled.div` display: flex; flex-direction: column; margin-top: 20px; ` export const FilterTop = styled.div` display: flex; flex-direction: row; justify-content: space-between; ` export const FilterLeftWrapper=styled.div` width: 258px; display: flex; align-items: center; justify-content: space-between; ` export const UserSelectorWrapper = styled.div` height: 26px; background-color: rgb(255, 255, 255); cursor: pointer; font-size: 14px; color: #36434D; user-select: none; box-sizing: border-box; display: flex; border-radius: 4px; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); background: #FFF; align-items: center; padding: 0 5px; span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tu-icon-sort-up { transform: rotate(180deg); color: #BFC3C7; transition: transform .3s ease; } ` export const SearchWrapper = styled.div` width: 174px; height: 22px; display: flex; justify-content: space-between; ` export const FilterBottom = styled.div` display: flex; flex-direction: row; align-items: flex-start; padding: 6px; background: #FAFBFC; border-radius: 2px; font-size: 12px; line-height: 22px; >span { color: #36434D; margin-right: 10px; white-space: nowrap; } ` export const FilterOptionsWrapper = styled.div` display: flex; flex-direction: row; flex-wrap: wrap; flex: 1; a { color: #1D86F0; margin-right: 9px; cursor: pointer; } ` export const OptionItem = styled.span` color: #36434D; white-space: normal; word-break: break-all; margin-right: 10px; line-height: 22px; i { color: #C4CCD2; font-size: 16px; cursor: pointer; margin-left: 5px; vertical-align: sub; } i:hover { color: #EE4344; } ` export const List = styled.ul` overflow: auto; flex: 1; &:empty::after { content: '\\6682\\65e0\\6570\\636e'; display:block; color: #c5c5c5; border: dashed 1px #c5c5c5; padding: 30px 25px; border-radius: 3px; text-align: center; font-size: 22px; line-height: 30px; margin-top: 100px; } ` export const ItemWrapper = styled.li` height: 60px; border-bottom: 1px dashed #F0F2F5; display: flex; flex-direction: column; box-sizing: border-box; padding-top: 8px; padding-right: 30px; ` export const ItemTop = styled.div` display: flex; align-items: center; ` export const Radio = styled.a` display: flex; align-items: center; justify-content: center; height: 15px; width: 15px; border: 1px solid ${(p:any) => p.active ? '#1D86F0' : '#E6E8EB'}; border-radius: 50%; &::after { content: ''; display: ${(p:any) => p.active ? 'block' : 'none'}; width: 9px; height: 9px; border-radius: 50%; background-color: #1D86F0; } ` export const Tag = styled.div` width: 63px; height: 21px; border-radius: 12.5px; background-color: ${(p:any) => `rgba(${p.color},0.1)`}; color: ${(p:any) => `rgb(${p.color})`}; display: flex; align-items: center; justify-content: center; font-size: 12px; margin: 0 12px 0 9px; ` export const OkrName = styled.span` flex: 1; width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: #33383D; font-weight: 600; ` export const ItemBottom = styled.div` padding-left: 97px; display: flex; align-items: center; font-size: 12px; color: #83898F; ` export const PricipleName = styled.span` max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; ` export const Separator = styled.div` width: 1px; height: 10.6px; background-color: #E6E8EB; margin: 0 10px; ` export const Footer = styled.div` display: flex; height: 50px; align-items: center; justify-content: flex-end; padding: 0 16px; ` export const Button = styled.a` display: block; width: 58px; height: 27px; box-shadow: 0 0 2px 0 rgba(0,0,0,0.21); border-radius: 2px; background-color: ${(p:any) => p.type !='confirm' ? '#FAFBFC' : (p.disabled ? '#E7EEF3': '#1D86F0') }; color: ${(p:any) => p.type != 'confirm' ? '#565E66' : '#FFF'}; cursor: pointer; text-align: center; line-height: 27px; &:hover { color: ${(p:any) => p.type != 'confirm' ? '#565E66' : '#FFF'}; } ` export const KrItemWrapper = styled.div` margin: 10px 0; display: flex; align-items: top; width: 100%; ` export const KrTag = styled.div` background: rgba(46,156,255,0.1); border-radius: 11.5px; height: 20px; line-height: 20px; font-size: 12px; color: #2E9CFF; margin-right: 10px; padding: 0 9px; ` export const ProgressText = styled.div` font-size: 12px; color: #83898F; line-height: 20px; white-space: nowrap; width: 70px; margin-left: 10px; span { color: #1D86EF; } ` export const LoadMore = styled.div` display:flex; align-items:center; justify-content:center; color: #83898F!important; font-size:14px; margin-top:16px; a { display:flex; align-items:center; color: #83898F!important; } i { color: #83898F!important; } ` export const NoMore = styled.div` color: #83898F!important; font-size:14px; margin-top:16px; text-align: center `