Skip to content

Instantly share code, notes, and snippets.

@carlvlewis
Last active August 29, 2015 14:06
Show Gist options
  • Save carlvlewis/4ea53fc215e942b39335 to your computer and use it in GitHub Desktop.
Save carlvlewis/4ea53fc215e942b39335 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-quizzes.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../core-input/core-input.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-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#chart_js {
width: 300px;
height: 200px;
left: 640px;
top: 170px;
position: absolute;
}
#topeka_datasource {
left: 1100px;
top: 530px;
position: absolute;
}
#topeka_datasource1 {
left: 1010px;
top: 500px;
position: absolute;
}
#topeka_datasource2 {
left: 1180px;
top: 510px;
position: absolute;
}
#div3 {
height: 100%;
width: 100%;
overflow: hidden;
left: 990px;
top: 510px;
position: absolute;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 400px;
top: 220px;
position: absolute;
}
#notification_alert {
left: 1110px;
top: 450px;
position: absolute;
}
#notification_alert1 {
left: 990px;
top: 430px;
position: absolute;
}
#notification_alert2 {
left: 910px;
top: 510px;
position: absolute;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 810px;
top: 500px;
position: absolute;
}
#core_input {
padding: 15px;
left: 1100px;
top: 370px;
position: absolute;
}
#core_card {
position: absolute;
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;
left: 1080px;
top: 210px;
background-color: rgb(255, 255, 255);
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(0, 0, 0);
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1460px;
top: 520px;
}
#core_drawer_panel {
position: absolute;
top: 70px;
right: 0px;
bottom: 0px;
left: -10px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
</style>
<chart-js kind="pie" id="chart_js"></chart-js>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource1" hidden></topeka-datasource>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource2" hidden></topeka-datasource>
<div id="div3">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<topeka-quizzes id="topeka_quizzes" category="{}" vertical layout></topeka-quizzes>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert2"></notification-alert>
<yt-search-video id="yt_search_video"></yt-search-video>
<core-input willvalidate placeholder="Type something..." id="core_input"></core-input>
<core-card id="core_card" layout vertical></core-card>
<core-toolbar id="core_toolbar" horizontal layout start-justified>
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<core-menu-button icon="more-vert" selected="0" id="core_menu_button">
<core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout active></core-item>
<core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item>
<core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item>
</core-menu-button>
</core-toolbar>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer></section>
<section id="section1" main></section>
</core-drawer-panel>
</template>
<script>
Polymer({
pie: ''
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment