Skip to content

Instantly share code, notes, and snippets.

@florida
Created July 1, 2014 06:07
Show Gist options
  • Save florida/186de8f11b4c63857088 to your computer and use it in GitHub Desktop.
Save florida/186de8f11b4c63857088 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/iconsets/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 1230px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 560px;
background-color: rgb(79, 125, 201);
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: 1140px;
top: 530px;
background-color: rgb(238, 238, 238);
}
#core_card {
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 25px 25px 0px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 25px;
background-color: rgb(255, 255, 255);
}
#core_drawer_panel {
position: absolute;
top: 560px;
right: 0px;
bottom: 0px;
left: 1270px;
}
#core_field {
left: 1150px;
top: 520px;
}
#core_menu1 {
font-size: 16px;
}
#core_header_panel1 {
width: 300px;
height: 400px;
left: 1250px;
top: 510px;
}
#core_selector {
width: 100%;
height: 50px;
left: 1350px;
top: 600px;
}
#core_submenu2 {
left: 1240px;
top: 550px;
}
#core_toolbar1 {
right: 0px;
left: 1180px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 560px;
background-color: rgb(79, 125, 201);
}
#chart_js {
width: 300px;
height: 200px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1240px;
top: 480px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 1210px;
top: 470px;
}
#notification_alert {
left: 1200px;
top: 500px;
}
#speech_mic {
left: 1320px;
top: 460px;
}
#paper_toast {
left: 1210px;
top: 640px;
}
#section {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 1230px;
top: 520px;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1160px;
top: 540px;
}
#paper_tab {
width: 120px;
height: 40px;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
</style>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="0" selectedindex="0" id="core_menu1">
<core-submenu active label="Topics" icon="settings" id="core_submenu">
<core-item label="Topic 1" id="core_item2" horizontal center layout></core-item>
<core-item label="Topic 2" id="core_item3" horizontal center layout></core-item>
</core-submenu>
<core-submenu label="Favorites" icon="settings" id="core_submenu1">
<core-item label="Favorite 1" id="core_item4" horizontal center layout></core-item>
<core-item label="Favorite 2" id="core_item5" horizontal center layout></core-item>
<core-item label="Favorite 3" id="core_item6" horizontal center layout></core-item>
<core-tooltip id="core_tooltip">Hey cool </core-tooltip>
</core-submenu>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
<core-card id="core_card" layout vertical>
<chart-js kind="Bar" id="chart_js"></chart-js>
</core-card>
<core-card id="core_card1" layout vertical>
<paper-button label="Paper Button" id="paper_button"></paper-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<div id="div1" layout horizontal>
<paper-fab icon="check" id="paper_fab1"></paper-fab>
</div>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-progress id="paper_progress"></paper-progress>
<paper-radio-group selected="Small" valueattr="label" selectedindex="0" id="paper_radio_group">
<paper-radio-button checked label="Small" id="paper_radio_button"></paper-radio-button>
<paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="Large" id="paper_radio_button2"></paper-radio-button>
</paper-radio-group>
<paper-tab id="paper_tab">TAB</paper-tab>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
</core-card>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab1" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab2">ITEM TWO</paper-tab>
<paper-tab id="paper_tab3">ITEM THREE</paper-tab>
<paper-tab id="paper_tab4">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab5">ITEM FIVE</paper-tab>
</paper-tabs>
</core-scaffold>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment