sails-hook-adminpanel
Version:
Implements the basic admin panel for Sails
53 lines (49 loc) • 1.38 kB
HTML
<dom-module id="admin-menu-item">
<style>
:host {
display: block;
--menu-link-color: #111111;
}
:host > ::content iron-icon {
margin-right: 33px;
opacity: 0.54;
}
:host > ::content .iron-selected {
color: var(--default-primary-color);
}
:host > ::content a {
text-decoration: none;
color: var(--menu-link-color);
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-direction: row;
-webkit-flex-direction: row;
flex-direction: row;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
font-family: 'Roboto', 'Noto', sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-size: 14px;
font-weight: 400;
line-height: 24px;
min-height: 48px;
padding: 0 16px;
}
</style>
<template>
<a href="{{href}}">
<content></content>
</a>
</template>
<script>
Polymer({
is: 'admin-menu-item',
properties: {
href: String
}
});
</script>
</dom-module>