From 8ef074b0423f272b0c45b07c6fbb0fcad6a50c65 Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Sat, 27 Feb 2016 14:43:49 -0500 Subject: [PATCH] Fixes issue with bulleted list appearing as link color when list item is a link --- RELEASE-NOTES.md | 2 +- src/definitions/elements/list.less | 6 ++++++ src/themes/default/elements/list.variables | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index afc888134..a7d25c571 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -27,7 +27,7 @@ - **Form** - Fixed use of deprecated `size()` method in `prompt` #3655 **Thanks @SimonArdrey** - **List** - Fixed issue where `relaxed` and `very relaxed` lists included unnecessary padding on the first and last items #3710 - **List** - Fixed issue where divided lists had unnecessary padding on first and last items, in both horizontal and vertical layouts #3710 -- **List** - Fixed issue where bullets would be affected by font weight #3715 +- **List** - Fixed issue where bullets would be affected by font weight, or whether the list item was a link #3715 #3721 - **Rating** - Fixed issue where rating would not fire `onRate` when rating is initialized #3712 - **Table** - Fixed issue where `striped selectable` table would not correctly show hover color on striped rows - **Segment/Message** - Fixed issue where `top attached message` would have no border when attached to `segment` #3619 diff --git a/src/definitions/elements/list.less b/src/definitions/elements/list.less index 14a41a55b..23c277f7f 100755 --- a/src/definitions/elements/list.less +++ b/src/definitions/elements/list.less @@ -572,6 +572,12 @@ ul.ui.list li:before, vertical-align: @bulletVerticalAlign; } +ul.ui.list li:before, +.ui.bulleted.list .list > a.item:before, +.ui.bulleted.list > a.item:before { + color: @bulletLinkColor; +} + ul.ui.list ul, .ui.bulleted.list .list { padding-left: @bulletChildDistance; diff --git a/src/themes/default/elements/list.variables b/src/themes/default/elements/list.variables index fe1e827b4..fee012cf4 100644 --- a/src/themes/default/elements/list.variables +++ b/src/themes/default/elements/list.variables @@ -162,6 +162,7 @@ @bulletOpacity: 1; @bulletCharacter: '•'; @bulletColor: inherit; +@bulletLinkColor: @textColor; @bulletVerticalAlign: top; @bulletChildDistance: @bulletDistance;