visualifyjs 2.5.3-2.dev → 2.5.3-9-dev
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of visualifyjs might be problematic. Click here for more details.
- package/.github/workflows/{static.yml.bak → build.yaml} +51 -51
- package/LICENSE +674 -674
- package/README.md +40 -58
- package/config-overrides.js +31 -31
- package/dist/visualify.js +3 -3
- package/docs/CLI.md +15 -0
- package/docs/{docs/README.md → README.md} +41 -65
- package/docs/{docs/Rechart → Rechart}/bar.md +190 -190
- package/docs/{docs/Rechart → Rechart}/funnel.md +193 -241
- package/docs/{docs/Rechart → Rechart}/line.md +355 -355
- package/docs/{docs/Rechart → Rechart}/pie.md +225 -225
- package/docs/{docs/Rechart → Rechart}/radar.md +253 -253
- package/docs/{docs/_404.md → _404.md} +51 -51
- package/docs/{docs/_coverpage.md → _coverpage.md} +11 -11
- package/docs/{docs/_sidebar.md → _sidebar.md} +42 -44
- package/docs/{docs/components → components}/dotBio.md +34 -34
- package/docs/{docs/components → components}/echart.md +82 -82
- package/docs/{docs/components → components}/html.md +34 -34
- package/docs/{docs/components → components}/macaron.md +145 -145
- package/docs/components/markdown.md +0 -0
- package/docs/{docs/components → components}/more.md +142 -142
- package/docs/{docs/components → components}/plotly.md +62 -62
- package/docs/{docs/components → components}/scatterL.md +70 -70
- package/docs/{docs/components → components}/visium.md +56 -56
- package/docs/{docs/configuration.md → configuration.md} +123 -121
- package/docs/{docs/deploy.md → deploy.md} +23 -31
- package/docs/index.html +70 -70
- package/docs/log.md +1 -0
- package/docs/manifest.json +23 -23
- package/docs/{docs/more-pages.md → more-pages.md} +23 -23
- package/docs/{docs/quickstart.md → quickstart.md} +115 -124
- package/docs/{docs/rechart-attributes.md → rechart-attributes.md} +74 -74
- package/docs/{docs/rechart-basic-usage.md → rechart-basic-usage.md} +162 -162
- package/docs/static/css/fluff-stuff.css +169 -169
- package/docs/static/css/font-awesome.min.css +4 -4
- package/docs/static/css/visualify.css +25 -25
- package/docs/static/js/configuration.js +448 -448
- package/docs/static/js/visualify.js +24 -23
- package/docs/theme.md +3 -0
- package/package.json +74 -83
- package/rollup.config.mjs +75 -75
- package/src/_css/404.css +115 -115
- package/src/_css/App.css +37 -37
- package/src/_css/autoSuggestion.css +26 -26
- package/src/_css/circular-progress.css +32 -32
- package/src/_css/index.css +36 -36
- package/src/_css/modern.css +24 -24
- package/src/_media/corner.svg +8 -8
- package/src/_media/download.svg +3 -3
- package/src/_media/logo.svg +14 -14
- package/src/_test/App.test.js +15 -15
- package/src/_utils/reportWebVitals.js +13 -13
- package/src/core/appContext.js +27 -27
- package/src/core/components/Scatter.js +188 -188
- package/src/core/components/ScatterBio.js +572 -572
- package/src/core/components/VisiumPlot.js +165 -165
- package/src/core/components/browser.js +42 -42
- package/src/core/components/dotplot.js +413 -413
- package/src/core/components/html.js +29 -29
- package/src/core/components/list.js +178 -178
- package/src/core/components/macaron.js +201 -201
- package/src/core/components/markdown.js +56 -56
- package/src/core/components/parser.scatterBio.js +579 -587
- package/src/core/components/ratio.js +80 -80
- package/src/core/components/scatterL.js +173 -173
- package/src/core/components/searchbar.js +131 -131
- package/src/core/components/selection.js +193 -193
- package/src/core/components/timeline.js +281 -281
- package/src/core/components/visium.js +97 -97
- package/src/core/fetch/condfetch.js +82 -82
- package/src/core/fetch/fetch.js +92 -92
- package/src/core/fetch/json.js +29 -29
- package/src/core/fetch/vfetch.js +42 -42
- package/src/core/liveEditor.js +44 -44
- package/src/core/modules/codeEditorWithPreview.js +104 -104
- package/src/core/modules/echarts/common.js +20 -20
- package/src/core/modules/echarts/presetHandler.js +41 -41
- package/src/core/modules/echarts/presets/esodev.chromium.js +172 -172
- package/src/core/modules/echarts/presets/esodev.codex.js +130 -130
- package/src/core/modules/echarts/presets/esodev.visium.js +123 -123
- package/src/core/modules/echarts/presets/mmtrbc.js +186 -186
- package/src/core/modules/echarts.js +71 -71
- package/src/core/modules/echartsUtils.js +43 -43
- package/src/core/modules/echartswitcher.js +152 -152
- package/src/core/modules/replotly/presetHandler.js +24 -24
- package/src/core/modules/replotly/presets/minimum.js +18 -18
- package/src/core/modules/replotly/presets/mmtrbc.dot.js +114 -114
- package/src/core/modules/replotly/presets/mmtrbc.violin.js +100 -100
- package/src/core/modules/replotly.js +71 -71
- package/src/core/pages/404.js +50 -50
- package/src/core/pages/error.js +27 -27
- package/src/core/pages/jsonPage.js +62 -62
- package/src/core/pages/loading.js +44 -44
- package/src/core/parser/echart.data.js +183 -183
- package/src/core/parser/echart.features.js +125 -125
- package/src/core/parser/echart.general.js +143 -147
- package/src/core/parser/echart.hilbert.js +57 -57
- package/src/core/parser/echart.parser.js +210 -210
- package/src/core/parser/echart.series.js +67 -67
- package/src/core/parser/echart.types.js +76 -76
- package/src/core/parser/plotly.config.js +10 -10
- package/src/core/parser/plotly.data.js +132 -132
- package/src/core/parser/plotly.layout.js +9 -9
- package/src/core/parser/plotly.violin.js +18 -18
- package/src/core/recharts.js +62 -62
- package/src/core/router/alias.js +49 -49
- package/src/core/router/jsonRouter.js +31 -31
- package/src/core/themes/modern.js +32 -32
- package/src/core/themes/themeSelector.js +33 -33
- package/src/core/visualify.js +47 -47
- package/src/core/widgets/circularProgress.js +23 -23
- package/src/core/widgets/controller.js +83 -83
- package/src/core/widgets/errorBoundary.js +36 -36
- package/src/core/widgets/footer.js +177 -177
- package/src/core/widgets/header.js +234 -234
- package/src/core/widgets/layout/Grid.js +31 -31
- package/src/core/widgets/layout.js +36 -36
- package/src/core/widgets/mapping.js +42 -42
- package/src/index.js +62 -62
- package/src/setupTests.js +5 -5
- package/docs/docs/CLI.md +0 -34
- package/docs/docs/Rechart/scatter.md +0 -298
- package/docs/docs/log.md +0 -9
- package/docs/docs/static/logo/favicon.ico +0 -0
- package/docs/docs/static/logo/logo_128x128.png +0 -0
- package/docs/docs/static/logo/logo_192x192.png +0 -0
- package/docs/docs/static/logo/logo_256x256.png +0 -0
- package/docs/docs/static/logo/logo_512x512.png +0 -0
- package/docs/docs/static/logo/logo_64x64.png +0 -0
- package/docs/docs/theme.md +0 -5
- /package/docs/{docs/Rechart → Rechart}/geo.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/liquidfill.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/polar.md +0 -0
- /package/docs/{docs/Rechart → Rechart}/sankey.md +0 -0
- /package/docs/{docs/Rechart/sunburst.md → Rechart/scatter.md} +0 -0
- /package/docs/{docs/Rechart/tree.md → Rechart/sunburst.md} +0 -0
- /package/docs/{docs/Rechart/wordcloud.md → Rechart/tree.md} +0 -0
- /package/docs/{docs/components/markdown.md → Rechart/wordcloud.md} +0 -0
- /package/docs/{docs/static → static}/_images/deploy-github-pages.png +0 -0
package/docs/theme.md
ADDED
package/package.json
CHANGED
@@ -1,84 +1,75 @@
|
|
1
|
-
{
|
2
|
-
"name": "visualifyjs",
|
3
|
-
"version": "2.5.3-2.
|
4
|
-
"main": "dist/visualify.js",
|
5
|
-
"
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"ace
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
"
|
32
|
-
"react-
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
"
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
"
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
"@
|
66
|
-
"@
|
67
|
-
"@
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
74
|
-
|
75
|
-
"@rollup/plugin-terser": "^0.4.4",
|
76
|
-
"@rollup/plugin-url": "^8.0.2",
|
77
|
-
"babel-plugin-inline-react-svg": "^2.0.2",
|
78
|
-
"react-app-rewired": "^2.2.1",
|
79
|
-
"rollup": "^2.79.1",
|
80
|
-
"rollup-plugin-css-only": "^4.5.2",
|
81
|
-
"rollup-plugin-polyfill-node": "^0.13.0",
|
82
|
-
"rollup-plugin-postcss": "^4.0.2"
|
83
|
-
}
|
1
|
+
{
|
2
|
+
"name": "visualifyjs",
|
3
|
+
"version": "2.5.3-9-dev+24.2.5",
|
4
|
+
"main": "dist/visualify.js",
|
5
|
+
"dependencies": {
|
6
|
+
"@testing-library/jest-dom": "^5.17.0",
|
7
|
+
"@testing-library/react": "^13.4.0",
|
8
|
+
"@testing-library/user-event": "^13.5.0",
|
9
|
+
"ace-builds": "^1.32.0",
|
10
|
+
"axios": "^1.6.2",
|
11
|
+
"bootstrap": "^5.3.2",
|
12
|
+
"dompurify": "^3.0.6",
|
13
|
+
"echarts": "^5.4.3",
|
14
|
+
"echarts-for-react": "^3.0.2",
|
15
|
+
"hilbert": "^2.0.0",
|
16
|
+
"lodash": "^4.17.21",
|
17
|
+
"react": "^18.2.0",
|
18
|
+
"react-ace": "^10.1.0",
|
19
|
+
"react-bootstrap": "^2.9.1",
|
20
|
+
"react-dom": "^18.2.0",
|
21
|
+
"react-markdown": "^9.0.1",
|
22
|
+
"react-plotly.js": "^2.6.0",
|
23
|
+
"react-router-dom": "^6.20.0",
|
24
|
+
"react-scripts": "5.0.1",
|
25
|
+
"react-select": "^5.8.0",
|
26
|
+
"remark": "^15.0.1",
|
27
|
+
"remark-html": "^16.0.1",
|
28
|
+
"web-vitals": "^2.1.4"
|
29
|
+
},
|
30
|
+
"scripts": {
|
31
|
+
"rollup": "rollup -c",
|
32
|
+
"start": "react-app-rewired start",
|
33
|
+
"build": "npm run rollup & react-app-rewired build",
|
34
|
+
"test": "react-app-rewired test",
|
35
|
+
"eject": "react-scripts eject"
|
36
|
+
},
|
37
|
+
"eslintConfig": {
|
38
|
+
"extends": [
|
39
|
+
"react-app",
|
40
|
+
"react-app/jest"
|
41
|
+
]
|
42
|
+
},
|
43
|
+
"browserslist": {
|
44
|
+
"production": [
|
45
|
+
">0.2%",
|
46
|
+
"not dead",
|
47
|
+
"not op_mini all"
|
48
|
+
],
|
49
|
+
"development": [
|
50
|
+
"last 1 chrome version",
|
51
|
+
"last 1 firefox version",
|
52
|
+
"last 1 safari version"
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"devDependencies": {
|
56
|
+
"@babel/core": "^7.23.5",
|
57
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
58
|
+
"@babel/preset-env": "^7.23.5",
|
59
|
+
"@babel/preset-react": "^7.23.3",
|
60
|
+
"@rollup/plugin-babel": "^6.0.4",
|
61
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
62
|
+
"@rollup/plugin-image": "^3.0.3",
|
63
|
+
"@rollup/plugin-json": "^6.0.1",
|
64
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
65
|
+
"@rollup/plugin-replace": "^5.0.5",
|
66
|
+
"@rollup/plugin-terser": "^0.4.4",
|
67
|
+
"@rollup/plugin-url": "^8.0.2",
|
68
|
+
"babel-plugin-inline-react-svg": "^2.0.2",
|
69
|
+
"react-app-rewired": "^2.2.1",
|
70
|
+
"rollup": "^2.79.1",
|
71
|
+
"rollup-plugin-css-only": "^4.5.2",
|
72
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
73
|
+
"rollup-plugin-postcss": "^4.0.2"
|
74
|
+
}
|
84
75
|
}
|
package/rollup.config.mjs
CHANGED
@@ -1,76 +1,76 @@
|
|
1
|
-
/*
|
2
|
-
* @Author : Lihao leolihao@arizona.edu
|
3
|
-
* @Date : 2023-12-01 12:51:04
|
4
|
-
* @FilePath : /visualifyjs/rollup.config.mjs
|
5
|
-
* @Description :
|
6
|
-
* Copyright (c) 2023 by Lihao (leolihao@arizona.edu), All Rights Reserved.
|
7
|
-
*/
|
8
|
-
// rollup.config.js
|
9
|
-
import resolve from '@rollup/plugin-node-resolve';
|
10
|
-
import commonjs from '@rollup/plugin-commonjs';
|
11
|
-
import babel from '@rollup/plugin-babel';
|
12
|
-
import replace from '@rollup/plugin-replace';
|
13
|
-
import terser from '@rollup/plugin-terser';
|
14
|
-
import json from '@rollup/plugin-json';
|
15
|
-
import postcss from 'rollup-plugin-postcss';
|
16
|
-
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
17
|
-
import image from '@rollup/plugin-image';
|
18
|
-
import inlineReactSvg from 'babel-plugin-inline-react-svg';
|
19
|
-
import url from '@rollup/plugin-url';
|
20
|
-
|
21
|
-
//import css from 'rollup-plugin-css-only';
|
22
|
-
|
23
|
-
function onwarn(warning, warn) {
|
24
|
-
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
|
25
|
-
return;
|
26
|
-
}
|
27
|
-
warn(warning);
|
28
|
-
}
|
29
|
-
|
30
|
-
export default {
|
31
|
-
input: 'src/index.js',
|
32
|
-
output: [{
|
33
|
-
dir: 'dist/',
|
34
|
-
format: 'esm',
|
35
|
-
entryFileNames: 'visualify.js',
|
36
|
-
inlineDynamicImports: true,
|
37
|
-
sourcemap: false,
|
38
|
-
},
|
39
|
-
{
|
40
|
-
dir: 'docs/static/js',
|
41
|
-
format: 'esm',
|
42
|
-
entryFileNames: 'visualify.js',
|
43
|
-
inlineDynamicImports: true,
|
44
|
-
sourcemap: false,
|
45
|
-
},
|
46
|
-
],
|
47
|
-
plugins: [
|
48
|
-
replace({
|
49
|
-
preventAssignment: true,
|
50
|
-
'process.env.NODE_ENV': JSON.stringify('production'),
|
51
|
-
}),
|
52
|
-
resolve({ browser: true }),
|
53
|
-
babel({
|
54
|
-
exclude: 'node_modules/**',
|
55
|
-
babelHelpers: 'bundled',
|
56
|
-
presets: ['@babel/preset-env', '@babel/preset-react'],
|
57
|
-
plugins: [inlineReactSvg],
|
58
|
-
}),
|
59
|
-
postcss({
|
60
|
-
extensions: ['.css'],
|
61
|
-
inject: true,
|
62
|
-
minimize: true,
|
63
|
-
}),
|
64
|
-
url({
|
65
|
-
include: ['**/*.svg'], // Only SVG files
|
66
|
-
limit: 0, // 0 bytes
|
67
|
-
emitFiles: true,
|
68
|
-
}),
|
69
|
-
commonjs(),
|
70
|
-
terser(),
|
71
|
-
json(),
|
72
|
-
nodePolyfills(),
|
73
|
-
image(),
|
74
|
-
],
|
75
|
-
onwarn,
|
1
|
+
/*
|
2
|
+
* @Author : Lihao leolihao@arizona.edu
|
3
|
+
* @Date : 2023-12-01 12:51:04
|
4
|
+
* @FilePath : /visualifyjs/rollup.config.mjs
|
5
|
+
* @Description :
|
6
|
+
* Copyright (c) 2023 by Lihao (leolihao@arizona.edu), All Rights Reserved.
|
7
|
+
*/
|
8
|
+
// rollup.config.js
|
9
|
+
import resolve from '@rollup/plugin-node-resolve';
|
10
|
+
import commonjs from '@rollup/plugin-commonjs';
|
11
|
+
import babel from '@rollup/plugin-babel';
|
12
|
+
import replace from '@rollup/plugin-replace';
|
13
|
+
import terser from '@rollup/plugin-terser';
|
14
|
+
import json from '@rollup/plugin-json';
|
15
|
+
import postcss from 'rollup-plugin-postcss';
|
16
|
+
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
17
|
+
import image from '@rollup/plugin-image';
|
18
|
+
import inlineReactSvg from 'babel-plugin-inline-react-svg';
|
19
|
+
import url from '@rollup/plugin-url';
|
20
|
+
|
21
|
+
//import css from 'rollup-plugin-css-only';
|
22
|
+
|
23
|
+
function onwarn(warning, warn) {
|
24
|
+
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
|
25
|
+
return;
|
26
|
+
}
|
27
|
+
warn(warning);
|
28
|
+
}
|
29
|
+
|
30
|
+
export default {
|
31
|
+
input: 'src/index.js',
|
32
|
+
output: [{
|
33
|
+
dir: 'dist/',
|
34
|
+
format: 'esm',
|
35
|
+
entryFileNames: 'visualify.js',
|
36
|
+
inlineDynamicImports: true,
|
37
|
+
sourcemap: false,
|
38
|
+
},
|
39
|
+
{
|
40
|
+
dir: 'docs/static/js',
|
41
|
+
format: 'esm',
|
42
|
+
entryFileNames: 'visualify.js',
|
43
|
+
inlineDynamicImports: true,
|
44
|
+
sourcemap: false,
|
45
|
+
},
|
46
|
+
],
|
47
|
+
plugins: [
|
48
|
+
replace({
|
49
|
+
preventAssignment: true,
|
50
|
+
'process.env.NODE_ENV': JSON.stringify('production'),
|
51
|
+
}),
|
52
|
+
resolve({ browser: true }),
|
53
|
+
babel({
|
54
|
+
exclude: 'node_modules/**',
|
55
|
+
babelHelpers: 'bundled',
|
56
|
+
presets: ['@babel/preset-env', '@babel/preset-react'],
|
57
|
+
plugins: [inlineReactSvg],
|
58
|
+
}),
|
59
|
+
postcss({
|
60
|
+
extensions: ['.css'],
|
61
|
+
inject: true,
|
62
|
+
minimize: true,
|
63
|
+
}),
|
64
|
+
url({
|
65
|
+
include: ['**/*.svg'], // Only SVG files
|
66
|
+
limit: 0, // 0 bytes
|
67
|
+
emitFiles: true,
|
68
|
+
}),
|
69
|
+
commonjs(),
|
70
|
+
terser(),
|
71
|
+
json(),
|
72
|
+
nodePolyfills(),
|
73
|
+
image(),
|
74
|
+
],
|
75
|
+
onwarn,
|
76
76
|
};
|
package/src/_css/404.css
CHANGED
@@ -1,116 +1,116 @@
|
|
1
|
-
* {
|
2
|
-
-webkit-box-sizing: border-box;
|
3
|
-
box-sizing: border-box;
|
4
|
-
}
|
5
|
-
|
6
|
-
body.colorlib-body {
|
7
|
-
padding: 0;
|
8
|
-
margin: 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
#colorlib-notfound {
|
12
|
-
min-height: 60vh;
|
13
|
-
/* Ensures that the container takes at least the full viewport height */
|
14
|
-
position: relative;
|
15
|
-
display: flex;
|
16
|
-
flex-direction: column;
|
17
|
-
/* Stack children vertically */
|
18
|
-
justify-content: center;
|
19
|
-
/* Center children vertically */
|
20
|
-
align-items: center;
|
21
|
-
/* Center children horizontally */
|
22
|
-
padding: 3rem 1rem;
|
23
|
-
/* Add some padding around */
|
24
|
-
}
|
25
|
-
|
26
|
-
.colorlib-notfound {
|
27
|
-
max-width: 767px;
|
28
|
-
width: -moz-fit-content;
|
29
|
-
width: fit-content;
|
30
|
-
line-height: 1.4;
|
31
|
-
padding: 0 15px;
|
32
|
-
text-align: center;
|
33
|
-
/* Center the text */
|
34
|
-
}
|
35
|
-
|
36
|
-
.colorlib-notfound .colorlib-notfound-404 {
|
37
|
-
position: relative;
|
38
|
-
height: 150px;
|
39
|
-
line-height: 150px;
|
40
|
-
margin-bottom: 25px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.colorlib-notfound .colorlib-notfound-404 h1 {
|
44
|
-
font-family: 'Titillium Web', sans-serif;
|
45
|
-
font-size: 186px;
|
46
|
-
font-weight: 900;
|
47
|
-
margin: 0;
|
48
|
-
text-transform: uppercase;
|
49
|
-
background: url('../_media/404.png') no-repeat center;
|
50
|
-
-webkit-background-clip: text;
|
51
|
-
background-clip: text;
|
52
|
-
-webkit-text-fill-color: transparent;
|
53
|
-
background-size: cover;
|
54
|
-
}
|
55
|
-
|
56
|
-
.colorlib-notfound h2 {
|
57
|
-
font-family: 'Titillium Web', sans-serif;
|
58
|
-
font-size: 26px;
|
59
|
-
font-weight: 700;
|
60
|
-
margin: 0;
|
61
|
-
}
|
62
|
-
|
63
|
-
.colorlib-notfound p {
|
64
|
-
font-family: 'Montserrat', sans-serif;
|
65
|
-
font-size: 14px;
|
66
|
-
font-weight: 500;
|
67
|
-
margin-bottom: 0;
|
68
|
-
text-transform: uppercase;
|
69
|
-
}
|
70
|
-
|
71
|
-
.colorlib-notfound a {
|
72
|
-
font-family: 'Titillium Web', sans-serif;
|
73
|
-
display: inline-block;
|
74
|
-
text-transform: uppercase;
|
75
|
-
color: #fff;
|
76
|
-
text-decoration: none;
|
77
|
-
background: #5c91fe;
|
78
|
-
padding: 10px 40px;
|
79
|
-
font-size: 14px;
|
80
|
-
font-weight: 700;
|
81
|
-
border-radius: 1px;
|
82
|
-
margin-top: 15px;
|
83
|
-
-webkit-transition: 0.2s all;
|
84
|
-
transition: 0.2s all;
|
85
|
-
}
|
86
|
-
|
87
|
-
.colorlib-notfound a:hover {
|
88
|
-
opacity: 0.8;
|
89
|
-
}
|
90
|
-
|
91
|
-
.colorlib-copyrigh {
|
92
|
-
font-size: 0.8rem;
|
93
|
-
text-align: center;
|
94
|
-
margin-top: 20px;
|
95
|
-
width: 100%;
|
96
|
-
position: absolute;
|
97
|
-
/* Make it break out of the flexbox */
|
98
|
-
bottom: 10px;
|
99
|
-
/* Position it at the bottom of the page */
|
100
|
-
}
|
101
|
-
|
102
|
-
@media only screen and (max-width: 767px) {
|
103
|
-
.colorlib-notfound .colorlib-notfound-404 {
|
104
|
-
height: 110px;
|
105
|
-
line-height: 110px;
|
106
|
-
}
|
107
|
-
.colorlib-notfound .colorlib-notfound-404 h1 {
|
108
|
-
font-size: 120px;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
@media only screen and (max-height: 600px) {
|
113
|
-
#colorlib-notfound {
|
114
|
-
min-height: 100vh;
|
115
|
-
}
|
1
|
+
* {
|
2
|
+
-webkit-box-sizing: border-box;
|
3
|
+
box-sizing: border-box;
|
4
|
+
}
|
5
|
+
|
6
|
+
body.colorlib-body {
|
7
|
+
padding: 0;
|
8
|
+
margin: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
#colorlib-notfound {
|
12
|
+
min-height: 60vh;
|
13
|
+
/* Ensures that the container takes at least the full viewport height */
|
14
|
+
position: relative;
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
/* Stack children vertically */
|
18
|
+
justify-content: center;
|
19
|
+
/* Center children vertically */
|
20
|
+
align-items: center;
|
21
|
+
/* Center children horizontally */
|
22
|
+
padding: 3rem 1rem;
|
23
|
+
/* Add some padding around */
|
24
|
+
}
|
25
|
+
|
26
|
+
.colorlib-notfound {
|
27
|
+
max-width: 767px;
|
28
|
+
width: -moz-fit-content;
|
29
|
+
width: fit-content;
|
30
|
+
line-height: 1.4;
|
31
|
+
padding: 0 15px;
|
32
|
+
text-align: center;
|
33
|
+
/* Center the text */
|
34
|
+
}
|
35
|
+
|
36
|
+
.colorlib-notfound .colorlib-notfound-404 {
|
37
|
+
position: relative;
|
38
|
+
height: 150px;
|
39
|
+
line-height: 150px;
|
40
|
+
margin-bottom: 25px;
|
41
|
+
}
|
42
|
+
|
43
|
+
.colorlib-notfound .colorlib-notfound-404 h1 {
|
44
|
+
font-family: 'Titillium Web', sans-serif;
|
45
|
+
font-size: 186px;
|
46
|
+
font-weight: 900;
|
47
|
+
margin: 0;
|
48
|
+
text-transform: uppercase;
|
49
|
+
background: url('../_media/404.png') no-repeat center;
|
50
|
+
-webkit-background-clip: text;
|
51
|
+
background-clip: text;
|
52
|
+
-webkit-text-fill-color: transparent;
|
53
|
+
background-size: cover;
|
54
|
+
}
|
55
|
+
|
56
|
+
.colorlib-notfound h2 {
|
57
|
+
font-family: 'Titillium Web', sans-serif;
|
58
|
+
font-size: 26px;
|
59
|
+
font-weight: 700;
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.colorlib-notfound p {
|
64
|
+
font-family: 'Montserrat', sans-serif;
|
65
|
+
font-size: 14px;
|
66
|
+
font-weight: 500;
|
67
|
+
margin-bottom: 0;
|
68
|
+
text-transform: uppercase;
|
69
|
+
}
|
70
|
+
|
71
|
+
.colorlib-notfound a {
|
72
|
+
font-family: 'Titillium Web', sans-serif;
|
73
|
+
display: inline-block;
|
74
|
+
text-transform: uppercase;
|
75
|
+
color: #fff;
|
76
|
+
text-decoration: none;
|
77
|
+
background: #5c91fe;
|
78
|
+
padding: 10px 40px;
|
79
|
+
font-size: 14px;
|
80
|
+
font-weight: 700;
|
81
|
+
border-radius: 1px;
|
82
|
+
margin-top: 15px;
|
83
|
+
-webkit-transition: 0.2s all;
|
84
|
+
transition: 0.2s all;
|
85
|
+
}
|
86
|
+
|
87
|
+
.colorlib-notfound a:hover {
|
88
|
+
opacity: 0.8;
|
89
|
+
}
|
90
|
+
|
91
|
+
.colorlib-copyrigh {
|
92
|
+
font-size: 0.8rem;
|
93
|
+
text-align: center;
|
94
|
+
margin-top: 20px;
|
95
|
+
width: 100%;
|
96
|
+
position: absolute;
|
97
|
+
/* Make it break out of the flexbox */
|
98
|
+
bottom: 10px;
|
99
|
+
/* Position it at the bottom of the page */
|
100
|
+
}
|
101
|
+
|
102
|
+
@media only screen and (max-width: 767px) {
|
103
|
+
.colorlib-notfound .colorlib-notfound-404 {
|
104
|
+
height: 110px;
|
105
|
+
line-height: 110px;
|
106
|
+
}
|
107
|
+
.colorlib-notfound .colorlib-notfound-404 h1 {
|
108
|
+
font-size: 120px;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
@media only screen and (max-height: 600px) {
|
113
|
+
#colorlib-notfound {
|
114
|
+
min-height: 100vh;
|
115
|
+
}
|
116
116
|
}
|
package/src/_css/App.css
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
.App {
|
2
|
-
text-align: center;
|
3
|
-
}
|
4
|
-
|
5
|
-
.App-logo {
|
6
|
-
height: 20vmin;
|
7
|
-
pointer-events: none;
|
8
|
-
}
|
9
|
-
|
10
|
-
@media (prefers-reduced-motion: no-preference) {
|
11
|
-
.App-logo {
|
12
|
-
animation: App-logo-spin infinite 20s linear;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
.App-header {
|
17
|
-
background-color: #282c34;
|
18
|
-
min-height: 10vh;
|
19
|
-
display: flex;
|
20
|
-
flex-direction: column;
|
21
|
-
align-items: center;
|
22
|
-
justify-content: center;
|
23
|
-
font-size: calc(10px + 2vmin);
|
24
|
-
color: white;
|
25
|
-
}
|
26
|
-
|
27
|
-
.App-link {
|
28
|
-
color: #61dafb;
|
29
|
-
}
|
30
|
-
|
31
|
-
@keyframes App-logo-spin {
|
32
|
-
from {
|
33
|
-
transform: rotate(0deg);
|
34
|
-
}
|
35
|
-
to {
|
36
|
-
transform: rotate(360deg);
|
37
|
-
}
|
1
|
+
.App {
|
2
|
+
text-align: center;
|
3
|
+
}
|
4
|
+
|
5
|
+
.App-logo {
|
6
|
+
height: 20vmin;
|
7
|
+
pointer-events: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
@media (prefers-reduced-motion: no-preference) {
|
11
|
+
.App-logo {
|
12
|
+
animation: App-logo-spin infinite 20s linear;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
.App-header {
|
17
|
+
background-color: #282c34;
|
18
|
+
min-height: 10vh;
|
19
|
+
display: flex;
|
20
|
+
flex-direction: column;
|
21
|
+
align-items: center;
|
22
|
+
justify-content: center;
|
23
|
+
font-size: calc(10px + 2vmin);
|
24
|
+
color: white;
|
25
|
+
}
|
26
|
+
|
27
|
+
.App-link {
|
28
|
+
color: #61dafb;
|
29
|
+
}
|
30
|
+
|
31
|
+
@keyframes App-logo-spin {
|
32
|
+
from {
|
33
|
+
transform: rotate(0deg);
|
34
|
+
}
|
35
|
+
to {
|
36
|
+
transform: rotate(360deg);
|
37
|
+
}
|
38
38
|
}
|