Skip to content

Commit

Permalink
remove arrow style from c-list component
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGibson27 committed Oct 15, 2020
1 parent 28beabe commit 7a80d57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
28 changes: 0 additions & 28 deletions assets/scss/6-components/list/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
//
// Our standard list is just plain ol' bullets
//
// .c-list--arrows - Sometimes we add little SVG bullets
//
// Markup: 6-components/list/list.html
//
// Styleguide 6.1.3
Expand All @@ -13,30 +11,4 @@
li {
list-style: disc;
}

&--arrows {
li {
list-style: none;
position: relative;

&:before {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 28"><path fill="rgb(208,208,208)" d="M9 14c0 0.266-0.109 0.516-0.297 0.703l-7 7c-0.187 0.187-0.438 0.297-0.703 0.297-0.547 0-1-0.453-1-1v-14c0-0.547 0.453-1 1-1 0.266 0 0.516 0.109 0.703 0.297l7 7c0.187 0.187 0.297 0.438 0.297 0.703z"></path></svg>');
background-position: center center;
background-repeat: no-repeat;
background-size: $size-xs $size-xs;
content: '';
height: $size-xs;
left: -$size-b;
margin-top: 6px;
position: absolute;
width: $size-xs;
}

&:hover {
&:before {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 28"><path fill="rgb(255,194,0)" d="M9 14c0 0.266-0.109 0.516-0.297 0.703l-7 7c-0.187 0.187-0.438 0.297-0.703 0.297-0.547 0-1-0.453-1-1v-14c0-0.547 0.453-1 1-1 0.266 0 0.516 0.109 0.703 0.297l7 7c0.187 0.187 0.297 0.438 0.297 0.703z"></path></svg>');
}
}
}
}
}
2 changes: 1 addition & 1 deletion assets/scss/6-components/list/list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="c-list {{className}}">
<ul class="c-list">
<li>Bacon</li>
<li>Eggs</li>
<li>Cheese</li>
Expand Down

0 comments on commit 7a80d57

Please sign in to comment.