Skip to content

Commit

Permalink
href bug
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioturra committed Sep 2, 2014
1 parent 3428807 commit f970885
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figure-box",
"version": "0.9.3",
"version": "0.9.5",
"keywords": "seed, polymer, web-components",
"main": "figure-box.html",
"ignore": ["bower_components"],
Expand Down
44 changes: 44 additions & 0 deletions dist/figure-box.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
:host(.frame) figure {
border: 10px solid white;
}
:host(.black.frame) figure{
border-color: black;
}
:host(.black) content::content header{
background:black;
color:white;
}
:host(.black) content::content footer{
background:black;
color:white;
}
:host(.black.frame) figure{
border-color: black;
}
:host(.full-width) {
padding: 0 !Important;
}
Expand All @@ -19,6 +33,36 @@
:host(.full-width) img {
width: 100%;
}
:host(.fancy) content::content header{
background: transparent;
text-shadow: 0px 0px 5px black, 5px 5px 5px black, -5px -5px 5px black;
font-weight:bolder;
color:white;
}
:host(.fancy) content::content footer{
background:
radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 100%) repeat,
linear-gradient(0deg, rgba(255,255,255,0.7), rgba(255,255,255,0)) no-repeat;
background-size: 7px 7px, cover;
font-weight:lighter;
text-shadow: 0px 0px 5px black, 5px 5px 5px black, -5px -5px 5px black;
color:white;
}
:host(.fancy.black) content::content header{
background: transparent;
text-shadow: 0px 0px 5px black, 5px 5px 5px black, -5px -5px 5px black;
font-weight:bolder;
color:white;
}
:host(.fancy.black) content::content footer{
background:
radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 20%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 100%) repeat,
linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0)) no-repeat;
background-size: 7px 7px, cover;
font-weight:lighter;
text-shadow: 0px 0px 5px black, 5px 5px 5px black, -5px -5px 5px black;
color:white;
}
h3 {
font-size: 1em;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion dist/figure-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="stylesheet" href="figure-box.css">
<figure class="clearfix">
<template if="{{caption &amp;&amp; href}}">
<h3><a href="">{{caption}}</a></h3>
<h3><a href="{{href}}">{{caption}}</a></h3>
</template>
<template if="{{caption &amp;&amp; !href}}">
<h3>{{caption}}</h3>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figure-box",
"version": "0.9.3",
"version": "0.9.5",
"description": "Element providing an extensible figure box solution.",
"main": "Gruntfile.js",
"scripts": {
Expand Down

0 comments on commit f970885

Please sign in to comment.