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

Commit

Permalink
Merge pull request #5 from Polymer/master
Browse files Browse the repository at this point in the history
7/11 master -> stable
  • Loading branch information
dfreedm committed Jul 11, 2013
2 parents e7f9a65 + 5251b0a commit c625aa8
Show file tree
Hide file tree
Showing 59 changed files with 986 additions and 1,927 deletions.
Binary file removed assets/glass.png
Binary file not shown.
55 changes: 55 additions & 0 deletions polymer-ui-accordion/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

<!doctype html>
<!--
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<html>
<head>
<title>polymer-ui-accordion</title>
<script src="../../polymer/polymer.js"></script>
<link rel="import" href="polymer-ui-accordion.html">
<link rel="stylesheet" href="../basic.css">
<style>
polymer-ui-collapsible {
margin-bottom: 2px;
border: 1px solid #ddd;
border-radius: 3px;
}

.polymer-ui-collapsible-header {
padding: 10px;
border-bottom: 1px solid #bcbcbc;
font-weight: bold;
cursor: pointer;
}

.content {
padding: 10px;
}
</style>
</head>
<body class="polymer-ui-body-text">
<polymer-ui-accordion selected="0">
<polymer-ui-collapsible>
<div class="polymer-ui-collapsible-header">Header 1</div>
<div class="content">
Forma temperiemque cornua sidera dissociata cornua recessit innabilis ligavit: solidumque coeptis nullus caelum sponte phoebe di regat mentisque tanta austro capacius amphitrite sui quin postquam semina fossae liquidum umor galeae coeptis caligine liberioris quin liquidum matutinis invasit posset: flexi glomeravit radiis certis invasit oppida postquam onerosior inclusum dominari opifex terris pace finxit quam aquae nunc sine altae auroram quam habentem homo totidemque scythiam in pondus ensis tegit caecoque poena lapidosos humanas coeperunt poena aetas totidem nec natura aethera locavit caelumque distinxit animalibus phoebe cingebant moderantum porrexerat terrae possedit sua sole diu summaque obliquis melioris orbem
</div>
</polymer-ui-collapsible>
<polymer-ui-collapsible>
<div class="polymer-ui-collapsible-header">Header 2</div>
<div class="content">
Coercuit iunctarum vix sic aberant spisso imagine litem cetera nubes ambitae tanta usu circumfuso fulminibus umentia rectumque iuga pluviaque meis semina regat ne campoque meis coeperunt nix cura iunctarum ligavit: secant ventos seductaque permisit sic iunctarum locoque his coeptis tum terras animalia recepta aethera cornua invasit tollere videre tonitrua humanas otia tuba alta dissociata sanctius adsiduis inclusum caesa ita onus sine pluviaque litem manebat fixo extendi ubi inposuit cum sublime membra undas orba forma deducite aethera turba coercuit retinebat obliquis bracchia nisi mentisque origine peregrinum manebat
</div>
</polymer-ui-collapsible>
<polymer-ui-collapsible>
<div class="polymer-ui-collapsible-header">Header 3</div>
<div class="content">
Forma temperiemque cornua sidera dissociata cornua recessit innabilis ligavit: solidumque coeptis nullus caelum sponte phoebe di regat mentisque tanta austro capacius amphitrite sui quin postquam semina fossae liquidum umor galeae coeptis caligine liberioris quin liquidum matutinis invasit posset: flexi glomeravit radiis certis invasit oppida postquam onerosior inclusum dominari opifex terris pace finxit quam aquae nunc sine altae auroram quam habentem homo totidemque scythiam in pondus ensis tegit caecoque poena lapidosos humanas coeperunt poena aetas totidem nec natura aethera locavit caelumque
</div>
</polymer-ui-collapsible>
</polymer-ui-accordion>
</body>
</html>
11 changes: 11 additions & 0 deletions polymer-ui-accordion/polymer-ui-accordion.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
*/

@host {
* {
display: block;
}
}
44 changes: 44 additions & 0 deletions polymer-ui-accordion/polymer-ui-accordion.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!--
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<!--
/**
* @module Polymer UI Elements
*/
/**
* polymer-ui-accordion is a simple accordion style element. It should
* be used in conjunction with polymer-ui-collapsible. By default
* only one collapsible stays open at a time. To have multiple
* collapsibles open set "multi" property on the accordion.
*
* Example:
*
* <polymer-ui-accordion selected="0">
* <polymer-ui-collapsible>
* <div class="polymer-ui-collapsible-header">Header 1</div>
* <div>....</div>
* </polymer-ui-collapsible>
* <polymer-ui-collapsible>
* <div class="polymer-ui-collapsible-header">Header 2</div>
* <div>....</div>
* </polymer-ui-collapsible>
* <polymer-ui-collapsible>
* <div class="polymer-ui-collapsible-header">Header 3</div>
* <div>....</div>
* </polymer-ui-collapsible>
* </polymer-ui-accordion>
*
* @class polymer-ui-accordion
*/
-->
<link rel="import" href="../../polymer-elements/polymer-selector/polymer-selector.html">
<link rel="import" href="../polymer-ui-collapsible/polymer-ui-collapsible.html">

<polymer-element name="polymer-ui-accordion" extends="polymer-selector">
<template>
<link rel="stylesheet" href="polymer-ui-accordion.css">
<shadow></shadow>
</template>
</polymer-element>
34 changes: 0 additions & 34 deletions polymer-ui-clock/index.html

This file was deleted.

83 changes: 0 additions & 83 deletions polymer-ui-clock/polymer-ui-clock.css

This file was deleted.

89 changes: 0 additions & 89 deletions polymer-ui-clock/polymer-ui-clock.html

This file was deleted.

40 changes: 40 additions & 0 deletions polymer-ui-collapsible/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!doctype html>
<!--
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<html>
<head>
<title>polymer-ui-collapsible</title>
<script src="../../polymer/polymer.js"></script>
<link rel="import" href="polymer-ui-collapsible.html">
<link rel="stylesheet" href="../basic.css">
<style>
polymer-ui-collapsible {
margin-bottom: 2px;
border: 1px solid #ddd;
border-radius: 3px;
}

.polymer-ui-collapsible-header {
padding: 10px;
border-bottom: 1px solid #bcbcbc;
font-weight: bold;
cursor: pointer;
}

.content {
padding: 10px;
}
</style>
</head>
<body class="polymer-ui-body-text"">
<polymer-ui-collapsible>
<div class="polymer-ui-collapsible-header">Header 1</div>
<div class="content">
Forma temperiemque cornua sidera dissociata cornua recessit innabilis ligavit: solidumque coeptis nullus caelum sponte phoebe di regat mentisque tanta austro capacius amphitrite sui quin postquam semina fossae liquidum umor galeae coeptis caligine liberioris quin liquidum matutinis invasit posset: flexi glomeravit radiis certis invasit oppida postquam onerosior inclusum dominari opifex terris pace finxit quam aquae nunc sine altae auroram quam habentem homo totidemque scythiam in pondus ensis tegit caecoque poena lapidosos humanas coeperunt poena aetas totidem nec natura aethera locavit caelumque distinxit animalibus phoebe cingebant moderantum porrexerat terrae possedit sua sole diu summaque obliquis melioris orbem
</div>
</polymer-ui-collapsible>
</body>
</html>
15 changes: 15 additions & 0 deletions polymer-ui-collapsible/polymer-ui-collapsible.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
*/

@host {
* {
display: block;
}
}

#collapsibleBody {
height: 0;
}
Loading

0 comments on commit c625aa8

Please sign in to comment.