]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #7648: Thumbnail caption should use @text-color variable. Also adds other thumb...
authorMark Otto <otto@github.com>
Mon, 22 Apr 2013 01:29:06 +0000 (18:29 -0700)
committerMark Otto <otto@github.com>
Mon, 22 Apr 2013 01:29:06 +0000 (18:29 -0700)
docs/assets/css/bootstrap.css
less/thumbnails.less
less/variables.less

index 53f9a9693eb7b8e40069422cf759c24eb18be803..f40720bf4a7373199b84cf1ad2468f9946976e3d 100644 (file)
@@ -4711,7 +4711,8 @@ button.close {
 .img-thumbnail {
   padding: 4px;
   line-height: 20px;
-  border: 1px solid #ddd;
+  background-color: #ffffff;
+  border: 1px solid #dddddd;
   border-radius: 4px;
   -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
@@ -4741,7 +4742,7 @@ a.thumbnail:focus {
 
 .thumbnail .caption {
   padding: 9px;
-  color: #555555;
+  color: #333333;
 }
 
 .media,
index 4ea27f517bd11d234b5967e61ee1a0b8c6813deb..f31d78617f0845e4e6e7551c603ba89acb5f3ca9 100644 (file)
@@ -12,8 +12,9 @@
 .img-thumbnail {
   padding: 4px;
   line-height: @line-height-base;
-  border: 1px solid #ddd;
-  border-radius: @border-radius-base;
+  background-color: @thumbnail-bg;
+  border: 1px solid @thumbnail-border;
+  border-radius: @thumbnail-border-radius;
   .transition(all .2s ease-in-out);
 }
 .thumbnail {
@@ -38,5 +39,5 @@ a.thumbnail:focus {
 }
 .thumbnail .caption {
   padding: 9px;
-  color: @gray;
+  color: @thumbnail-caption-color;
 }
index 41aad04d53b696947e59c9855a8f1bff30ba1ced..59e91a0d20d581d2e878c8c932e509729f1d4608 100644 (file)
 @panel-info-heading-bg:       @state-info-bg;
 
 
+// Thumbnails
+// -------------------------
+@thumbnail-caption-color:     @text-color;
+@thumbnail-bg:                @body-bg;
+@thumbnail-border:            #ddd;
+@thumbnail-border-radius:     @border-radius-base;
+
+
 // Wells
 // -------------------------
 @well-bg:                     #f5f5f5;