Skip to content

Commit

Permalink
Don't wreck strand-drawer by changing the 'upload' icon
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykoerber committed May 16, 2016
1 parent 409bda6 commit 3c69794
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 98 deletions.
Binary file modified src/shared/fonts/icon/icomoon.woff
Binary file not shown.
6 changes: 6 additions & 0 deletions src/shared/svg/arrow-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/strand-drawer/strand-drawer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</div>
<template is="dom-if" if="{{_showLabel}}">
<div id="toggle" on-tap="toggle" class$="{{ _computeClass(expanded) }}">
<strand-icon type="upload" width="11" height="11" primary-color="#525252"></strand-icon>
<strand-icon type="arrow-up" class="drawer-arrow-up" width="11" height="11"></strand-icon>
<span>{{_computeLabel(label,openedLabel,closedLabel,expanded)}}</span>
</div>
</template>
Expand Down
6 changes: 3 additions & 3 deletions src/strand-drawer/strand-drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
cursor: pointer;
white-space: nowrap;

strand-icon {
color: #525252;
.drawer-arrow-up {
color: $color-A4;
vertical-align: inherit;
transform: scaleY(-1);
}

&.expanded {
strand-icon {
.drawer-arrow-up {
transform: scaleY(1);
}
}
Expand Down
4 changes: 4 additions & 0 deletions src/strand-icon/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<strand-icon type="apps" width="32" height="32"></strand-icon>
<p>apps</p>
</li>
<li>
<strand-icon type="arrow-up" width="32" height="32" unresolved></strand-icon>
<p>arrow-up</p>
</li>
<li>
<strand-icon type="audience" width="32" height="32"></strand-icon>
<p>audience</p>
Expand Down
6 changes: 5 additions & 1 deletion src/strand-icon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@
</li>
<li>
<strand-icon type="all-channels" width="32" height="32" unresolved></strand-icon>
<p>all channels</p>
<p>all-channels</p>
</li>
<li>
<strand-icon type="apps" width="32" height="32" unresolved></strand-icon>
<p>apps</p>
</li>
<li>
<strand-icon type="arrow-up" width="32" height="32" unresolved></strand-icon>
<p>arrow-up</p>
</li>
<li>
<strand-icon type="audience" width="32" height="32" unresolved></strand-icon>
<p>audience</p>
Expand Down
Loading

0 comments on commit 3c69794

Please sign in to comment.