Skip to content

Instantly share code, notes, and snippets.

@marianpavel
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marianpavel/b087e79e1024de501275 to your computer and use it in GitHub Desktop.
Save marianpavel/b087e79e1024de501275 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-quizzes.html">
<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: 20%;
height: 20%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 530px;
top: 80px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
width: 600px;
border: rgb(51, 153, 255);
left: 300px;
top: 0px;
position: absolute;
background-color: rgb(21, 115, 191);
}
#ace_element {
width: 400px;
height: 300px;
left: 870px;
top: 550px;
position: absolute;
}
#notification_alert {
left: 370px;
top: 230px;
position: absolute;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 340px;
top: 170px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
overflow: visible;
background-color: rgb(255, 64, 129);
}
#paper_toast {
left: 920px;
top: 320px;
position: absolute;
}
#paper_toast1 {
left: 970px;
top: 250px;
position: absolute;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 870px;
top: 180px;
position: absolute;
}
</style>
<core-menu selected="0" id="core_menu">
</core-menu>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<ace-element value="function test() {
var x = true;
}" editorvalue="function test() {
var x = true;
}" id="ace_element">function test() {
var x = true;
}</ace-element>
<section id="section" layout vertical>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<paper-toast text="Toast!" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition-bottom core-transition"></paper-toast>
<topeka-quizzes id="topeka_quizzes" category="{}" vertical layout></topeka-quizzes>
<paper-tabs selected="4" selectedindex="4" id="paper_tabs" center wrap>
<paper-tab id="paper_tab" horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
<paper-tab id="paper_tab3" active>ITEM FOUR</paper-tab>
</paper-tabs>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment