AusDTO / gov-au-ui-kit

MOVED TO https://github.com/govau/uikit/
https://github.com/govau/uikit/
MIT License
19 stars 12 forks source link

Feature request - listing dividers #145

Open simonschwartz opened 8 years ago

simonschwartz commented 8 years ago

Requesting styles for headings that separate lists as pictured below. This is currently used on an A-Z department listing page

list-dividers

klepas commented 8 years ago

We should just be able to use headings for this, and stick them in a series of sections or something, I reckon?

simonschwartz commented 8 years ago

I think that's a pretty reasonable approach. It would just mean removing list-style-type and adding colour to the heading

simonschwartz commented 8 years ago

I guess this raises the question of if we even need to build a component for this in the UI Kit. All we need is a way to remove the list-style-type. Is adding a helper class to the ul to hide list-style-type out of the question? eg <ul class="no-list-style">

Another component that may benefit from this is the minister cards, where a list of the minister positions is displayed under their name with no list-style-type such as Mitch Fifields card below

after

Thoughts?

klepas commented 8 years ago

@simonschwartz Heya, just following up on this feature in our issue list — it looks like a fairly simple feature, with a fairly simple solution. Is this currently in Platforms in their CSS?