Skip to content

Instantly share code, notes, and snippets.

@Rameshv
Last active August 29, 2015 14:10
Show Gist options
  • Save Rameshv/91fca22ed492bf19a9ff to your computer and use it in GitHub Desktop.
Save Rameshv/91fca22ed492bf19a9ff to your computer and use it in GitHub Desktop.
designer
<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-scroll-header-panel/core-scroll-header-panel.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">
<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-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scroll_header_panel {
width: 90%;
height: 900px;
left: 40px;
top: 20px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 700px;
background: rgb(245, 245, 245);
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
margin-left: 300px;
top: 188px;
height: 60px;
margin-right: 200px;
background-color: rgb(0, 188, 212);
}
#core_field {
left: 678px;
top: 120px;
position: absolute;
}
#core_selector {
width: 100%;
height: 50px;
left: 1190px;
top: 480px;
}
#section1 {
left: 300px;
bottom: 0px;
position: absolute;
width: 75%;
height: 140px;
margin-bottom: 0px;
background: rgb(245, 245, 245);
}
#core_header_panel {
width: 300px;
height: 700px;
left: 0px;
top: 185px;
position: absolute;
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#section2 {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#div2 {
right: 70px;
top: 100px;
position: absolute;
}
#paper_toggle_button {
left: 1170px;
top: 490px;
}
#core_menu {
font-size: 16px;
left: 32px;
top: 23px;
position: absolute;
width: 220px;
height: 160px;
}
#div3 {
right: 0px;
top: 100px;
position: absolute;
}
#section3 {
top: 188px;
right: 0px;
position: absolute;
width: 200px;
height: 100%;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_card {
width: 160px;
height: 120px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin-top: 10px;
margin-left: 20px;
background-color: rgb(255, 255, 255);
}
#core_card1 {
width: 160px;
height: 120px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin-top: 10px;
margin-left: 20px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
width: 160px;
height: 120px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin-top: 10px;
margin-left: 20px;
background-color: rgb(255, 255, 255);
}
</style>
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
<div id="div" flex>
<h1 id="h1">History Assessment</h1>
</div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-input id="core_input" flex></core-input>
</core-field>
<div id="div3" flex layout horizontal end-justified>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
<div id="div2" flex layout horizontal>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
</div>
</core-toolbar>
<section id="section" content>
<paper-tabs selected="2" selectedindex="2" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>Recommendations</paper-tab>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>Search</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout active>My Questions</paper-tab>
</paper-tabs>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar1">
<div id="div1" center-justified center>Question Types</div>
</core-toolbar>
<section id="section2">
<core-menu selected="0" selectedindex="0" id="core_menu">
<core-submenu opened active id="core_submenu" icon="settings" label="Multiple choice">
<core-item id="core_item" label="Regular" horizontal center layout active></core-item>
<core-item id="core_item1" label="Block" horizontal center layout></core-item>
<core-item id="core_item2" label="Multi Select" horizontal center layout></core-item>
<core-item id="core_item2" label="Choice Matrix" horizontal center layout></core-item>
</core-submenu>
<core-submenu id="core_submenu1" icon="settings" label="Highlight">
<core-item id="core_item2" label="Text Highlight" horizontal center layout></core-item>
<core-item id="core_item3" label="Sentence Highlight" horizontal center layout></core-item>
<core-item id="core_item4" label="Freetext Highlight" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</section>
</core-header-panel>
<core-header-panel mode="standard" id="section3">
<core-toolbar id="core_toolbar1">
<div id="div1" center-justified center>Questions</div>
</core-toolbar>
<section id="section2">
<core-card id="core_card" layout vertical></core-card>
<core-card id="core_card1" layout vertical></core-card>
<core-card id="core_card3" layout vertical></core-card>
</section>
</core-header-panel>
</section>
</core-scroll-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment