Ouds 1.0 – Bullet list
Unordered lists
- Item
- Item
- Item
Nested unordered lists
- Bullet lists
- Can have:
- Nested lists
- With:
- Another marker
- Each
- That’s all
Marker color
- Item
- Item
- Sub item
- Sub item
You can mix and match colors between list levels by using .bullet-list-default-color and .bullet-list-brand-color.
- Item
- Item
- Sub item
- Sub item
- Sub item
- Sub item
Custom marker
CSS class
.bullet-list-heart { –bs-bullet-list-custom-marker: url(« data:image/svg+xml,« ); }- Heart item
- Heart item
- Heart item
- Heart item
Inline SVG in ul
- Heart item
- Heart item
Different custom markers
.marker-calendar { –bs-bullet-list-custom-marker: url(« data:image/svg+xml,« ); } .marker-address-book { –bs-bullet-list-custom-marker: url(« data:image/svg+xml,« ); }- Calendar item
- Item
- Item
- Address book item
Tick marker
Using SCSS
- Task
- Task 2
- Sub item
- Sub item
Using a custom marker
.bullet-with-tick { –bs-bullet-list-custom-marker: url(« data:image/svg+xml,« ); }- Task
- Task
- Task
Ordered lists
Default display
- Step
- Step
- Step
- Step
- Step
- Step
Nested ordered lists
- Category
- Category
- Subcategory
- Subcategory
- Sub subcategory
- Other category
Mixed lists
- This is an ordered list
- With a nested
- Unordered
- List
- This is an unordered list
- With a nested
- Ordered
- List
Bare lists
Text style
Body medium
- This is a list
- With a smaller font size
Font weight normal
- This is a list
- With a normal font weight, you can put links and long texts in here, adding some words just to show how this will wrap
Utilities
Unstyled
- This is a list.
- It appears completely unstyled.
- Structurally, it’s still a list.
- However, this style only applies to immediate child elements.
- Nested lists:
- are unaffected by this style
- will still show a bullet
- and have appropriate left margin
- This may still come in handy in some situations.
Inline
- This is a list item.
- And another one.
- But they’re displayed inline.