Skip to content

Instantly share code, notes, and snippets.

@JamesWP
Created June 30, 2014 15:13
Show Gist options
  • Save JamesWP/20338c6e3bcbfb6df341 to your computer and use it in GitHub Desktop.
Save JamesWP/20338c6e3bcbfb6df341 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-splitter/core-splitter.html">
<polymer-element name="my-element">
<template>
<style>
:host {
box-sizing: border-box;
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
background-color: rgb(0, 255, 0);
}
#core_card {
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;
width: 33%;
background-color: rgb(255, 255, 255);
}
#core_card1 {
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;
width: 33%;
background-color: rgb(255, 255, 255);
}
#core_card2 {
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;
background-color: rgb(255, 255, 255);
}
#base {
height: 100%;
}
</style>
<section id="base" horizontal layout one flex>
<core-card id="core_card">
</core-card>
<core-splitter id="core_splitter"></core-splitter>
<core-card id="core_card1"></core-card>
<core-splitter id="core_splitter1"></core-splitter>
<core-card id="core_card2" one flex></core-card>
</section>
</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