fix some general styling issues
mattcoarr opened this issue · comments
a handful of html+css styling issues need addressing:
- handling instructions run together, they should have some space between them
- collapsed descriptions (that are expandable) need to be a little taller or have some padding so they don't chop off the bottom and top of letters.
- change stix header table so that first column (header labels) does not expand as window size increases.
- link/uri/address objects should be styled similarly to other "name = value" properties. constraints should be displayed in gray text.
- display a warning that marking data is not fully supported at the moment
stix header column sizing adjusted in ff2051b
updated support for link/uri/address cybox:Properties elements in commit bb89f7a
fixed templates for uri, link and address.
uri, link, and address-typed cybox:Properties elements and their child contents
now show:
Value [defanging algorithm] [comparison operator] [list of values]
Only, "Value" is now bolded.
The defanging algorithm is styled with css class cyboxPropertiesConstraints,
so it shows up as gray text.
added a warning in the Handling template (when at least one marking is present) to say that marking data is not fully supported in the current release of stix-to-html.
these changes are in commit b81705f
replaced cybox properties name-value separater with a colon
moved the separator (currently the hollow circle character) and name-value separator (currently right pointing arrow) into variables so they can be replaced by changing the characters in one place
in name value tables, the left column (headings) has been resized from 15em wide to 8em wide.
fixed the function that translates object type names into human readable names to work with all caps object type (e.g. URIObjectType)