]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
mo betta justified nav
authorMark Otto <otto@github.com>
Fri, 18 Jan 2013 09:33:55 +0000 (01:33 -0800)
committerMark Otto <otto@github.com>
Fri, 18 Jan 2013 09:33:55 +0000 (01:33 -0800)
justified-nav.html

index ec494fa99588d2f886a8ff0ff657f4a021ed1ab9..1579797be88721b548fe237e186fd9a8d7ac5cb0 100644 (file)
@@ -72,6 +72,7 @@
         max-height: 50px;
         background-color: #eee;
         border-radius: 5px;
+        border: 1px solid #ccc;
       }
       .nav-justified li a {
         padding-top: 15px;
         text-align: center;
         border-left: 1px solid rgba(255,255,255,.75);
         border-right: 1px solid rgba(0,0,0,.1);
+        background-color: #e5e5e5; /* Old browsers */
+        background-repeat: repeat-x; /* Repeat the gradient */
+        background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
+        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
+        background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
+        background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */
+        background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
+        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
+        background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
       }
       .nav-justified .active a {
         background-color: #ddd;
+        background-image: none;
+        box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
       }
       .nav-justified li:first-child a {
         border-left: 0;