angular, angular. "Paper Paper", core-icon.
polymer.js, :
polymer.html, core-icon.html, core-icons.html
- ,
-button.html
am , core-icons/social-icons.html,
( , , )
<button ng-click="toggleLeft()" class="rp-menu-button">
<core-icon icon="menu></core-icon>
</button>
CSS ():
.rp-menu-button {
background: none;
border: none;
.rp-menu-icon;
}
.rp-menu-icon {
width: 48px;
height: 48px;
color: @toolbar-font-color;
}
"":
<paper-icon-button class="rp-card-paper-icon" id="share" icon="social:share">
CSS ():
.rp-card-paper-icon {
text-align: center;
color: @inactive-icon;
&:hover {
color: @active-icon;
}
}
.rp-card-paper-icon::shadow core-icon {
width: 18px;
height: 18px;
}
.rp-card-paper-icon::shadow #ripple {
width: 33px;
height: 33px;
}
.rp-card-paper-icon#share::shadow #ripple {
color: green;
}
, . [class]:: shadow core-icon,
.rp-card-paper-icon::shadow #ripple
( -)