Skip to content

Instantly share code, notes, and snippets.

@christhompson
Created August 15, 2014 22:48
Show Gist options
  • Save christhompson/8000a8c92fe154710c55 to your computer and use it in GitHub Desktop.
Save christhompson/8000a8c92fe154710c55 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 540px;
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: 420px;
top: 120px;
background-color: rgb(255, 255, 255);
}
#topeka_datasource1 {
left: 1310px;
top: 620px;
}
#topeka_category {
width: 300px;
height: 300px;
left: 1280px;
top: 590px;
}
#paper_item {
left: 1350px;
top: 680px;
}
#section {
background-color: rgb(0, 129, 255);
}
#core_field {
left: 1280px;
top: 620px;
}
#core_card1 {
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: 1350px;
top: 590px;
background-color: rgb(255, 255, 255);
}
#core_submenu {
left: 1340px;
top: 660px;
}
#core_toolbar {
right: 0px;
left: 1370px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 670px;
background-color: rgb(79, 125, 201);
}
#core_tooltip {
left: 1330px;
top: 770px;
}
#section1 {
box-sizing: border-box;
width: 100%;
}
#smoothie_chart {
left: 1370px;
top: 730px;
}
#notification_alert {
left: 1370px;
top: 770px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 1390px;
top: 710px;
}
#code_mirror {
width: 400px;
height: 300px;
left: 1400px;
top: 650px;
}
#chart_js {
width: 300px;
height: 200px;
left: 1430px;
top: 670px;
}
#ace_element {
width: 400px;
height: 300px;
left: 1450px;
top: 650px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1430px;
top: 690px;
}
#core_menu {
font-size: 16px;
left: 1350px;
top: 610px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1390px;
top: 650px;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1440px;
top: 700px;
}
#paper_button {
padding: 4px;
margin: 10px;
}
#paper_button1 {
padding: 5px;
margin: 10px;
}
</style>
<core-card id="core_card" layout vertical>
<section id="section" center horizontal layout center-justified>
<h1 id="h1" center>Chrome Experience Sampling Survey</h1>
</section>
<section id="section1" horizontal layout center-justified wrap>
<paper-button label="Why am I seeing this?" raisedbutton id="paper_button" class="info"></paper-button>
<paper-button label="Skip this survey" raisedbutton id="paper_button1" class="skip"></paper-button>
</section>
</core-card>
</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