]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
responsive images, updated shadows on navbars, remove responsive file from docs
authorMark Otto <otto@github.com>
Sun, 4 Nov 2012 07:31:43 +0000 (00:31 -0700)
committerMark Otto <otto@github.com>
Sun, 4 Nov 2012 07:31:43 +0000 (00:31 -0700)
docs/assets/css/bootstrap.css
docs/assets/css/docs.css
docs/assets/img/bs-docs-bootstrap-features.png
docs/assets/img/bs-docs-responsive-illustrations.png
docs/assets/img/bs-docs-twitter-github.png
docs/assets/img/less-logo-large.png [deleted file]
docs/templates/layout.mustache
less/navbar.less

index 7320e6da42ba00e16d3a3d39bc9e6568eff6a466..0f936bae31e9126bbf74726a943bb9a656dfbb21 100644 (file)
@@ -3916,14 +3916,14 @@ input[type="button"].btn-block {
 
 .navbar-fixed-top,
 .navbar-static-top {
-  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
-          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 1px 10px rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
+          box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
 }
 
 .navbar-fixed-bottom {
   bottom: 0;
-  -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1);
-          box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), 0 -1px 10px rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
+          box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
 }
 
 .navbar .nav {
index ec15ae2f1a4f5f199f4e6ec74bd8dfbf7f185d77..ebd111fd8b2c46a67e71c41ba6c036cd1a75559e 100644 (file)
@@ -134,9 +134,6 @@ hr.soften {
   font-weight: 200;
   color: #fff; /* redeclare to override the `.jumbotron a` */
   border: 0;
-  -webkit-border-radius: 6px;
-     -moz-border-radius: 6px;
-          border-radius: 6px;
   -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
      -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
           box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
@@ -173,6 +170,16 @@ hr.soften {
   background: url(../img/bs-docs-masthead-pattern.png) repeat center center;
   opacity: .4;
 }
+@media
+only screen and (-webkit-min-device-pixel-ratio: 2),
+only screen and (   min--moz-device-pixel-ratio: 2),
+only screen and (     -o-min-device-pixel-ratio: 2/1) {
+
+  .jumbotron:after {
+    background-size: 150px 150px;
+  }
+
+}
 
 /* Masthead (docs home)
 ------------------------- */
@@ -317,9 +324,7 @@ hr.soften {
 .show-grid [class*="span"] {
   background-color: #eee;
   text-align: center;
-  -webkit-border-radius: 3px;
-     -moz-border-radius: 3px;
-          border-radius: 3px;
+  border-radius: 3px;
   min-height: 40px;
   line-height: 40px;
 }
index d02c5ca69263fb2aafa45549ce382c6d19fe86c4..7cd8501ae192e5b43eefb5a1b69857a6c9b8278d 100644 (file)
Binary files a/docs/assets/img/bs-docs-bootstrap-features.png and b/docs/assets/img/bs-docs-bootstrap-features.png differ
index 66b564b31120bb7301a5dd67e9de46459f38466e..77c8f18f5ce7363cc4d83eced583e9981ddbe683 100644 (file)
Binary files a/docs/assets/img/bs-docs-responsive-illustrations.png and b/docs/assets/img/bs-docs-responsive-illustrations.png differ
index e49eb46e4cfab3acb048d50d7ece5fa4b80937fb..06100f3989fd170b0a9294ac1c70ff460dba09c2 100644 (file)
Binary files a/docs/assets/img/bs-docs-twitter-github.png and b/docs/assets/img/bs-docs-twitter-github.png differ
diff --git a/docs/assets/img/less-logo-large.png b/docs/assets/img/less-logo-large.png
deleted file mode 100644 (file)
index 8f62ffb..0000000
Binary files a/docs/assets/img/less-logo-large.png and /dev/null differ
index 6a8fbd9262edf5f7837322c6ab3639ff8517d487..cdbee07931bd209fbda7d0de9eebffc72d78425b 100644 (file)
@@ -9,7 +9,6 @@
 
     <!-- Le styles -->
     <link href="assets/css/bootstrap.css" rel="stylesheet">
-    <link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
     <link href="assets/css/docs.css" rel="stylesheet">
     <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
 
index 3bfc8ae6eb931fd170cefe2c9c029b2876d986d0..c0d4b205f7647218adf2f6de8a377fedc77c4470 100644 (file)
 }
 .navbar-fixed-top,
 .navbar-static-top {
-  .box-shadow(~"inset 0 -1px 0 rgba(0,0,0,.1), 0 1px 10px rgba(0,0,0,.1)");
+  .box-shadow(0 1px 10px rgba(0,0,0,.1));
 }
 
 // Fixed to bottom
 .navbar-fixed-bottom {
   bottom: 0;
-  .box-shadow(~"inset 0 1px 0 rgba(0,0,0,.1), 0 -1px 10px rgba(0,0,0,.1)");
+  .box-shadow(0 -1px 10px rgba(0,0,0,.1));
 }