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.
- Loading branch information
Showing
3 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
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,27 @@ | ||
<!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>Cards</title> | ||
<script src="../../polymer/polymer.js"></script> | ||
<link rel="import" href="polymer-ui-card.html"> | ||
<style> | ||
polymer-ui-card { | ||
display: block; | ||
height: 300px; | ||
margin: 20px 10px; | ||
} | ||
</style> | ||
</head> | ||
<body style="background: #eee;"> | ||
<polymer-ui-card></polymer-ui-card> | ||
<polymer-ui-card></polymer-ui-card> | ||
<polymer-ui-card></polymer-ui-card> | ||
<polymer-ui-card></polymer-ui-card> | ||
<polymer-ui-card></polymer-ui-card> | ||
</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,13 @@ | ||
/* | ||
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 { | ||
* { | ||
background-color: #fff; | ||
border-radius: 2px; | ||
box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px; | ||
} | ||
} |
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,31 @@ | ||
<!-- | ||
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-card <b>(WIP)</b> | ||
* | ||
* Example: | ||
* | ||
* <polymer-ui-card> | ||
* ... | ||
* </polymer-ui-card> | ||
* | ||
* @class polymer-ui-card | ||
*/ | ||
--> | ||
<polymer-element name="polymer-ui-card"> | ||
<template> | ||
<link rel="stylesheet" href="polymer-ui-card.css"> | ||
<content></content> | ||
</template> | ||
<script> | ||
Polymer('polymer-ui-card'); | ||
</script> | ||
</polymer-element> |