Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
styling tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed Apr 11, 2014
1 parent bd7a879 commit f6f9390
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 3 additions & 10 deletions core-component-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
*/

:host {
position: relative;
display: block;
font-family: Arial, sans-serif;
height: 100vh;
}
Expand Down Expand Up @@ -39,12 +37,7 @@ h2 {
margin: 4px 0;
}

core-doc-viewer {
display: block;
position: absolute;
top: 50px;
right: 0;
bottom: 0px;
left: 0;
border: 1px solid silver;
core-toolbar {
background-color: #E91E63;
color: white;
}
13 changes: 10 additions & 3 deletions core-component-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@
-->

<style>

body {
margin: 0;
}

</style>

<link rel="import" href="../core-layout/core-layout.html">
<link rel="import" href="../core-doc-viewer/core-doc-viewer.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">

<!--
Expand Down Expand Up @@ -41,11 +45,14 @@

<link rel="stylesheet" href="core-component-page.css">

<h2>{{moduleName}}</h2>
<core-layout flow="v"></core-layout>

<a class="choiceC" target="_blank" href="../{{moduleName}}/demo.html">demo</a>
<core-toolbar>
<span>{{moduleName}}</span>
<a class="choiceC" target="_blank" href="../{{moduleName}}/demo.html">demo</a>
</core-toolbar>

<core-doc-viewer url="{{url}}" sources="{{sources}}"></core-doc-viewer>
<core-doc-viewer core-flex url="{{url}}" sources="{{sources}}"></core-doc-viewer>

</template>

Expand Down

0 comments on commit f6f9390

Please sign in to comment.