Skip to content

Commit

Permalink
Merge pull request #9 from github/fix-slide-links
Browse files Browse the repository at this point in the history
Fallback to tab-toggle with visibility due to browser opacity issues
  • Loading branch information
Jordan McCullough committed Jan 9, 2014
2 parents 3aa6af5 + 358e552 commit bdd59ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _stylesheets/materials.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ section {
font-size: 80%; }
.tab-panel .panel-content {
width: 200%;
opacity: 0;
visibility: hidden;
position: absolute;
left: -50%;
-webkit-transition: opacity 400ms;
Expand All @@ -206,7 +206,7 @@ section {
color: #fff;
opacity: 1; }
.tab-panel input.material-type:checked + label.tab > div.panel-content {
opacity: 1; }
visibility: visible; }

footer {
float: left;
Expand Down
8 changes: 4 additions & 4 deletions _stylesheets/materials.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ section{

.panel-content{
width: 200%;
// visibility: hidden;
opacity: 0;
visibility: hidden;
// opacity: 0;
position: absolute;
left: -50%;

Expand Down Expand Up @@ -262,8 +262,8 @@ section{
}

&:checked + label.tab > div.panel-content{
// visibility: visible;
opacity: 1;
visibility: visible;
// opacity: 1;
}
}
}
Expand Down

0 comments on commit bdd59ad

Please sign in to comment.