Browse Source

Merge pull request #2210 from pcj/next

Make ordered list numbers in an inverted context be visible
pull/2228/merge
Jack Lukic 9 years ago
parent
commit
2ce4a3a0c8
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.inverted.list li:before,
.ui.ordered.inverted.list .list > .item:before,
.ui.ordered.inverted.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