ixbrl-viewer 1.4.1__py3-none-any.whl → 1.4.86__py3-none-any.whl
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.
- iXBRLViewerPlugin/__init__.py +231 -127
- iXBRLViewerPlugin/_version.py +33 -3
- iXBRLViewerPlugin/constants.py +96 -2
- iXBRLViewerPlugin/featureConfig.py +8 -1
- iXBRLViewerPlugin/iXBRLViewer.py +356 -214
- iXBRLViewerPlugin/plugin.py +12 -0
- iXBRLViewerPlugin/ui.py +81 -50
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js +1 -1
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt +12 -5
- iXBRLViewerPlugin/viewer/i18next-parser.config.js +1 -1
- iXBRLViewerPlugin/viewer/src/data/utr.json +1244 -0
- iXBRLViewerPlugin/viewer/src/html/fact-details.html +69 -38
- iXBRLViewerPlugin/viewer/src/html/footer-logo.html +4 -0
- iXBRLViewerPlugin/viewer/src/html/footnote-details.html +2 -2
- iXBRLViewerPlugin/viewer/src/html/inspector.html +352 -197
- iXBRLViewerPlugin/viewer/src/i18n/cy/balancetypes.json +1 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/scale.json +16 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/cy/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/scale.json +15 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/da/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/scale.json +15 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/de/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/datatypes.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/labelroles.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/scale.json +16 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/en/translation.json +73 -23
- iXBRLViewerPlugin/viewer/src/i18n/es/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/es/datatypes.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/es/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/es/scale.json +16 -0
- iXBRLViewerPlugin/viewer/src/i18n/es/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/es/translation.json +87 -37
- iXBRLViewerPlugin/viewer/src/i18n/fr/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/scale.json +15 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/fr/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/scale.json +15 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/nl/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/balancetypes.json +4 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/currencies.json +13 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/datatypes.json +9 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/labelroles.json +24 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/referenceparts.json +10 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/scale.json +15 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/tooltips.json +17 -0
- iXBRLViewerPlugin/viewer/src/i18n/uk/translation.json +179 -0
- iXBRLViewerPlugin/viewer/src/icons/calculator.svg +13 -0
- iXBRLViewerPlugin/viewer/src/icons/circle-cross.svg +11 -0
- iXBRLViewerPlugin/viewer/src/icons/circle-tick.svg +11 -0
- iXBRLViewerPlugin/viewer/src/icons/dark-mode.svg +4 -0
- iXBRLViewerPlugin/viewer/src/icons/dimension.svg +1 -5
- iXBRLViewerPlugin/viewer/src/icons/member.svg +2 -5
- iXBRLViewerPlugin/viewer/src/icons/multi-tag.svg +10 -0
- iXBRLViewerPlugin/viewer/src/img/arelle-dark.svg +179 -0
- iXBRLViewerPlugin/viewer/src/img/inline-viewer-dark.svg +59 -0
- iXBRLViewerPlugin/viewer/src/js/accordian.js +5 -4
- iXBRLViewerPlugin/viewer/src/js/aspect.js +29 -10
- iXBRLViewerPlugin/viewer/src/js/aspect.test.js +40 -31
- iXBRLViewerPlugin/viewer/src/js/balance.js +14 -0
- iXBRLViewerPlugin/viewer/src/js/calculation.js +213 -0
- iXBRLViewerPlugin/viewer/src/js/calculation.test.js +306 -0
- iXBRLViewerPlugin/viewer/src/js/calculationInspector.js +187 -0
- iXBRLViewerPlugin/viewer/src/js/chart.js +26 -24
- iXBRLViewerPlugin/viewer/src/js/chart.test.js +10 -9
- iXBRLViewerPlugin/viewer/src/js/concept.js +37 -4
- iXBRLViewerPlugin/viewer/src/js/concept.test.js +30 -6
- iXBRLViewerPlugin/viewer/src/js/datatype.js +20 -0
- iXBRLViewerPlugin/viewer/src/js/datatype.test.js +62 -0
- iXBRLViewerPlugin/viewer/src/js/dialog.js +6 -4
- iXBRLViewerPlugin/viewer/src/js/docOrderIndex.js +7 -7
- iXBRLViewerPlugin/viewer/src/js/fact.js +156 -59
- iXBRLViewerPlugin/viewer/src/js/fact.test.js +160 -29
- iXBRLViewerPlugin/viewer/src/js/factset.js +64 -15
- iXBRLViewerPlugin/viewer/src/js/factset.test.js +102 -31
- iXBRLViewerPlugin/viewer/src/js/footnote.js +8 -2
- iXBRLViewerPlugin/viewer/src/js/index.js +11 -3
- iXBRLViewerPlugin/viewer/src/js/inspector.js +747 -221
- iXBRLViewerPlugin/viewer/src/js/inspector.test.js +143 -25
- iXBRLViewerPlugin/viewer/src/js/interval.js +70 -0
- iXBRLViewerPlugin/viewer/src/js/interval.test.js +153 -0
- iXBRLViewerPlugin/viewer/src/js/ixbrlviewer.js +391 -262
- iXBRLViewerPlugin/viewer/src/js/ixbrlviewer.test.js +134 -20
- iXBRLViewerPlugin/viewer/src/js/ixnode.js +1 -1
- iXBRLViewerPlugin/viewer/src/js/menu.js +25 -7
- iXBRLViewerPlugin/viewer/src/js/number-matcher.js +7 -3
- iXBRLViewerPlugin/viewer/src/js/number-matcher.test.js +4 -0
- iXBRLViewerPlugin/viewer/src/js/outline.js +34 -13
- iXBRLViewerPlugin/viewer/src/js/outline.test.js +97 -91
- iXBRLViewerPlugin/viewer/src/js/period.js +0 -1
- iXBRLViewerPlugin/viewer/src/js/report.js +260 -351
- iXBRLViewerPlugin/viewer/src/js/report.test.js +95 -27
- iXBRLViewerPlugin/viewer/src/js/reportset.js +264 -0
- iXBRLViewerPlugin/viewer/src/js/reportset.test.js +357 -0
- iXBRLViewerPlugin/viewer/src/js/search.js +72 -38
- iXBRLViewerPlugin/viewer/src/js/search.test.js +184 -84
- iXBRLViewerPlugin/viewer/src/js/summary.js +34 -8
- iXBRLViewerPlugin/viewer/src/js/summary.test.js +69 -25
- iXBRLViewerPlugin/viewer/src/js/tableExport.js +9 -9
- iXBRLViewerPlugin/viewer/src/js/taxonomynamer.js +34 -0
- iXBRLViewerPlugin/viewer/src/js/taxonomynamer.test.js +32 -0
- iXBRLViewerPlugin/viewer/src/js/test-utils.js +46 -0
- iXBRLViewerPlugin/viewer/src/js/theme.js +50 -0
- iXBRLViewerPlugin/viewer/src/js/unit.js +90 -32
- iXBRLViewerPlugin/viewer/src/js/unit.test.js +62 -25
- iXBRLViewerPlugin/viewer/src/js/util.js +94 -0
- iXBRLViewerPlugin/viewer/src/js/util.test.js +33 -1
- iXBRLViewerPlugin/viewer/src/js/utr.js +27 -0
- iXBRLViewerPlugin/viewer/src/js/viewer.js +205 -181
- iXBRLViewerPlugin/viewer/src/js/viewerOptions.js +0 -2
- iXBRLViewerPlugin/viewer/src/less/accordian.less +10 -6
- iXBRLViewerPlugin/viewer/src/less/block-list.less +16 -5
- iXBRLViewerPlugin/viewer/src/less/calculation-inspector.less +83 -0
- iXBRLViewerPlugin/viewer/src/less/chart.less +8 -5
- iXBRLViewerPlugin/viewer/src/less/colours-dark-mode.less +40 -0
- iXBRLViewerPlugin/viewer/src/less/colours.less +32 -20
- iXBRLViewerPlugin/viewer/src/less/common.less +3 -3
- iXBRLViewerPlugin/viewer/src/less/components.less +6 -4
- iXBRLViewerPlugin/viewer/src/less/core.less +2 -0
- iXBRLViewerPlugin/viewer/src/less/dialog.less +21 -14
- iXBRLViewerPlugin/viewer/src/less/form-controls.less +33 -11
- iXBRLViewerPlugin/viewer/src/less/inspector.less +1045 -726
- iXBRLViewerPlugin/viewer/src/less/loader.less +2 -2
- iXBRLViewerPlugin/viewer/src/less/menu.less +33 -15
- iXBRLViewerPlugin/viewer/src/less/summary.less +16 -6
- iXBRLViewerPlugin/viewer/src/less/tabs.less +9 -9
- iXBRLViewerPlugin/viewer/src/less/text-block-viewer.less +2 -0
- iXBRLViewerPlugin/viewer/src/less/text-mixins.less +2 -1
- iXBRLViewerPlugin/viewer/src/less/validation-report.less +2 -3
- iXBRLViewerPlugin/viewer/src/less/viewer.less +105 -74
- iXBRLViewerPlugin/viewer/webpack.common.js +19 -9
- iXBRLViewerPlugin/xhtmlserialize.py +59 -45
- {ixbrl_viewer-1.4.1.dist-info → ixbrl_viewer-1.4.86.dist-info}/METADATA +181 -50
- ixbrl_viewer-1.4.86.dist-info/RECORD +217 -0
- {ixbrl_viewer-1.4.1.dist-info → ixbrl_viewer-1.4.86.dist-info}/WHEEL +1 -1
- ixbrl_viewer-1.4.1.dist-info/LICENSE → ixbrl_viewer-1.4.86.dist-info/licenses/LICENSE.md +8 -14
- {ixbrl_viewer-1.4.1.dist-info → ixbrl_viewer-1.4.86.dist-info}/top_level.txt +0 -1
- iXBRLViewerPlugin/viewer/src/js/calculations.js +0 -111
- iXBRLViewerPlugin/viewer/src/js/interact.min.js +0 -6
- ixbrl_viewer-1.4.1.dist-info/RECORD +0 -155
- tests/__init__.py +0 -0
- tests/puppeteer/framework/core_elements.js +0 -117
- tests/puppeteer/framework/page_objects/doc_frame.js +0 -105
- tests/puppeteer/framework/page_objects/fact_details_panel.js +0 -80
- tests/puppeteer/framework/page_objects/search_panel.js +0 -76
- tests/puppeteer/framework/page_objects/toolbar.js +0 -18
- tests/puppeteer/framework/utils.js +0 -3
- tests/puppeteer/framework/viewer_page.js +0 -103
- tests/puppeteer/puppeteer_test_run_via_intellij.jpg +0 -0
- tests/puppeteer/test_filings/filing_documents_smoke_test.zip +0 -0
- tests/puppeteer/test_filings/highlights.zip +0 -0
- tests/puppeteer/tests/fact_properties.test.js +0 -78
- tests/puppeteer/tests/highlight.test.js +0 -186
- tests/puppeteer/tests/search.test.js +0 -86
- tests/puppeteer/tools/generate.sh +0 -15
- tests/unit_tests/__init__.py +0 -0
- tests/unit_tests/iXBRLViewerPlugin/__init__.py +0 -0
- tests/unit_tests/iXBRLViewerPlugin/mock_arelle.py +0 -39
- tests/unit_tests/iXBRLViewerPlugin/test_iXBRLViewer.py +0 -641
- tests/unit_tests/iXBRLViewerPlugin/test_xhtmlserialize.py +0 -310
- {ixbrl_viewer-1.4.1.dist-info → ixbrl_viewer-1.4.86.dist-info}/entry_points.txt +0 -0
- {ixbrl_viewer-1.4.1.dist-info → ixbrl_viewer-1.4.86.dist-info/licenses}/NOTICE +0 -0
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
.accordian .card {
|
|
4
4
|
margin-top: 0.4rem;
|
|
5
|
-
background-color:
|
|
5
|
+
background-color: var(--colour-button-bg);
|
|
6
6
|
|
|
7
|
-
.body {
|
|
7
|
+
.card-body {
|
|
8
8
|
display: none;
|
|
9
9
|
padding-left: 1.6rem;
|
|
10
10
|
padding-right: 1.6rem;
|
|
@@ -16,23 +16,27 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.title {
|
|
19
|
+
.text-md();
|
|
20
|
+
|
|
19
21
|
padding: 1.2rem 1.6rem;
|
|
22
|
+
border: none;
|
|
23
|
+
width: 100%;
|
|
24
|
+
text-align: left;
|
|
20
25
|
cursor: pointer;
|
|
21
|
-
line-height: 1.8rem;
|
|
22
26
|
|
|
23
27
|
&:hover {
|
|
24
|
-
background-color:
|
|
28
|
+
background-color: var(--colour-bg-selected);
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
&.active {
|
|
29
|
-
background-color:
|
|
33
|
+
background-color: var(--colour-bg-selected);
|
|
30
34
|
|
|
31
35
|
.title {
|
|
32
36
|
font-weight: bold;
|
|
33
37
|
}
|
|
34
38
|
|
|
35
|
-
.body {
|
|
39
|
+
.card-body {
|
|
36
40
|
display: block;
|
|
37
41
|
}
|
|
38
42
|
}
|
|
@@ -3,22 +3,33 @@
|
|
|
3
3
|
.block-list-item {
|
|
4
4
|
margin: 0.5rem 0;
|
|
5
5
|
padding: 0.3rem 0.9rem;
|
|
6
|
-
background-color:
|
|
6
|
+
background-color: var(--colour-button-bg);
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
position: relative;
|
|
9
|
-
border-left: solid 0.4rem
|
|
9
|
+
border-left: solid 0.4rem var(--colour-button-bg);
|
|
10
|
+
border-right: none;
|
|
11
|
+
border-top: none;
|
|
12
|
+
border-bottom: none;
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
text-align: left;
|
|
15
|
+
width: 100%;
|
|
10
16
|
|
|
11
17
|
& > * {
|
|
12
18
|
margin: 0.8rem 0;
|
|
13
19
|
}
|
|
14
20
|
|
|
21
|
+
// Contents of .tags provide 0.2rem of non-collapsing margin
|
|
22
|
+
& > .block-list-item-tags {
|
|
23
|
+
margin: 0.6rem 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
15
26
|
&:hover {
|
|
16
|
-
background-color:
|
|
27
|
+
background-color: var(--colour-bg-selected);
|
|
17
28
|
}
|
|
18
29
|
|
|
19
30
|
&.selected {
|
|
20
|
-
border-left: solid 0.4rem
|
|
21
|
-
background-color:
|
|
31
|
+
border-left: solid 0.4rem var(--colour-primary);
|
|
32
|
+
background-color: var(--colour-bg-selected);
|
|
22
33
|
}
|
|
23
34
|
|
|
24
35
|
&.linked-highlight {
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#ixv .dialog.calculation-inspector {
|
|
2
|
+
table.calculation-trace {
|
|
3
|
+
border-spacing: 1rem 0;
|
|
4
|
+
padding-bottom: 1.5rem;
|
|
5
|
+
|
|
6
|
+
th.value-column {
|
|
7
|
+
// Specify undersized column width to force line break in header, unless
|
|
8
|
+
// figures are really big.
|
|
9
|
+
width: 8rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
td {
|
|
13
|
+
padding: 1rem 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
td.figure {
|
|
17
|
+
text-align: right;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.calc11 {
|
|
22
|
+
td.icons,
|
|
23
|
+
th.icons {
|
|
24
|
+
border-right: solid 1px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.has-icons {
|
|
29
|
+
td.icons,
|
|
30
|
+
th.icons {
|
|
31
|
+
padding-right: 1rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
tr.total {
|
|
36
|
+
td.figure,
|
|
37
|
+
td.line-item {
|
|
38
|
+
border-top: solid 1px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
td.status {
|
|
43
|
+
.message {
|
|
44
|
+
font-style: italic;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.icon::before {
|
|
48
|
+
position: relative;
|
|
49
|
+
top: 0.1rem;
|
|
50
|
+
padding-right: 0.1rem;
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.unchecked .icon::before {
|
|
55
|
+
.icon-question();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.consistent .icon::before {
|
|
59
|
+
.icon-circle-tick();
|
|
60
|
+
|
|
61
|
+
color: var(--colour-primary);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.inconsistent .icon::before {
|
|
65
|
+
.icon-circle-cross();
|
|
66
|
+
|
|
67
|
+
color: var(--colour-warning);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
span.duplicate-facts {
|
|
72
|
+
&::before {
|
|
73
|
+
.icon-multi-tag();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:not(.calc11) {
|
|
78
|
+
td.calc11-only, th.calc11-only {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
width: 100%;
|
|
13
13
|
position: absolute;
|
|
14
14
|
bottom: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
padding: 1rem;
|
|
17
|
+
box-sizing: border-box;
|
|
15
18
|
|
|
16
19
|
.other-aspect {
|
|
17
20
|
display: inline-block;
|
|
@@ -24,21 +27,21 @@
|
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
&.addable {
|
|
27
|
-
color:
|
|
30
|
+
color: var(--colour-primary);
|
|
28
31
|
|
|
29
32
|
&:hover {
|
|
30
|
-
color:
|
|
33
|
+
color: var(--colour-primary)-focus;
|
|
31
34
|
text-decoration: underline;
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
&.selected {
|
|
36
|
-
background-color:
|
|
39
|
+
background-color: var(--colour-button-primary-bg);
|
|
37
40
|
border-radius: 0.4rem;
|
|
38
|
-
border: 0.1rem solid
|
|
41
|
+
border: 0.1rem solid var(--colour-button-primary-border);
|
|
39
42
|
|
|
40
43
|
/* border: solid 1px #399; */
|
|
41
|
-
color:
|
|
44
|
+
color: var(--colour-bg);
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// See COPYRIGHT.md for copyright information
|
|
2
|
+
|
|
3
|
+
@colour-bg-d: #000000;
|
|
4
|
+
@colour-foreground-d: #ffffff;
|
|
5
|
+
|
|
6
|
+
@colour-primary-d: #72bafd;
|
|
7
|
+
@colour-secondary-d: #66cc00;
|
|
8
|
+
@colour-tertiary-d: #aa108e;
|
|
9
|
+
@colour-warning-d: #d8ae15;
|
|
10
|
+
|
|
11
|
+
@colour-bg-fade-d: fadeout(@colour-foreground-d, 50%);
|
|
12
|
+
@colour-primary-focus-d: darken(spin(@colour-primary-d, -3.4), 7.0);
|
|
13
|
+
|
|
14
|
+
@colour-loader-d: @colour-foreground-d;
|
|
15
|
+
@colour-linked-fact-d: @colour-primary-d;
|
|
16
|
+
@colour-related-fact-d: lighten(desaturate(spin(@colour-secondary-d, 30.0), 14.5), 6.5);
|
|
17
|
+
|
|
18
|
+
@colour-text-title-d: darken(@colour-foreground-d, 26.2);
|
|
19
|
+
@colour-text-d: darken(@colour-foreground-d, 26.2);
|
|
20
|
+
@colour-text-light-d: darken(@colour-foreground-d, 52.4);
|
|
21
|
+
@colour-text-form-value-d: darken(@colour-foreground-d, 36.8);
|
|
22
|
+
|
|
23
|
+
@colour-border-grey-d: darken(@colour-foreground-d, 59.7);
|
|
24
|
+
|
|
25
|
+
@colour-highlight-default-d: lighten(desaturate(spin(@colour-secondary-d, -0.5660), 31.1688), 34); // #beea8f
|
|
26
|
+
@colour-highlight-1-d: lighten(saturate(spin(@colour-tertiary-d, -25.3918), 17.2043), 36); // #dd73ff
|
|
27
|
+
@colour-highlight-2-d: lighten(saturate(spin(@colour-warning-d, 1.0810), 17.7215), 33); // #ffac29
|
|
28
|
+
|
|
29
|
+
@colour-icon-grey-d: @colour-text-d;
|
|
30
|
+
|
|
31
|
+
@colour-button-primary-bg-d: @colour-primary-focus-d;
|
|
32
|
+
@colour-button-primary-border-d: darken(spin(@colour-primary-d, -3.2), 3.2);
|
|
33
|
+
|
|
34
|
+
@colour-button-bg-d: lighten(@colour-bg-d, 8.2);
|
|
35
|
+
@colour-bg-selected-d: lighten(@colour-bg-d, 14.1);
|
|
36
|
+
|
|
37
|
+
@colour-bg-tag-d: lighten(@colour-bg-d, 137.0);
|
|
38
|
+
|
|
39
|
+
@colour-row-hover-d: lighten(@colour-bg-d, 29.4);
|
|
40
|
+
@colour-row-odd-d: @colour-button-bg-d;
|
|
@@ -1,31 +1,43 @@
|
|
|
1
1
|
// See COPYRIGHT.md for copyright information
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
@
|
|
3
|
+
@colour-bg: #ffffff;
|
|
4
|
+
@colour-foreground: #000000;
|
|
5
5
|
|
|
6
|
-
@
|
|
7
|
-
@
|
|
6
|
+
@colour-primary: #026dce;
|
|
7
|
+
@colour-secondary: #66cc00;
|
|
8
|
+
@colour-tertiary: #aa108e;
|
|
9
|
+
@colour-warning: #7a4b06;
|
|
8
10
|
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@text-light: #b2b2b2;
|
|
12
|
-
@text-form-value: #7d7d7d;
|
|
11
|
+
@colour-bg-fade: fadeout(@colour-foreground, 50%);
|
|
12
|
+
@colour-primary-focus: lighten(saturate(spin(@colour-primary, -3.3529), 1.9231), 9.2157); // #0094ff
|
|
13
13
|
|
|
14
|
-
@
|
|
15
|
-
@
|
|
14
|
+
@colour-loader: @colour-bg;
|
|
15
|
+
@colour-linked-fact: @colour-primary;
|
|
16
|
+
@colour-related-fact: darken(desaturate(spin(@colour-secondary, 30.0000), 14.5078), 2.1569); // #0eb30e;
|
|
16
17
|
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
18
|
+
@colour-text-title: lighten(@colour-foreground, 26.6667); // #444444;
|
|
19
|
+
@colour-text: lighten(@colour-foreground, 34.9020); // #595959;
|
|
20
|
+
@colour-text-light: lighten(@colour-foreground, 45); // #737373;
|
|
21
|
+
@colour-text-form-value: lighten(@colour-foreground, 45); // #737373
|
|
20
22
|
|
|
21
|
-
@
|
|
23
|
+
@colour-border-grey: lighten(@colour-foreground, 79.6078);
|
|
22
24
|
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
+
@colour-highlight-default: lighten(desaturate(spin(@colour-secondary, -0.5660), 31.1688), 34); // #beea8f
|
|
26
|
+
@colour-highlight-1: lighten(saturate(spin(@colour-tertiary, -25.3918), 17.2043), 36); // #dd73ff
|
|
27
|
+
@colour-highlight-2: lighten(saturate(spin(@colour-warning, 1.0810), 17.7215), 33); // #ffac29
|
|
28
|
+
@colour-highlight-3: #a6fff7;
|
|
29
|
+
@colour-highlight-4: #ff7467;
|
|
30
|
+
@colour-highlight-5: #7e84fF;
|
|
25
31
|
|
|
26
|
-
@
|
|
27
|
-
@background-selected: #f3f3f3;
|
|
32
|
+
@colour-icon-grey: @colour-text;
|
|
28
33
|
|
|
29
|
-
@
|
|
34
|
+
@colour-button-primary-bg: darken(@colour-primary-focus, 20);
|
|
35
|
+
@colour-button-primary-border: darken(@colour-button-primary-bg, 10);
|
|
30
36
|
|
|
31
|
-
@
|
|
37
|
+
@colour-button-bg: darken(@colour-bg, 2.7451); // #f8f8f8;
|
|
38
|
+
@colour-bg-selected: darken(@colour-bg, 4.7059); // #f3f3f3;
|
|
39
|
+
|
|
40
|
+
@colour-bg-tag: darken(@colour-bg, 65); // #595959;
|
|
41
|
+
|
|
42
|
+
@colour-row-hover: darken(@colour-bg, 9.8039); // #e6e6e6
|
|
43
|
+
@colour-row-odd: @colour-button-bg;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
/* Styles common to both inspector and highlighting used within iframe */
|
|
4
4
|
.linked-highlight-text {
|
|
5
|
-
outline: dashed
|
|
6
|
-
outline-offset:
|
|
5
|
+
outline: dashed 0.125em var(--colour-linked-fact);
|
|
6
|
+
outline-offset: 0.0625em;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.linked-highlight-cell {
|
|
10
10
|
.linked-highlight-text();
|
|
11
11
|
|
|
12
|
-
outline-offset: -
|
|
12
|
+
outline-offset: -0.0625em;
|
|
13
13
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
// See COPYRIGHT.md for copyright information
|
|
2
2
|
|
|
3
3
|
.tag {
|
|
4
|
-
display:
|
|
4
|
+
display: inline-block;
|
|
5
5
|
text-transform: uppercase;
|
|
6
6
|
font-weight: bold;
|
|
7
|
-
background-color:
|
|
7
|
+
background-color: var(--colour-bg-tag);
|
|
8
8
|
padding: 0.15em 0.5em;
|
|
9
|
-
color:
|
|
9
|
+
color: var(--colour-bg);
|
|
10
10
|
border-radius: 0.3em;
|
|
11
|
+
margin: 0.2rem 0.3rem 0.2rem 0;
|
|
12
|
+
white-space: nowrap;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.clickable {
|
|
14
16
|
cursor: pointer;
|
|
15
|
-
color:
|
|
17
|
+
color: var(--colour-primary);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
.panel-indent {
|
|
@@ -7,14 +7,20 @@
|
|
|
7
7
|
left: 50%;
|
|
8
8
|
transform: translate(-50%, -50%);
|
|
9
9
|
border: solid 1px #000;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: var(--colour-bg);
|
|
11
11
|
display: none;
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
12
14
|
|
|
13
15
|
&.full-screen {
|
|
14
16
|
width: calc(100vw - 5em);
|
|
15
17
|
height: calc(100vh - 5em);
|
|
16
18
|
}
|
|
17
19
|
|
|
20
|
+
&.full-width {
|
|
21
|
+
width: calc(100vw - 5em);
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
&.message-box {
|
|
19
25
|
max-width: 800px;
|
|
20
26
|
width: 100%;
|
|
@@ -26,18 +32,23 @@
|
|
|
26
32
|
box-sizing: border-box;
|
|
27
33
|
height: 100%;
|
|
28
34
|
width: 100%;
|
|
35
|
+
|
|
36
|
+
& > h2:first-child {
|
|
37
|
+
margin-top: 0;
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
40
|
|
|
31
41
|
.close {
|
|
42
|
+
border: none;
|
|
32
43
|
position: absolute;
|
|
33
|
-
top:
|
|
34
|
-
right:
|
|
35
|
-
padding:
|
|
44
|
+
top: 1rem;
|
|
45
|
+
right: 1.4rem;
|
|
46
|
+
padding: 0.3rem;
|
|
36
47
|
font-size: 2.6rem;
|
|
37
48
|
z-index: 20;
|
|
38
49
|
cursor: pointer;
|
|
39
50
|
line-height: 2.2rem;
|
|
40
|
-
|
|
51
|
+
color: var(--colour-border-grey);
|
|
41
52
|
|
|
42
53
|
&::before {
|
|
43
54
|
content: "\00d7";
|
|
@@ -48,23 +59,19 @@
|
|
|
48
59
|
}
|
|
49
60
|
}
|
|
50
61
|
|
|
51
|
-
.title {
|
|
52
|
-
margin-top: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
62
|
.buttons {
|
|
56
63
|
button {
|
|
57
64
|
border-radius: 0;
|
|
58
65
|
min-width: 10rem;
|
|
59
66
|
margin-right: 1.5rem;
|
|
60
|
-
border: solid 0.1rem
|
|
61
|
-
color:
|
|
62
|
-
background-color:
|
|
67
|
+
border: solid 0.1rem var(--colour-border-grey);
|
|
68
|
+
color: var(--colour-text);
|
|
69
|
+
background-color: var(--colour-button-bg);
|
|
63
70
|
cursor: pointer;
|
|
64
71
|
|
|
65
72
|
&.dialog-button-primary {
|
|
66
|
-
color:
|
|
67
|
-
background-color:
|
|
73
|
+
color: var(--colour-bg);
|
|
74
|
+
background-color: var(--colour-primary);
|
|
68
75
|
border: none;
|
|
69
76
|
}
|
|
70
77
|
}
|
|
@@ -4,10 +4,10 @@ input[type="text"],
|
|
|
4
4
|
select,
|
|
5
5
|
button {
|
|
6
6
|
padding: 7px 5px;
|
|
7
|
-
border: solid 1px
|
|
7
|
+
border: solid 1px var(--colour-border-grey);
|
|
8
8
|
border-radius: 5px;
|
|
9
|
-
color:
|
|
10
|
-
background-color:
|
|
9
|
+
color: var(--colour-text);
|
|
10
|
+
background-color: unset;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -15,13 +15,14 @@ button {
|
|
|
15
15
|
width: 3.2rem;
|
|
16
16
|
height: 3.2rem;
|
|
17
17
|
text-align: center;
|
|
18
|
-
color:
|
|
18
|
+
color: var(--colour-icon-grey);
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
padding: 0;
|
|
22
22
|
font-size: 2.2rem;
|
|
23
23
|
line-height: 3.2rem;
|
|
24
24
|
user-select: none;
|
|
25
|
+
border: none;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.square-button {
|
|
@@ -29,8 +30,8 @@ button {
|
|
|
29
30
|
|
|
30
31
|
padding: 0;
|
|
31
32
|
border-radius: 3px;
|
|
32
|
-
border: solid 0.1rem
|
|
33
|
-
background-color:
|
|
33
|
+
border: solid 0.1rem var(--colour-border-grey);
|
|
34
|
+
background-color: var(--colour-button-bg);
|
|
34
35
|
line-height: 3rem;
|
|
35
36
|
margin: 0 0.5rem;
|
|
36
37
|
|
|
@@ -44,9 +45,9 @@ button {
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.square-button.primary {
|
|
47
|
-
color:
|
|
48
|
-
border-color:
|
|
49
|
-
background-color:
|
|
48
|
+
color: var(--colour-bg);
|
|
49
|
+
border-color: var(--colour-button-primary-border);
|
|
50
|
+
background-color: var(--colour-button-primary-bg);
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
.wk-checkbox,
|
|
@@ -57,6 +58,11 @@ label.checkbox {
|
|
|
57
58
|
user-select: none;
|
|
58
59
|
line-height: 1.6rem;
|
|
59
60
|
|
|
61
|
+
&:focus-within {
|
|
62
|
+
outline: solid 0.2rem #000;
|
|
63
|
+
outline-offset: 0.3rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
60
66
|
input {
|
|
61
67
|
position: absolute;
|
|
62
68
|
opacity: 0;
|
|
@@ -73,7 +79,7 @@ label.checkbox {
|
|
|
73
79
|
width: 1.6rem;
|
|
74
80
|
height: 1.6rem;
|
|
75
81
|
border-radius: 0.4rem;
|
|
76
|
-
border: solid 0.1rem
|
|
82
|
+
border: solid 0.1rem var(--colour-border-grey);
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
input:checked ~ .checkmark::before {
|
|
@@ -83,7 +89,7 @@ label.checkbox {
|
|
|
83
89
|
left: 0.4rem;
|
|
84
90
|
width: 0.4rem;
|
|
85
91
|
height: 1.1rem;
|
|
86
|
-
border: solid
|
|
92
|
+
border: solid var(--colour-primary);
|
|
87
93
|
border-width: 0 0.2rem 0.2rem 0;
|
|
88
94
|
transform: rotate(45deg);
|
|
89
95
|
}
|
|
@@ -92,3 +98,19 @@ label.checkbox {
|
|
|
92
98
|
input:disabled {
|
|
93
99
|
background-color: #eee;
|
|
94
100
|
}
|
|
101
|
+
|
|
102
|
+
.inline-button {
|
|
103
|
+
display: inline;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
color: var(--colour-primary);
|
|
106
|
+
padding: 0.3rem;
|
|
107
|
+
border: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.bare-button {
|
|
111
|
+
display: inline;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
color: var(--colour-primary);
|
|
114
|
+
padding: 0.3rem;
|
|
115
|
+
border: none;
|
|
116
|
+
}
|