Browse Source

Ordered list does not invert number color.

See http://jsfiddle.net/ka98j2pv/2/
This commit introduces @orderedInvertedCountColor for this purpose.
pull/2209/head
Paul Johnston 9 years ago
parent
commit
6addaf7160
2 changed files with 9 additions and 2 deletions
  1. 9
      src/definitions/elements/list.less
  2. 2
      src/themes/default/elements/list.variables

9
src/definitions/elements/list.less

@ -559,7 +559,6 @@ ul.ui.horizontal.bulleted.list li:first-child::before,
display: none;
}
/*-------------------
Ordered
--------------------*/
@ -595,6 +594,11 @@ ol.ui.list li:before,
opacity: @orderedCountOpacity;
}
ol.ui.list li:before,
.ui.ordered.list .list > .item:before,
.ui.ordered.list > .item:before {
color: @orderedInvertedCountColor;
}
/* Child Lists */
ol.ui.list ol,
@ -884,4 +888,5 @@ ol.ui.horizontal.list li:before,
font-size: @massive;
}
.loadUIOverrides();
.loadUIOverrides();

2
src/themes/default/elements/list.variables

@ -166,6 +166,8 @@
@orderedChildCountDistance: 1em;
@orderedChildCountOffset: -2em;
@orderedInvertedCountColor: @invertedLightTextColor;
/* Horizontal Ordereded */
@horizontalOrderedCountDistance: 0.5em;

Loading…
Cancel
Save