STIXProject / stix-to-html

Convert STIX XML to HTML
BSD 3-Clause "New" or "Revised" License
27 stars 12 forks source link

fix some general styling issues #39

Closed mattcoarr closed 10 years ago

mattcoarr commented 10 years ago

a handful of html+css styling issues need addressing:

mattcoarr commented 10 years ago

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

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

mattcoarr commented 10 years ago

stix header column sizing adjusted in ff2051b9280ec1650d378e8d1db8b23aae74fa3f

mattcoarr commented 10 years ago

updated support for link/uri/address cybox:Properties elements in commit bb89f7a699e94a6e24021f7bee76bb0235f570af

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.

mattcoarr commented 10 years ago

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 b81705f718f4c9e7b193d4907f03b7845d213f30

mattcoarr commented 10 years ago

replaced cybox properties name-value separater with a colon

fde5ba944f73f2514d716368ba4551a175990222

mattcoarr commented 10 years ago

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

e2d93391c3d77702b64699db30912e79021e5dc8

mattcoarr commented 10 years ago

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

66f2499369769e9ce53b91399fe54e8ddc2fe3af

mattcoarr commented 10 years ago

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

502873425a21ef5b33da11bf50a15696fc0142ec