]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added a black/dark button 1882/head
authorSimon <simonfranz85@googlemail.com>
Thu, 9 Feb 2012 22:08:14 +0000 (23:08 +0100)
committerSimon <simonfranz85@googlemail.com>
Thu, 9 Feb 2012 22:08:14 +0000 (23:08 +0100)
docs/templates/pages/base-css.mustache
less/buttons.less

index 8fe3443a60ba75552cd97e81bb3f9aee3a6b7657..d2bea9209d7dcc4a6c0c65ed42221c329e5d28fe 100644 (file)
         <td><a class="btn btn-danger" href="#">{{_i}}Danger{{/i}}</a></td>
         <td><code>.btn-danger</code></td>
         <td>{{_i}}Indicates a dangerous or potentially negative action{{/i}}</td>
+      </tr>
+         <tr>
+        <td><a class="btn btn-dark" href="#">{{_i}}Dark{{/i}}</a></td>
+        <td><code>.btn-dark</code></td>
+        <td>{{_i}}Indicates a potential abort or black magic{{/i}}</td>
       </tr>
     </tbody>
   </table>
index 880d1f64a4360e8621c83d19fd8eee7733d26923..4c508d7fe02a79c113017a66600086d3bd65e6d4 100644 (file)
 .btn-success,
 .btn-success:hover,
 .btn-info,
-.btn-info:hover {
+.btn-info:hover,
+.btn-dark,
+.btn-dark:hover {
   text-shadow: 0 -1px 0 rgba(0,0,0,.25);
   color: @white;
 }
 .btn-warning.active,
 .btn-danger.active,
 .btn-success.active,
-.btn-info.active {
+.btn-info.active,
+.btn-dark.active {
   color: rgba(255,255,255,.75);
 }
 
 .btn-info {
   .buttonBackground(#5bc0de, #2f96b4);
 }
+// Dark appears as black
+.btn-dark {
+  .buttonBackground(#454545, #262626);
+}
 
 
 // Cross-browser Jank