Skip to content

Instantly share code, notes, and snippets.

@ThaisRobba
Created August 3, 2014 15:23
Show Gist options
  • Save ThaisRobba/b5784d202826fc140436 to your computer and use it in GitHub Desktop.
Save ThaisRobba/b5784d202826fc140436 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_toolbar {
right: 0px;
left: 0px;
background-color: rgb(79, 125, 201);
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
width: 100%;
}
#core_drawer_panel {
position: absolute;
top: 60px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
background-color: rgb(250, 250, 250);
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_card {
position: absolute;
width: 67%;
height: 300px;
background-color: rgb(255, 255, 255);
border-radius: 2px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
left: 280px;
top: 90px;
}
#core_icon {
height: 24px;
width: 24px;
left: 1100px;
top: 430px;
}
#core_item {
left: 1090px;
top: 440px;
}
#paper_fab {
left: 570px;
top: 220px;
position: absolute;
}
#div1 {
left: 1190px;
top: 560px;
}
#paper_icon_button {
left: 1110px;
top: 440px;
}
#section2 {
width: 66.4%;
height: 32%;
border: 5px solid rgb(204, 204, 204);
left: 280px;
top: 410px;
position: absolute;
}
#paper_tabs {
background-color: rgb(0, 188, 212);
color: rgb(255, 255, 255);
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
}
#core_icon_button1 {
left: 1250px;
top: 480px;
}
#core_menu {
font-size: 16px;
left: 10px;
top: 70px;
position: absolute;
}
</style>
<core-drawer-panel id="core_drawer_panel">
<section id="section" drawer></section>
<section id="section1" main></section>
</core-drawer-panel>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<core-card id="core_card" vertical layout></core-card>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<section id="section2" vertical layout>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
</paper-tabs>
<section id="section3" relative flex>
</section>
</section>
<core-card id="core_card1" vertical layout></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