mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
style: style improve
This commit is contained in:
parent
5478a0d0c7
commit
361e9da55e
@ -87,7 +87,7 @@ export default {
|
|||||||
"Gantt":"Gantt",
|
"Gantt":"Gantt",
|
||||||
"Create gantt block":"Create gantt block",
|
"Create gantt block":"Create gantt block",
|
||||||
"Progress field":"Progress field",
|
"Progress field":"Progress field",
|
||||||
"Time range":"Time range",
|
"Time scale":"Time scale",
|
||||||
"Hour":"Hour",
|
"Hour":"Hour",
|
||||||
"Quarter of day":"Quarter of day",
|
"Quarter of day":"Quarter of day",
|
||||||
"Half of day":"Half of day",
|
"Half of day":"Half of day",
|
||||||
|
@ -85,7 +85,7 @@ export default {
|
|||||||
"Gantt":"ガント図",
|
"Gantt":"ガント図",
|
||||||
"Create gantt block":"ガントチャートブロックの作成",
|
"Create gantt block":"ガントチャートブロックの作成",
|
||||||
"Progress field":"進捗フィールド",
|
"Progress field":"進捗フィールド",
|
||||||
"Time range":"時間スケールレベル",
|
"Time scale":"時間スケールレベル",
|
||||||
"Hour":"時間",
|
"Hour":"時間",
|
||||||
"Quarter of day":"四分の一日",
|
"Quarter of day":"四分の一日",
|
||||||
"Half of day":"半日",
|
"Half of day":"半日",
|
||||||
|
@ -97,7 +97,7 @@ export default {
|
|||||||
"Gantt":"甘特图",
|
"Gantt":"甘特图",
|
||||||
"Create gantt block":"创建甘特图区块",
|
"Create gantt block":"创建甘特图区块",
|
||||||
"Progress field":"进度字段",
|
"Progress field":"进度字段",
|
||||||
"Time range":"时间缩放等级",
|
"Time scale":"时间缩放等级",
|
||||||
"Hour":"小时",
|
"Hour":"小时",
|
||||||
"Quarter of day":"四分之一天",
|
"Quarter of day":"四分之一天",
|
||||||
"Half of day":"半天",
|
"Half of day":"半天",
|
||||||
|
@ -60,7 +60,7 @@ export const GanttDesigner = () => {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<SchemaSettings.SelectItem
|
<SchemaSettings.SelectItem
|
||||||
title={t('Time Range')}
|
title={t('Time scale')}
|
||||||
value={fieldNames.range||'day'}
|
value={fieldNames.range||'day'}
|
||||||
options={[
|
options={[
|
||||||
{ label: compile('{{t("Hour")}}'), value: 'hour', color: 'orange' },
|
{ label: compile('{{t("Hour")}}'), value: 'hour', color: 'orange' },
|
||||||
|
@ -31,4 +31,6 @@ export const calendarHeader = css`
|
|||||||
fill: #fafafa;
|
fill: #fafafa;
|
||||||
// stroke: #e0e0e0;
|
// stroke: #e0e0e0;
|
||||||
stroke-width: 1.4;
|
stroke-width: 1.4;
|
||||||
|
background: #fafafa;
|
||||||
|
border-bottom: 1px solid #f0f0f0;
|
||||||
`;
|
`;
|
||||||
|
@ -53,9 +53,9 @@ const GanttRecordViewer = (props) => {
|
|||||||
export const Gantt: any = (props: any) => {
|
export const Gantt: any = (props: any) => {
|
||||||
const { designable } = useDesignable();
|
const { designable } = useDesignable();
|
||||||
const {
|
const {
|
||||||
headerHeight = designable ? 65 : 55,
|
headerHeight = designable ? 64 : 55,
|
||||||
listCellWidth = '155px',
|
listCellWidth = '155px',
|
||||||
rowHeight = 55,
|
rowHeight = 55.56,
|
||||||
ganttHeight = 0,
|
ganttHeight = 0,
|
||||||
preStepsCount = 1,
|
preStepsCount = 1,
|
||||||
locale = 'en-GB',
|
locale = 'en-GB',
|
||||||
|
@ -6,7 +6,8 @@ export const ganttVerticalContainer=css `
|
|||||||
font-size: 0;
|
font-size: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width:100%
|
width:100%;
|
||||||
|
border-left:2px solid #c5c4c4
|
||||||
`
|
`
|
||||||
|
|
||||||
export const horizontalContainer=css `
|
export const horizontalContainer=css `
|
||||||
|
@ -8,6 +8,8 @@ export const gridRow = css`
|
|||||||
|
|
||||||
export const gridRowLine = css`
|
export const gridRowLine = css`
|
||||||
stroke: #f0f0f0;
|
stroke: #f0f0f0;
|
||||||
|
stroke-width:1;
|
||||||
|
border-bottom: 1px solid #f0f0f0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const gridTick = css`
|
export const gridTick = css`
|
||||||
|
@ -80,7 +80,7 @@ export const GanttBlockInitializer = (props) => {
|
|||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
},
|
},
|
||||||
range: {
|
range: {
|
||||||
title: t('Time range'),
|
title: t('Time scale'),
|
||||||
enum: [
|
enum: [
|
||||||
{ label: '{{t("Hour")}}', value: 'hour', color: 'orange' },
|
{ label: '{{t("Hour")}}', value: 'hour', color: 'orange' },
|
||||||
{ label: '{{t("Quarter of day")}}', value: 'quarterDay', color: 'default' },
|
{ label: '{{t("Quarter of day")}}', value: 'quarterDay', color: 'default' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user