codecraftai-integration-runtime 1.3.0__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.
- ccai/integrationruntime/__init__.py +27 -0
- ccai/integrationruntime/entrypoints.py +59 -0
- ccai/integrationruntime/initialize.py +100 -0
- ccai/integrationruntime/integratedtestjob.py +100 -0
- ccai/integrationruntime/integrationruntimedefaulttypefactory.py +51 -0
- ccai/integrationruntime/py.typed +0 -0
- ccai/integrationruntime/results/__init__.py +13 -0
- ccai/integrationruntime/results/concentrators/__init__.py +13 -0
- ccai/integrationruntime/results/concentrators/progressconcentratorservice.py +526 -0
- ccai/integrationruntime/results/recorders/__init__.py +22 -0
- ccai/integrationruntime/results/recorders/integrationjsonresultrecorder.py +126 -0
- ccai/integrationruntime/results/recorders/streamingresultrecorder.py +271 -0
- ccai/integrationruntime/results/streaming/__init__.py +25 -0
- ccai/integrationruntime/results/streaming/resultstreamer.py +581 -0
- ccai/integrationruntime/runtimeoutputcontext.py +68 -0
- ccai/integrationruntime/runtimerunmetadata.py +165 -0
- ccai/integrationruntime/templates/v2/static/images/test-report-banner-background-image.png +0 -0
- ccai/integrationruntime/templates/v2/static/javascript/d3.v7.js +20625 -0
- ccai/integrationruntime/templates/v2/static/javascript/icon-components.js +510 -0
- ccai/integrationruntime/templates/v2/static/javascript/mojo-components.js +1417 -0
- ccai/integrationruntime/templates/v2/static/javascript/prism.js +1789 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-accessibility.js +704 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-comparison.js +1287 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-components.js +3499 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-helpers.js +426 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary-responsive.js +493 -0
- ccai/integrationruntime/templates/v2/static/javascript/testsummary.js +1128 -0
- ccai/integrationruntime/templates/v2/static/javascript/webcomponent-helpers.js +112 -0
- ccai/integrationruntime/templates/v2/static/styles/branding-theme.css +144 -0
- ccai/integrationruntime/templates/v2/static/styles/icon-styles.css +9 -0
- ccai/integrationruntime/templates/v2/static/styles/mojo-components.css +384 -0
- ccai/integrationruntime/templates/v2/static/styles/prism.css +143 -0
- ccai/integrationruntime/templates/v2/static/styles/tabs-responsive.css +186 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-accessibility.css +413 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-comparison.css +746 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary-responsive.css +679 -0
- ccai/integrationruntime/templates/v2/static/styles/testsummary.css +1631 -0
- ccai/integrationruntime/templates/v2/tabs/tab-data.html +870 -0
- ccai/integrationruntime/templates/v2/tabs/tab-images.html +110 -0
- ccai/integrationruntime/templates/v2/tabs/tab-logs.html +594 -0
- ccai/integrationruntime/templates/v2/tabs/tab-sounds.html +112 -0
- ccai/integrationruntime/templates/v2/tabs/tab-timeseries.html +368 -0
- ccai/integrationruntime/templates/v2/tabs/tab-videos.html +372 -0
- ccai/integrationruntime/templates/v2/testsummary.html +81 -0
- codecraftai_integration_runtime-1.3.0.dist-info/METADATA +73 -0
- codecraftai_integration_runtime-1.3.0.dist-info/RECORD +48 -0
- codecraftai_integration_runtime-1.3.0.dist-info/WHEEL +4 -0
- codecraftai_integration_runtime-1.3.0.dist-info/licenses/LICENSE.md +204 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Author: "Myron Walker"
|
|
3
|
+
Copyright: "Copyright 2024, Myron W Walker"
|
|
4
|
+
Version: = "2.0.0"
|
|
5
|
+
Email: myron.walker@gmail.com
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @fileoverview Helper functions for Web Component Shadow DOM management.
|
|
10
|
+
* Provides utilities for copying global stylesheets into Shadow DOM roots
|
|
11
|
+
* to ensure consistent styling across encapsulated components.
|
|
12
|
+
* @module webcomponent-helpers
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Cached array of global stylesheets converted to CSSStyleSheet objects.
|
|
17
|
+
* Populated on first call to getGlobalStyleSheets() and reused thereafter.
|
|
18
|
+
* @type {CSSStyleSheet[]|null}
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
let globalSheets = null;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves all global stylesheets from the document and converts them to
|
|
26
|
+
* CSSStyleSheet objects suitable for adoption by Shadow DOM roots.
|
|
27
|
+
* Results are cached for performance on subsequent calls.
|
|
28
|
+
*
|
|
29
|
+
* @function getGlobalStyleSheets
|
|
30
|
+
* @returns {CSSStyleSheet[]} Array of CSSStyleSheet objects containing all document styles.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // Get global stylesheets for manual adoption
|
|
34
|
+
* const sheets = getGlobalStyleSheets();
|
|
35
|
+
* console.log('Found', sheets.length, 'stylesheets');
|
|
36
|
+
*/
|
|
37
|
+
function getGlobalStyleSheets() {
|
|
38
|
+
// =========================================================================
|
|
39
|
+
// SHADOW DOM STYLE ADOPTION - Caching Strategy
|
|
40
|
+
// =========================================================================
|
|
41
|
+
// Global stylesheets are cached after first retrieval because:
|
|
42
|
+
// 1. Converting stylesheets is expensive (iterating all CSS rules)
|
|
43
|
+
// 2. Document stylesheets rarely change after page load
|
|
44
|
+
// 3. Many components need the same styles (avoid redundant work)
|
|
45
|
+
// The cache is module-scoped, so all components share the same sheets.
|
|
46
|
+
if (globalSheets === null) {
|
|
47
|
+
// =====================================================================
|
|
48
|
+
// SHADOW DOM STYLE ADOPTION - Stylesheet Conversion Process
|
|
49
|
+
// =====================================================================
|
|
50
|
+
// Convert each document stylesheet to a CSSStyleSheet object that can
|
|
51
|
+
// be adopted by Shadow DOM roots. This is necessary because:
|
|
52
|
+
// 1. Shadow DOM is encapsulated - external styles don't apply by default
|
|
53
|
+
// 2. adoptedStyleSheets requires CSSStyleSheet objects, not StyleSheet
|
|
54
|
+
// 3. We need to extract CSS rules and create new constructable sheets
|
|
55
|
+
globalSheets = Array.from(document.styleSheets)
|
|
56
|
+
.map(x => {
|
|
57
|
+
// Create a new constructable stylesheet
|
|
58
|
+
// (Constructable stylesheets are a modern API for programmatic CSS)
|
|
59
|
+
const sheet = new CSSStyleSheet();
|
|
60
|
+
|
|
61
|
+
// Extract all CSS rules from the original stylesheet
|
|
62
|
+
// and concatenate them into a single CSS string.
|
|
63
|
+
// This preserves all selectors, properties, and values.
|
|
64
|
+
const css = Array.from(x.cssRules).map(rule => rule.cssText).join(' ');
|
|
65
|
+
|
|
66
|
+
// Synchronously replace the sheet's contents with the extracted CSS.
|
|
67
|
+
// replaceSync() is used instead of replace() for immediate availability.
|
|
68
|
+
sheet.replaceSync(css);
|
|
69
|
+
|
|
70
|
+
return sheet;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return globalSheets;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Adds all global document stylesheets to a Shadow DOM root's adoptedStyleSheets.
|
|
80
|
+
* This allows Shadow DOM components to inherit global styles while maintaining encapsulation.
|
|
81
|
+
* Should be called in the constructor of each web component after attaching the shadow root.
|
|
82
|
+
*
|
|
83
|
+
* @function addGlobalStylesToShadowRoot
|
|
84
|
+
* @param {ShadowRoot} shadowRoot - The Shadow DOM root to add styles to.
|
|
85
|
+
* @returns {void}
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* class MyComponent extends HTMLElement {
|
|
89
|
+
* constructor() {
|
|
90
|
+
* super();
|
|
91
|
+
* const shadowRoot = this.attachShadow({mode: 'open'});
|
|
92
|
+
* shadowRoot.innerHTML = MyComponent.template;
|
|
93
|
+
* addGlobalStylesToShadowRoot(shadowRoot);
|
|
94
|
+
* }
|
|
95
|
+
* }
|
|
96
|
+
*/
|
|
97
|
+
function addGlobalStylesToShadowRoot(shadowRoot) {
|
|
98
|
+
// =========================================================================
|
|
99
|
+
// SHADOW DOM STYLE ADOPTION - Applying Styles to Shadow Root
|
|
100
|
+
// =========================================================================
|
|
101
|
+
// The adoptedStyleSheets property allows sharing stylesheets between
|
|
102
|
+
// documents and shadow roots. Benefits include:
|
|
103
|
+
// 1. Memory efficiency - same CSSStyleSheet object shared across components
|
|
104
|
+
// 2. Performance - browser can optimize shared stylesheet rendering
|
|
105
|
+
// 3. Consistency - all components use identical style definitions
|
|
106
|
+
//
|
|
107
|
+
// We use push() with spread operator to append to any existing adopted
|
|
108
|
+
// sheets (in case the component has its own component-specific styles).
|
|
109
|
+
shadowRoot.adoptedStyleSheets.push(
|
|
110
|
+
...getGlobalStyleSheets()
|
|
111
|
+
);
|
|
112
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
|
|
2
|
+
@property --color-error {
|
|
3
|
+
syntax: "<color>";
|
|
4
|
+
inherits: false;
|
|
5
|
+
initial-value: maroon;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --color-fail {
|
|
9
|
+
syntax: "<color>";
|
|
10
|
+
inherits: false;
|
|
11
|
+
initial-value: red;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --color-ghost {
|
|
15
|
+
syntax: "<color>";
|
|
16
|
+
inherits: false;
|
|
17
|
+
initial-value: #B0B0B0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@property --color-pass {
|
|
21
|
+
syntax: "<color>";
|
|
22
|
+
inherits: false;
|
|
23
|
+
initial-value: green;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@property --color-skip {
|
|
27
|
+
syntax: "<color>";
|
|
28
|
+
inherits: false;
|
|
29
|
+
initial-value: gray;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@property --color-warn {
|
|
33
|
+
syntax: "<color>";
|
|
34
|
+
inherits: false;
|
|
35
|
+
initial-value: orange;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
@property --color-error-background {
|
|
40
|
+
syntax: "<color>";
|
|
41
|
+
inherits: false;
|
|
42
|
+
initial-value: rgb(252, 142, 142);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@property --color-fail-background {
|
|
46
|
+
syntax: "<color>";
|
|
47
|
+
inherits: false;
|
|
48
|
+
initial-value: rgb(255, 171, 171);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@property --color-ghost-background {
|
|
52
|
+
syntax: "<color>";
|
|
53
|
+
inherits: false;
|
|
54
|
+
initial-value: #d6d4d4;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@property --color-pass-background {
|
|
58
|
+
syntax: "<color>";
|
|
59
|
+
inherits: false;
|
|
60
|
+
initial-value: rgb(175, 231, 175);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@property --color-skip-background {
|
|
64
|
+
syntax: "<color>";
|
|
65
|
+
inherits: false;
|
|
66
|
+
initial-value: rgb(221, 199, 199);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@property --color-warn-background {
|
|
70
|
+
syntax: "<color>";
|
|
71
|
+
inherits: false;
|
|
72
|
+
initial-value: rgb(204, 170, 108);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@property --color-banner-background-color {
|
|
77
|
+
syntax: "<color>";
|
|
78
|
+
inherits: false;
|
|
79
|
+
initial-value: #0e0e25;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@property --color-banner-color {
|
|
83
|
+
syntax: "<color>";
|
|
84
|
+
inherits: false;
|
|
85
|
+
initial-value: whitesmoke;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@property --color-section-header-background-color {
|
|
89
|
+
syntax: "<color>";
|
|
90
|
+
inherits: false;
|
|
91
|
+
initial-value: #50526e;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@property --color-section-header-color {
|
|
95
|
+
syntax: "<color>";
|
|
96
|
+
inherits: false;
|
|
97
|
+
initial-value: whitesmoke;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@property --color-subsection-header-background-color {
|
|
101
|
+
syntax: "<color>";
|
|
102
|
+
inherits: false;
|
|
103
|
+
initial-value: #50526e;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@property --color-subsection-header-color {
|
|
107
|
+
syntax: "<color>";
|
|
108
|
+
inherits: false;
|
|
109
|
+
initial-value: whitesmoke;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@property --image-logo {
|
|
113
|
+
syntax: "<url>";
|
|
114
|
+
inherits: false;
|
|
115
|
+
initial-value: url("/static/v2/images/test-report-banner-background-image.png");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/* =======================================================================
|
|
120
|
+
COLOR CLASSES
|
|
121
|
+
=======================================================================*/
|
|
122
|
+
.color-error {
|
|
123
|
+
color: var(--color-error) !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.color-fail {
|
|
127
|
+
color: var(--color-fail) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.color-ghost {
|
|
131
|
+
color: var(--color-ghost) !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.color-pass {
|
|
135
|
+
color: var(--color-pass) !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.color-skip {
|
|
139
|
+
color: var(--color-skip) !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.color-warn {
|
|
143
|
+
color: var(--color-warn) !important;
|
|
144
|
+
}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
|
|
2
|
+
.mojo-collapsible {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: inherit;
|
|
5
|
+
background-color: white;
|
|
6
|
+
color: #444;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
width: 100%;
|
|
9
|
+
border: solid;
|
|
10
|
+
border-color: #92a8c8;
|
|
11
|
+
border-width: 2px;
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
text-align: center;
|
|
14
|
+
outline: none;
|
|
15
|
+
font-size: 15px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mojo-collapsible-button {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-flow: row;
|
|
21
|
+
flex-wrap: nowrap;
|
|
22
|
+
background-color: #a8bad4;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mojo-collapsible-button:hover {
|
|
26
|
+
background-color: #92a8c8;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mojo-collapsible-content {
|
|
30
|
+
padding: 4px 18px;
|
|
31
|
+
display: block;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mojo-collapsible-header {
|
|
35
|
+
flex-grow: 1;
|
|
36
|
+
padding-bottom: 2px;
|
|
37
|
+
padding-top: 2px;
|
|
38
|
+
font-size: 18px;
|
|
39
|
+
font-weight: bold;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mojo-collapsible-icon {
|
|
43
|
+
fill: white;
|
|
44
|
+
font-size: 20;
|
|
45
|
+
font-weight: bold;
|
|
46
|
+
width: 24px;
|
|
47
|
+
height: 24px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
.mojo-collapsible-lvl2 {
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
width: inherit;
|
|
54
|
+
background-color: white;
|
|
55
|
+
color: #444;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
width: 100%;
|
|
58
|
+
border: solid;
|
|
59
|
+
border-color: #beac85;
|
|
60
|
+
border-width: 2px;
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
text-align: center;
|
|
63
|
+
outline: none;
|
|
64
|
+
font-size: 15px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.mojo-collapsible-lvl2-button {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-flow: row;
|
|
70
|
+
flex-wrap: nowrap;
|
|
71
|
+
background-color: #beac85;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mojo-collapsible-lvl2-button:hover {
|
|
75
|
+
background-color: #b1a07b;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mojo-collapsible-lvl2-content {
|
|
79
|
+
padding: 4px 18px;
|
|
80
|
+
display: block;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.mojo-collapsible-lvl2-header {
|
|
84
|
+
flex-grow: 1;
|
|
85
|
+
padding-bottom: 2px;
|
|
86
|
+
padding-top: 2px;
|
|
87
|
+
font-size: 18px;
|
|
88
|
+
font-weight: bold;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.mojo-collapsible-lvl2-icon {
|
|
92
|
+
fill: black;
|
|
93
|
+
font-size: 20;
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
width: 24px;
|
|
96
|
+
height: 24px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
.mojo-collapsible-lvl3 {
|
|
101
|
+
box-sizing: border-box;
|
|
102
|
+
width: inherit;
|
|
103
|
+
background-color: white;
|
|
104
|
+
color: #444;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
width: 100%;
|
|
107
|
+
border: solid;
|
|
108
|
+
border-color: #f8e2b3;
|
|
109
|
+
border-width: 2px;
|
|
110
|
+
border-radius: 4px;
|
|
111
|
+
text-align: center;
|
|
112
|
+
outline: none;
|
|
113
|
+
font-size: 15px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.mojo-collapsible-lvl3-button {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-flow: row;
|
|
119
|
+
flex-wrap: nowrap;
|
|
120
|
+
background-color: f8e2b3;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.mojo-collapsible-lvl3-button:hover {
|
|
124
|
+
background-color: #e0bd72;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.mojo-collapsible-lvl3-content {
|
|
128
|
+
padding: 4px 18px;
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.mojo-collapsible-lvl3-header {
|
|
133
|
+
flex-grow: 1;
|
|
134
|
+
padding-bottom: 2px;
|
|
135
|
+
padding-top: 2px;
|
|
136
|
+
font-size: 18px;
|
|
137
|
+
font-weight: bold;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.mojo-collapsible-lvl3-icon {
|
|
141
|
+
fill: black;
|
|
142
|
+
font-size: 20;
|
|
143
|
+
font-weight: bold;
|
|
144
|
+
width: 24px;
|
|
145
|
+
height: 24px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
.mojo-icon-target {
|
|
150
|
+
box-sizing: border-box;
|
|
151
|
+
width: inherit;
|
|
152
|
+
height: inherit;
|
|
153
|
+
fill: inherit;
|
|
154
|
+
background-color: inherit;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.mojo-icon-target:hover {
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.mojo-project-timeline {
|
|
162
|
+
width: 100%;
|
|
163
|
+
height: 600px;
|
|
164
|
+
background-color: pink;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.mojo-prop-table {
|
|
168
|
+
box-sizing: border-box;
|
|
169
|
+
width: 100%;
|
|
170
|
+
display: grid;
|
|
171
|
+
grid-template-columns: max-content auto max-content;
|
|
172
|
+
border-color: #92a8c8;
|
|
173
|
+
border-width: 2px;
|
|
174
|
+
border-radius: 4px;
|
|
175
|
+
border-style: solid;
|
|
176
|
+
padding: 2px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.mojo-prop-table-item-copy {
|
|
180
|
+
box-sizing: border-box;
|
|
181
|
+
width: 24px;
|
|
182
|
+
background-color: #a8bad4;
|
|
183
|
+
fill: white;
|
|
184
|
+
border-style: solid;
|
|
185
|
+
border-color: #a8bad4;
|
|
186
|
+
border-width: 2px 2px 2px 2px;
|
|
187
|
+
border-top-right-radius: 4px;
|
|
188
|
+
border-bottom-right-radius: 4px;
|
|
189
|
+
margin-bottom: 4px;
|
|
190
|
+
text-align: center;
|
|
191
|
+
vertical-align: middle;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.mojo-prop-table-item-copy:hover {
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.mojo-prop-table-item-label {
|
|
199
|
+
height: 24px;
|
|
200
|
+
line-height: 24px;
|
|
201
|
+
margin-bottom: 4px;
|
|
202
|
+
background-color: #a8bad4;
|
|
203
|
+
color: black;
|
|
204
|
+
text-align: right;
|
|
205
|
+
vertical-align: middle;
|
|
206
|
+
font-weight: bold;
|
|
207
|
+
border-style: solid;
|
|
208
|
+
border-color: #a8bad4;
|
|
209
|
+
border-width: 2px 2px 2px 2px;
|
|
210
|
+
border-top-left-radius: 4px;
|
|
211
|
+
border-bottom-left-radius: 4px;
|
|
212
|
+
padding: 0px 5px 0px 5px
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.mojo-prop-table-item-value {
|
|
216
|
+
height: 24px;
|
|
217
|
+
line-height: 24px;
|
|
218
|
+
margin-bottom: 4px;
|
|
219
|
+
background-color: whitesmoke;
|
|
220
|
+
text-align: left;
|
|
221
|
+
border-style: solid;
|
|
222
|
+
border-color: #a8bad4;
|
|
223
|
+
border-width: 2px 2px 2px 2px;
|
|
224
|
+
overflow: hidden;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
padding: 0px 5px 0px 5px;
|
|
227
|
+
vertical-align: middle;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
.mojo-prop-single {
|
|
232
|
+
box-sizing: border-box;
|
|
233
|
+
display: flex;
|
|
234
|
+
flex-direction: row;
|
|
235
|
+
flex-wrap: nowrap;
|
|
236
|
+
border-style: solid;
|
|
237
|
+
border-color: #92a8c8;
|
|
238
|
+
border-width: 2px;
|
|
239
|
+
border-radius: 4px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.mojo-prop-single-copy {
|
|
243
|
+
box-sizing: border-box;
|
|
244
|
+
background-color: #a8bad4;
|
|
245
|
+
fill: white;
|
|
246
|
+
width: 24px;
|
|
247
|
+
height: 24px;
|
|
248
|
+
text-align: center;
|
|
249
|
+
vertical-align: middle;
|
|
250
|
+
padding: 2px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mojo-prop-single-copy:hover {
|
|
254
|
+
cursor: pointer;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.mojo-prop-single-label {
|
|
258
|
+
height: 24px;
|
|
259
|
+
line-height: 24px;
|
|
260
|
+
background-color: #a8bad4;
|
|
261
|
+
padding: 0px 5px 0px 5px; /* top, right, bottom, left */
|
|
262
|
+
font-weight: bold;
|
|
263
|
+
vertical-align: middle;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.mojo-prop-single-value {
|
|
267
|
+
height: 24px;
|
|
268
|
+
line-height: 24px;
|
|
269
|
+
flex-grow: 1;
|
|
270
|
+
background: white;
|
|
271
|
+
padding: 0px 5px 0px 5px; /* top, right, bottom, left */
|
|
272
|
+
vertical-align: middle;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
.mojo-tabset {
|
|
277
|
+
width: 100%;
|
|
278
|
+
border-style: solid;
|
|
279
|
+
border-width: 2px;
|
|
280
|
+
border-radius: 3px;
|
|
281
|
+
border-color: #a8bad4;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mojo-tabset-content-collection {
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: column;
|
|
287
|
+
background-color: white;
|
|
288
|
+
min-height: 50px;
|
|
289
|
+
padding: 4px;
|
|
290
|
+
border-top-style: solid;
|
|
291
|
+
border-top-width: 2px;
|
|
292
|
+
border-top-color: #a8bad4;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.mojo-tabset-label-collection {
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: row;
|
|
298
|
+
background-color: #a8bad4;
|
|
299
|
+
min-height: 20px;
|
|
300
|
+
column-gap: 1px;
|
|
301
|
+
padding-top: 4px;
|
|
302
|
+
padding-left: 4px;
|
|
303
|
+
padding-right: 4px;
|
|
304
|
+
border-bottom-color: #7d97be;
|
|
305
|
+
border-bottom-style: solid;
|
|
306
|
+
border-bottom-width: 1px ;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.mojo-tab-content {
|
|
310
|
+
display: none;
|
|
311
|
+
width: 100%;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.mojo-tab-content[selected] {
|
|
315
|
+
display: block;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.mojo-tab-content-container {
|
|
319
|
+
width: 100%;
|
|
320
|
+
background-color: inherit;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.mojo-tab-label {
|
|
324
|
+
min-height: 24px;
|
|
325
|
+
min-width: 50px;
|
|
326
|
+
background-color: lightgray;
|
|
327
|
+
border-style: solid;
|
|
328
|
+
border-width: 1px;
|
|
329
|
+
border-top-left-radius: 5px;
|
|
330
|
+
border-top-right-radius: 5px;
|
|
331
|
+
border-top-color: rgb(179, 179, 179);
|
|
332
|
+
border-left-color: rgb(179, 179, 179);
|
|
333
|
+
border-right-color: rgb(179, 179, 179);
|
|
334
|
+
border-bottom-color: rgb(179, 179, 179);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.mojo-tab-label[selected] {
|
|
338
|
+
min-width: 50px;
|
|
339
|
+
background-color: #7b9bc7;
|
|
340
|
+
border-color: #7d97be;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.mojo-tab-label-container {
|
|
344
|
+
display: flex;
|
|
345
|
+
height: 100%;
|
|
346
|
+
width: 100%;
|
|
347
|
+
background-color: inherit;
|
|
348
|
+
text-align: center;
|
|
349
|
+
justify-content: center;
|
|
350
|
+
align-items: center;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.mojo-tab-label-container:hover {
|
|
354
|
+
cursor: pointer;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.mojo-tooltip {
|
|
358
|
+
position: relative;
|
|
359
|
+
display: inline-block;
|
|
360
|
+
border-bottom: 1px dotted black;
|
|
361
|
+
transition: 0s;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.mojo-tooltip .mojo-tooltip-text {
|
|
365
|
+
visibility: hidden;
|
|
366
|
+
width: 120px;
|
|
367
|
+
background-color: black;
|
|
368
|
+
color: #fff;
|
|
369
|
+
text-align: center;
|
|
370
|
+
border-radius: 6px;
|
|
371
|
+
padding: 5px 0;
|
|
372
|
+
|
|
373
|
+
/* Position the tooltip */
|
|
374
|
+
position: absolute;
|
|
375
|
+
z-index: 1;
|
|
376
|
+
top: 100%;
|
|
377
|
+
left: 50%;
|
|
378
|
+
margin-left: -60px;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.mojo-tooltip:hover .mojo-tooltip-text {
|
|
382
|
+
visibility: visible;
|
|
383
|
+
transition-delay: 1.5s;
|
|
384
|
+
}
|