cpee 1.4.26 → 1.4.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/js_libs/Makefile +2 -0
- data/cockpit/js_libs/ansi_up.js +333 -0
- data/cockpit/js_libs/console.js +80 -0
- data/cockpit/js_libs/custommenu.css +84 -0
- data/cockpit/js_libs/custommenu.js +101 -0
- data/cockpit/js_libs/jquery-2.2.4.min.js +4 -0
- data/cockpit/js_libs/jquery-3.2.1.min.js +4 -0
- data/cockpit/js_libs/jquery-3.3.1.min.js +2 -0
- data/cockpit/js_libs/jquery.browser.js +40 -0
- data/cockpit/js_libs/jquery.caret.min.js +10 -0
- data/cockpit/js_libs/jquery.cookie.js +117 -0
- data/cockpit/js_libs/jquery.min.js +1 -0
- data/cockpit/js_libs/jquery.svg.min.js +6 -0
- data/cockpit/js_libs/jquery.svgdom.min.js +6 -0
- data/cockpit/js_libs/markdown.min.js +1 -0
- data/cockpit/js_libs/parsequery.js +21 -0
- data/cockpit/js_libs/printf.js +368 -0
- data/cockpit/js_libs/relaxngui.css +153 -0
- data/cockpit/js_libs/relaxngui.js +402 -0
- data/cockpit/js_libs/strftime.min.js +1 -0
- data/cockpit/js_libs/tests/dataelements.html +58 -0
- data/cockpit/js_libs/tests/dataelements.rng +8 -0
- data/cockpit/js_libs/tests/dataelements.xml +3 -0
- data/cockpit/js_libs/tests/rngtest1.html +59 -0
- data/cockpit/js_libs/tests/rngtest1.rng +41 -0
- data/cockpit/js_libs/tests/rngtest1.xml +11 -0
- data/cockpit/js_libs/tests/rngtest2.html +59 -0
- data/cockpit/js_libs/tests/rngtest2.rng +6 -0
- data/cockpit/js_libs/tests/rngtest2.xml +3 -0
- data/cockpit/js_libs/tests/rngtest3.html +59 -0
- data/cockpit/js_libs/tests/rngtest3.rng +23 -0
- data/cockpit/js_libs/tests/rngtest3.xml +9 -0
- data/cockpit/js_libs/tests/rngtest4.html +59 -0
- data/cockpit/js_libs/tests/rngtest4.rng +19 -0
- data/cockpit/js_libs/tests/rngtest4.xml +12 -0
- data/cockpit/js_libs/tests/rngtest5.html +59 -0
- data/cockpit/js_libs/tests/rngtest5.rng +75 -0
- data/cockpit/js_libs/tests/rngtest5.xml +40 -0
- data/cockpit/js_libs/tests/rngtest6.html +59 -0
- data/cockpit/js_libs/tests/rngtest6.rng +24 -0
- data/cockpit/js_libs/tests/rngtest6.xml +6 -0
- data/cockpit/js_libs/tests/rngtest8.html +59 -0
- data/cockpit/js_libs/tests/rngtest8.rng +13 -0
- data/cockpit/js_libs/tests/rngtest8.xml +2 -0
- data/cockpit/js_libs/ui.css +301 -0
- data/cockpit/js_libs/ui.html +168 -0
- data/cockpit/js_libs/ui.js +172 -0
- data/cockpit/js_libs/underscore.min.js +27 -0
- data/cockpit/js_libs/util.js +84 -0
- data/cockpit/js_libs/vkbeautify.0.99.00.beta.js +358 -0
- data/cockpit/js_libs/vkbeautify.js +1 -0
- data/cockpit/js_libs/webcomponents.min.js +196 -0
- data/cpee.gemspec +2 -1
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/consumer-secret +1 -0
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/producer-secret +1 -0
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/subscription.xml +38 -0
- data/server/instances/104/notifications/logging/consumer-secret +1 -0
- data/server/instances/104/notifications/logging/producer-secret +1 -0
- data/server/instances/104/notifications/logging/subscription.xml +19 -0
- data/server/instances/104/properties.xml +31 -0
- data/tools/cpee +36 -7
- metadata +77 -5
- data/server/server.pid +0 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
<call>
|
2
|
+
<_workorders>
|
3
|
+
<_workorder label="a" duration="b">
|
4
|
+
<_attachment>1</_attachment>
|
5
|
+
<_attachment>2</_attachment>
|
6
|
+
</_workorder>
|
7
|
+
<_workorder label="c" duration="d">
|
8
|
+
<_attachment>3</_attachment>
|
9
|
+
<_attachment>4</_attachment>
|
10
|
+
</_workorder>
|
11
|
+
</_workorders>
|
12
|
+
</call>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 5</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
27
|
+
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
28
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
29
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
30
|
+
|
31
|
+
<!-- custom stuff, play arround -->
|
32
|
+
|
33
|
+
<script type="text/javascript">
|
34
|
+
$("body").ready(function(){
|
35
|
+
$.ajax({
|
36
|
+
type: "GET",
|
37
|
+
url: "rngtest5.rng",
|
38
|
+
success: function(rng){
|
39
|
+
$.ajax({
|
40
|
+
type: "GET",
|
41
|
+
url: "rngtest5.xml",
|
42
|
+
success: function(data){
|
43
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
44
|
+
rngui.content(data);
|
45
|
+
$('#saveall').on('click',function(){
|
46
|
+
console.log($(rngui.save()).serializePrettyXML());
|
47
|
+
});
|
48
|
+
}
|
49
|
+
});
|
50
|
+
}
|
51
|
+
});
|
52
|
+
});
|
53
|
+
</script>
|
54
|
+
</head>
|
55
|
+
<body>
|
56
|
+
<div id="show"></div>
|
57
|
+
<button id='saveall'>save it all to console</button>
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name='parameters' rngui:header="Parameters">
|
3
|
+
<element name="label" rngui:label="Label">
|
4
|
+
<data type="string" rngui:label="Short description of the task"/>
|
5
|
+
</element>
|
6
|
+
<element name="method" rngui:label="Method">
|
7
|
+
<choice>
|
8
|
+
<value>:post</value>
|
9
|
+
<value>:get</value>
|
10
|
+
<value>:put</value>
|
11
|
+
<value>:delete</value>
|
12
|
+
</choice>
|
13
|
+
</element>
|
14
|
+
<element name="arguments" rngui:header="Arguments">
|
15
|
+
<element name="nc-program" rngui:label="NC Program">
|
16
|
+
<data type="string" rngui:label="Unique ID of the NC Program"/>
|
17
|
+
</element>
|
18
|
+
<element name="material-name" rngui:label="Material Name">
|
19
|
+
<data type="string" rngui:label="Name of the raw material"/>
|
20
|
+
</element>
|
21
|
+
<element name="material-pic" rngui:label="Material Picture">
|
22
|
+
<data type="string" rngui:label="Picture of the raw material"/>
|
23
|
+
</element>
|
24
|
+
<element name="result-pic" rngui:label="Result Picture">
|
25
|
+
<data type="string" rngui:label="Picture of the result"/>
|
26
|
+
</element>
|
27
|
+
<element name="comment" rngui:label="Comment">
|
28
|
+
<text rngui:wrap='true' rngui:label='Additional comments for the operator'/>
|
29
|
+
</element>
|
30
|
+
<element name="tools" rngui:header="Tools">
|
31
|
+
<zeroOrMore rngui:label="Add Tool">
|
32
|
+
<element name="tool">
|
33
|
+
<element name="place" rngui:label="Position">
|
34
|
+
<data type="integer" rngui:label="Position in Tool Magazine"/>
|
35
|
+
</element>
|
36
|
+
<element name="tool-name" rngui:label="Tool">
|
37
|
+
<data type="string" rngui:label="Name of Tool"/>
|
38
|
+
</element>
|
39
|
+
<element name="tool-holder" rngui:label="Holder">
|
40
|
+
<data type="string" rngui:label="Name of Tool Holder"/>
|
41
|
+
</element>
|
42
|
+
<element name="tool-orientation" rngui:label="Orientation">
|
43
|
+
<data type="string" rngui:label="Orientation in Tool Holder"/>
|
44
|
+
</element>
|
45
|
+
<element name="corrections" rngui:header="Corrections">
|
46
|
+
<zeroOrMore rngui:label="Add Correction">
|
47
|
+
<element name="correction">
|
48
|
+
<attribute name="length-x" rngui:label="Length X">
|
49
|
+
<data type="float"/>
|
50
|
+
</attribute>
|
51
|
+
<attribute name="length-z" rngui:label="Length Y">
|
52
|
+
<data type="float"/>
|
53
|
+
</attribute>
|
54
|
+
<attribute name="radius" rngui:label="Radius">
|
55
|
+
<data type="float"/>
|
56
|
+
</attribute>
|
57
|
+
</element>
|
58
|
+
</zeroOrMore>
|
59
|
+
</element>
|
60
|
+
<element name="attachments" rngui:header="Attachments">
|
61
|
+
<zeroOrMore rngui:label="Add Attachment">
|
62
|
+
<element name="attachment" rngui:label="URL">
|
63
|
+
<attribute name="label" rngui:label="Label">
|
64
|
+
<data type="string" rngui:label="Label"/>
|
65
|
+
</attribute>
|
66
|
+
<data type="string" rngui:label="URL"/>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
</element>
|
71
|
+
</zeroOrMore>
|
72
|
+
</element>
|
73
|
+
</element>
|
74
|
+
</element>
|
75
|
+
</element>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<call>
|
2
|
+
<parameters>
|
3
|
+
<label></label>
|
4
|
+
<method>:post</method>
|
5
|
+
<arguments>
|
6
|
+
<nc-program>Kuli</nc-program>
|
7
|
+
<material-name>3</material-name>
|
8
|
+
<material-pic>http://centurio.work/customers/prime/part.jpg</material-pic>
|
9
|
+
<result-pic>http://centurio.work/customers/prime/result.jpg</result-pic>
|
10
|
+
<comment>Hallo</comment>
|
11
|
+
<tools>
|
12
|
+
<tool>
|
13
|
+
<place>1</place>
|
14
|
+
<tool-name>Schrupper (500)</tool-name>
|
15
|
+
<tool-holder>x3</tool-holder>
|
16
|
+
<tool-orientation>gegenspindel axial</tool-orientation>
|
17
|
+
<corrections>
|
18
|
+
<correction length-x="0" length-z="0" radius="70"/>
|
19
|
+
<correction length-x="1" length-z="1" radius="60"/>
|
20
|
+
</corrections>
|
21
|
+
<attachments>
|
22
|
+
<attachment label="Bla">http://centurio.work/customers/prime/attachment1.jpg</attachment>
|
23
|
+
</attachments>
|
24
|
+
</tool>
|
25
|
+
<tool>
|
26
|
+
<place>2</place>
|
27
|
+
<tool-name>Schaftfräser d6</tool-name>
|
28
|
+
<tool-holder>SK45</tool-holder>
|
29
|
+
<tool-orientation>-</tool-orientation>
|
30
|
+
<corrections>
|
31
|
+
<correction length-x="2" length-z="1" radius="2"/>
|
32
|
+
</corrections>
|
33
|
+
<attachments>
|
34
|
+
<attachment label="Tool">https://centurio.work/customers/prime/schaftfraeser.jpg</attachment>
|
35
|
+
</attachments>
|
36
|
+
</tool>
|
37
|
+
</tools>
|
38
|
+
</arguments>
|
39
|
+
</parameters>
|
40
|
+
</call>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 6</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
27
|
+
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
28
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
29
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
30
|
+
|
31
|
+
<!-- custom stuff, play arround -->
|
32
|
+
|
33
|
+
<script type="text/javascript">
|
34
|
+
$("body").ready(function(){
|
35
|
+
$.ajax({
|
36
|
+
type: "GET",
|
37
|
+
url: "rngtest6.rng",
|
38
|
+
success: function(rng){
|
39
|
+
$.ajax({
|
40
|
+
type: "GET",
|
41
|
+
url: "rngtest6.xml",
|
42
|
+
success: function(data){
|
43
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
44
|
+
rngui.content(data);
|
45
|
+
$('#saveall').on('click',function(){
|
46
|
+
console.log($(rngui.save()).serializePrettyXML());
|
47
|
+
});
|
48
|
+
}
|
49
|
+
});
|
50
|
+
}
|
51
|
+
});
|
52
|
+
});
|
53
|
+
</script>
|
54
|
+
</head>
|
55
|
+
<body>
|
56
|
+
<div id="show"></div>
|
57
|
+
<button id='saveall'>save it all to console</button>
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<element rngui:version="1.2" rngui:header="Arguments" name="arguments" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name="behavior" rngui:label="Mode">
|
3
|
+
<choice>
|
4
|
+
<value>wait_running</value>
|
5
|
+
<value>fork_running</value>
|
6
|
+
<value>wait_ready</value>
|
7
|
+
<value>fork_ready</value>
|
8
|
+
</choice>
|
9
|
+
</element>
|
10
|
+
<element name="url" rngui:label="Process">
|
11
|
+
<data type="string" rngui:label="Link to centurio.work testset"/>
|
12
|
+
</element>
|
13
|
+
<element name="date" rngui:label="Due Date">
|
14
|
+
<data type="date" rngui:label="Due Date"/>
|
15
|
+
</element>
|
16
|
+
<element name="init" rngui:header="Initialize">
|
17
|
+
<zeroOrMore rngui:label="New Argument Pair">
|
18
|
+
<element rngui:label='Name'>
|
19
|
+
<anyName/>
|
20
|
+
<data type="string" rngui:label="Value"/>
|
21
|
+
</element>
|
22
|
+
</zeroOrMore>
|
23
|
+
</element>
|
24
|
+
</element>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of RelaxNGui.
|
3
|
+
|
4
|
+
RelaxNGui is free software: you can redistribute it and/or modify it under
|
5
|
+
the terms of the GNU General Public License as published by the Free Software
|
6
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
version.
|
8
|
+
|
9
|
+
RelaxNGui is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
11
|
+
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
+
|
13
|
+
You should have received a copy of the GNU General Public License along with
|
14
|
+
RelaxNGui (file COPYING in the main directory). If not, see
|
15
|
+
<http://www.gnu.org/licenses/>.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!DOCTYPE html>
|
19
|
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
20
|
+
<head>
|
21
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
22
|
+
<title>RelaxNGui Test 8</title>
|
23
|
+
|
24
|
+
<!-- libs, do not modify -->
|
25
|
+
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
26
|
+
<script type="text/javascript" src="/js_libs/relaxngui.js"></script>
|
27
|
+
<link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
|
28
|
+
<script type="text/javascript" src="/js_libs/util.js"></script>
|
29
|
+
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
30
|
+
|
31
|
+
<!-- custom stuff, play arround -->
|
32
|
+
|
33
|
+
<script type="text/javascript">
|
34
|
+
$("body").ready(function(){
|
35
|
+
$.ajax({
|
36
|
+
type: "GET",
|
37
|
+
url: "rngtest8.rng",
|
38
|
+
success: function(rng){
|
39
|
+
$.ajax({
|
40
|
+
type: "GET",
|
41
|
+
url: "rngtest8.xml",
|
42
|
+
success: function(data){
|
43
|
+
var rngui = new RelaxNGui(rng,$('#show'));
|
44
|
+
rngui.content(data);
|
45
|
+
$('#saveall').on('click',function(){
|
46
|
+
console.log($(rngui.save()).serializePrettyXML());
|
47
|
+
});
|
48
|
+
}
|
49
|
+
});
|
50
|
+
}
|
51
|
+
});
|
52
|
+
});
|
53
|
+
</script>
|
54
|
+
</head>
|
55
|
+
<body>
|
56
|
+
<div id="show"></div>
|
57
|
+
<button id='saveall'>save it all to console</button>
|
58
|
+
</body>
|
59
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<element rngui:version="1.2" name="parallel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
|
3
|
+
<data type="integer"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="parallel_branch">
|
6
|
+
<attribute name="pass"><data type="string"/></attribute>
|
7
|
+
<attribute name="local"><data type="string"/></attribute>
|
8
|
+
</element>
|
9
|
+
<element name="parallel_branch">
|
10
|
+
<attribute name="pass"><data type="string"/></attribute>
|
11
|
+
<attribute name="local"><data type="string"/></attribute>
|
12
|
+
</element>
|
13
|
+
</element>
|
@@ -0,0 +1,301 @@
|
|
1
|
+
/*
|
2
|
+
This file is part of CPEE.
|
3
|
+
|
4
|
+
CPEE is free software: you can redistribute it and/or modify it under the terms
|
5
|
+
of the GNU General Public License as published by the Free Software Foundation,
|
6
|
+
either version 3 of the License, or (at your option) any later version.
|
7
|
+
|
8
|
+
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
9
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
10
|
+
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
11
|
+
|
12
|
+
You should have received a copy of the GNU General Public License along with
|
13
|
+
CPEE (file COPYING in the main directory). If not, see
|
14
|
+
<http://www.gnu.org/licenses/>.
|
15
|
+
*/
|
16
|
+
|
17
|
+
:root {
|
18
|
+
--x-ui-border-color: #a1a1a1;
|
19
|
+
--x-ui-outside-color: #ffffff;
|
20
|
+
--x-ui-background-color: #ffffff;
|
21
|
+
--x-ui-light-text-color: #333;
|
22
|
+
--x-ui-light-back-color: #e8e8e8;
|
23
|
+
--x-ui-link-color: #425d73;
|
24
|
+
}
|
25
|
+
|
26
|
+
body {
|
27
|
+
font-family: sans-serif;
|
28
|
+
font-size: 1em;
|
29
|
+
}
|
30
|
+
|
31
|
+
*[is=x-ui] {
|
32
|
+
font-family: sans-serif,Arial,Verdana,Helvetica;
|
33
|
+
font-size: 0.85em;
|
34
|
+
height: 100vh;
|
35
|
+
display: flex;
|
36
|
+
flex-direction: column;
|
37
|
+
background-color: var(--x-ui-outside-color);
|
38
|
+
padding:0;
|
39
|
+
margin:0;
|
40
|
+
color: var(--x-ui-light-text-color);
|
41
|
+
overflow: hidden;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Browser Bug, set textarea explicitly */
|
45
|
+
*[is=x-ui] textarea, input, select, button {
|
46
|
+
font-family: Verdana, Helvetica, sans-serif;
|
47
|
+
font-size: 1em;
|
48
|
+
resize: none;
|
49
|
+
}
|
50
|
+
|
51
|
+
*[is=x-ui] button {
|
52
|
+
padding: .1em .2em;
|
53
|
+
border: 1pt solid var(--x-ui-border-color);
|
54
|
+
border-radius: 0.2em;
|
55
|
+
margin: 0;
|
56
|
+
font-size: 0.9em;
|
57
|
+
background: var(--x-ui-light-back-color);
|
58
|
+
background: -webkit-gradient(linear, left top, left bottom, from(white), to(var(--x-ui-light-back-color)));
|
59
|
+
background: -moz-linear-gradient(top, white, var(--x-ui-light-back-color));
|
60
|
+
}
|
61
|
+
*[is=x-ui] button::-moz-focus-inner {
|
62
|
+
border: 0 none;
|
63
|
+
padding: 0;
|
64
|
+
margin: 0;
|
65
|
+
}
|
66
|
+
*[is=x-ui] button.highlight {
|
67
|
+
background: -webkit-gradient(linear, left top, left bottom, from(white), to(Highlight));
|
68
|
+
background: -moz-linear-gradient(top, white, Highlight);
|
69
|
+
}
|
70
|
+
|
71
|
+
*[is=x-ui] input { font-family: sans-serif; font-size: 1em; }
|
72
|
+
*[is=x-ui] input::-webkit-input-placeholder { color: red; }
|
73
|
+
*[is=x-ui] input:-moz-placeholder { color: red; }
|
74
|
+
|
75
|
+
*[is=x-ui] a:link { color:var(--x-ui-link-color); text-decoration:none; }
|
76
|
+
*[is=x-ui] a:visited { color:var(--x-ui-link-color); text-decoration:none; }
|
77
|
+
*[is=x-ui] a:hover { color:var(--x-ui-light-text-color); text-decoration:underline; }
|
78
|
+
*[is=x-ui] a:active { color:var(--x-ui-light-text-color); text-decoration:underline; }
|
79
|
+
|
80
|
+
*[is=x-ui] ui-tabbed {
|
81
|
+
background-color: var(--x-ui-outside-color);
|
82
|
+
min-height: -webkit-min-content;
|
83
|
+
min-height: -moz-min-content;
|
84
|
+
min-height: min-content;
|
85
|
+
margin-left: 0.5em;
|
86
|
+
margin-right: 0.5em;
|
87
|
+
}
|
88
|
+
*[is=x-ui] ui-rest {
|
89
|
+
display: flex;
|
90
|
+
background-color: var(--x-ui-background-color);
|
91
|
+
align-items: stretch;
|
92
|
+
flex-direction: column;
|
93
|
+
padding: 0;
|
94
|
+
margin: 0;
|
95
|
+
flex: 1 1 auto;
|
96
|
+
}
|
97
|
+
|
98
|
+
*[is=x-ui] ui-tabbed.off {
|
99
|
+
border-bottom: 0.2em solid var(--x-ui-border-color);
|
100
|
+
border-radius: 0;
|
101
|
+
}
|
102
|
+
*[is=x-ui] ui-tabbed.off > ui-content {
|
103
|
+
display: none;
|
104
|
+
}
|
105
|
+
*[is=x-ui] ui-tabbed.off > ui-tabbar > ui-behind {
|
106
|
+
display: none;
|
107
|
+
}
|
108
|
+
|
109
|
+
*[is=x-ui] ui-tabbar {
|
110
|
+
background-color: var(--x-ui-outside-color);
|
111
|
+
display: flex;
|
112
|
+
align-items: stretch;
|
113
|
+
flex-direction: row;
|
114
|
+
padding: 0;
|
115
|
+
margin: 0;
|
116
|
+
padding-top: 0.5em;
|
117
|
+
-webkit-user-select: none;
|
118
|
+
-moz-user-select: none;
|
119
|
+
-ms-user-select: none;
|
120
|
+
user-select: none;
|
121
|
+
}
|
122
|
+
*[is=x-ui] ui-tabbed > ui-tabbar > ui-tab.switch {
|
123
|
+
background-color: var(--x-ui-light-back-color);
|
124
|
+
}
|
125
|
+
*[is=x-ui] ui-tabbed > ui-tabbar > ui-tab.switch:after {
|
126
|
+
content: "▽";
|
127
|
+
font-weight: bold;
|
128
|
+
vertical-align:top;
|
129
|
+
color: var(--x-ui-light-text-color);
|
130
|
+
}
|
131
|
+
*[is=x-ui] ui-tabbed.off > ui-tabbar > ui-tab.switch:after {
|
132
|
+
content: "▶";
|
133
|
+
font-weight: bold;
|
134
|
+
color: var(--x-ui-light-text-color);
|
135
|
+
vertical-align:top;
|
136
|
+
}
|
137
|
+
|
138
|
+
*[is=x-ui] ui-tabbar > ui-tab {
|
139
|
+
font-size: 1.4em;
|
140
|
+
font-weight: bold;
|
141
|
+
white-space: nowrap;
|
142
|
+
|
143
|
+
cursor: pointer;
|
144
|
+
padding: 0.3em 0.5em;
|
145
|
+
border: 1pt solid var(--x-ui-border-color);
|
146
|
+
border-bottom: 1pt solid var(--x-ui-background-color);
|
147
|
+
border-radius: 0.7em;
|
148
|
+
border-bottom-left-radius: 0em;
|
149
|
+
border-bottom-right-radius: 0em;
|
150
|
+
background: var(--x-ui-background-color);
|
151
|
+
}
|
152
|
+
*[is=x-ui] ui-tabbar > ui-tab.inactive, ui-tabbed > ui-tabbar > ui-tab.switch {
|
153
|
+
border: 1pt solid var(--x-ui-border-color);
|
154
|
+
border-radius: 0.7em;
|
155
|
+
border-bottom-left-radius: 0em;
|
156
|
+
border-bottom-right-radius: 0em;
|
157
|
+
}
|
158
|
+
|
159
|
+
*[is=x-ui] ui-tabbar > ui-behind {
|
160
|
+
flex: 1 1 auto;
|
161
|
+
vertical-align:bottom;
|
162
|
+
padding: 0;
|
163
|
+
padding-top: 0.9em;
|
164
|
+
border-bottom: 1pt solid var(--x-ui-border-color);
|
165
|
+
border-radius: 0.7em;
|
166
|
+
border-bottom-left-radius: 0em;
|
167
|
+
border-bottom-right-radius: 0em;
|
168
|
+
text-align:right;
|
169
|
+
white-space: nowrap;
|
170
|
+
}
|
171
|
+
*[is=x-ui] ui-rest > ui-tabbar > ui-behind {
|
172
|
+
padding-right: 0.5em;
|
173
|
+
}
|
174
|
+
|
175
|
+
*[is=x-ui] ui-rest > ui-tabbar > ui-before {
|
176
|
+
border-bottom: 1pt solid var(--x-ui-border-color);
|
177
|
+
padding-left:0.5em;
|
178
|
+
}
|
179
|
+
|
180
|
+
*[is=x-ui] ui-content {
|
181
|
+
background-color: var(--x-ui-background-color);
|
182
|
+
padding: 1em;
|
183
|
+
margin: 0;
|
184
|
+
border-bottom: 1pt solid var(--x-ui-border-color);
|
185
|
+
border-left: 1pt solid var(--x-ui-border-color);
|
186
|
+
border-right: 1pt solid var(--x-ui-border-color);
|
187
|
+
border-bottom-left-radius: 1em;
|
188
|
+
border-bottom-right-radius: 1em;
|
189
|
+
}
|
190
|
+
|
191
|
+
*[is=x-ui] ui-rest > ui-content {
|
192
|
+
padding: 0;
|
193
|
+
margin: 0;
|
194
|
+
border-radius: 0;
|
195
|
+
border: 0 none;
|
196
|
+
|
197
|
+
display: flex;
|
198
|
+
height: 0;
|
199
|
+
flex-direction: row;
|
200
|
+
flex: 1 1 auto;
|
201
|
+
}
|
202
|
+
|
203
|
+
*[is=x-ui] ui-rest > ui-content > ui-area {
|
204
|
+
flex: 1 1 0%;
|
205
|
+
overflow-x: auto;
|
206
|
+
overflow-y: scroll;
|
207
|
+
}
|
208
|
+
|
209
|
+
*[is=x-ui] ui-rest > ui-content > ui-resizehandle {
|
210
|
+
width: 0em;
|
211
|
+
}
|
212
|
+
*[is=x-ui] ui-rest > ui-content > ui-resizehandle + ui-area > ui-tabbed {
|
213
|
+
margin-left: 1.5em;
|
214
|
+
}
|
215
|
+
*[is=x-ui] ui-rest > ui-content > ui-resizehandle + ui-area > ui-rest > ui-tabbar > ui-before {
|
216
|
+
padding-left: 1.5em;
|
217
|
+
}
|
218
|
+
|
219
|
+
*[is=x-ui] ui-close {
|
220
|
+
margin-left: 0.5em;
|
221
|
+
}
|
222
|
+
|
223
|
+
*[is=x-ui] ui-rest > ui-content > ui-resizehandle::before {
|
224
|
+
display: block;
|
225
|
+
position: absolute;
|
226
|
+
color: var(--x-ui-border-color);
|
227
|
+
white-space:nowrap;
|
228
|
+
cursor: ew-resize;
|
229
|
+
-webkit-transform: rotate(90deg);
|
230
|
+
-webkit-transform-origin: 0% 0%;
|
231
|
+
-moz-transform: rotate(90deg);
|
232
|
+
-moz-transform-origin: left top;
|
233
|
+
margin-left: 1.4em;
|
234
|
+
margin-top: 0.2em;
|
235
|
+
content: attr(data-label);
|
236
|
+
}
|
237
|
+
|
238
|
+
*[is=x-ui] ui-content > ui-area {
|
239
|
+
margin: 0;
|
240
|
+
padding: 0;
|
241
|
+
}
|
242
|
+
|
243
|
+
*[is=x-ui] > ui-resizehandle {
|
244
|
+
color: var(--x-ui-border-color);
|
245
|
+
white-space:nowrap;
|
246
|
+
z-index: 99999;
|
247
|
+
cursor: s-resize;
|
248
|
+
text-align: right;
|
249
|
+
margin-top: 0.2em;
|
250
|
+
margin-right: 0.5em;
|
251
|
+
}
|
252
|
+
|
253
|
+
*[is=x-ui] ui-tabbed, ui-content, ui-area { display: block; }
|
254
|
+
*[is=x-ui] ui-content > ui-area.inactive, ui-content > ui-resizehandle.inactive, ui-rest > ui-content > ui-resizehandle.inactive { display: none }
|
255
|
+
|
256
|
+
*[is=x-ui] ui-content > ui-area .x-ui-layout {
|
257
|
+
width: 100%;
|
258
|
+
border-collapse:collapse;
|
259
|
+
border-spacing:0;
|
260
|
+
border: 0 none;
|
261
|
+
padding:0;
|
262
|
+
margin:0;
|
263
|
+
}
|
264
|
+
*[is=x-ui] ui-rest > ui-content > ui-area .x-ui-layout {
|
265
|
+
border:1em solid var(--x-ui-background-color);
|
266
|
+
box-sizing:border-box;
|
267
|
+
}
|
268
|
+
*[is=x-ui] ui-content > ui-area .x-ui-layout td {
|
269
|
+
border:0 none;
|
270
|
+
padding:0;
|
271
|
+
margin:0;
|
272
|
+
}
|
273
|
+
*[is=x-ui] ui-content > ui-area .x-ui-layout tr {
|
274
|
+
border:0 none;
|
275
|
+
padding:0;
|
276
|
+
margin:0;
|
277
|
+
}
|
278
|
+
*[is=x-ui] ui-content > ui-area .x-ui-compact {
|
279
|
+
border-collapse:collapse;
|
280
|
+
border-spacing:0;
|
281
|
+
border:0 none;
|
282
|
+
padding:0;
|
283
|
+
margin:0;
|
284
|
+
}
|
285
|
+
|
286
|
+
*[is=x-ui] ui-content > ui-area .x-ui-compact td {
|
287
|
+
border:0 none;
|
288
|
+
padding:0;
|
289
|
+
margin:0;
|
290
|
+
}
|
291
|
+
*[is=x-ui] ui-content > ui-area .x-ui-compact tr {
|
292
|
+
border:0 none;
|
293
|
+
padding:0;
|
294
|
+
margin:0;
|
295
|
+
}
|
296
|
+
*[is=x-ui] ui-content > ui-area .x-ui-layout .fixed { white-space:nowrap; }
|
297
|
+
*[is=x-ui] ui-content > ui-area .x-ui-layout .top { vertical-align: top; }
|
298
|
+
|
299
|
+
*[is=x-ui] .hidden {
|
300
|
+
display: none;
|
301
|
+
}
|