diff --git a/scss/deprecated/_index.scss b/scss/deprecated/_index.scss index a144e448..2699c488 100644 --- a/scss/deprecated/_index.scss +++ b/scss/deprecated/_index.scss @@ -3,5 +3,4 @@ @forward "./grids"; @forward "./height-width"; @forward "./icons"; -@forward "./lists"; @forward "./paragraphs"; diff --git a/scss/deprecated/_lists.scss b/scss/deprecated/_lists.scss deleted file mode 100644 index 63e92d06..00000000 --- a/scss/deprecated/_lists.scss +++ /dev/null @@ -1,12 +0,0 @@ -//////////////////////////// -// CORE / DEPRECATED / LISTS -//////////////////////////// - - -// Bare list -// TODO: deprecate, use [role="list"] instead, see generic/_generic.attributes.scss -.dcf-list-bare { - // Fix list-style: none in VoiceOver and Safari: https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html - list-style: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E"); - padding-left: 0; -} diff --git a/scss/generic/_attributes.scss b/scss/generic/_attributes.scss index f29bda2e..91ef2978 100644 --- a/scss/generic/_attributes.scss +++ b/scss/generic/_attributes.scss @@ -24,3 +24,10 @@ display: block !important; visibility: hidden !important; } + + +// Fix list-style: none in VoiceOver and Safari: https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html +[role="list"] { + list-style: none; + padding-left: 0; +}