Skip to content

Instantly share code, notes, and snippets.

@rulyardiansyah
Created June 25, 2014 09:48
Show Gist options
  • Save rulyardiansyah/3fa74e275fbdb0ee26fd to your computer and use it in GitHub Desktop.
Save rulyardiansyah/3fa74e275fbdb0ee26fd 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 {
display: block;
position: absolute;
width: 300px;
height: 300px;
padding: 4px;
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: 220px;
top: 120px;
background-color: rgb(255, 255, 255);
}
#core_icon1 {
height: 24px;
width: 24px;
}
</style>
<core-card id="core_card">
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon1"></core-icon>
<core-input placeholder="text input" id="core_input" flex></core-input>
</core-field>
</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