Last active
August 29, 2015 14:07
-
-
Save nkolban/d87f3a241d6e72db7e52 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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 rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.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; | |
border: solid; | |
top: 0px; | |
left: 0px; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
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: 440px; | |
top: 390px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_input { | |
padding: 15px; | |
left: 300px; | |
top: 200px; | |
position: absolute; | |
} | |
#core_item { | |
left: 110px; | |
top: 330px; | |
position: absolute; | |
} | |
#core_item1 { | |
left: 220px; | |
top: 690px; | |
position: absolute; | |
} | |
#core_field { | |
left: 190px; | |
top: 560px; | |
position: absolute; | |
} | |
</style> | |
<core-input willvalidate placeholder="Type something..." id="core_input"></core-input> | |
<core-card id="core_card" layout vertical></core-card> | |
<core-item id="core_item" icon="settings" label="Item" horizontal center layout></core-item> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input willvalidate placeholder="text input" id="core_input1" flex></core-input> | |
</core-field> | |
<core-item id="core_item1" label="My Label" horizontal center layout></core-item> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment