layerpro 0.0.54 → 0.0.60
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/.editorconfig +13 -0
- package/.env +3 -0
- package/.eslintignore +12 -0
- package/.eslintrc.json +110 -0
- package/.gitattributes +2 -0
- package/.jsbeautifyrc +26 -0
- package/.prettierignore +2 -0
- package/.prettierrc +7 -0
- package/.vscode/launch.json +22 -0
- package/.vscode/settings.json +84 -0
- package/.vscodeignore +28 -0
- package/__mocks__/fileMock.js +3 -0
- package/__mocks__/styleMock.js +3 -0
- package/babel.config.js +34 -0
- package/backup.bat +43 -0
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/{LICENSE.txt → dist/LICENSE.txt} +0 -0
- package/{README.md → dist/README.md} +0 -0
- package/documents/LICENSE.txt +21 -0
- package/documents/README.md +7 -0
- package/{SECURITY.md → documents/SECURITY.md} +0 -0
- package/index.js +7 -2
- package/init.js +35 -0
- package/jest.config.js +61 -0
- package/jsconfig.json +10 -0
- package/node/createTag.js +7 -0
- package/node/gitDeploy.js +7 -0
- package/node/goLive.js +7 -0
- package/package.json +42 -27
- package/scripts/GenLayer.jsx +234 -0
- package/scripts/message.jsx +280 -0
- package/scripts/mouseCoords.jsx +45 -0
- package/scripts/popup.jsx +604 -0
- package/scripts/purge.jsx +29 -0
- package/scripts/smoothScroll.js +69 -0
- package/scripts/window.js +28 -0
- package/styles/dock.scss +100 -0
- package/styles/general.scss +241 -0
- package/styles/icons.scss +33 -0
- package/styles/input.scss +35 -0
- package/styles/messages.scss +76 -0
- package/styles/resize.scss +99 -0
- package/styles/root.scss +14 -0
- package/styles/scrollbar.scss +24 -0
- package/tests/setupJest.tsx +4 -0
- package/tsconfig.json +69 -0
- package/typings/image.d.ts +9 -0
- package/typings/index.d.ts +7 -0
- package/typings/layerpro.d.ts +22 -0
- package/typings/styles.d.ts +27 -0
- package/typings/vscode.d.ts +14724 -0
- package/webpack.config.js +239 -0
- package/index.js.LICENSE.txt +0 -29
package/.editorconfig
ADDED
package/.env
ADDED
package/.eslintignore
ADDED
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"env": {
|
|
4
|
+
"browser": true,
|
|
5
|
+
"node": true,
|
|
6
|
+
"jest": true
|
|
7
|
+
},
|
|
8
|
+
"parser": "@typescript-eslint/parser",
|
|
9
|
+
"parserOptions": {
|
|
10
|
+
"ecmaVersion": "latest",
|
|
11
|
+
"sourceType": "module",
|
|
12
|
+
"parser": "babel-eslint",
|
|
13
|
+
"ecmaFeatures": {
|
|
14
|
+
"modules": true,
|
|
15
|
+
"impliedStrict": true,
|
|
16
|
+
"jsx": true,
|
|
17
|
+
"experimentalObjectRestSpread": true
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"globals": {
|
|
21
|
+
"jQuery": true,
|
|
22
|
+
"$": true,
|
|
23
|
+
"dphelper": true,
|
|
24
|
+
"menupro": true,
|
|
25
|
+
"layerpro": true
|
|
26
|
+
},
|
|
27
|
+
"settings": {
|
|
28
|
+
"react": {
|
|
29
|
+
"version": "detect"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"plugins": [
|
|
33
|
+
"react",
|
|
34
|
+
"@typescript-eslint",
|
|
35
|
+
"import",
|
|
36
|
+
"node",
|
|
37
|
+
"promise",
|
|
38
|
+
"jest"
|
|
39
|
+
],
|
|
40
|
+
"extends": [
|
|
41
|
+
"eslint:recommended",
|
|
42
|
+
"plugin:react/recommended",
|
|
43
|
+
"plugin:@typescript-eslint/recommended",
|
|
44
|
+
"plugin:node/recommended",
|
|
45
|
+
"plugin:promise/recommended",
|
|
46
|
+
"plugin:jest/recommended"
|
|
47
|
+
],
|
|
48
|
+
"rules": {
|
|
49
|
+
"no-empty": 0,
|
|
50
|
+
"no-console": 0,
|
|
51
|
+
"no-process-exit": 0,
|
|
52
|
+
"@typescript-eslint/no-var-requires": 0,
|
|
53
|
+
"node/no-unsupported-features/es-syntax": 0,
|
|
54
|
+
"node/no-unsupported-features/node-builtins": 0,
|
|
55
|
+
"no-underscore-dangle": [
|
|
56
|
+
"off"
|
|
57
|
+
],
|
|
58
|
+
"no-plusplus": [
|
|
59
|
+
"warn",
|
|
60
|
+
{
|
|
61
|
+
"allowForLoopAfterthoughts": true
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"no-param-reassign": [
|
|
65
|
+
"off"
|
|
66
|
+
],
|
|
67
|
+
"no-prototype-builtins": [
|
|
68
|
+
"off"
|
|
69
|
+
],
|
|
70
|
+
"no-unused-vars": [
|
|
71
|
+
"warn"
|
|
72
|
+
],
|
|
73
|
+
"unicorn/no-process-exit": 0,
|
|
74
|
+
"comma-dangle": 0,
|
|
75
|
+
"semi": [
|
|
76
|
+
"error",
|
|
77
|
+
"never"
|
|
78
|
+
],
|
|
79
|
+
"consistent-return": [
|
|
80
|
+
"off"
|
|
81
|
+
],
|
|
82
|
+
"max-nested-callbacks": [
|
|
83
|
+
"warn",
|
|
84
|
+
3
|
|
85
|
+
],
|
|
86
|
+
"import/no-mutable-exports": [
|
|
87
|
+
"warn"
|
|
88
|
+
],
|
|
89
|
+
"valid-jsdoc": [
|
|
90
|
+
"warn",
|
|
91
|
+
{
|
|
92
|
+
"prefer": {
|
|
93
|
+
"returns": "return",
|
|
94
|
+
"property": "prop"
|
|
95
|
+
},
|
|
96
|
+
"requireReturn": false
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"operator-linebreak": [
|
|
100
|
+
"error",
|
|
101
|
+
"after",
|
|
102
|
+
{
|
|
103
|
+
"overrides": {
|
|
104
|
+
"?": "ignore",
|
|
105
|
+
":": "ignore"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
}
|
package/.gitattributes
ADDED
package/.jsbeautifyrc
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"js":
|
|
3
|
+
{
|
|
4
|
+
"allowed_file_extensions": ["js", "ts", "tsx", "jsx", "json", "jshintrc", "jsbeautifyrc"],
|
|
5
|
+
"brace_style": "collapse-preserve-inline",
|
|
6
|
+
"break_chained_methods": false,
|
|
7
|
+
"e4x": false,
|
|
8
|
+
"end_with_newline": true,
|
|
9
|
+
"indent_char": " ",
|
|
10
|
+
"indent_level": 0,
|
|
11
|
+
"indent_size": 2,
|
|
12
|
+
"indent_with_tabs": false,
|
|
13
|
+
"jslint_happy": true,
|
|
14
|
+
"keep_array_indentation": false,
|
|
15
|
+
"keep_function_indentation": false,
|
|
16
|
+
"max_preserve_newlines": 2,
|
|
17
|
+
"preserve_newlines": true,
|
|
18
|
+
"space_after_anon_function": false,
|
|
19
|
+
"space_before_conditional": true,
|
|
20
|
+
"space_in_empty_paren": false,
|
|
21
|
+
"space_in_paren": false,
|
|
22
|
+
"unescape_strings": false,
|
|
23
|
+
"wrap_line_length": 0
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
package/.prettierignore
ADDED
package/.prettierrc
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"configurations": [
|
|
3
|
+
{
|
|
4
|
+
"type": "node",
|
|
5
|
+
"name": "vscode-jest-tests.v2",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
"console": "integratedTerminal",
|
|
8
|
+
"internalConsoleOptions": "neverOpen",
|
|
9
|
+
"disableOptimisticBPs": true,
|
|
10
|
+
"program": "${workspaceFolder}\\node_modules\\react-scripts\\node_modules\\.bin\\jest",
|
|
11
|
+
"cwd": "${workspaceFolder}",
|
|
12
|
+
"args": [
|
|
13
|
+
"--runInBand",
|
|
14
|
+
"--watchAll=false",
|
|
15
|
+
"--testNamePattern",
|
|
16
|
+
"${jest.testNamePattern}",
|
|
17
|
+
"--runTestsByPath",
|
|
18
|
+
"${jest.testFile}"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"npm.exclude": [
|
|
3
|
+
"**/dist",
|
|
4
|
+
"dist"
|
|
5
|
+
],
|
|
6
|
+
"editor.hover.enabled": true,
|
|
7
|
+
"editor.hover.delay": 2000,
|
|
8
|
+
"editor.quickSuggestions": {},
|
|
9
|
+
"editor.quickSuggestionsDelay": 2000,
|
|
10
|
+
"editor.tabCompletion": "off",
|
|
11
|
+
"editor.renderWhitespace": "all",
|
|
12
|
+
"editor.acceptSuggestionOnEnter": "on",
|
|
13
|
+
"editor.defaultFormatter": null,
|
|
14
|
+
"editor.formatOnSave": true,
|
|
15
|
+
"editor.autoClosingBrackets": "always",
|
|
16
|
+
"editor.autoClosingOvertype": "always",
|
|
17
|
+
"editor.insertSpaces": true,
|
|
18
|
+
"editor.detectIndentation": false,
|
|
19
|
+
"editor.tabSize": 2,
|
|
20
|
+
"files.trimTrailingWhitespace": true,
|
|
21
|
+
"javascript.format.semicolons": "remove",
|
|
22
|
+
"typescript.format.semicolons": "remove",
|
|
23
|
+
"typescript.referencesCodeLens.enabled": true,
|
|
24
|
+
"typescript.suggestionActions.enabled": false,
|
|
25
|
+
"javascript.suggestionActions.enabled": false,
|
|
26
|
+
"explorer.compactFolders": false,
|
|
27
|
+
"[typescript]": {},
|
|
28
|
+
"[javascript]": {},
|
|
29
|
+
"[markdown]": {},
|
|
30
|
+
"[php]": {},
|
|
31
|
+
"[css]": {},
|
|
32
|
+
"[less]": {},
|
|
33
|
+
"[sass]": {},
|
|
34
|
+
"[js]": {},
|
|
35
|
+
"search.exclude": {
|
|
36
|
+
"out": true,
|
|
37
|
+
"node_modules/jest-editor-support/src": false,
|
|
38
|
+
".editorconfig": true,
|
|
39
|
+
"**/.cache": true,
|
|
40
|
+
"**/.DS_Store": true,
|
|
41
|
+
"**/.git": true,
|
|
42
|
+
"**/.svg": true,
|
|
43
|
+
"**/.xml": true,
|
|
44
|
+
"**/bower_components": true,
|
|
45
|
+
"**/node_*": true,
|
|
46
|
+
"**/node_modules": true,
|
|
47
|
+
"**/tmp": true,
|
|
48
|
+
"babel.config.js": true,
|
|
49
|
+
"jest.config.js": true,
|
|
50
|
+
"node_modules": true,
|
|
51
|
+
"package-lock.json": true,
|
|
52
|
+
},
|
|
53
|
+
"files.exclude": {
|
|
54
|
+
"out": true,
|
|
55
|
+
"node_modules/jest-editor-support/src": false,
|
|
56
|
+
"coverage/": true,
|
|
57
|
+
// ".vscode/": true,
|
|
58
|
+
// ".editorconfig": true,
|
|
59
|
+
// ".env": true,
|
|
60
|
+
// ".eslintignore": true,
|
|
61
|
+
// ".eslintrc.json": true,
|
|
62
|
+
// ".eslintrc.legacy.json": true,
|
|
63
|
+
// ".gitattributes": true,
|
|
64
|
+
// ".gitignore": true,
|
|
65
|
+
// ".hintrc": true,
|
|
66
|
+
// ".jsbeautifyrc": true,
|
|
67
|
+
// ".jshintrc": true,
|
|
68
|
+
// ".npmignore": true,
|
|
69
|
+
// ".npmrc": true,
|
|
70
|
+
// ".prettierignore": true,
|
|
71
|
+
// ".prettierrc.json": true,
|
|
72
|
+
// ".stylelintignore": true,
|
|
73
|
+
// ".stylelintrc.json": true,
|
|
74
|
+
// "babel.config.js": true,
|
|
75
|
+
// "jest.config.js": true,
|
|
76
|
+
// "package-lock.json": true,
|
|
77
|
+
// "node_modules/": true
|
|
78
|
+
},
|
|
79
|
+
"typescript.tsdk": "./node_modules/typescript/lib",
|
|
80
|
+
"eslint.enable": true,
|
|
81
|
+
"editor.codeActionsOnSave": {
|
|
82
|
+
"source.fixAll.eslint": true
|
|
83
|
+
}
|
|
84
|
+
}
|
package/.vscodeignore
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.vscode/**
|
|
2
|
+
.vscode-insiders/**
|
|
3
|
+
.vscode-test/**
|
|
4
|
+
src/**
|
|
5
|
+
**/*.map
|
|
6
|
+
.gitignore
|
|
7
|
+
tsconfig.json
|
|
8
|
+
**/__mocks__/**
|
|
9
|
+
**/tests/**
|
|
10
|
+
**/*.ts
|
|
11
|
+
**/tsconfig.json
|
|
12
|
+
jsconfig.json
|
|
13
|
+
jest.config.js
|
|
14
|
+
.eslintrc.js
|
|
15
|
+
**/.eslintrc.js
|
|
16
|
+
prettier.config.js
|
|
17
|
+
.travis.yml
|
|
18
|
+
yarn.lock
|
|
19
|
+
yarn-error.log
|
|
20
|
+
scripts/
|
|
21
|
+
coverage
|
|
22
|
+
.github/**
|
|
23
|
+
images/**
|
|
24
|
+
!images/vscode-jest.png
|
|
25
|
+
node_modules
|
|
26
|
+
webpack.config.js
|
|
27
|
+
generated-icons/
|
|
28
|
+
*.zip
|
package/babel.config.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
|
|
3
|
+
License: CC BY-NC-ND 4.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
|
|
8
|
+
presets: [
|
|
9
|
+
"@babel/preset-env",
|
|
10
|
+
"@babel/preset-typescript",
|
|
11
|
+
"@babel/preset-react"
|
|
12
|
+
],
|
|
13
|
+
|
|
14
|
+
plugins: [
|
|
15
|
+
"@babel/plugin-proposal-class-properties",
|
|
16
|
+
[
|
|
17
|
+
"@babel/plugin-transform-runtime",
|
|
18
|
+
{
|
|
19
|
+
regenerator: true,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
env: {
|
|
25
|
+
development: {
|
|
26
|
+
presets: [['@babel/preset-react', { development: true, useBuiltIns: true }]]
|
|
27
|
+
},
|
|
28
|
+
production: {
|
|
29
|
+
presets: [['@babel/preset-react', { useBuiltIns: true }]],
|
|
30
|
+
plugins: [['transform-react-remove-prop-types', { removeImport: true }]]
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
package/backup.bat
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
|
|
3
|
+
@REM echo THIS FILE RUN BACKUP.
|
|
4
|
+
@REM echo CREATED BY DARIO PASSARIELLO.
|
|
5
|
+
@REM echo[
|
|
6
|
+
|
|
7
|
+
@REM goto :start
|
|
8
|
+
|
|
9
|
+
@REM This file permit to run BackUp as Zip file (using 7z) for the APP.
|
|
10
|
+
@REM Please don't change anything without authorization.
|
|
11
|
+
@REM In case needs help please call the back-end department.
|
|
12
|
+
@REM You need to install 7z free software before using this batch
|
|
13
|
+
|
|
14
|
+
@REM :start
|
|
15
|
+
|
|
16
|
+
@REM :choice
|
|
17
|
+
@REM set /P c=Are you sure you want to continue( [Y]/N )? Y
|
|
18
|
+
@REM if /I "%c%" EQU "" goto :yes
|
|
19
|
+
@REM if /I "%c%" EQU "y" goto :yes
|
|
20
|
+
@REM if /I "%c%" EQU "Y" goto :yes
|
|
21
|
+
@REM if /I "%c%" EQU "N" goto :no
|
|
22
|
+
@REM goto :choice
|
|
23
|
+
|
|
24
|
+
@REM :yes
|
|
25
|
+
|
|
26
|
+
pushd %~dp0
|
|
27
|
+
set THIS_DIR=%CD%
|
|
28
|
+
popd
|
|
29
|
+
|
|
30
|
+
for /f "tokens=3,2,4 delims=/- " %%x in ("%date%") do set d=%%z%%x%%y
|
|
31
|
+
for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I
|
|
32
|
+
set logtime=%datetime:~8,6%
|
|
33
|
+
for /f "skip=1" %%x in ('wmic os get localdatetime') do if not defined tmpDate set tmpDate=%%x
|
|
34
|
+
set data=%tmpDate:~0,4%%tmpDate:~4,2%%tmpDate:~6,2%
|
|
35
|
+
|
|
36
|
+
"C:\Program Files\7-Zip\7z.exe" a -tzip %THIS_DIR%\.backup\%data%.%logtime%.zip %THIS_DIR% -xr!node_modules -xr!.backup -xr!.git
|
|
37
|
+
attrib +h %THIS_DIR%\.backup
|
|
38
|
+
echo Zip created into %THIS_DIR%\.backup!
|
|
39
|
+
@REM pause
|
|
40
|
+
exit
|
|
41
|
+
|
|
42
|
+
:no
|
|
43
|
+
exit
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1658814507307" clover="3.2.0">
|
|
3
|
+
<project timestamp="1658814507307" name="All files">
|
|
4
|
+
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
|
|
5
|
+
</project>
|
|
6
|
+
</coverage>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
body, html {
|
|
2
|
+
margin:0; padding: 0;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
body {
|
|
6
|
+
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
color:#333;
|
|
9
|
+
}
|
|
10
|
+
.small { font-size: 12px; }
|
|
11
|
+
*, *:after, *:before {
|
|
12
|
+
-webkit-box-sizing:border-box;
|
|
13
|
+
-moz-box-sizing:border-box;
|
|
14
|
+
box-sizing:border-box;
|
|
15
|
+
}
|
|
16
|
+
h1 { font-size: 20px; margin: 0;}
|
|
17
|
+
h2 { font-size: 14px; }
|
|
18
|
+
pre {
|
|
19
|
+
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
-moz-tab-size: 2;
|
|
23
|
+
-o-tab-size: 2;
|
|
24
|
+
tab-size: 2;
|
|
25
|
+
}
|
|
26
|
+
a { color:#0074D9; text-decoration:none; }
|
|
27
|
+
a:hover { text-decoration:underline; }
|
|
28
|
+
.strong { font-weight: bold; }
|
|
29
|
+
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
+
.pad2y { padding: 20px 0; }
|
|
31
|
+
.pad1y { padding: 10px 0; }
|
|
32
|
+
.pad2x { padding: 0 20px; }
|
|
33
|
+
.pad2 { padding: 20px; }
|
|
34
|
+
.pad1 { padding: 10px; }
|
|
35
|
+
.space-left2 { padding-left:55px; }
|
|
36
|
+
.space-right2 { padding-right:20px; }
|
|
37
|
+
.center { text-align:center; }
|
|
38
|
+
.clearfix { display:block; }
|
|
39
|
+
.clearfix:after {
|
|
40
|
+
content:'';
|
|
41
|
+
display:block;
|
|
42
|
+
height:0;
|
|
43
|
+
clear:both;
|
|
44
|
+
visibility:hidden;
|
|
45
|
+
}
|
|
46
|
+
.fl { float: left; }
|
|
47
|
+
@media only screen and (max-width:640px) {
|
|
48
|
+
.col3 { width:100%; max-width:100%; }
|
|
49
|
+
.hide-mobile { display:none!important; }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.quiet {
|
|
53
|
+
color: #7f7f7f;
|
|
54
|
+
color: rgba(0,0,0,0.5);
|
|
55
|
+
}
|
|
56
|
+
.quiet a { opacity: 0.7; }
|
|
57
|
+
|
|
58
|
+
.fraction {
|
|
59
|
+
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
color: #555;
|
|
62
|
+
background: #E8E8E8;
|
|
63
|
+
padding: 4px 5px;
|
|
64
|
+
border-radius: 3px;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
+
table.coverage {
|
|
70
|
+
border-collapse: collapse;
|
|
71
|
+
margin: 10px 0 0 0;
|
|
72
|
+
padding: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
table.coverage td {
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
vertical-align: top;
|
|
79
|
+
}
|
|
80
|
+
table.coverage td.line-count {
|
|
81
|
+
text-align: right;
|
|
82
|
+
padding: 0 5px 0 20px;
|
|
83
|
+
}
|
|
84
|
+
table.coverage td.line-coverage {
|
|
85
|
+
text-align: right;
|
|
86
|
+
padding-right: 10px;
|
|
87
|
+
min-width:20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
table.coverage td span.cline-any {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
padding: 0 5px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
.missing-if-branch {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
margin-right: 5px;
|
|
98
|
+
border-radius: 3px;
|
|
99
|
+
position: relative;
|
|
100
|
+
padding: 0 4px;
|
|
101
|
+
background: #333;
|
|
102
|
+
color: yellow;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.skip-if-branch {
|
|
106
|
+
display: none;
|
|
107
|
+
margin-right: 10px;
|
|
108
|
+
position: relative;
|
|
109
|
+
padding: 0 4px;
|
|
110
|
+
background: #ccc;
|
|
111
|
+
color: white;
|
|
112
|
+
}
|
|
113
|
+
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
+
color: inherit !important;
|
|
115
|
+
}
|
|
116
|
+
.coverage-summary {
|
|
117
|
+
border-collapse: collapse;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
+
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
+
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
+
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
+
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
+
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
+
.coverage-summary th {
|
|
127
|
+
text-align: left;
|
|
128
|
+
font-weight: normal;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
}
|
|
131
|
+
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
+
.coverage-summary th.pct { }
|
|
133
|
+
.coverage-summary th.pic,
|
|
134
|
+
.coverage-summary th.abs,
|
|
135
|
+
.coverage-summary td.pct,
|
|
136
|
+
.coverage-summary td.abs { text-align: right; }
|
|
137
|
+
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
+
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
+
.coverage-summary tfoot td { }
|
|
140
|
+
|
|
141
|
+
.coverage-summary .sorter {
|
|
142
|
+
height: 10px;
|
|
143
|
+
width: 7px;
|
|
144
|
+
display: inline-block;
|
|
145
|
+
margin-left: 0.5em;
|
|
146
|
+
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
+
}
|
|
148
|
+
.coverage-summary .sorted .sorter {
|
|
149
|
+
background-position: 0 -20px;
|
|
150
|
+
}
|
|
151
|
+
.coverage-summary .sorted-desc .sorter {
|
|
152
|
+
background-position: 0 -10px;
|
|
153
|
+
}
|
|
154
|
+
.status-line { height: 10px; }
|
|
155
|
+
/* yellow */
|
|
156
|
+
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
+
/* dark red */
|
|
158
|
+
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
+
.low .chart { border:1px solid #C21F39 }
|
|
160
|
+
.highlighted,
|
|
161
|
+
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
+
background: #C21F39 !important;
|
|
163
|
+
}
|
|
164
|
+
/* medium red */
|
|
165
|
+
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
+
/* light red */
|
|
167
|
+
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
+
/* light green */
|
|
169
|
+
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
+
/* medium green */
|
|
171
|
+
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
+
/* dark green */
|
|
173
|
+
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
+
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
+
/* dark yellow (gold) */
|
|
176
|
+
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
+
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
+
/* light yellow */
|
|
179
|
+
.medium { background: #fff4c2; }
|
|
180
|
+
|
|
181
|
+
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
+
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
+
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
+
|
|
185
|
+
span.cline-neutral { background: #eaeaea; }
|
|
186
|
+
|
|
187
|
+
.coverage-summary td.empty {
|
|
188
|
+
opacity: .5;
|
|
189
|
+
padding-top: 4px;
|
|
190
|
+
padding-bottom: 4px;
|
|
191
|
+
line-height: 1;
|
|
192
|
+
color: #888;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cover-fill, .cover-empty {
|
|
196
|
+
display:inline-block;
|
|
197
|
+
height: 12px;
|
|
198
|
+
}
|
|
199
|
+
.chart {
|
|
200
|
+
line-height: 0;
|
|
201
|
+
}
|
|
202
|
+
.cover-empty {
|
|
203
|
+
background: white;
|
|
204
|
+
}
|
|
205
|
+
.cover-full {
|
|
206
|
+
border-right: none !important;
|
|
207
|
+
}
|
|
208
|
+
pre.prettyprint {
|
|
209
|
+
border: none !important;
|
|
210
|
+
padding: 0 !important;
|
|
211
|
+
margin: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
.com { color: #999 !important; }
|
|
214
|
+
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
+
|
|
216
|
+
.wrapper {
|
|
217
|
+
min-height: 100%;
|
|
218
|
+
height: auto !important;
|
|
219
|
+
height: 100%;
|
|
220
|
+
margin: 0 auto -48px;
|
|
221
|
+
}
|
|
222
|
+
.footer, .push {
|
|
223
|
+
height: 48px;
|
|
224
|
+
}
|