Skip to content

Instantly share code, notes, and snippets.

@iap
Last active November 5, 2015 20:26
Show Gist options
  • Save iap/43ecee9d8d61a39771ec to your computer and use it in GitHub Desktop.
Save iap/43ecee9d8d61a39771ec to your computer and use it in GitHub Desktop.
designer
<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-input/core-input.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../core-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../speech-mic/speech-mic.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.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="../topeka-elements/topeka-profile.html">
<link rel="import" href="../topeka-elements/avatars.html">
<polymer-element name="my-element">
<template>
<style>
#core_header_panel {
width: 300px;
height: 400px;
left: 1120px;
top: 480px;
}
#core_scroll_header_panel {
width: 520px;
height: 510px;
left: 430px;
top: 90px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 10px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
left: 10px;
top: 80px;
position: absolute;
}
#input {
padding: 15px;
left: 340px;
top: 10px;
position: absolute;
}
#core_toolbar1 {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), lightblue);
}
#notification_alert {
left: 460px;
top: 100px;
position: absolute;
}
#google_map_search {
left: 90px;
top: 38px;
position: absolute;
}
#google_map_directions {
left: 240px;
top: 340px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 0px;
top: 8px;
position: absolute;
}
#speech_mic {
left: 98px;
top: 10px;
position: absolute;
}
#paper_fab {
left: 920px;
top: 500px;
position: absolute;
}
#paper_button {
left: 298px;
top: 140px;
position: absolute;
}
#paper_icon_button {
left: 1100px;
top: 480px;
}
#paper_toggle_button {
left: 288px;
top: 100px;
position: absolute;
}
#paper_toast {
left: 1180px;
top: 550px;
}
#paper_slider {
left: 30px;
top: 8px;
position: absolute;
}
#core_icon {
height: 128px;
width: 128px;
left: 28px;
top: 30px;
position: absolute;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 100px;
top: 250px;
position: absolute;
}
#topeka_profile {
width: 300px;
height: 300px;
left: 850px;
top: 220px;
position: absolute;
}
#core_icon1 {
height: 64px;
width: 64px;
left: 850px;
top: 120px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
<input committedvalue="Welcome" id="input" value="Welcome" placeholder="type something..." is="core-input">
</core-toolbar>
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<google-map-directions id="google_map_directions"></google-map-directions>
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar1" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button1"></core-icon-button>
<div id="div1" flex></div>
<core-icon-button icon="search" id="core_icon_button2"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button3"></core-icon-button>
<div id="div2" class="bottom indent">Title</div>
<speech-mic id="speech_mic"></speech-mic>
<paper-button id="paper_button">button</paper-button>
<paper-toggle-button checked id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
<core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon>
</core-toolbar>
<section id="section" content>
<google-map-search id="google_map_search"></google-map-search>
<google-map id="google_map"></google-map>
<paper-slider id="paper_slider"></paper-slider>
</section>
</core-scroll-header-panel>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<topeka-quizzes id="topeka_quizzes" category="{}" vertical layout></topeka-quizzes>
<topeka-profile id="topeka_profile" center layout vertical></topeka-profile>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar"></core-icon>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment