Created
June 6, 2014 10:53
-
-
Save jsphkhan/cefddb23b473e555b50b 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 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"> | |
<link rel="import" href="../core-tooltip/core-tooltip.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
display: block; | |
width: 100%; | |
height: 100%; | |
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: 0px; | |
top: 0px; | |
position: absolute; | |
background-color: rgb(207, 207, 207); | |
} | |
#core_card1 { | |
display: block; | |
width: 100%; | |
height: 100%; | |
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; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
opacity: 0.6; | |
background-color: rgb(192, 192, 192); | |
} | |
#core_field { | |
margin: 10px; | |
background-color: rgb(250, 250, 250); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#svg { | |
pointer-events: none; | |
width: 24px; | |
height: 24px; | |
vertical-align: middle; | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
margin: 10px; | |
background-color: rgb(79, 125, 201); | |
} | |
</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_icon"></core-icon> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
<core-tooltip label="I am a tooltip" position="right" id="core_tooltip"> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
</core-tooltip> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
</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