STIXProject / stix-to-html

Convert STIX XML to HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

marking entries within the handling row are now styled to give some addition space between entries. for details see 6181885

some vertical padding given to inline expandable entries including descriptions via 3c70e24

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

fde5ba9

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

e2d9339

in name value tables, the left column (headings) has been resized from 15em wide to 8em wide.

66f2499

fixed the function that translates object type names into human readable names to work with all caps object type (e.g. URIObjectType)

5028734