Skip to content

Instantly share code, notes, and snippets.

@JoopClaireIT
Last active September 8, 2015 14:11
Show Gist options
  • Save JoopClaireIT/3f47e567cd2e2f340b1d to your computer and use it in GitHub Desktop.
Save JoopClaireIT/3f47e567cd2e2f340b1d to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-input/core-input.html">
<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-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="clairewong-interface">
<template>
<style>
:host {
width: 100%;
height: 100%;
box-sizing: border-box;
position: absolute;
}
#core_drawer_panel {
right: 0px;
bottom: 0px;
}
#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);
}
#section2 {
overflow: scroll;
height: 100%;
padding: 10px;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: relative;
opacity: 1;
background-color: rgb(249, 255, 0);
}
#img {
margin: 20px;
}
core-card {
width: 100%;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
position: relative;
margin: 5px;
background-color: rgb(234, 234, 234);
}
#toolbar_header {
color: black;
font-family: Roboto;
font-weight: bold;
}
#paper_input {
left: 10px;
top: 110px;
position: absolute;
}
#core_submenu {
display: inline-block;
left: 1690px;
top: 740px;
}
#core_field {
left: 0px;
top: 100px;
position: absolute;
}
core-item {
margin-right: 30px;
color: rgb(85, 85, 85);
}
core-item:hover, core-item:active {
color: black;
}
#item {
width: 100%;
padding: 5px;
}
</style>
<core-drawer-panel transition selected="main" narrow id="core_drawer_panel" touch-action="pan-y" class="drag-element">
<section id="section" drawer>
<img src="http://www.clairesoftware.nl/images/Claire_logo_200.png" width="200" height="80" naturalwidth="200" naturalheight="80" complete currentsrc="http://www.clairesoftware.nl/images/Claire_logo_200.png" hspace="0" vspace="0" x="20" y="20" id="img"></img>
<input id="input" placeholder="Zoek op kenteken..." is="core-input">
</section>
<section id="section1" main>
<core-toolbar id="core_toolbar">
<core-icon icon="search" id="core_icon"></core-icon>
<div id="toolbar_header" flex>12-TRL-2</div>
</core-toolbar>
<section id="section2">
<h1 id="h1">Lorem ipsum dolor sit amet</h1>
<core-card id="core_card" layout vertical>
<core-menu-button id="core_menu_button" icon="more-vert" selected="0" relative horizontal layout>
<div id="item" icon="check-box-outline-blank" label="Vraag" horizontal center layout>Vraag</div>
<core-item id="core_item" icon="check" label="OK" horizontal layout center></core-item>
<core-item id="core_item1" icon="warning" label="Advies" horizontal layout center></core-item>
<core-item id="core_item2" icon="block" label="Noodzakelijk" horizontal layout center></core-item>
</core-menu-button>
</core-card>
<core-card id="core_card" layout vertical>
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative horizontal layout>
<div id="item" icon="check-box-outline-blank" label="Vraag" horizontal center layout>Vraag</div>
<core-item id="core_item" icon="check" label="OK" horizontal layout center></core-item>
<core-item id="core_item1" icon="warning" label="Advies" horizontal layout center></core-item>
<core-item id="core_item2" icon="block" label="Noodzakelijk" horizontal layout center></core-item>
</core-menu-button>
</core-card>
</section>
</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