Skip to content

Instantly share code, notes, and snippets.

@Findarato
Last active August 29, 2015 14:20
Show Gist options
  • Save Findarato/c2d5cae8c9a2666ad97f to your computer and use it in GitHub Desktop.
Save Findarato/c2d5cae8c9a2666ad97f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 940px;
right: 0px;
bottom: 0px;
left: 2350px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 2380px;
top: 920px;
}
#core_menu {
font-size: 16px;
left: 2360px;
top: 870px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1630px;
top: 480px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 440px;
left: 1160px;
top: 230px;
position: absolute;
width: 380px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#div {
box-sizing: border-box;
position: relative;
height: 120px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section1 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
</style>
<section id="section" layout vertical>
<div id="div" hero>
<span id="span">{spellName}</span>
</div>
<section id="section1" hero flex>
<span id="span1">Answer here</span>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment