Skip to content

Instantly share code, notes, and snippets.

@Alevale
Last active August 29, 2015 14:07
Show Gist options
  • Save Alevale/f8d60098b37508d7a2c2 to your computer and use it in GitHub Desktop.
Save Alevale/f8d60098b37508d7a2c2 to your computer and use it in GitHub Desktop.
designer
<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_card {
position: absolute;
width: 300px;
height: 500px;
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: 330px;
top: 40px;
background-image: url(http://img.wallpaperstock.net:81/wallpapers/thumbs1/24900hd.jpg);
background-size: 100%, 100%;
background-repeat: none;
}
#paper_tabs {
width: 100%;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(16, 70, 77);
}
#paper_tab1 {
background-color: rgb(0, 0, 0);
}
#core_card1 {
width: 100%;
height: 100%;
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;
opacity: 0.5;
background-color: rgb(255, 255, 255);
}
#core_card2 {
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;
margin: 20px;
height: 100%;
opacity: 1;
background-color: rgb(59, 72, 72);
}
</style>
<core-card id="core_card" layout vertical end-justified>
<core-card id="core_card1" layout vertical>
<core-card id="core_card2" layout vertical></core-card>
</core-card>
<paper-tabs selected="1" selectedindex="1" id="paper_tabs">
<paper-tab id="paper_tab">Login</paper-tab>
<paper-tab id="paper_tab1" active>Get Started</paper-tab>
</paper-tabs>
</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