forked from yui/yui3-gallery
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gallery-2012.03.23-18-00 sumana gallery-carousel-circular
- Loading branch information
YUI Builder
committed
Mar 23, 2012
1 parent
e5672f4
commit 6fabda3
Showing
4 changed files
with
173 additions
and
19 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
src/gallery-carousel-circular/assets/gallery-carousel-circular.css
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,48 @@ | ||
|
||
.yui3-circular-carousel{ | ||
-webkit-perspective: 500px; | ||
} | ||
|
||
.yui3-circular-carousel-item { | ||
position: absolute; | ||
height: 200px; | ||
width: 200px; | ||
border: 1px solid black; | ||
-webkit-border-radius: 12px; | ||
-webkit-box-sizing: border-box; | ||
text-align: center; | ||
font-family: Times, serif; | ||
font-size: 124pt; | ||
color: black; | ||
background-color: rgba(148,116,172, 0.6); | ||
-webkit-transition: -webkit-transform 2s, opacity 2s; | ||
-webkit-backface-visibility: hidden; | ||
position: absolute; | ||
-webkit-transition: 0.3s ease; | ||
-webkit-transform: rotate(0) scale(0.9) translateX(100%); | ||
z-index: 0; | ||
width: 200px; | ||
overflow: visible; | ||
opacity: 0; | ||
} | ||
|
||
.yui3-circular-carousel .yui3-circular-carousel-selected{ | ||
opacity: 1; | ||
-webkit-transform: rotate(0) scale(1) translateX(54%); | ||
z-index: 99; | ||
} | ||
|
||
.yui3-circular-carousel .yui3-circular-carousel-left, | ||
.yui3-circular-carousel .yui3-circular-carousel-right { | ||
opacity: 0.4; | ||
z-index: 88; | ||
} | ||
|
||
.yui3-circular-carousel .yui3-circular-carousel-left { | ||
-webkit-transform: rotate(0) scale(0.9) translateX(0%); | ||
} | ||
|
||
.yui3-circular-carousel .yui3-circular-carousel-right { | ||
-webkit-transform: rotate(0) scale(0.9) translateX(134%); | ||
} | ||
|
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
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
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