Skip to content

Instantly share code, notes, and snippets.

@jlrodriguezdev
Last active August 29, 2015 14:22
Show Gist options
  • Save jlrodriguezdev/678f19c7e23a4b201f19 to your computer and use it in GitHub Desktop.
Save jlrodriguezdev/678f19c7e23a4b201f19 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 300px;
height: auto;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 390px;
top: 130px;
background-color: rgb(255, 255, 255);
}
#core_field {
height: auto;
width: 100%;
}
</style>
<core-card id="core_card" layout vertical>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon">text</core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment