> extends PureComponent<
})}
>
({
+ display: 'flex',
+ flex: '0 0 auto',
+ height: '50%',
+ width: '100%',
+ borderColor: theme.TAB_BORDER_COLOR,
+
+ '&[data-wide-layout="0"]': {
+ borderBottomWidth: 1,
+ borderStyle: 'solid',
+ },
+
+ '&[data-wide-layout="1"]': {
+ height: '100%',
+ width: '44%',
+ borderRightWidth: 1,
+ borderStyle: 'solid',
+ },
+ flexFlow: 'column nowrap',
+ '& > form': {
+ flex: '0 0 auto',
+ borderBottomWidth: '1px',
+ borderBottomStyle: 'solid',
+ borderColor: theme.LIST_BORDER_COLOR,
+ },
+ '& > ul': {
+ flex: '1 1 auto',
+ overflowX: 'hidden',
+ overflowY: 'auto',
+ maxHeight: 'calc(100% - 70px)',
+ },
+ })}
data-wide-layout={+this.state.isWideLayout}
>
{
};
return {
- querySectionWrapper: {
- display: 'flex',
- flex: '0 0 auto',
- height: '50%',
- width: '100%',
- borderColor: map.TAB_BORDER_COLOR,
-
- '&[data-wide-layout="0"]': {
- borderBottomWidth: 1,
- borderStyle: 'solid',
- },
-
- '&[data-wide-layout="1"]': {
- height: '100%',
- width: '44%',
- borderRightWidth: 1,
- borderStyle: 'solid',
- },
- flexFlow: 'column nowrap',
- '& > :first-child': {
- flex: '0 0 auto',
- 'border-bottom-width': '1px',
- 'border-bottom-style': 'solid',
- 'border-color': map.LIST_BORDER_COLOR,
- },
- '& > :nth-child(n + 2)': {
- flex: '1 1 auto',
- overflowX: 'hidden',
- overflowY: 'auto',
- maxHeight: 'calc(100% - 70px)',
- },
- },
-
- queryList: {
- listStyle: 'none',
- margin: '0',
- padding: '0',
- },
-
- queryListItem: {
- 'border-bottom-width': '1px',
- 'border-bottom-style': 'solid',
- display: 'flex',
- 'justify-content': 'space-between',
- padding: '5px 10px',
- cursor: 'pointer',
- 'user-select': 'none',
- '&:last-child': {
- 'border-bottom-width': 0,
- },
- overflow: 'hidden',
- maxHeight: 47,
- 'border-bottom-color': map.BORDER_COLOR,
- },
-
- queryListItemKey: {
- display: '-webkit-box',
- boxOrient: 'vertical',
- '-webkit-line-clamp': 2,
- whiteSpace: 'normal',
- overflow: 'hidden',
- width: '100%',
- maxWidth: 'calc(100% - 70px)',
- wordBreak: 'break-all',
- margin: 0,
- },
-
- queryListHeader: {
- display: 'flex',
- padding: 4,
- flex: '0 0 auto',
- 'align-items': 'center',
- 'border-bottom-width': '1px',
- 'border-bottom-style': 'solid',
-
- 'border-color': map.LIST_BORDER_COLOR,
- },
-
- queryStatusWrapper: {
- display: 'flex',
- width: 'auto',
- justifyContent: 'center',
- alignItems: 'center',
- margin: 0,
- flex: '0 0 auto',
- overflow: 'hidden',
- },
-
- queryType: {
- marginRight: 4,
- },
-
- queryStatus: {
- display: 'inline-flex',
- alignItems: 'center',
- justifyContent: 'center',
- height: 22,
- padding: '0 6px',
- 'border-radius': '3px',
- 'font-size': '0.7em',
- 'line-height': '1em',
- 'flex-shrink': 0,
- fontWeight: 700,
- 'background-color': map.ACTION_TIME_BACK_COLOR,
- color: map.ACTION_TIME_COLOR,
- },
-
- queryListItemSelected: {
- 'background-color': map.SELECTED_BACKGROUND_COLOR,
- },
-
tabSelector: {
display: 'flex',
width: '100%',