Last active
August 29, 2015 14:10
-
-
Save oscarnevarezleal/4e33df43854bc5a73cba 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="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../yt-video/yt-search-video.html"> | |
<link rel="import" href="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../core-tooltip/core-tooltip.html"> | |
<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"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#notification_alert { | |
left: 450px; | |
top: 300px; | |
position: absolute; | |
} | |
#yt_search_video { | |
width: 300px; | |
height: 300px; | |
left: 790px; | |
top: 50px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 820px; | |
top: 390px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 420px; | |
top: 300px; | |
position: absolute; | |
} | |
#core_toolbar { | |
right: 0px; | |
left: -20px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
left: 200px; | |
top: 40px; | |
position: absolute; | |
background-color: rgb(238, 238, 238); | |
} | |
#core_tooltip { | |
left: 730px; | |
top: 280px; | |
position: absolute; | |
} | |
#core_field { | |
left: 730px; | |
top: 400px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 670px; | |
top: 80px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<notification-alert id="notification_alert" message="Hi there!" name="notification" icon="icon.png"></notification-alert> | |
<yt-search-video id="yt_search_video"></yt-search-video> | |
<core-menu-button id="core_menu_button" icon="more-vert" selected="0"> | |
<core-item id="core_item" icon="content-cut" label="Cut"></core-item> | |
<core-item id="core_item1" icon="content-copy" label="Copy"></core-item> | |
<core-item id="core_item2" icon="content-paste" label="Paste"></core-item> | |
</core-menu-button> | |
<core-menu id="core_menu" selected="0"> | |
<core-submenu id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item3" label="Topic 1"></core-item> | |
<core-item id="core_item4" label="Topic 2"></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item5" label="Favorite 1"></core-item> | |
<core-item id="core_item6" label="Favorite 2"></core-item> | |
<core-item id="core_item7" label="Favorite 3"></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<core-animated-pages id="core_animated_pages"> | |
<section id="section" layout horizontal center center-justified> | |
</section> | |
<section id="section1"> | |
</section> | |
<section id="section2"> | |
</section> | |
</core-animated-pages> | |
<core-tooltip id="core_tooltip" label="I'm a tooltip"> | |
<span id="span">Hover over me.</span> | |
</core-tooltip> | |
<core-field id="core_field" icon="search" theme="core-light-theme"> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input id="core_input" flex></core-input> | |
</core-field> | |
<core-card id="core_card" layout vertical></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