From e0724cb51699335ad4e36cba0d1ae58a7705f53a Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 10 Aug 2015 15:51:12 -0400 Subject: [PATCH] #2802 - add support for attr value in ordered list --- src/definitions/elements/list.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index ec1b7280a..6cbbf9fcb 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -639,6 +639,15 @@ ol.ui.inverted.list li:before, color: @orderedInvertedCountColor; } +/* Value */ +.ui.ordered.list > .list > .item[data-value], +.ui.ordered.list > .item[data-value] { + content: attr(data-value); +} +ol.ui.list li[value]:before { + content: attr(value); +} + /* Child Lists */ ol.ui.list ol, .ui.ordered.list .list {