This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Polymer/master
7/11 master -> stable
- Loading branch information
Showing
59 changed files
with
986 additions
and
1,927 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Oops, something went wrong.