@operato/app 1.0.0-alpha.46 → 1.0.0-alpha.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/demo/data-grist-test.html +15 -10
- package/demo/index.html +1 -10
- package/dist/src/grist-editor/index.js +2 -0
- package/dist/src/grist-editor/index.js.map +1 -1
- package/dist/src/grist-editor/ox-grist-editor-crontab.js +3 -3
- package/dist/src/grist-editor/ox-grist-editor-crontab.js.map +1 -1
- package/dist/src/grist-editor/ox-grist-renderer-crontab.d.ts +2 -0
- package/dist/src/grist-editor/ox-grist-renderer-crontab.js +18 -0
- package/dist/src/grist-editor/ox-grist-renderer-crontab.js.map +1 -0
- package/dist/src/grist-editor/ox-selector-resource-object.js +1 -1
- package/dist/src/grist-editor/ox-selector-resource-object.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -15
- package/src/grist-editor/index.ts +2 -0
- package/src/grist-editor/ox-grist-editor-crontab.ts +3 -3
- package/src/grist-editor/ox-grist-renderer-crontab.ts +22 -0
- package/src/grist-editor/ox-selector-resource-object.ts +1 -1
- package/themes/app-theme.css +142 -0
- package/themes/grist-theme.css +194 -0
- package/themes/oops-theme.css +26 -0
- package/themes/report-theme.css +47 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "WebApplication production supporting components following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "heartyoh",
|
|
6
|
-
"version": "1.0.0-alpha.
|
|
6
|
+
"version": "1.0.0-alpha.49",
|
|
7
7
|
"main": "dist/src/index.js",
|
|
8
8
|
"module": "dist/src/index.js",
|
|
9
9
|
"exports": {
|
|
@@ -57,24 +57,25 @@
|
|
|
57
57
|
"@material/mwc-button": "^0.25.3",
|
|
58
58
|
"@material/mwc-icon": "^0.25.3",
|
|
59
59
|
"@material/mwc-icon-button": "^0.25.3",
|
|
60
|
-
"@operato/attachment": "^1.0.0-alpha.
|
|
61
|
-
"@operato/data-grist": "^1.0.0-alpha.
|
|
62
|
-
"@operato/font": "^1.0.0-alpha.
|
|
63
|
-
"@operato/form": "^1.0.0-alpha.
|
|
64
|
-
"@operato/graphql": "^1.0.0-alpha.
|
|
65
|
-
"@operato/i18n": "^1.0.0-alpha.
|
|
66
|
-
"@operato/input": "^1.0.0-alpha.
|
|
67
|
-
"@operato/layout": "^1.0.0-alpha.
|
|
68
|
-
"@operato/property-editor": "^1.0.0-alpha.
|
|
69
|
-
"@operato/shell": "^1.0.0-alpha.
|
|
70
|
-
"@operato/styles": "^1.0.0-alpha.
|
|
71
|
-
"@operato/utils": "^1.0.0-alpha.
|
|
60
|
+
"@operato/attachment": "^1.0.0-alpha.49",
|
|
61
|
+
"@operato/data-grist": "^1.0.0-alpha.49",
|
|
62
|
+
"@operato/font": "^1.0.0-alpha.49",
|
|
63
|
+
"@operato/form": "^1.0.0-alpha.49",
|
|
64
|
+
"@operato/graphql": "^1.0.0-alpha.49",
|
|
65
|
+
"@operato/i18n": "^1.0.0-alpha.49",
|
|
66
|
+
"@operato/input": "^1.0.0-alpha.49",
|
|
67
|
+
"@operato/layout": "^1.0.0-alpha.49",
|
|
68
|
+
"@operato/property-editor": "^1.0.0-alpha.49",
|
|
69
|
+
"@operato/shell": "^1.0.0-alpha.49",
|
|
70
|
+
"@operato/styles": "^1.0.0-alpha.49",
|
|
71
|
+
"@operato/utils": "^1.0.0-alpha.49",
|
|
72
72
|
"codemirror": "^5.59.1",
|
|
73
73
|
"codemirror-graphql": "^0.15.2",
|
|
74
|
+
"cronstrue": "^2.2.0",
|
|
74
75
|
"cross-fetch": "^3.1.5",
|
|
75
76
|
"graphql": "^15.7.2",
|
|
76
77
|
"graphql-tag": "^2.12.6",
|
|
77
|
-
"lit": "^2.2.
|
|
78
|
+
"lit": "^2.2.1"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
81
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
@@ -108,5 +109,5 @@
|
|
|
108
109
|
"prettier --write"
|
|
109
110
|
]
|
|
110
111
|
},
|
|
111
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "00a9fd5a03bc4e0864dafd394f93ecf3c2c09838"
|
|
112
113
|
}
|
|
@@ -8,6 +8,7 @@ import { OxGristEditorResourceCode } from './ox-grist-editor-resource-code.js'
|
|
|
8
8
|
import { OxGristEditorResourceId } from './ox-grist-editor-resource-id.js'
|
|
9
9
|
import { OxGristEditorResourceObject } from './ox-grist-editor-resource-object.js'
|
|
10
10
|
import { OxGristEditorValueMap } from './ox-grist-editor-value-map.js'
|
|
11
|
+
import { OxGristRendererCrontab } from './ox-grist-renderer-crontab'
|
|
11
12
|
import { OxGristRendererResourceId } from './ox-grist-renderer-resource-id.js'
|
|
12
13
|
import { OxGristRendererResourceObject } from './ox-grist-renderer-resource-object.js'
|
|
13
14
|
|
|
@@ -26,3 +27,4 @@ registerRenderer('resource-object', OxGristRendererResourceObject)
|
|
|
26
27
|
registerRenderer('parameters', OxGristRendererJson5)
|
|
27
28
|
registerRenderer('value-map', OxGristRendererJson5)
|
|
28
29
|
registerRenderer('partition-keys', OxGristRendererJson5)
|
|
30
|
+
registerRenderer('crontab', OxGristRendererCrontab)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './ox-popup-crontab-input.js'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { html } from 'lit'
|
|
4
|
+
import { customElement } from 'lit/decorators.js'
|
|
4
5
|
|
|
5
6
|
import { OxGristEditor } from '@operato/data-grist'
|
|
6
|
-
import { customElement } from 'lit/decorators.js'
|
|
7
|
-
import { html } from 'lit'
|
|
8
7
|
import { i18next } from '@operato/i18n'
|
|
8
|
+
import { openPopup, PopupHandle } from '@operato/layout'
|
|
9
9
|
|
|
10
10
|
@customElement('ox-grist-editor-crontab')
|
|
11
11
|
export class OxGristEditorCrontab extends OxGristEditor {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import cronstrue from 'cronstrue/i18n'
|
|
2
|
+
import { html } from 'lit'
|
|
3
|
+
|
|
4
|
+
import { FieldRenderer } from '@operato/data-grist'
|
|
5
|
+
import { detectOverflow } from '@operato/utils'
|
|
6
|
+
|
|
7
|
+
function onmouseover(e: Event) {
|
|
8
|
+
const element = e.target as HTMLSpanElement
|
|
9
|
+
if (detectOverflow(element)) {
|
|
10
|
+
element.setAttribute('data-tooltip', element.textContent!)
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function onmouseout(e: Event) {
|
|
15
|
+
const element = e.target as HTMLSpanElement
|
|
16
|
+
element.removeAttribute('data-tooltip')
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const OxGristRendererCrontab: FieldRenderer = (value, column, record, rowIndex, field) => {
|
|
20
|
+
const text = value === undefined ? '' : value
|
|
21
|
+
return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${cronstrue.toString(text)}</span>`
|
|
22
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
body {
|
|
2
|
+
/* theme color */
|
|
3
|
+
--primary-color-rgb: 130, 105, 96;
|
|
4
|
+
--primary-color: rgb(var(--primary-color-rgb));
|
|
5
|
+
--secondary-color-rgb: 78, 78, 90;
|
|
6
|
+
--secondary-color: rgb(var(--secondary-color-rgb));
|
|
7
|
+
--focus-color: var(--theme-white-color);
|
|
8
|
+
--primary-background-color: var(--secondary-color);
|
|
9
|
+
--secondary-background-color: #283644;
|
|
10
|
+
--main-section-background-color: #f5f2ee;
|
|
11
|
+
--theme-white-color: #fff;
|
|
12
|
+
--theme-black-color: rgba(0, 0, 0, 0.9);
|
|
13
|
+
|
|
14
|
+
--focus-background-color: var(--primary-color);
|
|
15
|
+
--primary-text-color: #3c3938;
|
|
16
|
+
--secondary-text-color: var(--primary-color);
|
|
17
|
+
|
|
18
|
+
--opacity-dark-color: rgba(0, 0, 0, 0.4);
|
|
19
|
+
--opacity-light-color: rgba(255, 255, 255, 0.8);
|
|
20
|
+
|
|
21
|
+
/* status color */
|
|
22
|
+
--status-success-color: #35a24a;
|
|
23
|
+
--status-warning-color: #ee8d03;
|
|
24
|
+
--status-danger-color: #d14946;
|
|
25
|
+
--status-info-color: #398ace;
|
|
26
|
+
|
|
27
|
+
/* common style */
|
|
28
|
+
--border-radius: 4px;
|
|
29
|
+
--border-dark-color: 1px solid rgba(0, 0, 0, 0.15);
|
|
30
|
+
--border-light-color: 1px solid rgba(255, 255, 255, 0.3);
|
|
31
|
+
|
|
32
|
+
--box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.1);
|
|
33
|
+
|
|
34
|
+
--theme-font: 'Noto', Helvetica;
|
|
35
|
+
|
|
36
|
+
--margin-default: 9px;
|
|
37
|
+
--margin-narrow: 4px;
|
|
38
|
+
--margin-wide: 15px;
|
|
39
|
+
--padding-default: var(--margin-default);
|
|
40
|
+
--padding-narrow: var(--margin-narrow);
|
|
41
|
+
--padding-wide: var(--margin-wide);
|
|
42
|
+
|
|
43
|
+
--scrollbar-thumb-color: rgba(57, 78, 100, 0.5);
|
|
44
|
+
--scrollbar-thumb-hover-color: var(--primary-color);
|
|
45
|
+
|
|
46
|
+
--fontsize-default: 14px;
|
|
47
|
+
--fontsize-small: 13px;
|
|
48
|
+
--fontsize-large: 16px;
|
|
49
|
+
|
|
50
|
+
/* app layout style */
|
|
51
|
+
--app-grid-template-area: 'header header header' 'nav main aside' 'nav footer aside';
|
|
52
|
+
|
|
53
|
+
/* title & description style */
|
|
54
|
+
--title-margin: var(--margin-narrow) 0;
|
|
55
|
+
--title-font: bold 24px var(--theme-font);
|
|
56
|
+
--title-text-color: var(--secondary-color);
|
|
57
|
+
--title-font-mobile: bold 20px var(--theme-font);
|
|
58
|
+
|
|
59
|
+
--page-description-margin: var(--margin-narrow) 0 var(--margin-wide) 0;
|
|
60
|
+
--page-description-font: normal var(--fontsize-default) / 1.2rem var(--theme-font);
|
|
61
|
+
--page-description-color: var(--secondary-text-color);
|
|
62
|
+
|
|
63
|
+
--subtitle-padding: 12px 5px 3px 5px;
|
|
64
|
+
--subtitle-font: bold 18px var(--theme-font);
|
|
65
|
+
--subtitle-text-color: var(--primary-color);
|
|
66
|
+
--subtitle-border-bottom: 1px solid var(--primary-color);
|
|
67
|
+
|
|
68
|
+
/* icon style */
|
|
69
|
+
--icon-tiny-size: 24px;
|
|
70
|
+
--icon-default-size: 36px;
|
|
71
|
+
--icon-big-size: 48px;
|
|
72
|
+
--icon-default-color: var(--theme-white-color);
|
|
73
|
+
|
|
74
|
+
/* material design component themes */
|
|
75
|
+
--mdc-theme-on-primary: var(--theme-white-color);
|
|
76
|
+
--mdc-theme-primary: var(--secondary-text-color);
|
|
77
|
+
--mdc-theme-on-secondary: var(--theme-white-color);
|
|
78
|
+
--mdc-theme-secondary: var(--primary-color);
|
|
79
|
+
--mdc-button-outline-color: var(--primary-color);
|
|
80
|
+
--mdc-danger-button-primary-color: var(--status-danger-color);
|
|
81
|
+
--mdc-danger-button-outline-color: var(--status-danger-color);
|
|
82
|
+
--mdc-button-outline-width: 1px;
|
|
83
|
+
--mdc-button-horizontal-padding: 16px;
|
|
84
|
+
|
|
85
|
+
/* button style */
|
|
86
|
+
--button-background-color: #fafbfc;
|
|
87
|
+
--button-background-focus-color: var(--primary-color);
|
|
88
|
+
--button-border: var(--border-dark-color);
|
|
89
|
+
--button-border-radius: var(--border-radius);
|
|
90
|
+
--button-margin: var(--margin-default) var(--margin-default) var(--margin-default) 0;
|
|
91
|
+
--button-padding: var(--padding-default);
|
|
92
|
+
--button-color: var(--secondary-color);
|
|
93
|
+
--button-font: normal 15px var(--theme-font);
|
|
94
|
+
--button-text-transform: capitalize;
|
|
95
|
+
--button-active-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
|
|
96
|
+
--button-activ-border: 1px solid var(--primary-color);
|
|
97
|
+
|
|
98
|
+
--button-primary-background-color: var(--primary-color);
|
|
99
|
+
--button-primary-active-background-color: var(--status-success-color);
|
|
100
|
+
--button-primary-padding: var(--margin-default) var(--margin-wide);
|
|
101
|
+
--button-primary-color: var(--theme-white-color);
|
|
102
|
+
--button-primary-font: bold 16px var(--theme-font);
|
|
103
|
+
|
|
104
|
+
/* table style */
|
|
105
|
+
--th-padding: var(--padding-default) 0 var(--padding-default) var(--padding-default);
|
|
106
|
+
--th-border-top: 2px solid var(--secondary-color);
|
|
107
|
+
--th-text-transform: capitalize;
|
|
108
|
+
--th-font: bold var(--fontsize-small) var(--theme-font);
|
|
109
|
+
--th-color: rgba(var(--secondary-color-rgb), 0.8);
|
|
110
|
+
|
|
111
|
+
--tr-background-color: var(--theme-white-color);
|
|
112
|
+
--tr-background-odd-color: rgba(255, 255, 255, 0.4);
|
|
113
|
+
--tr-background-hover-color: #e1f5fe;
|
|
114
|
+
--td-border-bottom: 1px solid rgba(0, 0, 0, 0.09);
|
|
115
|
+
--td-padding: var(--padding-default);
|
|
116
|
+
--td-font: normal 13px var(--theme-font);
|
|
117
|
+
--td-color: var(--secondary-color);
|
|
118
|
+
|
|
119
|
+
/* form style */
|
|
120
|
+
--label-font: normal var(--fontsize-default) var(--theme-font);
|
|
121
|
+
--label-color: var(--secondary-color);
|
|
122
|
+
--label-text-transform: capitalize;
|
|
123
|
+
--input-margin: var(--margin-narrow) 0;
|
|
124
|
+
--input-padding: var(--padding-default);
|
|
125
|
+
--input-min-width: 200px;
|
|
126
|
+
--input-font: normal var(--fontsize-default) var(--theme-font);
|
|
127
|
+
--input-hint-font: normal var(--fontsize-small) var(--theme-font);
|
|
128
|
+
--input-hint-color: #666;
|
|
129
|
+
--input-container-max-width: 900px;
|
|
130
|
+
--fieldset-margin: var(--padding-wide) 0;
|
|
131
|
+
--fieldset-padding: 0 var(--padding-wide) var(--padding-wide) var(--padding-wide);
|
|
132
|
+
--legend-padding: var(--padding-default) 0;
|
|
133
|
+
--legend-color: var(--secondary-text-color);
|
|
134
|
+
--legend-font: bold 16px var(--theme-font);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media only screen and (max-width: 460px) {
|
|
138
|
+
body {
|
|
139
|
+
/* subtitle style */
|
|
140
|
+
--subtitle-margin: 0;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
body {
|
|
2
|
+
--grid-container-border-color: 1px solid rgba(0, 0, 0, 0.09);
|
|
3
|
+
--grid-container-border-width: 1px 0;
|
|
4
|
+
|
|
5
|
+
--grist-background-color: var(--main-section-background-color);
|
|
6
|
+
--grist-title-margin: 0 0 0 10px;
|
|
7
|
+
--grist-title-border: none;
|
|
8
|
+
--grist-title-font: bold 16px var(--theme-font);
|
|
9
|
+
--grist-title-color: var(--secondary-color);
|
|
10
|
+
--grist-title-font: bold 16px var(--theme-font);
|
|
11
|
+
--grist-title-icon-color: var(--primary-color);
|
|
12
|
+
--grist-title-icon-margin: 0 3px 2px 0;
|
|
13
|
+
--grist-title-icon-size: var(--fontsize-default);
|
|
14
|
+
--grist-title-with-grid-padding: 0;
|
|
15
|
+
|
|
16
|
+
--grist-object-editor-font: normal 1em var(--theme-font);
|
|
17
|
+
--grist-object-editor-color: var(--secondary-color);
|
|
18
|
+
|
|
19
|
+
--grist-input-zoom: 1;
|
|
20
|
+
--grist-input-progress-border: 1px solid rgba(255, 255, 255, 0.5);
|
|
21
|
+
--grist-input-progress-background: rgba(121, 110, 110, 0.1);
|
|
22
|
+
--grist-input-progress-bar-background: #4ac5fd;
|
|
23
|
+
--grist-input-progress-bar-color: var(--theme-white-color);
|
|
24
|
+
|
|
25
|
+
--grid-header-background-color: transparent;
|
|
26
|
+
--grid-header-top-border: 2px solid rgba(var(--secondary-color-rgb), 0.7);
|
|
27
|
+
--grid-header-bottom-border: var(--grid-container-border-color);
|
|
28
|
+
--grid-header-border-color: rgba(var(--primary-color-rgb), 0.3);
|
|
29
|
+
--grid-header-padding: var(--padding-default) 0 var(--padding-narrow) var(--padding-default);
|
|
30
|
+
--grid-header-sorter-size: 18px;
|
|
31
|
+
--grid-header-splitter-border: var(--grid-container-border-color);
|
|
32
|
+
--grid-header-splitter-border-hover: 1px solid var(--primary-color);
|
|
33
|
+
--grid-header-color: rgba(var(--secondary-color-rgb), 0.8);
|
|
34
|
+
--grid-header-font: bold var(--fontsize-small) var(--theme-font);
|
|
35
|
+
--grid-header-filter-title-color: var(--primary-text-color);
|
|
36
|
+
--grid-header-filter-title-font: normal 12px var(--theme-font);
|
|
37
|
+
--grid-header-filter-title-icon-color: var(--primary-color);
|
|
38
|
+
|
|
39
|
+
--grid-record-background-color: var(--theme-white-color);
|
|
40
|
+
--grid-record-odd-background-color: rgba(255, 255, 255, 0.4);
|
|
41
|
+
--grid-record-padding: var(--padding-default) 0 var(--padding-default) var(--padding-default);
|
|
42
|
+
--grid-record-color: var(--secondary-color);
|
|
43
|
+
--grid-record-color-hover: var(--primary-color);
|
|
44
|
+
--grid-record-wide-fontsize: var(--fontsize-small);
|
|
45
|
+
--grid-record-selected-background-color: #f1f8e9;
|
|
46
|
+
--grid-record-selected-color: var(--grid-record-color);
|
|
47
|
+
--grid-record-focused-background-color: rgba(var(--primary-color-rgb), 0.2);
|
|
48
|
+
--grid-record-focused-border: 1px solid var(--primary-color);
|
|
49
|
+
--grid-record-focused-cell-background-color: rgba(var(--primary-color-rgb), 0.25);
|
|
50
|
+
--grid-record-focused-cell-border: 1px dashed var(--primary-color);
|
|
51
|
+
--grid-record-focused-color: var(--grid-record-color);
|
|
52
|
+
--grid-record-focused-box-shadow: 0px 2px 0px 0px rgb(0 0 0 / 10%);
|
|
53
|
+
--grid-record-emphasized-background-color: var(--primary-color);
|
|
54
|
+
--grid-record-emphasized-color: var(--theme-white-color);
|
|
55
|
+
--grid-record-editing-background-color: var(--theme-white-color);
|
|
56
|
+
--grid-record-editing-border: 1px dashed rgba(var(--primary-color-rgb), 0.4);
|
|
57
|
+
--grid-record-fontsize: var(--fontsize-large);
|
|
58
|
+
--grid-record-border-bottom: var(--grid-container-border-color);
|
|
59
|
+
|
|
60
|
+
--grid-record-dirty-border-top: 24px solid rgba(var(--primary-color-rgb), 0.6);
|
|
61
|
+
--grid-record-dirty-border-left: 24px solid transparent;
|
|
62
|
+
--grid-record-dirty-icon-font: bold 10px/12px var(--mdc-icon-font, 'Material Icons');
|
|
63
|
+
--grid-record-dirty-icon-size: var(--fontsize-large);
|
|
64
|
+
--grid-record-dirty-color: var(--theme-white-color);
|
|
65
|
+
|
|
66
|
+
--grid-footer-background-color: transparent;
|
|
67
|
+
--grid-footer-font-size: var(--fontsize-default);
|
|
68
|
+
--grid-footer-color: var(--secondary-color);
|
|
69
|
+
--grid-footer-limit-color: rgba(var(--secondary-color-rgb), 0.6);
|
|
70
|
+
--grid-footer-inactive-color: var(--grid-footer-limit-color);
|
|
71
|
+
--grid-footer-padding: var(--padding-default) var(--padding-narrow);
|
|
72
|
+
|
|
73
|
+
--data-list-background-color: var(--main-section-background-color);
|
|
74
|
+
--data-list-item-margin: var(--margin-default) 0 var(--margin-default) var(--margin-wide);
|
|
75
|
+
--data-list-item-padding: var(--padding-default) var(--padding-wide);
|
|
76
|
+
--data-list-item-border-bottom: var(--grid-container-border-color);
|
|
77
|
+
--data-list-item-name-font: bold 1em/1em var(--theme-font);
|
|
78
|
+
--data-list-item-name-color: var(--secondary-color);
|
|
79
|
+
--data-list-item-disc-font: normal 0.9em/1em var(--theme-font);
|
|
80
|
+
--data-list-item-disc-color: var(--secondary-text-color);
|
|
81
|
+
--data-list-item-etc-label-font: bold 1em/1em var(--theme-font);
|
|
82
|
+
--data-list-item-etc-font: normal 0.8em/1em var(--theme-font);
|
|
83
|
+
--data-list-item-etc-color: #585858;
|
|
84
|
+
--data-list-item-icon-font: normal 1em/1em;
|
|
85
|
+
--data-list-item-icon-color: var(--secondary-text-color);
|
|
86
|
+
--data-list-selected-background-color: var(--grid-record-selected-background-color);
|
|
87
|
+
--data-list-fab-position-horizontal: 15px;
|
|
88
|
+
--data-list-fab-position-vertical: 15px;
|
|
89
|
+
--data-list-fab-color: var(--primary-color);
|
|
90
|
+
--data-list-fab-shadow: var(--box-shadow);
|
|
91
|
+
|
|
92
|
+
--data-card-background-color: var(--main-section-background-color);
|
|
93
|
+
--data-card-record-card-background-color: var(--theme-white-color);
|
|
94
|
+
--data-card-record-card-border: var(--border-dark-color);
|
|
95
|
+
--data-card-record-card-border-hover: 1px solid var(--primary-color);
|
|
96
|
+
--data-card-record-card-boxshadow-hover: 1px 1px 2px 1px rgba(0, 0, 0, 0.15);
|
|
97
|
+
--data-card-record-card-selected-border: 1px solid var(--primary-color);
|
|
98
|
+
--data-card-record-card-border-radius: var(--border-radius);
|
|
99
|
+
--data-card-item-margin: var(--margin-default) 0 var(--margin-default) var(--margin-wide);
|
|
100
|
+
--data-card-item-padding: var(--padding-default) var(--padding-wide);
|
|
101
|
+
--data-card-item-border-bottom: var(--grid-container-border-color);
|
|
102
|
+
--data-card-item-name-font: bold 1.2em/1em var(--theme-font);
|
|
103
|
+
--data-card-item-name-color: var(--secondary-text-color);
|
|
104
|
+
--data-card-item-name-label-font: normal 0.65em/0.8em var(--theme-font);
|
|
105
|
+
--data-card-item-name-label-color: rgba(var(--secondary-color-rgb), 0.8);
|
|
106
|
+
--data-card-item-disc-font: normal 0.9em/1em var(--theme-font);
|
|
107
|
+
--data-card-item-disc-color: var(--primary-color);
|
|
108
|
+
--data-card-item-etc-label-font: normal 1em/1em var(--theme-font);
|
|
109
|
+
--data-card-item-etc-font: bold 0.8em/1em var(--theme-font);
|
|
110
|
+
--data-card-item-etc-color: var(--secondary-color);
|
|
111
|
+
--data-card-item-icon-font: normal 1em/1em;
|
|
112
|
+
--data-card-item-icon-color: var(--secondary-text-color);
|
|
113
|
+
--data-card-item-btn-border: var(--border-dark-color);
|
|
114
|
+
--data-card-item-btn-border-radius: var(--border-radius);
|
|
115
|
+
--data-card-item-btn-padding: var(--padding-narrow);
|
|
116
|
+
--data-card-selected-background-color: var(--grid-record-selected-background-color);
|
|
117
|
+
--data-card-fab-position-horizontal: 15px;
|
|
118
|
+
--data-card-fab-position-vertical: 15px;
|
|
119
|
+
--data-card-fab-color: var(--primary-color);
|
|
120
|
+
--data-card-fab-shadow: var(--box-shadow);
|
|
121
|
+
--data-card-template: repeat(3, minmax(auto, 100%));
|
|
122
|
+
--data-card-thumbnail-height: 140px;
|
|
123
|
+
--data-card-thumbnail-border-bottom: var(--border-dark-color);
|
|
124
|
+
--data-card-attachimg-height: 70px;
|
|
125
|
+
|
|
126
|
+
--record-view-background-color: var(--main-section-background-color);
|
|
127
|
+
--record-view-gap: var(--margin-narrow) 0;
|
|
128
|
+
--record-view-padding: var(--padding-default);
|
|
129
|
+
--record-view-label-font: bold 15px var(--theme-font);
|
|
130
|
+
--record-view-label-color: var(--secondary-color);
|
|
131
|
+
--record-view-label-icon-size: var(--fontsize-small);
|
|
132
|
+
--record-view-font: normal 15px var(--theme-font);
|
|
133
|
+
--record-view-color: var(--secondary-color);
|
|
134
|
+
--record-view-focus-color: var(--primary-color);
|
|
135
|
+
--record-view-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
136
|
+
--record-view-edit-border-bottom: 2px solid var(--primary-color);
|
|
137
|
+
--record-view-item-padding: var(--padding-default);
|
|
138
|
+
|
|
139
|
+
--record-view-footer-background: #586272;
|
|
140
|
+
--record-view-footer-button-border: 1px solid rgba(0, 0, 0, 0.3);
|
|
141
|
+
--record-view-footer-button-border-width: 0 0 0 1px;
|
|
142
|
+
--record-view-footer-button-font: 17px;
|
|
143
|
+
--record-view-footer-button-color: var(--theme-white-color);
|
|
144
|
+
--record-view-footer-iconbutton-size: 35px;
|
|
145
|
+
--record-view-footer-focus-background: var(--primary-color);
|
|
146
|
+
|
|
147
|
+
--ox-grist-padding: var(--padding-default) var(--padding-default) 0 var(--padding-default);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@media print {
|
|
151
|
+
body {
|
|
152
|
+
--grist-input-zoom: 0.7;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media only screen and (max-width: 460px) {
|
|
157
|
+
body {
|
|
158
|
+
--record-view-label-font: bold 15px/32px var(--theme-font);
|
|
159
|
+
--record-view-font: normal 15px/32px var(--theme-font);
|
|
160
|
+
--data-card-template: repeat(1, minmax(auto, 100%));
|
|
161
|
+
--ox-grist-padding: 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
@media (min-width: 461px) and (max-width: 700px) {
|
|
165
|
+
body {
|
|
166
|
+
--data-card-template: repeat(2, minmax(auto, 100%));
|
|
167
|
+
--ox-grist-padding: 0;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
@media (min-width: 461px) and (max-width: 1024px) {
|
|
171
|
+
body {
|
|
172
|
+
--data-card-create-form-padding: 7px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
@media (min-width: 1025px) and (max-width: 1400px) {
|
|
176
|
+
body {
|
|
177
|
+
--data-card-template: repeat(4, minmax(auto, 100%));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
@media (min-width: 1401px) and (max-width: 1800px) {
|
|
181
|
+
body {
|
|
182
|
+
--data-card-template: repeat(5, minmax(auto, 100%));
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
@media (min-width: 1801px) and (max-width: 2200px) {
|
|
186
|
+
body {
|
|
187
|
+
--data-card-template: repeat(6, minmax(auto, 100%));
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
@media only screen and (min-width: 2201px) {
|
|
191
|
+
body {
|
|
192
|
+
--data-card-template: repeat(7, minmax(auto, 100%));
|
|
193
|
+
}
|
|
194
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
body {
|
|
2
|
+
/* oops spinner style */
|
|
3
|
+
|
|
4
|
+
--oops-spinner-image: url(/assets/images/spinner.png);
|
|
5
|
+
|
|
6
|
+
/* oops note style */
|
|
7
|
+
--oops-note-icon-font: normal 24px var(--mdc-icon-font, 'Material Icons');
|
|
8
|
+
--oops-note-icon-color: rgba(var(--secondary-color-rgb), 0.3);
|
|
9
|
+
--oops-note-icon-border: 2px solid rgba(var(--secondary-color-rgb), 0.3);
|
|
10
|
+
--oops-note-icon-border-radius: 50px;
|
|
11
|
+
--oops-note-icon-padding: var(--padding-default);
|
|
12
|
+
--oops-note-title-margin: 7px 0 2px 0;
|
|
13
|
+
--oops-note-title-font: bold 14px var(--theme-font);
|
|
14
|
+
--oops-note-title-color: var(--secondary-color);
|
|
15
|
+
--oops-note-description-font: normal 12px var(--theme-font);
|
|
16
|
+
--oops-note-description-color: var(--primary-color);
|
|
17
|
+
}
|
|
18
|
+
@media only screen and (max-width: 460px) {
|
|
19
|
+
body {
|
|
20
|
+
--oops-note-icon-padding: var(--padding-narrow);
|
|
21
|
+
--oops-note-icon-font: normal 18px var(--mdc-icon-font, 'Material Icons');
|
|
22
|
+
--oops-note-title-font: bold 13px var(--theme-font);
|
|
23
|
+
--oops-note-title-margin: var(--margin-narrow) 0 2px 0;
|
|
24
|
+
--oops-note-description-font: normal 0px var(--theme-font);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
body {
|
|
2
|
+
--report-background-color: var(--main-section-background-color);
|
|
3
|
+
--report-padding: 15px;
|
|
4
|
+
--report-title-margin: 0 0 0 10px;
|
|
5
|
+
--report-title-border: none;
|
|
6
|
+
--report-title-color: var(--secondary-color);
|
|
7
|
+
--report-title-icon-color: var(--primary-color);
|
|
8
|
+
--report-title-icon-margin: 0 3px 2px 0;
|
|
9
|
+
--report-title-icon-size: 14px;
|
|
10
|
+
--report-title-with-grid-padding: 0;
|
|
11
|
+
--report-component-border-radius: var(--border-radius);
|
|
12
|
+
|
|
13
|
+
--report-header-background-color: rgba(var(--primary-color-rgb), 0.05);
|
|
14
|
+
--report-header-border: 1px solid var(--report-header-border-color);
|
|
15
|
+
--report-header-border-color: rgba(var(--primary-color-rgb), 0.3);
|
|
16
|
+
--report-header-padding: 5px 0 5px 5px;
|
|
17
|
+
--report-header-color: var(--secondary-text-color);
|
|
18
|
+
--report-header-font: normal 1em/1.5 var(--theme-font);
|
|
19
|
+
--report-header-fontsize: 13px;
|
|
20
|
+
|
|
21
|
+
--report-record-background-color: #fff;
|
|
22
|
+
--report-record-odd-background-color: #f6f6f6;
|
|
23
|
+
--report-record-field-padding: 7px 10px;
|
|
24
|
+
--report-record-field-border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
25
|
+
--report-record-wide-fontsize: 13px;
|
|
26
|
+
--report-record-focused-background-color: #ffde3b47;
|
|
27
|
+
--report-record-focused-border: 1px dashed rgba(0, 0, 0, 0.5);
|
|
28
|
+
|
|
29
|
+
--report-totalized-background-color: #efefef;
|
|
30
|
+
--report-totalized-border: 1px solid rgba(0, 0, 0, 0.1);
|
|
31
|
+
--report-totalized-color: var(--secondary-text-color);
|
|
32
|
+
|
|
33
|
+
--report-grouped-background-color: #607d8bbf;
|
|
34
|
+
--report-grouped-border: 1px solid rgba(0, 0, 0, 0.2);
|
|
35
|
+
--report-grouped-color: #fff;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media print {
|
|
39
|
+
body {
|
|
40
|
+
--report-header-padding: 5px;
|
|
41
|
+
--report-record-field-padding: 5px;
|
|
42
|
+
--report-record-wide-fontsize: 10px;
|
|
43
|
+
--report-grouped-background-color: #d7d7d7;
|
|
44
|
+
--report-grouped-color: #000;
|
|
45
|
+
--report-totalized-color: #000;
|
|
46
|
+
}
|
|
47
|
+
}
|