Permalink
Browse files

Cross-browser offset for fixed header

  • Loading branch information...
1 parent 52a1376 commit 980e19a275d2af317a0d3af2fd39ccf8a74bdb95 @ryanki1 committed Mar 16, 2013
Showing with 10 additions and 10 deletions.
  1. +10 −10 AddCon_TravellingSalesman/Content/app.css
@@ -20,16 +20,16 @@ display: inline;
float: left;
height: 16px;
background: -webkit-gradient( radial, 8 8, 2, 8 8, 4, from(grey), to(black));
-/*background: -webkit-radial-gradient(circle, grey 20%, black 40%);*/
-/*background: -moz-radial-gradient(circle, grey 20%, black 40%);
-background: radial-gradient(circle, grey 20%, black 40%);*/
+background: -webkit-radial-gradient(circle, grey 20%, black 40%);
+background: -moz-radial-gradient(circle, grey 20%, black 40%);
+background: radial-gradient(circle, grey 20%, black 40%);
}
#puttMat a:hover, a:active {
background: -webkit-gradient( radial, 8 8, 2, 8 8, 4, from(white), to(black));
-/*background: -webkit-radial-gradient(circle, white 20%, black 40%);*/
-/*background: -moz-radial-gradient(circle, white 20%, black 40%);
-background: radial-gradient(circle, white 20%, black 40%);*/
+background: -webkit-radial-gradient(circle, white 20%, black 40%);
+background: -moz-radial-gradient(circle, white 20%, black 40%);
+background: radial-gradient(circle, white 20%, black 40%);
}
/* Alternative to above but more costly in terms of having underlying 16 x 32 sprite
@@ -52,9 +52,9 @@ background-repeat: no-repeat;
.ballInTheHole {
background: -webkit-gradient( radial, 8 8, 2, 8 8, 4, from(white), to(black))!important;
- /*background: -webkit-radial-gradient(circle, white 20%, black 40%)!important;
+ background: -webkit-radial-gradient(circle, white 20%, black 40%)!important;
background: -moz-radial-gradient(circle, white 20%, black 40%)!important;
- background: radial-gradient(circle, white 20%, black 40%)!important;*/
+ background: radial-gradient(circle, white 20%, black 40%)!important;
}
.activePage {
/*display: block;*/
@@ -70,8 +70,8 @@ background-repeat: no-repeat;
/*display: none;*/
}
.main {
- padding-top: 75px;
- position: relative;
+ top: 75px;
+ position: fixed;
overflow: hidden;
}
.unaffectLayout {

0 comments on commit 980e19a

Please sign in to comment.