mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
fix: style
This commit is contained in:
parent
d7e5e83f8a
commit
22f28a7ed4
@ -9,7 +9,7 @@ export const calendarBottomText = css`
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
font-size: 11px;
|
font-weight: 500;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const calendarTopTick = css`
|
export const calendarTopTick = css`
|
||||||
@ -19,14 +19,14 @@ export const calendarTopTick = css`
|
|||||||
|
|
||||||
export const calendarTopText = css`
|
export const calendarTopText = css`
|
||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
fill: #555;
|
/* fill: #555; */
|
||||||
font-size: 12px;
|
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
font-weight: 500;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const calendarHeader = css`
|
export const calendarHeader = css`
|
||||||
|
@ -68,10 +68,10 @@ export const Gantt: any = (props: any) => {
|
|||||||
barProgressSelectedColor = '#1890ff',
|
barProgressSelectedColor = '#1890ff',
|
||||||
barBackgroundColor = '#1890ff',
|
barBackgroundColor = '#1890ff',
|
||||||
barBackgroundSelectedColor = '#1890ff',
|
barBackgroundSelectedColor = '#1890ff',
|
||||||
projectProgressColor = '#52c41a',
|
projectProgressColor = '#1890ff',
|
||||||
projectProgressSelectedColor = '#52c41a',
|
projectProgressSelectedColor = '#1890ff',
|
||||||
projectBackgroundColor = '#52c41a',
|
projectBackgroundColor = '#1890ff',
|
||||||
projectBackgroundSelectedColor = '#52c41a',
|
projectBackgroundSelectedColor = '#1890ff',
|
||||||
milestoneBackgroundColor = '#f1c453',
|
milestoneBackgroundColor = '#f1c453',
|
||||||
milestoneBackgroundSelectedColor = '#f29e4c',
|
milestoneBackgroundSelectedColor = '#f29e4c',
|
||||||
rtl = false,
|
rtl = false,
|
||||||
|
@ -8,8 +8,6 @@ export const Project: React.FC<TaskItemProps> = ({ task, isSelected }) => {
|
|||||||
const processColor = isSelected ? task.styles.progressSelectedColor : task.styles.progressColor;
|
const processColor = isSelected ? task.styles.progressSelectedColor : task.styles.progressColor;
|
||||||
const projectWith = task.x2 - task.x1;
|
const projectWith = task.x2 - task.x1;
|
||||||
|
|
||||||
console.log('task', task);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<g tabIndex={0} className={cx(projectWrapper)}>
|
<g tabIndex={0} className={cx(projectWrapper)}>
|
||||||
<rect
|
<rect
|
||||||
|
@ -15,7 +15,7 @@ export const barLabel =css`
|
|||||||
`
|
`
|
||||||
export const projectLabel =css`
|
export const projectLabel =css`
|
||||||
fill: #130d0d;
|
fill: #130d0d;
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
dominant-baseline: central;
|
dominant-baseline: central;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user