From 6511f0404e7cd48449e1fd8345fc51a3ac6105c7 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Wed, 2 Sep 2015 17:30:03 +1000 Subject: [PATCH] Document row classes and add status column example --- modules/system/assets/ui/docs/icon.md | 6 +++ modules/system/assets/ui/docs/list.md | 75 +++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/modules/system/assets/ui/docs/icon.md b/modules/system/assets/ui/docs/icon.md index 4c5d9b441..ade8f7845 100644 --- a/modules/system/assets/ui/docs/icon.md +++ b/modules/system/assets/ui/docs/icon.md @@ -10,6 +10,12 @@ Place Font Autumn icons just about anywhere with the `` tag. icon-camera-retro +You can also inject an icon to an existing element using the `oc-` prefix. + +
+ You win! +
+ > **Note**: Icon classes are echoed via CSS :before. ### With buttons diff --git a/modules/system/assets/ui/docs/list.md b/modules/system/assets/ui/docs/list.md index 22bc10a52..1285c48f6 100644 --- a/modules/system/assets/ui/docs/list.md +++ b/modules/system/assets/ui/docs/list.md @@ -171,4 +171,79 @@ Lists are responsive by default and will collapse at a breakpoint of `980px`. Th + + +### Row classes + +The following classes are available to use on the table row elements. + +
+ + + + + + + + + + + + + + + + + + +
Class
Normal text
.strike
.frozen
.processing
.negative
.positive
.disabled / .deleted
.new / .important
.safe / .special
+
+ +### Status column + +It might be fun to include a status column! + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
StatusTitle
+ + Draft + + Welcome to October
+ + Pending + + What a wonderful day
+ + Pending + + The sun is shining
+ + Cancelled + + The weather is sweet here
\ No newline at end of file