Skip to content

Instantly share code, notes, and snippets.

@stevesuh
Last active August 29, 2015 14:08
Show Gist options
  • Save stevesuh/9cdbc1e6c828a8883422 to your computer and use it in GitHub Desktop.
Save stevesuh/9cdbc1e6c828a8883422 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-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-input/core-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_drawer_panel {
position: absolute;
top: 60px;
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);
}
#core_input {
padding: 15px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 1500px;
top: 710px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1510px;
top: 690px;
}
#core_card {
position: relative;
width: 480px;
height: 48px;
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: 54px;
top: 100px;
background-color: rgb(255, 255, 255);
}
#core_input1 {
padding: 15px;
}
</style>
<core-toolbar id="core_toolbar">
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<core-drawer-panel transition id="core_drawer_panel" touch-action>
<section id="section" drawer></section>
<section id="section1" main>
<core-card id="jobInput" layout horizontal>
<core-input willvalidate placeholder="Type something..." id="core_input"></core-input>
<core-input willvalidate placeholder="Type something..." id="core_input1"></core-input>
</core-card>
</section>
</core-drawer-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment