Skip to content

Commit

Permalink
fix the bug with tiles lost position on firefox, add box-sizing: bord…
Browse files Browse the repository at this point in the history
…er-box to all elements in .metro namespase
  • Loading branch information
olton committed Aug 25, 2012
1 parent 2f5f610 commit f4e7304
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 94 deletions.
8 changes: 7 additions & 1 deletion less/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
@baseFontRegular: 'Open Sans', sans-serif;

.metro {
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.layout {
position: relative;

Expand Down Expand Up @@ -216,7 +222,7 @@
}

.metro-scroll {
//.clearfix();
//.clearfix();
width: 100%;
height: 100%;
overflow: hidden;
Expand Down
9 changes: 2 additions & 7 deletions less/tiles.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
width: 960px;
position: relative;

-moz-transform: perspective(600px);
-webkit-transform: perspective(600px);
-ms-transform: perspective(600px);
-o-transform: perspective(600px);
transform: perspective(600px);


.next-section {
position: absolute;
top: 0px;
Expand Down Expand Up @@ -81,6 +74,7 @@
text-decoration: none;
position: relative;
//padding-bottom: 1px;
box-sizing: border-box;

* {font-family: @baseFontFamily;}

Expand Down Expand Up @@ -328,6 +322,7 @@
z-index: 1000;
bottom: 0;
left: 0px;
opacity: .8;

.tile-overlay-icon {
position: absolute;
Expand Down
9 changes: 0 additions & 9 deletions new-demo/css/bootstrap-responsive.min.css

This file was deleted.

9 changes: 0 additions & 9 deletions new-demo/css/bootstrap.min.css

This file was deleted.

65 changes: 0 additions & 65 deletions new-demo/css/jScrollPane.css

This file was deleted.

7 changes: 4 additions & 3 deletions new-demo/css/metro.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4e7304

Please sign in to comment.