Within XSLTForms 1.5, xsltforms.js is just interacting with HTML elements and attributes, not anymore with CSS classes.
So, xsltforms.css is just provided as a possible set of CSS rules for rendering. Yet, xsltforms.css is now in charge of essential behavior such as hiding irrelevant XForms controls and so on... That is why attribute selectors are now present in xsltforms.css.
You can edit xsltforms.css at your convenience and change anything without risking to break a form.
Thank you for your feedback!
--Alain
Le 05/12/2020 18:52, Habs <[email protected]> a écrit :
Brief followup Alain, please,
I located this in the xsltforms.css code file:
xforms-repeat[xf-bound]:not([xf-notrelevant]) > xforms-repeat-item {display: table-row;}xforms-repeat-item > * {display: inline-table !important;}
This is a change to previous versions ?
If a change is made so that 'table-row' and 'inline-table' are set to'block', then the layout behaviour of the form layouts I use is preservedwithout any local styling.
What are the consequences of setting this to 'block' as a default inxsltforms ?
RegardsHabs
---------- Forwarded message ----------Date: Sat, 5 Dec 2020 11:30:25 +0000 (GMT)From: Habs <[email protected]>To: Alain Couthures <[email protected]>Cc: XSLTForms support <[email protected]>Subject: xsltforms 1.5 xforms-repeat xforms-repeat-item
Hello Alain
Thank you for the release link for xsltforms1.5.zip
Interestingly, I am having to go through my [css] stylesheets and change a fewminor things to get form style to be similar to previous versions.
This has not been a problem to do, apart from xforms-repeat andxforms-repeat-item, of which I have not had to have a style for in previousversions.
Using an inspector, I have noticed that xforms-repeat-items are picking up astyle of, display: table-row
It does not seem that it is possible to override it in a stylesheet to, forexample, display: block
It is possible to temporarily override it in using inspector tools, to display:block and indeed this does demonstrate correct behaviour for my form styling.
Question: Is it intended that xforms-repeat-item are fixed-styled as display:table-row please, or should it be possible to change it in a style sheet ?
I hope this makes sense, if not let me know what I can help with to make theproblem more clear.
RegardsHabs
--- Sent using Alpine/Pine, probably the best MUA ---
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
