Created
June 27, 2014 06:40
-
-
Save risent/f802539b073050f37a52 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="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 1710px; | |
top: 540px; | |
} | |
#paper_tabs { | |
width: 1020px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: 30px; | |
top: 30px; | |
position: absolute; | |
height: 60px; | |
background-color: rgb(0, 188, 212); | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 1790px; | |
top: 560px; | |
} | |
#core_item { | |
left: 1750px; | |
top: 470px; | |
} | |
#core_scaffold { | |
position: absolute; | |
top: 550px; | |
right: 0px; | |
bottom: 0px; | |
left: 1740px; | |
} | |
#section { | |
left: 270px; | |
top: 610px; | |
position: absolute; | |
} | |
#core_submenu { | |
left: 1710px; | |
top: 680px; | |
} | |
#core_card { | |
position: absolute; | |
width: 1020px; | |
height: 360px; | |
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: 30px; | |
top: 120px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
position: absolute; | |
width: 1020px; | |
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: 30px; | |
top: 510px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<paper-tabs selected="0" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="index_tab" active>网站首页</paper-tab> | |
<paper-tab id="about_tab">关于我们</paper-tab> | |
<paper-tab id="contact_tab">联系信息</paper-tab> | |
<paper-tab id="product_tab">产品信息</paper-tab> | |
<paper-tab id="service_tab">服务信息</paper-tab> | |
<paper-tab id="activity_tab">活动信息</paper-tab> | |
<paper-tab id="news_tab">新闻资讯</paper-tab> | |
</paper-tabs> | |
<section id="section"></section> | |
<core-card id="core_card1" layout vertical></core-card> | |
<core-card id="core_card" layout vertical></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