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;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
`;
|
||||
|
||||
export const calendarTopTick = css`
|
||||
@ -19,14 +19,14 @@ export const calendarTopTick = css`
|
||||
|
||||
export const calendarTopText = css`
|
||||
text-anchor: middle;
|
||||
fill: #555;
|
||||
font-size: 12px;
|
||||
/* fill: #555; */
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
font-weight: 500;
|
||||
`;
|
||||
|
||||
export const calendarHeader = css`
|
||||
|
@ -68,10 +68,10 @@ export const Gantt: any = (props: any) => {
|
||||
barProgressSelectedColor = '#1890ff',
|
||||
barBackgroundColor = '#1890ff',
|
||||
barBackgroundSelectedColor = '#1890ff',
|
||||
projectProgressColor = '#52c41a',
|
||||
projectProgressSelectedColor = '#52c41a',
|
||||
projectBackgroundColor = '#52c41a',
|
||||
projectBackgroundSelectedColor = '#52c41a',
|
||||
projectProgressColor = '#1890ff',
|
||||
projectProgressSelectedColor = '#1890ff',
|
||||
projectBackgroundColor = '#1890ff',
|
||||
projectBackgroundSelectedColor = '#1890ff',
|
||||
milestoneBackgroundColor = '#f1c453',
|
||||
milestoneBackgroundSelectedColor = '#f29e4c',
|
||||
rtl = false,
|
||||
|
@ -8,8 +8,6 @@ export const Project: React.FC<TaskItemProps> = ({ task, isSelected }) => {
|
||||
const processColor = isSelected ? task.styles.progressSelectedColor : task.styles.progressColor;
|
||||
const projectWith = task.x2 - task.x1;
|
||||
|
||||
console.log('task', task);
|
||||
|
||||
return (
|
||||
<g tabIndex={0} className={cx(projectWrapper)}>
|
||||
<rect
|
||||
|
@ -15,7 +15,7 @@ export const barLabel =css`
|
||||
`
|
||||
export const projectLabel =css`
|
||||
fill: #130d0d;
|
||||
font-weight: 600;
|
||||
font-weight: 500;
|
||||
font-size: 0.9em;
|
||||
dominant-baseline: central;
|
||||
-webkit-touch-callout: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user