From 0a32e3551f4fef5bb65557a8dcd0c377ccbf8e3d Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 30 Dec 2014 14:52:18 -0500 Subject: [PATCH] Fix specificity of icon in list #1514 --- src/definitions/elements/list.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index 18d10d906..e2f4edfce 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -96,8 +96,8 @@ ol.ui.list ol, } /* Icon */ -.ui.list .list > .item > .icon, -.ui.list > .item > .icon { +.ui.list .list > .item > i.icon, +.ui.list > .item > i.icon { display: table-cell; margin: 0em; padding-top: @iconOffset; @@ -105,12 +105,12 @@ ol.ui.list ol, vertical-align: @iconContentVerticalAlign; transition: @iconTransition; } -.ui.list .list > .item [class*="top aligned"].icon, -.ui.list > .item > [class*="top aligned"].icon { +.ui.list .list > .item [class*="top aligned"]i.icon, +.ui.list > .item > [class*="top aligned"]i.icon { vertical-align: top; } -.ui.list .list > .item > .icon:only-child, -.ui.list > .item > .icon:only-child { +.ui.list .list > .item > i.icon:only-child, +.ui.list > .item > i.icon:only-child { display: inline-block; vertical-align: @iconVerticalAlign; } @@ -189,8 +189,8 @@ ol.ui.list ol, } /* Linked Item Icons */ -.ui.list .list > a.item .icon, -.ui.list > a.item .icon { +.ui.list .list > a.item i.icon, +.ui.list > a.item i.icon { color: @itemLinkIconColor; } @@ -294,7 +294,7 @@ ol.ui.list ol, } /* Horizontal List */ -.ui.horizontal.list > .item > .icon { +.ui.horizontal.list > .item > i.icon { margin: 0em; padding: 0em @horizontalIconDistance 0em 0em; }