Created
July 2, 2014 08:20
-
-
Save casarock/94af586718717ae58240 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="../core-animated-pages/core-animated-pages.html" rel="import"> | |
<link href="../core-animated-pages/transitions/hero-transition.html" rel="import"> | |
<link href="../core-animated-pages/transitions/cross-fade.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-down.html" rel="import"> | |
<link href="../core-animated-pages/transitions/slide-up.html" rel="import"> | |
<link href="../core-animated-pages/transitions/tile-cascade.html" rel="import"> | |
<link href="../core-field/core-field.html" rel="import"> | |
<link href="../core-icon/core-icon.html" rel="import"> | |
<link href="../core-input/core-input.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
box-sizing: border-box; | |
} | |
#core_card { | |
width: 300px; | |
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); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_input1 { | |
padding: 15px; | |
width: 270px; | |
height: 240px; | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
background-color: rgb(238, 238, 238); | |
left: 660px; | |
top: 90px; | |
position: absolute; | |
} | |
</style> | |
<core-animated-pages selectedindex="0" notap id="core_animated_pages"> | |
<section id="section" center-justified center horizontal layout active eight flex> | |
<core-card id="core_card" layout vertical> | |
<core-field id="core_field" center horizontal layout icon="search" theme="core-light-theme"> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
<core-input placeholder="Type something..." id="core_input1"></core-input> | |
</core-card> | |
</section> | |
<section id="section1"> | |
</section> | |
<section id="section2"> | |
</section> | |
</core-animated-pages> | |
</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