Skip to content

Commit

Permalink
Merge pull request ryanlowdermilk#1 from Loilo/patch-1
Browse files Browse the repository at this point in the history
Update CSS files, more similar to Windows 8 now
  • Loading branch information
ryanlowdermilk committed Oct 29, 2012
2 parents 67bf24c + a770e47 commit 75a0d9c
Showing 1 changed file with 36 additions and 16 deletions.
52 changes: 36 additions & 16 deletions metro-tile.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
border-width: 3px;
border-style: solid;
cursor: default;
-webkit-transition: 0.1s all;
-moz-transition: 0.1s all;
-ms-transition: 0.1s all;
transition: 0.1s all;
}
.metro-tile-small {
width: 104px;
Expand Down Expand Up @@ -46,28 +50,44 @@
transform: perspective(400px) rotateY(0deg) rotateX(0deg);
}
.tile_left {
-webkit-transform: perspective(400px) rotateY(-12deg);
-moz-transform: perspective(400px) rotateY(-12deg);
-ms-transform: perspective(400px) rotateY(-12deg);
transform: perspective(400px) rotateY(-12deg);
-webkit-transform: perspective(400px) rotateY(-9deg);
-moz-transform: perspective(400px) rotateY(-9deg);
-ms-transform: perspective(400px) rotateY(-9deg);
transform: perspective(400px) rotateY(-9deg);
-webkit-transform-origin: 100% 50%;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
transform-origin: 100% 50%;
}
.tile_right {
-webkit-transform: perspective(400px) rotateY(12deg);
-moz-transform: perspective(400px) rotateY(12deg);
-ms-transform: perspective(400px) rotateY(12deg);
transform: perspective(400px) rotateY(12deg);
-webkit-transform: perspective(400px) rotateY(9deg);
-moz-transform: perspective(400px) rotateY(9deg);
-ms-transform: perspective(400px) rotateY(9deg);
transform: perspective(400px) rotateY(9deg);
-webkit-transform-origin: 0% 50%;
-moz-transform-origin: 0% 50%;
-ms-transform-origin: 0% 50%;
transform-origin: 0% 50%;
}
.tile_top {
-webkit-transform: perspective(400px) rotateX(12deg);
-moz-transform: perspective(400px) rotateX(12deg);
-ms-transform: perspective(400px) rotateX(12deg);
transform: perspective(400px) rotateX(12deg);
-webkit-transform: perspective(400px) rotateX(9deg);
-moz-transform: perspective(400px) rotateX(9deg);
-ms-transform: perspective(400px) rotateX(9deg);
transform: perspective(400px) rotateX(9deg);
-webkit-transform-origin: 50% 100%;
-moz-transform-origin: 50% 100%;
-ms-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.tile_bottom {
-webkit-transform: perspective(400px) rotateX(-12deg);
-moz-transform: perspective(400px) rotateX(-12deg);
-ms-transform: perspective(400px) rotateX(-12deg);
transform: perspective(400px) rotateX(-12deg);
-webkit-transform: perspective(400px) rotateX(-9deg);
-moz-transform: perspective(400px) rotateX(-9deg);
-ms-transform: perspective(400px) rotateX(-9deg);
transform: perspective(400px) rotateX(-9deg);
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
transform-origin: 50% 0%;
}
.tile_middle {
-webkit-transform: scale(0.97) perspective(400px) rotateY(0deg) rotateX(0deg);
Expand Down

0 comments on commit 75a0d9c

Please sign in to comment.