@operato/shell 7.0.0-rc.11 β†’ 7.0.0-rc.13

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.
@@ -0,0 +1,52 @@
1
+ import { i18next } from '@operato/i18n'
2
+
3
+ export const globalTypes = {
4
+ locale: {
5
+ name: 'Locale',
6
+ description: 'Internationalization locale',
7
+ toolbar: {
8
+ icon: 'globe',
9
+ items: [
10
+ { value: 'en', right: 'πŸ‡ΊπŸ‡Έ', title: 'English' },
11
+ { value: 'ko', right: 'πŸ‡°πŸ‡·', title: 'ν•œκ΅­μ–΄' },
12
+ { value: 'zh', right: 'πŸ‡¨πŸ‡³', title: 'δΈ­ζ–‡' },
13
+ { value: 'ja', right: 'πŸ‡―πŸ‡΅', title: 'ζ—₯本θͺž' },
14
+ { value: 'ms', right: 'πŸ‡²πŸ‡Ύ', title: 'Bahasa Melayu' }
15
+ ],
16
+ showName: true
17
+ }
18
+ },
19
+ theme: {
20
+ name: 'Theme',
21
+ description: 'Global theme for components',
22
+ toolbar: {
23
+ icon: 'paintbrush',
24
+ items: [
25
+ { value: 'light', title: 'Light' },
26
+ { value: 'dark', title: 'Dark' }
27
+ ],
28
+ showName: true
29
+ }
30
+ }
31
+ }
32
+
33
+ export const decorators = [
34
+ (Story, context) => {
35
+ const { locale, theme } = context.globals
36
+
37
+ if (locale) {
38
+ i18next.changeLanguage(locale)
39
+ }
40
+
41
+ // Set the theme class for the document
42
+ if (theme === 'dark') {
43
+ document.documentElement.classList.add('dark')
44
+ document.documentElement.classList.remove('light')
45
+ } else {
46
+ document.documentElement.classList.add('light')
47
+ document.documentElement.classList.remove('dark')
48
+ }
49
+
50
+ return Story()
51
+ }
52
+ ]
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.0-rc.13](https://github.com/hatiolab/operato/compare/v7.0.0-rc.12...v7.0.0-rc.13) (2024-06-30)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * storybook preview.js ([8215c06](https://github.com/hatiolab/operato/commit/8215c06a293ecaa2df2f0b314ee5b9ff252a1434))
12
+
13
+
14
+
6
15
  ## [7.0.0-rc.11](https://github.com/hatiolab/operato/compare/v7.0.0-rc.10...v7.0.0-rc.11) (2024-06-29)
7
16
 
8
17
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/shell",
3
3
  "description": "WebApplication architecturing shell following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "7.0.0-rc.11",
5
+ "version": "7.0.0-rc.13",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "exports": {
@@ -59,10 +59,10 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@material/web": "^1.5.0",
62
- "@operato/graphql": "^7.0.0-rc.8",
63
- "@operato/popup": "^7.0.0-rc.11",
64
- "@operato/styles": "^7.0.0-rc.10",
65
- "@operato/utils": "^7.0.0-rc.8",
62
+ "@operato/graphql": "^7.0.0-rc.13",
63
+ "@operato/popup": "^7.0.0-rc.13",
64
+ "@operato/styles": "^7.0.0-rc.13",
65
+ "@operato/utils": "^7.0.0-rc.13",
66
66
  "@webcomponents/scoped-custom-element-registry": "^0.0.9",
67
67
  "lit": "^3.1.2",
68
68
  "lodash-es": "^4.17.21",
@@ -102,5 +102,5 @@
102
102
  "prettier --write"
103
103
  ]
104
104
  },
105
- "gitHead": "e3b4a7601a1a6b0ccd909fe1e85fa8e524f1c5a5"
105
+ "gitHead": "30bb1e680f2d6b042ec75c5a29266b24d3067da5"
106
106
  }
@@ -1,25 +1,14 @@
1
1
  body {
2
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
- /* status color */
19
- --status-success-color: #35a24a;
20
- --status-warning-color: #ee8d03;
21
- --status-danger-color: #d14946;
22
- --status-info-color: #398ace;
3
+ --primary-color: var(--md-sys-color-primary);
4
+ --secondary-color: var(--md-sys-color-secondary);
5
+ --focus-color: var(--md-sys-color-on-primary);
6
+ --primary-background-color: var(--md-sys-color-primary-container);
7
+ --secondary-background-color: var(--md-sys-color-secondary-container);
8
+
9
+ --focus-background-color: var(--md-sys-color-primary);
10
+ --primary-text-color: var(--md-sys-color-on-primary);
11
+ --secondary-text-color: var(--md-sys-color-on-secondary);
23
12
 
24
13
  /* common style */
25
14
  --border-radius: 4px;
@@ -30,15 +19,15 @@ body {
30
19
 
31
20
  --theme-font: 'Noto', Helvetica;
32
21
 
33
- --margin-default: 9px;
34
- --margin-narrow: 4px;
35
- --margin-wide: 15px;
36
- --padding-default: var(--margin-default);
37
- --padding-narrow: var(--margin-narrow);
38
- --padding-wide: var(--margin-wide);
22
+ --margin-default: var(--spacing-medium, 8px);
23
+ --margin-narrow: var(--spacing-small, 4px);
24
+ --margin-wide: var(--spacing-large, 12px);
25
+ --padding-default: var(--spacing-medium, 8px);
26
+ --padding-narrow: var(--spacing-small, 4px);
27
+ --padding-wide: var(--spacing-large, 12px);
39
28
 
40
29
  --scrollbar-thumb-color: rgba(57, 78, 100, 0.5);
41
- --scrollbar-thumb-hover-color: var(--primary-color);
30
+ --scrollbar-thumb-hover-color: var(--md-sys-color-primary);
42
31
 
43
32
  --fontsize-default: 14px;
44
33
  --fontsize-small: 13px;
@@ -50,77 +39,81 @@ body {
50
39
  /* title & description style */
51
40
  --title-margin: var(--margin-narrow) 0;
52
41
  --title-font: bold 24px var(--theme-font);
53
- --title-text-color: var(--secondary-color);
42
+ --title-text-color: var(--md-sys-color-secondary);
54
43
  --title-font-mobile: bold 20px var(--theme-font);
55
44
 
56
45
  --page-description-margin: var(--margin-narrow) 0 var(--margin-wide) 0;
57
46
  --page-description-font: normal var(--fontsize-default) / 1.2rem var(--theme-font);
58
- --page-description-color: var(--secondary-text-color);
47
+ --page-description-color: var(--md-sys-color-primary);
59
48
 
60
49
  --subtitle-padding: 12px 5px 3px 5px;
61
50
  --subtitle-font: bold 18px var(--theme-font);
62
- --subtitle-text-color: var(--primary-color);
63
- --subtitle-border-bottom: 1px solid var(--primary-color);
51
+ --subtitle-text-color: var(--md-sys-color-primary);
52
+ --subtitle-border-bottom: 1px solid var(--md-sys-color-primary);
64
53
 
65
54
  /* icon style */
66
- --icon-tiny-size: 24px;
67
- --icon-default-size: 36px;
68
- --icon-big-size: 48px;
69
- --icon-default-color: var(--theme-white-color);
55
+ --icon-tiny-size: var(--icon-size-medium, 24px);
56
+ --icon-default-size: var(--icon-size-large, 32px);
57
+ --icon-big-size: var(--icon-size-huge, 48px);
58
+ --icon-default-color: var(--md-sys-color-on-primary);
70
59
 
71
60
  /* material design component themes */
72
- --mdc-theme-on-primary: var(--theme-white-color);
61
+ --mdc-theme-on-primary: var(--md-sys-color-on-primary);
73
62
  --mdc-theme-primary: var(--secondary-text-color);
74
- --mdc-theme-on-secondary: var(--theme-white-color);
75
- --mdc-theme-secondary: var(--primary-color);
76
- --mdc-button-outline-color: var(--primary-color);
63
+ --mdc-theme-on-secondary: var(--md-sys-color-on-primary);
64
+ --mdc-theme-secondary: var(--md-sys-color-primary);
65
+ --mdc-button-outline-color: var(--md-sys-color-primary);
77
66
  --mdc-danger-button-primary-color: var(--status-danger-color);
78
67
  --mdc-danger-button-outline-color: var(--status-danger-color);
79
68
  --mdc-button-outline-width: 1px;
80
69
  --mdc-button-horizontal-padding: 16px;
81
70
 
82
71
  /* button style */
83
- --button-background-color: #fafbfc;
84
- --button-background-focus-color: var(--primary-color);
72
+ --button-background-color: var(--md-sys-color-surface-variant);
73
+ --button-background-focus-color: var(--md-sys-color-primary);
85
74
  --button-border: var(--border-dim-color);
86
75
  --button-border-radius: var(--border-radius);
87
76
  --button-margin: var(--margin-default) var(--margin-default) var(--margin-default) 0;
88
- --button-padding: var(--padding-default);
89
- --button-color: var(--secondary-color);
90
- --button-font: normal 15px var(--theme-font);
77
+ --button-padding: calc(var(--padding-narrow) * 1.5) var(--padding-wide);
78
+ --button-color: var(--md-sys-color-secondary);
79
+ --button-font: 600 var(--fontsize-default) var(--theme-font);
91
80
  --button-text-transform: capitalize;
92
81
  --button-active-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.2);
93
- --button-activ-border: 1px solid var(--primary-color);
82
+ --button-activ-border: 1px solid var(--md-sys-color-primary);
83
+ --button-activ-background-color: var(--md-sys-color-primary);
84
+ --button-activ-color: var(--md-sys-color-on-primary);
85
+ --iconbtn-padding: var(--padding-narrow);
94
86
 
95
- --button-primary-background-color: var(--primary-color);
87
+ --button-primary-background-color: var(--md-sys-color-primary);
96
88
  --button-primary-active-background-color: var(--status-success-color);
97
89
  --button-primary-padding: var(--margin-default) var(--margin-wide);
98
- --button-primary-color: var(--theme-white-color);
90
+ --button-primary-color: var(--md-sys-color-on-primary);
99
91
  --button-primary-font: bold 16px var(--theme-font);
100
92
 
101
93
  /* table style */
102
94
  --th-padding: var(--padding-default);
103
- --th-border-top: 2px solid var(--secondary-color);
95
+ --th-border-top: 2px solid var(--md-sys-color-secondary);
104
96
  --th-text-transform: capitalize;
105
97
  --th-font: bold var(--fontsize-small) var(--theme-font);
106
- --th-color: rgba(var(--secondary-color-rgb), 0.8);
98
+ --th-color: var(--md-sys-color-secondary);
107
99
 
108
- --tr-background-color: var(--theme-white-color);
100
+ --tr-background-color: var(--md-sys-color-surface-variant);
109
101
  --tr-background-odd-color: rgba(255, 255, 255, 0.4);
110
102
  --tr-background-hover-color: #e1f5fe;
111
103
  --td-border-line: 1px solid rgba(0, 0, 0, 0.05);
112
104
  --td-border-bottom: 1px solid rgba(0, 0, 0, 0.09);
113
105
  --td-padding: var(--padding-default);
114
106
  --td-font: normal 13px var(--theme-font);
115
- --td-color: var(--secondary-color);
107
+ --td-color: var(--md-sys-color-secondary);
116
108
 
117
- --label-cell-background-color: #f6f6f6; /* th or td common background color */
109
+ --label-cell-background-color: var(--md-sys-color-surface); /* th or td common background color */
118
110
 
119
111
  /* form style */
120
112
  --label-font: normal var(--fontsize-default) var(--theme-font);
113
+ --label-color: var(--md-sys-color-on-surface);
121
114
  --label-text-transform: capitalize;
122
115
  --input-margin: var(--margin-narrow) 0;
123
- --input-padding: var(--padding-default);
116
+ --input-padding: 6px 2px;
124
117
  --input-min-width: 200px;
125
118
  --input-font: normal var(--fontsize-default) var(--theme-font);
126
119
  --input-hint-font: normal var(--fontsize-small) var(--theme-font);
@@ -129,17 +122,17 @@ body {
129
122
  --fieldset-margin: var(--padding-wide) 0;
130
123
  --fieldset-padding: 0 var(--padding-wide) var(--padding-wide) var(--padding-wide);
131
124
  --legend-padding: var(--padding-default) 0;
132
- --legend-color: var(--secondary-text-color);
125
+ --legend-color: var(--md-sys-color-secondary);
133
126
  --legend-font: bold 16px var(--theme-font);
134
127
  }
135
128
 
129
+ body.dark {
130
+ caret-color: white;
131
+ }
132
+
136
133
  @media only screen and (max-width: 460px) {
137
134
  body {
138
135
  /* subtitle style */
139
136
  --subtitle-margin: 0;
140
137
  }
141
138
  }
142
-
143
- body.dark {
144
- --border-dim-color: 1px solid rgba(255, 255, 255, 0.15);
145
- }
@@ -0,0 +1,59 @@
1
+ body {
2
+ --ox-calendar-padding: var(--padding-default);
3
+
4
+ /* monthly common color */
5
+ --calendar-monthly-text-color: var(--md-sys-color-secondary);
6
+ --calendar-monthly-border: 1px solid rgba(0, 0, 0, 0.1);
7
+ --calendar-monthly-border-width: 0 1px 1px 0px;
8
+
9
+ /* monthly layout */
10
+ --calendar-monthly-ol-margin: var(--margin-default) 0;
11
+ --calendar-monthly-ol-top-border: 2px solid var(--md-sys-color-secondary);
12
+ --calendar-current-monty-background-color: var(--md-sys-color-surface-variant);
13
+ --calendar-monthly-label-align: left;
14
+ --calendar-monthly-label-padding: var(--padding-narrow) 0;
15
+ --calendar-monthly-label-color: var(--md-sys-color-secondary);
16
+ --calendar-monthly-opacity: 0.5;
17
+ --calendar-monthly-date-label-background-color: var(--status-danger-color);
18
+ --calendar-monthly-date-label-margin: var(--margin-narrow);
19
+ --calendar-monthly-date-label-padding: 0px 6px;
20
+ --calendar-monthly-date-label-color: var(--md-sys-color-on-primary);
21
+
22
+ --calendar-monthly-background-color: #f4f4f4;
23
+ --calendar-monthly-event-border-radius: var(--border-radius);
24
+ --calendar-monthly-event-margin: var(--padding-narrow) 0 0 0;
25
+ --calendar-monthly-event-padding: 2px var(--padding-default);
26
+ --calendar-monthly-event-border: 3px solid #ccc;
27
+ --calendar-monthly-event-border-width: 0 0 0 3px;
28
+
29
+ /* weekly common color */
30
+ --calendar-weekly-text-color: var(--md-sys-color-secondary);
31
+ --calendar-weekly-border: 1px solid rgba(0, 0, 0, 0.1);
32
+ --calendar-weekly-border-width: 0 1px 1px 0px;
33
+
34
+ /* weekly layout */
35
+ --calendar-weekly-ol-margin: var(--margin-default) 0;
36
+ --calendar-weekly-ol-top-border: 2px solid var(--md-sys-color-secondary);
37
+ --calendar-current-week-background-color: var(--md-sys-color-surface-variant);
38
+ --calendar-weekly-label-align: center;
39
+ --calendar-weekly-label-padding: var(--padding-narrow) 0;
40
+ --calendar-weekly-label-color: var(--md-sys-color-secondary);
41
+ --calendar-weekly-opacity: 0.5;
42
+ --calendar-weekly-date-label-background-color: var(--status-danger-color);
43
+ --calendar-weekly-date-label-margin: var(--margin-narrow);
44
+ --calendar-weekly-date-label-padding: 0px 6px;
45
+ --calendar-weekly-date-label-color: var(--md-sys-color-on-primary);
46
+
47
+ --calendar-weekly-background-color: #f4f4f4;
48
+ --calendar-weekly-event-border-radius: var(--border-radius);
49
+ --calendar-weekly-event-margin: var(--padding-narrow) 0 0 0;
50
+ --calendar-weekly-event-padding: 2px var(--padding-default);
51
+ --calendar-weekly-event-border: 3px solid #ccc;
52
+ --calendar-weekly-event-border-width: 0 0 0 3px;
53
+ }
54
+
55
+ @media only screen and (max-width: 460px) {
56
+ body {
57
+ --calendar-monthly-text-color: tomato;
58
+ }
59
+ }
@@ -0,0 +1,51 @@
1
+ .dark {
2
+ --md-sys-color-primary: rgb(178 197 255);
3
+ --md-sys-color-surface-tint: rgb(178 197 255);
4
+ --md-sys-color-on-primary: rgb(24 46 96);
5
+ --md-sys-color-primary-container: rgb(49 69 120);
6
+ --md-sys-color-on-primary-container: rgb(218 226 255);
7
+ --md-sys-color-secondary: rgb(143 207 243);
8
+ --md-sys-color-on-secondary: rgb(0 53 73);
9
+ --md-sys-color-secondary-container: rgb(0 76 104);
10
+ --md-sys-color-on-secondary-container: rgb(195 232 255);
11
+ --md-sys-color-tertiary: #cffce3;
12
+ --md-sys-color-on-tertiary: rgb(0 56 35);
13
+ --md-sys-color-tertiary-container: #005234;
14
+ --md-sys-color-on-tertiary-container: #cffce3;
15
+ --md-sys-color-error: #fbafa9;
16
+ --md-sys-color-on-error: #fe594e;
17
+ --md-sys-color-error-container: #fe594e;
18
+ --md-sys-color-on-error-container: #fbafa9;
19
+ --md-sys-color-background: rgb(18 19 24);
20
+ --md-sys-color-on-background: rgb(227 226 233);
21
+ --md-sys-color-surface: rgb(18 19 24);
22
+ --md-sys-color-on-surface: rgb(227 226 233);
23
+ --md-sys-color-surface-variant: rgb(69 70 79);
24
+ --md-sys-color-on-surface-variant: rgb(197 198 208);
25
+ --md-sys-color-outline: rgb(143 144 154);
26
+ --md-sys-color-outline-variant: rgb(69 70 79);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(227 226 233);
30
+ --md-sys-color-inverse-on-surface: rgb(47 48 54);
31
+ --md-sys-color-inverse-primary: rgb(73 93 146);
32
+ --md-sys-color-primary-fixed: rgb(218 226 255);
33
+ --md-sys-color-on-primary-fixed: rgb(0 24 72);
34
+ --md-sys-color-primary-fixed-dim: rgb(178 197 255);
35
+ --md-sys-color-on-primary-fixed-variant: rgb(49 69 120);
36
+ --md-sys-color-secondary-fixed: rgb(195 232 255);
37
+ --md-sys-color-on-secondary-fixed: rgb(0 30 44);
38
+ --md-sys-color-secondary-fixed-dim: rgb(143 207 243);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(0 76 104);
40
+ --md-sys-color-tertiary-fixed: #c7e6d5;
41
+ --md-sys-color-on-tertiary-fixed: rgb(0 33 19);
42
+ --md-sys-color-tertiary-fixed-dim: #c7e6d5;
43
+ --md-sys-color-on-tertiary-fixed-variant: rgb(0 82 52);
44
+ --md-sys-color-surface-dim: rgb(18 19 24);
45
+ --md-sys-color-surface-bright: rgb(56 57 63);
46
+ --md-sys-color-surface-container-lowest: rgb(13 14 19);
47
+ --md-sys-color-surface-container-low: rgb(26 27 33);
48
+ --md-sys-color-surface-container: rgb(30 31 37);
49
+ --md-sys-color-surface-container-high: rgb(41 42 47);
50
+ --md-sys-color-surface-container-highest: rgb(51 52 58);
51
+ }
@@ -0,0 +1,71 @@
1
+ body {
2
+ --form-border: none;
3
+ --form-margin: var(--spacing-medium);
4
+ --form-max-width: 700px;
5
+ --form-multi-column-max-width: 100%;
6
+ --form-sublabel-font: normal 13px var(--theme-font);
7
+ --form-grid-gap: 12px 5px;
8
+
9
+ --legend-padding: var(--spacing-medium) 0;
10
+ --legend-font: bold 16px var(--theme-font);
11
+ --legend-text-color: var(--md-sys-color-on-secondary);
12
+ --legend-border-bottom: 1px solid var(--md-sys-color-primary);
13
+
14
+ --label-padding: 3px 0;
15
+ --label-font: normal 14px var(--theme-font);
16
+
17
+ --input-field-border: 1px solid rgba(0, 0, 0, 0.2);
18
+ --input-field-border-radius: var(--border-radius);
19
+ --input-field-padding: 2px 9px;
20
+ --input-field-font: normal 14px var(--theme-font);
21
+
22
+ --search-panel-background-color: rgba(0, 0, 0, 0.1);
23
+ --search-panel-search-iconbutton-size: var(--icon-default-size);
24
+ --search-form-box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.15);
25
+ --search-form-box-padding: 15px 30px 15px 15px;
26
+
27
+ --ox-input-border: none;
28
+
29
+ --file-uploader-border: 1px solid rgba(0, 0, 0, 0.1);
30
+ --file-uploader-background-color: var(--md-sys-color-background);
31
+ --file-uploader-font: normal 12px/20px var(--theme-font);
32
+ --file-uploader-color: var(--md-sys-color-secondary);
33
+ --file-uploader-icon-color: var(--md-sys-color-primary);
34
+ --file-uploader-candrop-background-color: #fffde9;
35
+ --file-uploader-label-padding: 3px 20px;
36
+ --file-uploader-label-border-radius: var(--border-radius);
37
+ --file-uploader-label-background-color: var(--md-sys-color-secondary);
38
+ --file-uploader-label-font: normal 12px var(--theme-font);
39
+ --file-uploader-label-color: #fff;
40
+ --file-uploader-li-padding: 2px 5px 0px 5px;
41
+ --file-uploader-li-border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
42
+ --file-uploader-li-icon-margin: 2px 0 2px 5px;
43
+ --file-uploader-li-icon-font: normal 15px var(--md-icon-font, 'Material Symbols Outlined');
44
+ --file-uploader-li-icon-focus-color: var(--md-sys-color-primary);
45
+ }
46
+
47
+ @media screen and (max-width: 480px) {
48
+ body {
49
+ --label-font: normal 15px var(--theme-font);
50
+ }
51
+ }
52
+
53
+ @media (min-width: 481px) and (max-width: 1024px) {
54
+ body {
55
+ --form-margin: 15px 0;
56
+ --form-multi-column-max-width: 100%;
57
+ --form-container-padding: 0 9px 12px 9px;
58
+ --label-font: normal 14px var(--theme-font);
59
+ --input-field-font: normal 15px var(--theme-font);
60
+ --input-field-padding: 3px 5px;
61
+ }
62
+ }
63
+
64
+ @media only screen and (max-width: 925px) {
65
+ body {
66
+ --form-margin: 14px 0;
67
+ --form-multi-column-max-width: 100%;
68
+ --form-container-padding: 0 9px 12px 9px;
69
+ --input-field-padding: 3px 5px;
70
+ }
71
+ }
@@ -0,0 +1,175 @@
1
+ body {
2
+ --grid-container-border-color: 1px solid rgba(0, 0, 0, 0.09);
3
+ --grid-container-border-width: 1px 0;
4
+ --grid-wrap-container-border: 0px solid transparent;
5
+ --grid-wrap-container-border-width: 0;
6
+
7
+ --grist-background-color: transparent;
8
+ --grist-title-margin: 0 0 0 10px;
9
+ --grist-title-border: none;
10
+ --grist-title-font: var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)) 1.1em
11
+ var(--theme-font, 'Roboto');
12
+ --grist-title-color: var(--md-sys-color-on-surface);
13
+ --grist-title-icon-color: var(--md-sys-color-on-surface-variant);
14
+ --grist-title-icon-margin: 0 3px 2px 0;
15
+ --grist-title-icon-size: var(--md-sys-typescale-label-large-size, 0.875rem);
16
+ --grist-title-with-grid-padding: 0;
17
+
18
+ --grist-object-editor-font: normal 1em var(--theme-font, 'Roboto');
19
+ --grist-object-editor-color: var(--md-sys-color-on-surface);
20
+
21
+ --grist-input-progress-border: 1px solid rgba(255, 255, 255, 0.5);
22
+ --grist-input-progress-background: rgba(121, 110, 110, 0.1);
23
+ --grist-input-progress-bar-background: var(--md-sys-color-primary-fixed-dim);
24
+ --grist-input-progress-bar-color: var(--md-sys-color-on-surface-variant);
25
+
26
+ --grid-header-background-color: var(--md-sys-color-surface-container-low);
27
+ --grid-header-top-border: 2px solid var(--md-sys-color-primary);
28
+ --grid-header-bottom-border: var(--grid-container-border-color);
29
+ --grid-header-border-color: var(--md-sys-color-outline);
30
+ --grid-header-padding: var(--spacing-small) var(--spacing-tiny);
31
+ --grid-header-sorter-size: 18px;
32
+ --grid-header-splitter-border: var(--grid-container-border-color);
33
+ --grid-header-splitter-border-hover: 1px solid var(--md-sys-color-inverse-primary);
34
+ --grid-header-color: var(--md-sys-color-primary);
35
+ --grid-header-font: var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500))
36
+ var(--fontsize-small) var(--theme-font, 'Roboto');
37
+ --grid-header-filter-title-color: var(--md-sys-color-on-surface);
38
+ --grid-header-filter-title-font: normal 12px var(--theme-font, 'Roboto');
39
+ --grid-header-filter-title-icon-color: var(--md-sys-color-on-surface-variant);
40
+
41
+ --grid-body-bottom-border: var(--grid-header-bottom-border);
42
+
43
+ --grid-gutter-padding: var(--spacing-tiny) 0;
44
+
45
+ --grid-record-background-color: var(--md-sys-color-surface-container-lowest);
46
+ --grid-record-odd-background-color: var(--md-sys-color-surface-container-low);
47
+ --grid-record-padding: var(--spacing-small) var(--spacing-medium);
48
+ --grid-record-color: var(--md-sys-color-on-surface-variant);
49
+ --grid-record-color-hover: var(--md-sys-color-primary);
50
+ --grid-record-wide-fontsize: var(--md-sys-typescale-label-large-size, 0.875rem);
51
+ --grid-record-selected-background-color: var(--md-sys-color-primary-container);
52
+ --grid-record-selected-color: var(--md-sys-color-on-primary-container);
53
+ --grid-record-focused-border: 1px solid var(--md-sys-color-outline-variant);
54
+ --grid-record-focused-cell-background-color: var(--md-sys-color-secondary-container);
55
+ --grid-record-focused-cell-border: 1px dashed var(--md-sys-color-outline);
56
+ --grid-record-focused-box-shadow: 0px 2px 0px 0px rgb(0 0 0 / 10%);
57
+ --grid-record-emphasized-background-color: var(--md-sys-color-secondary-fixed-dim);
58
+ --grid-record-emphasized-color: var(--md-sys-color-on-secondary-fixed-variant);
59
+ --grid-record-editing-background-color: var(--md-sys-color-inverse-primary);
60
+ --grid-record-editing-border: 1px dashed rgba(var(--md-sys-color-primary-rgb), 0.4);
61
+ --grid-record-fontsize: var(--md-sys-typescale-label-large-size, 0.875rem);
62
+ --grid-record-border-bottom: var(--grid-container-border-color);
63
+
64
+ --grid-record-dirty-border-top: 24px solid rgba(var(--md-sys-color-primary-rgb), 0.6);
65
+ --grid-record-dirty-border-left: 24px solid transparent;
66
+ --grid-record-dirty-icon-font: bold 10px/12px var(--md-icon-font, 'Material Symbols Outlined');
67
+ --grid-record-dirty-icon-size: var(--fontsize-large);
68
+ --grid-record-dirty-color: var(--md-sys-color-surface);
69
+
70
+ --grid-footer-background-color: var(--md-sys-color-surface-container-low);
71
+ --grid-footer-font-size: var(--md-sys-typescale-label-large-size, 0.875rem);
72
+ --grid-footer-color: var(--md-sys-color-primary);
73
+ --grid-footer-limit-color: var(--md-ref-palette-neutral40, #5f5f5f);
74
+ --grid-footer-inactive-color: var(--md-ref-palette-neutral40, #5f5f5f);
75
+ --grid-footer-padding: var(--spacing-small) var(--spacing-medium);
76
+
77
+ --data-list-background-color: var(--md-sys-color-surface-container-lowest);
78
+ --data-list-item-margin: var(--spacing-medium);
79
+ --data-list-item-padding: var(--spacing-medium) var(--spacing-large);
80
+ --data-list-item-border-bottom: var(--grid-container-border-color);
81
+ --data-list-item-name-font: bold 1.1em var(--theme-font, 'Roboto');
82
+ --data-list-item-name-color: var(--md-sys-color-secondary);
83
+ --data-list-item-disc-font: normal 0.9em var(--theme-font, 'Roboto');
84
+ --data-list-item-disc-color: var(--md-sys-color-on-tertiary-container);
85
+ --data-list-item-etc-label-font: bold 1em/1em var(--theme-font, 'Roboto');
86
+ --data-list-item-etc-font: normal 0.9em/1em var(--theme-font, 'Roboto');
87
+ --data-list-item-etc-color: var(--md-ref-palette-neutral50, #787878);
88
+ --data-list-item-icon-font: normal 1em/1em;
89
+ --data-list-item-icon-color: var(--md-sys-color-on-secondary);
90
+ --data-list-selected-background-color: var(--grid-record-selected-background-color);
91
+ --data-list-fab-position-horizontal: 15px;
92
+ --data-list-fab-position-vertical: 15px;
93
+ --data-list-fab-color: var(--md-sys-color-primary);
94
+ --data-list-fab-shadow: var(--box-shadow);
95
+
96
+ --data-card-background-color: var(--md-sys-color-surface-container);
97
+ --data-card-record-card-background-color: var(--md-sys-color-surface-container-lowest);
98
+ --data-card-record-card-border: var(--grid-container-border-color);
99
+ --data-card-record-card-border-hover: 1px solid var(--md-sys-color-primary);
100
+ --data-card-record-card-boxshadow-hover: 1px 1px 2px 1px rgba(0, 0, 0, 0.15);
101
+ --data-card-record-card-selected-border: 1px solid var(--md-sys-color-primary);
102
+ --data-card-record-card-border-radius: var(--md-sys-shape-corner-small);
103
+ --data-card-item-margin: var(--spacing-medium);
104
+ --data-card-item-padding: var(--spacing-medium) var(--spacing-large);
105
+ --data-card-item-border-bottom: var(--grid-container-border-color);
106
+ --data-card-item-name-font: bold 1.1em var(--theme-font, 'Roboto');
107
+ --data-card-item-name-color: var(--md-sys-color-secondary);
108
+ --data-card-item-name-label-font: normal 0.65em/0.8em var(--theme-font, 'Roboto');
109
+ --data-card-item-name-label-color: var(--md-sys-color-secondary);
110
+ --data-card-item-disc-font: normal 0.9em var(--theme-font, 'Roboto');
111
+ --data-card-item-disc-color: var(--md-sys-color-tertiary);
112
+ --data-card-item-etc-label-font: normal 1em/1em var(--theme-font, 'Roboto');
113
+ --data-card-item-etc-font: normal 0.9em/1em var(--theme-font, 'Roboto');
114
+ --data-card-item-etc-color: var(--md-ref-palette-neutral50, #787878);
115
+ --data-card-item-icon-font: normal 1em/1em;
116
+ --data-card-item-icon-color: var(--md-sys-color-on-secondary);
117
+ --data-card-item-btn-border: var(--grid-container-border-color);
118
+ --data-card-item-btn-border-radius: var(--md-sys-shape-corner-small);
119
+ --data-card-item-btn-padding: var(--spacing-small);
120
+ --data-card-selected-background-color: var(--grid-record-selected-background-color);
121
+ --data-card-fab-position-horizontal: 15px;
122
+ --data-card-fab-position-vertical: 15px;
123
+ --data-card-fab-color: var(--md-sys-color-primary);
124
+ --data-card-fab-shadow: var(--box-shadow);
125
+ --data-card-thumbnail-height: 140px;
126
+ --data-card-thumbnail-border-bottom: var(--grid-container-border-color);
127
+ --data-card-attachimg-height: 70px;
128
+
129
+ --record-view-background-color: var(--md-sys-color-surface-container);
130
+ --record-view-gap: var(--spacing-small) 0;
131
+ --record-view-padding: var(--spacing-medium);
132
+ --record-view-label-font: var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)) 15px
133
+ var(--theme-font, 'Roboto');
134
+ --record-view-label-color: var(--md-sys-color-secondary);
135
+ --record-view-label-icon-size: var(--fontsize-small);
136
+ --record-view-font: normal 15px var(--theme-font, 'Roboto');
137
+ --record-view-color: var(--md-sys-color-secondary);
138
+ --record-view-focus-color: var(--md-sys-color-primary);
139
+ --record-view-border-bottom: var(--grid-container-border-color);
140
+ --record-view-edit-border-bottom: 2px solid var(--md-sys-color-primary);
141
+ --record-view-item-padding: var(--spacing-medium);
142
+
143
+ --record-view-footer-background: var(--md-ref-palette-neutral50, #787878);
144
+ --record-view-footer-button-border: var(--grid-container-border-color);
145
+ --record-view-footer-button-border-width: 0 0 0 1px;
146
+ --record-view-footer-button-font: 17px;
147
+ --record-view-footer-button-color: var(--md-sys-color-surface);
148
+ --record-view-footer-iconbutton-size: 35px;
149
+ --record-view-footer-focus-background: var(--md-sys-color-primary);
150
+
151
+ --ox-grist-padding: var(--spacing-medium);
152
+ }
153
+
154
+ @media only screen and (max-width: 460px) {
155
+ body {
156
+ --record-view-label-font: var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)) 15px/32px
157
+ var(--theme-font, 'Roboto');
158
+ --record-view-font: normal 15px/32px var(--theme-font, 'Roboto');
159
+ --ox-grist-padding: 0;
160
+ }
161
+ }
162
+ @media (min-width: 461px) and (max-width: 700px) {
163
+ body {
164
+ --ox-grist-padding: 0;
165
+ }
166
+ }
167
+ @media (min-width: 461px) and (max-width: 1024px) {
168
+ body {
169
+ --data-card-create-form-padding: 7px;
170
+ }
171
+ }
172
+
173
+ body.dark {
174
+ --grid-container-border-color: 1px solid rgba(255, 255, 255, 0.09);
175
+ }
@@ -0,0 +1,94 @@
1
+ body {
2
+ --header-bar-background-color: var(--md-sys-color-primary);
3
+ --header-bar-icon-size: var(--icon-default-size);
4
+ --header-bar-title: bold 17.5px var(--theme-font);
5
+ --header-bar-color: var(--md-sys-color-on-primary);
6
+ --header-bar-height: 45px;
7
+
8
+ --nav-bar-background-color: var(--md-sys-color-primary-container);
9
+
10
+ --group-bar-background-color: var(--md-sys-color-secondary-container);
11
+ --group-bar-textbutton: 16px/32px var(--theme-font);
12
+ --group-bar-textbutton-active: bold var(--group-bar-textbutton);
13
+ --group-bar-active-line-color: var(--md-sys-color-on-secondary-container);
14
+ --group-bar-line: solid 3px rgba(0, 0, 0, 0.2);
15
+
16
+ --footer-bar-border-top: 1px solid rgba(0, 0, 0, 0.2);
17
+
18
+ --aside-background-color: var(--md-sys-color-secondary-container);
19
+ --aside-list-textbtton: 18px var(--theme-font);
20
+ --aside-list-icon: var(--icon-default-size);
21
+ --aside-list-bottom-line: var(--md-sys-color-outline);
22
+ --aside-list-detail-background-color: #fff;
23
+ --aside-list-detail-text: 14px var(--md-sys-color-on-secondary-container);
24
+
25
+ --footer-bar-border-top: 1px solid rgba(0, 0, 0, 0.2);
26
+
27
+ --button-container-margin: inintial;
28
+ --button-container-padding: 0 var(--padding-default) var(--padding-wide) var(--padding-default);
29
+ --button-container-background: transparent;
30
+ --button-container-height: initial;
31
+ --button-container-align: right;
32
+ --button-container-button-background-color: var(--md-sys-color-secondary);
33
+ --button-container-button-border-radius: var(--button-border-radius);
34
+ --button-container-button-margin: var(--button-margin);
35
+ --button-container-button-font: bold var(--fontsize-large) var(--theme-font);
36
+ --button-container-button-color: var(--md-sys-color-on-primary);
37
+ --button-container-button-height: initial;
38
+ --button-container-button-border: var(--button-border);
39
+
40
+ --popup-content-background-color: var(--md-sys-color-background);
41
+ --popup-content-color: var(--md-sys-color-on-background);
42
+ --popup-content-padding: 10px 20px;
43
+
44
+ /* components - floating overlay style */
45
+ --overlay-center-small-width: 30%;
46
+ --overlay-center-small-height: 30%;
47
+ --overlay-center-normal-width: 50%;
48
+ --overlay-center-normal-height: 50%;
49
+ --overlay-center-large-width: 75%;
50
+ --overlay-center-large-height: 75%;
51
+ --overlay-header-height: var(--header-bar-height);
52
+ --overlay-header-background-color: var(--header-bar-background-color);
53
+ --overlay-header-color: #fff;
54
+ --overlay-header-font: var(--header-bar-title);
55
+ --overlay-background-color: rgba(0, 0, 0, 0.5);
56
+ --overlay-margin-bottom: 0px;
57
+
58
+ /* components - resize splitter style */
59
+ --splitter-background-color: rgba(0, 0, 0, 0.1);
60
+ --splitter-hover-background-color: rgba(0, 0, 0, 0.1);
61
+ }
62
+
63
+ @media only screen and (max-width: 460px) {
64
+ body {
65
+ --button-container-margin: 0 -15px;
66
+ --button-container-padding: 0 0 0 0;
67
+ --button-container-background: #586272;
68
+ --button-container-height: 50px;
69
+ --button-container-align: right;
70
+ --button-container-button-background-color: transparent;
71
+ --button-container-button-border-radius: 0;
72
+ --button-container-button-margin: 0;
73
+ --button-container-button-height: 50px;
74
+ --button-container-button-border: 1px solid rgba(0, 0, 0, 0.1);
75
+
76
+ --overlay-center-small-width: 100%;
77
+ --overlay-center-small-height: 100%;
78
+ --overlay-center-normal-width: 100%;
79
+ --overlay-center-normal-height: 100%;
80
+ --overlay-center-large-width: 100%;
81
+ --overlay-center-large-height: 100%;
82
+ }
83
+ }
84
+
85
+ @media (min-width: 461px) and (max-width: 1024px) {
86
+ body {
87
+ --overlay-center-small-width: 40%;
88
+ --overlay-center-small-height: 40%;
89
+ --overlay-center-normal-width: 60%;
90
+ --overlay-center-normal-height: 60%;
91
+ --overlay-center-large-width: 80%;
92
+ --overlay-center-large-height: 80%;
93
+ }
94
+ }
@@ -0,0 +1,51 @@
1
+ .light {
2
+ --md-sys-color-primary: rgb(73 93 146);
3
+ --md-sys-color-surface-tint: rgb(73 93 146);
4
+ --md-sys-color-on-primary: rgb(255 255 255);
5
+ --md-sys-color-primary-container: #e4eaf9;
6
+ --md-sys-color-on-primary-container: rgb(0 24 72);
7
+ --md-sys-color-secondary: rgb(27 101 133);
8
+ --md-sys-color-on-secondary: rgb(255 255 255);
9
+ --md-sys-color-secondary-container: rgb(195 232 255);
10
+ --md-sys-color-on-secondary-container: rgb(0 30 44);
11
+ --md-sys-color-tertiary: rgb(37 106 75);
12
+ --md-sys-color-on-tertiary: rgb(255 255 255);
13
+ --md-sys-color-tertiary-container: rgb(171 242 201);
14
+ --md-sys-color-on-tertiary-container: rgb(0 33 19);
15
+ --md-sys-color-error: #fe594e;
16
+ --md-sys-color-on-error: rgb(255 255 255);
17
+ --md-sys-color-error-container: rgb(255 218 215);
18
+ --md-sys-color-on-error-container: #fe594e;
19
+ --md-sys-color-background: rgb(250 248 255);
20
+ --md-sys-color-on-background: rgb(26 27 33);
21
+ --md-sys-color-surface: rgb(250 248 255);
22
+ --md-sys-color-on-surface: rgb(26 27 33);
23
+ --md-sys-color-surface-variant: rgb(225 226 236);
24
+ --md-sys-color-on-surface-variant: rgb(69 70 79);
25
+ --md-sys-color-outline: rgba(0, 0, 0, 0.25);
26
+ --md-sys-color-outline-variant: rgb(197 198 208);
27
+ --md-sys-color-shadow: rgb(0 0 0);
28
+ --md-sys-color-scrim: rgb(0 0 0);
29
+ --md-sys-color-inverse-surface: rgb(47 48 54);
30
+ --md-sys-color-inverse-on-surface: rgb(241 240 247);
31
+ --md-sys-color-inverse-primary: #c9d4f4;
32
+ --md-sys-color-primary-fixed: rgb(218 226 255);
33
+ --md-sys-color-on-primary-fixed: rgb(0 24 72);
34
+ --md-sys-color-primary-fixed-dim: #c9d4f4;
35
+ --md-sys-color-on-primary-fixed-variant: rgb(49 69 120);
36
+ --md-sys-color-secondary-fixed: rgb(195 232 255);
37
+ --md-sys-color-on-secondary-fixed: rgb(0 30 44);
38
+ --md-sys-color-secondary-fixed-dim: rgb(143 207 243);
39
+ --md-sys-color-on-secondary-fixed-variant: rgb(0 76 104);
40
+ --md-sys-color-tertiary-fixed: #e5f6da;
41
+ --md-sys-color-on-tertiary-fixed: #005234;
42
+ --md-sys-color-tertiary-fixed-dim: #c8eabc;
43
+ --md-sys-color-on-tertiary-fixed-variant: #005234;
44
+ --md-sys-color-surface-dim: rgb(218 217 224);
45
+ --md-sys-color-surface-bright: rgb(250 248 255);
46
+ --md-sys-color-surface-container-lowest: rgb(255 255 255);
47
+ --md-sys-color-surface-container-low: rgb(244 243 250);
48
+ --md-sys-color-surface-container: rgb(238 237 244);
49
+ --md-sys-color-surface-container-high: rgb(232 231 239);
50
+ --md-sys-color-surface-container-highest: rgb(227 226 233);
51
+ }
@@ -0,0 +1,23 @@
1
+ body {
2
+ font-variation-settings: 'FILL' 1;
3
+
4
+ /* shape corner */
5
+ --md-sys-shape-corner-none: 0px;
6
+ --md-sys-shape-corner-small: 5px;
7
+ --md-sys-shape-corner-medium: 10px;
8
+ --md-sys-shape-corner-large: 30px;
9
+ --md-sys-shape-corner-full: 999px;
10
+
11
+ /* md-switch */
12
+ --md-switch-selected-handle-color: var(--md-sys-color-on-primary);
13
+ --md-switch-selected-track-color: var(--md-sys-color-primary);
14
+
15
+ /* md component shapes */
16
+ --md-switch-handle-shape: var(--md-sys-shape-corner-full);
17
+ --md-switch-track-shape: var(--md-sys-shape-corner-full);
18
+ --md-filter-chip-container-shape: var(--md-sys-shape-corner-full);
19
+ --md-text-button-container-shape: var(--md-sys-shape-corner-small);
20
+ --md-filled-button-container-shape: var(--md-sys-shape-corner-small);
21
+ --md-outlined-button-container-shape: var(--md-sys-shape-corner-small);
22
+ --md-elevated-button-container-shape: var(--md-sys-shape-corner-small);
23
+ }
@@ -0,0 +1,100 @@
1
+ @layer {
2
+ .md-typescale-display-small,
3
+ .md-typescale-display-small-prominent {
4
+ font: var(--md-sys-typescale-display-small-weight, var(--md-ref-typeface-weight-regular, 400))
5
+ var(--md-sys-typescale-display-small-size, 2.25rem) / var(--md-sys-typescale-display-small-line-height, 2.75rem)
6
+ var(--md-sys-typescale-display-small-font, var(--md-ref-typeface-brand, 'Roboto'));
7
+ }
8
+ .md-typescale-display-medium,
9
+ .md-typescale-display-medium-prominent {
10
+ font: var(--md-sys-typescale-display-medium-weight, var(--md-ref-typeface-weight-regular, 400))
11
+ var(--md-sys-typescale-display-medium-size, 2.8125rem) /
12
+ var(--md-sys-typescale-display-medium-line-height, 3.25rem)
13
+ var(--md-sys-typescale-display-medium-font, var(--md-ref-typeface-brand, 'Roboto'));
14
+ }
15
+ .md-typescale-display-large,
16
+ .md-typescale-display-large-prominent {
17
+ font: var(--md-sys-typescale-display-large-weight, var(--md-ref-typeface-weight-regular, 400))
18
+ var(--md-sys-typescale-display-large-size, 3.5625rem) / var(--md-sys-typescale-display-large-line-height, 4rem)
19
+ var(--md-sys-typescale-display-large-font, var(--md-ref-typeface-brand, 'Roboto'));
20
+ }
21
+ .md-typescale-headline-small,
22
+ .md-typescale-headline-small-prominent {
23
+ font: var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400))
24
+ var(--md-sys-typescale-headline-small-size, 1.5rem) / var(--md-sys-typescale-headline-small-line-height, 2rem)
25
+ var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, 'Roboto'));
26
+ }
27
+ .md-typescale-headline-medium,
28
+ .md-typescale-headline-medium-prominent {
29
+ font: var(--md-sys-typescale-headline-medium-weight, var(--md-ref-typeface-weight-regular, 400))
30
+ var(--md-sys-typescale-headline-medium-size, 1.75rem) /
31
+ var(--md-sys-typescale-headline-medium-line-height, 2.25rem)
32
+ var(--md-sys-typescale-headline-medium-font, var(--md-ref-typeface-brand, 'Roboto'));
33
+ }
34
+ .md-typescale-headline-large,
35
+ .md-typescale-headline-large-prominent {
36
+ font: var(--md-sys-typescale-headline-large-weight, var(--md-ref-typeface-weight-regular, 400))
37
+ var(--md-sys-typescale-headline-large-size, 2rem) / var(--md-sys-typescale-headline-large-line-height, 2.5rem)
38
+ var(--md-sys-typescale-headline-large-font, var(--md-ref-typeface-brand, 'Roboto'));
39
+ }
40
+ .md-typescale-title-small,
41
+ .md-typescale-title-small-prominent {
42
+ font: var(--md-sys-typescale-title-small-weight, var(--md-ref-typeface-weight-medium, 500))
43
+ var(--md-sys-typescale-title-small-size, 0.875rem) / var(--md-sys-typescale-title-small-line-height, 1.25rem)
44
+ var(--md-sys-typescale-title-small-font, var(--md-ref-typeface-plain, 'Roboto'));
45
+ }
46
+ .md-typescale-title-medium,
47
+ .md-typescale-title-medium-prominent {
48
+ font: var(--md-sys-typescale-title-medium-weight, var(--md-ref-typeface-weight-medium, 500))
49
+ var(--md-sys-typescale-title-medium-size, 1rem) / var(--md-sys-typescale-title-medium-line-height, 1.5rem)
50
+ var(--md-sys-typescale-title-medium-font, var(--md-ref-typeface-plain, 'Roboto'));
51
+ }
52
+ .md-typescale-title-large,
53
+ .md-typescale-title-large-prominent {
54
+ font: var(--md-sys-typescale-title-large-weight, var(--md-ref-typeface-weight-regular, 400))
55
+ var(--md-sys-typescale-title-large-size, 1.375rem) / var(--md-sys-typescale-title-large-line-height, 1.75rem)
56
+ var(--md-sys-typescale-title-large-font, var(--md-ref-typeface-brand, 'Roboto'));
57
+ }
58
+ .md-typescale-body-small,
59
+ .md-typescale-body-small-prominent {
60
+ font: var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400))
61
+ var(--md-sys-typescale-body-small-size, 0.75rem) / var(--md-sys-typescale-body-small-line-height, 1rem)
62
+ var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, 'Roboto'));
63
+ }
64
+ .md-typescale-body-medium,
65
+ .md-typescale-body-medium-prominent {
66
+ font: var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400))
67
+ var(--md-sys-typescale-body-medium-size, 0.875rem) / var(--md-sys-typescale-body-medium-line-height, 1.25rem)
68
+ var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, 'Roboto'));
69
+ }
70
+ .md-typescale-body-large,
71
+ .md-typescale-body-large-prominent {
72
+ font: var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400))
73
+ var(--md-sys-typescale-body-large-size, 1rem) / var(--md-sys-typescale-body-large-line-height, 1.5rem)
74
+ var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, 'Roboto'));
75
+ }
76
+ .md-typescale-label-small,
77
+ .md-typescale-label-small-prominent {
78
+ font: var(--md-sys-typescale-label-small-weight, var(--md-ref-typeface-weight-medium, 500))
79
+ var(--md-sys-typescale-label-small-size, 0.6875rem) / var(--md-sys-typescale-label-small-line-height, 1rem)
80
+ var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, 'Roboto'));
81
+ }
82
+ .md-typescale-label-medium,
83
+ .md-typescale-label-medium-prominent {
84
+ font: var(--md-sys-typescale-label-medium-weight, var(--md-ref-typeface-weight-medium, 500))
85
+ var(--md-sys-typescale-label-medium-size, 0.75rem) / var(--md-sys-typescale-label-medium-line-height, 1rem)
86
+ var(--md-sys-typescale-label-medium-font, var(--md-ref-typeface-plain, 'Roboto'));
87
+ }
88
+ .md-typescale-label-medium-prominent {
89
+ font-weight: var(--md-sys-typescale-label-medium-weight-prominent, var(--md-ref-typeface-weight-bold, 700));
90
+ }
91
+ .md-typescale-label-large,
92
+ .md-typescale-label-large-prominent {
93
+ font: var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500))
94
+ var(--md-sys-typescale-label-large-size, 0.875rem) / var(--md-sys-typescale-label-large-line-height, 1.25rem)
95
+ var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, 'Roboto'));
96
+ }
97
+ .md-typescale-label-large-prominent {
98
+ font-weight: var(--md-sys-typescale-label-large-weight-prominent, var(--md-ref-typeface-weight-bold, 700));
99
+ }
100
+ } /*# sourceMappingURL=md-typescale-styles.css.map */
@@ -0,0 +1,22 @@
1
+ body {
2
+ /* oops note style */
3
+ --oops-note-icon-font: normal 24px var(--md-icon-font, 'Material Symbols Outlined');
4
+ --oops-note-icon-color: var(--md-sys-color-on-surface);
5
+ --oops-note-icon-border: 2px solid var(--md-sys-color-outline);
6
+ --oops-note-icon-border-radius: 50px;
7
+ --oops-note-icon-padding: var(--padding-default);
8
+ --oops-note-title-margin: 7px 0 2px 0;
9
+ --oops-note-title-font: bold 14px var(--theme-font);
10
+ --oops-note-title-color: var(--md-sys-color-secondary);
11
+ --oops-note-description-font: normal 12px var(--theme-font);
12
+ --oops-note-description-color: var(--md-sys-color-primary);
13
+ }
14
+ @media only screen and (max-width: 460px) {
15
+ body {
16
+ --oops-note-icon-padding: var(--padding-narrow);
17
+ --oops-note-icon-font: normal 18px var(--md-icon-font, 'Material Symbols Outlined');
18
+ --oops-note-title-font: bold 13px var(--theme-font);
19
+ --oops-note-title-margin: var(--margin-narrow) 0 2px 0;
20
+ --oops-note-description-font: normal 0px var(--theme-font);
21
+ }
22
+ }
@@ -0,0 +1,47 @@
1
+ body {
2
+ --report-background-color: var(--md-sys-color-background);
3
+ --report-padding: 15px;
4
+ --report-title-margin: 0 0 0 10px;
5
+ --report-title-border: none;
6
+ --report-title-color: var(--md-sys-color-secondary);
7
+ --report-title-icon-color: var(--md-sys-color-primary);
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: var(--md-sys-color-surface);
14
+ --report-header-border: 1px solid var(--report-header-border-color);
15
+ --report-header-border-color: var(--md-sys-color-outline);
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
+ }
@@ -0,0 +1,23 @@
1
+ :root {
2
+ /* spacing */
3
+ --spacing-none: 0px;
4
+ --spacing-tiny: 2px;
5
+ --spacing-small: 4px;
6
+ --spacing-medium: 8px;
7
+ --spacing-large: 12px;
8
+ --spacing-huge: 24px;
9
+
10
+ /* icon size */
11
+ --icon-size-tiny: 14px;
12
+ --icon-size-small: 18px;
13
+ --icon-size-medium: 24px;
14
+ --icon-size-large: 32px;
15
+ --icon-size-huge: 48px;
16
+
17
+ /* form element height */
18
+ --form-element-height-tiny: 18px;
19
+ --form-element-height-small: 24px;
20
+ --form-element-height-medium: 30px;
21
+ --form-element-height-large: 40px;
22
+ --form-element-height-huge: 55px;
23
+ }
@@ -0,0 +1,6 @@
1
+ :root {
2
+ --status-danger-color: var(--md-sys-color-error, #d14946);
3
+ --status-warning-color: #ee8d03;
4
+ --status-info-color: #398ace;
5
+ --status-success-color: #35a24a;
6
+ }
@@ -0,0 +1,11 @@
1
+ body {
2
+ --tooltip-padding: 4px 4px 4px 4px;
3
+ --tooltip-background-color: rgba(0, 0, 0, 0.7);
4
+ --tooltip-font: bold 11px var(--theme-font);
5
+ /*
6
+ --tooltip-left-positon-left: auto;
7
+ --tooltip-left-position-top: 7px;
8
+ --tooltip-left-position-right: 110%;
9
+ --tooltip-left-position-animation: tooltip-left 0.3s ease-out 0s 1 normal;
10
+ */
11
+ }