Skip to content

Commit

Permalink
XSLTForms 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainCouthures committed Jan 31, 2023
1 parent 4e9f60b commit 5bc8a05
Show file tree
Hide file tree
Showing 482 changed files with 49,420 additions and 48,990 deletions.
15 changes: 13 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"esversion" : 10, // {int} Specify the ECMAScript version to which the code must adhere.
"esversion" : 8, // {int} Specify the ECMAScript version to which the code must adhere.
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
Expand Down Expand Up @@ -87,5 +87,16 @@
"yui" : false, // Yahoo User Interface

// Custom Globals
"globals" : {"Fleur" : true} // additional predefined global variables
"globals" : {
"document" : true,
"Fleur" : true,
"XsltForms_abstractAction" : true,
"XsltForms_binding" : true,
"XsltForms_browser" : true,
"XsltForms_class" : true,
"XsltForms_coreElement" : true,
"XsltForms_globals" : true,
"XsltForms_subform" : true,
"XsltForms_xmlevents" : true
} // additional predefined global variables
}
7 changes: 7 additions & 0 deletions build/css/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
plugins: [
require('/users/alain.couthures/appdata/roaming/npm/node_modules/cssnano')({
preset: 'default',
}),
],
};
93 changes: 43 additions & 50 deletions build/css/xsltforms.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
XSLTForms 1.6 (663)
XSLTForms 1.7 (664)
XForms 1.1+ Engine
Copyright (C) 2022 agenceXML - Alain Couthures
Copyright (C) 2023 agenceXML - Alain Couthures
Contact at : [email protected]
This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -194,10 +194,10 @@ xforms-label:hover + xforms-help[xf-appearance="minimal"]:not([href]) {
cursor: pointer;
}
#xsltforms-console {
font-size: 0.8em;
color: #888888;
border-top: thin solid #888888;
display: none;
font-size: 0.8em;
color: #888888;
border-top: thin solid #888888;
display: none;
}
xforms-debugger {
display: flex;
Expand Down Expand Up @@ -247,32 +247,41 @@ xforms-expression {
display: block;
}
xforms-dialog {
display: none;
position: absolute;
width: 400px;
height: 300px;
background-color: white;
border-top: 1px solid black;
border-left: 1px solid black;
border-bottom: 3px solid black;
border-right: 3px solid black;
padding: 10px;
z-index: 10;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: none;
position: absolute;
width: 400px;
height: 300px;
background-color: white;
border-top: 1px solid black;
border-left: 1px solid black;
border-bottom: 3px solid black;
border-right: 3px solid black;
padding: 10px;
z-index: 10;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
xforms-dialog-surround {
display: none;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: green;
filter:alpha(opacity=40);
opacity:0.4;
-moz-opacity:0.4;
display: none;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: green;
filter:alpha(opacity=40);
opacity:0.4;
-moz-opacity:0.4;
}
xforms-form > xforms-body > form {
display: inline;
}
xforms-status-panel {
display: none;
z-index: 99;
top: 294.5px;
left: 490px;
}
xforms-action,
xforms-alert-mark,
Expand Down Expand Up @@ -342,7 +351,7 @@ xforms-select1:not([xf-appearance="full"]) > xforms-body > xforms-item,
xforms-select1:not([xf-appearance="full"]) > xforms-body > xforms-itemset,
xforms-select1:not([xf-appearance="full"]) > xforms-body > xforms-choices,
xforms-itemset > xforms-label {
display: none;
display: none;
}
xforms-group:not([xf-ref]):not([xf-bind]),
xforms-group[xf-bound]:not([xf-notrelevant]),
Expand All @@ -358,26 +367,10 @@ xforms-select1[xf-appearance="full"] > xforms-body > xforms-itemset > xforms-ite
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-label,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-item,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-itemset > xforms-item {
display: block;
display: block;
}
xforms-repeat[xf-bound]:not([xf-notrelevant]) > xforms-repeat-item {
display: table-row;
}
xforms-repeat-item > xforms-output[xf-value],
xforms-repeat-item > xforms-output[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-input[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-textarea[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-secret[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-upload[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-range[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-trigger:not([xf-ref]):not([xf-bind]),
xforms-repeat-item > xforms-trigger[xf-bound]:not([xf-notrelevant]),
xforms-repeat-item > xforms-submit,
xforms-repeat-item > xforms-select[xf-bound]:not([xf-notrelevant])[xf-appearance="full"],
xforms-repeat-item > xforms-select1[xf-bound]:not([xf-notrelevant])[xf-appearance="full"],
xforms-repeat-item > xforms-select[xf-bound]:not([xf-notrelevant]):not([xf-appearance="full"]),
xforms-repeat-item > xforms-select1[xf-bound]:not([xf-notrelevant]):not([xf-appearance="full"]) {
display: inline-table;
display: inherit;
}
xforms-output[xf-value],
xforms-output[xf-bound]:not([xf-notrelevant]),
Expand All @@ -401,7 +394,7 @@ xforms-select1[xf-appearance="full"] > xforms-body > xforms-item > xforms-label,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-itemset > xforms-item > xforms-label,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-item > xforms-label,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-itemset > xforms-item > xforms-label {
display: inline-block;
display: inline-block;
}
xforms-select[xf-appearance="full"] > xforms-body > xforms-choices > xforms-label,
xforms-select1[xf-appearance="full"] > xforms-body > xforms-choices > xforms-label {
Expand Down
2 changes: 1 addition & 1 deletion build/css/xsltforms.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5bc8a05

Please sign in to comment.