]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move mixins that generate css to utilities.less with different class names, but the...
authorMark Otto <markotto@twitter.com>
Wed, 26 Sep 2012 15:59:57 +0000 (08:59 -0700)
committerMark Otto <markotto@twitter.com>
Wed, 26 Sep 2012 15:59:57 +0000 (08:59 -0700)
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
less/mixins.less
less/utilities.less

index 671cdd3c7c589f2ea4bc10f34ea98851b9244a88..d749708d2dc76275f90ce8746674efbf477adcd7 100644 (file)
@@ -8,34 +8,6 @@
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
  */
 
-.clearfix:before,
-.clearfix:after {
-  display: table;
-  line-height: 0;
-  content: "";
-}
-
-.clearfix:after {
-  clear: both;
-}
-
-.hide-text {
-  font: 0/0 a;
-  color: transparent;
-  text-shadow: none;
-  background-color: transparent;
-  border: 0;
-}
-
-.input-block-level {
-  display: block;
-  width: 100%;
-  min-height: 30px;
-  -webkit-box-sizing: border-box;
-     -moz-box-sizing: border-box;
-          box-sizing: border-box;
-}
-
 .hidden {
   display: none;
   visibility: hidden;
index 357b7a410b70c89a2f46253e337e56a11bbe5d38..f39fe4771948087d2755c3c604aa1fdc5aa2c03c 100644 (file)
@@ -125,34 +125,6 @@ textarea {
   vertical-align: top;
 }
 
-.clearfix:before,
-.clearfix:after {
-  display: table;
-  line-height: 0;
-  content: "";
-}
-
-.clearfix:after {
-  clear: both;
-}
-
-.hide-text {
-  font: 0/0 a;
-  color: transparent;
-  text-shadow: none;
-  background-color: transparent;
-  border: 0;
-}
-
-.input-block-level {
-  display: block;
-  width: 100%;
-  min-height: 30px;
-  -webkit-box-sizing: border-box;
-     -moz-box-sizing: border-box;
-          box-sizing: border-box;
-}
-
 body {
   margin: 0;
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -5703,6 +5675,17 @@ a.badge:hover {
   color: inherit;
 }
 
+.clear:before,
+.clear:after {
+  display: table;
+  line-height: 0;
+  content: "";
+}
+
+.clear:after {
+  clear: both;
+}
+
 .pull-right {
   float: right;
 }
@@ -5723,6 +5706,23 @@ a.badge:hover {
   visibility: hidden;
 }
 
+.text-hide {
+  font: 0/0 a;
+  color: transparent;
+  text-shadow: none;
+  background-color: transparent;
+  border: 0;
+}
+
 .affix {
   position: fixed;
 }
+
+.control-block-level {
+  display: block;
+  width: 100%;
+  min-height: 30px;
+  -webkit-box-sizing: border-box;
+     -moz-box-sizing: border-box;
+          box-sizing: border-box;
+}
index e5493359ccabf387cd4b8637d469ef83c037a2be..f3b3148a906cde20272c191a6c02ab691331b830 100644 (file)
@@ -9,7 +9,7 @@
 // Clearfix
 // --------
 // For clearing floats like a boss h5bp.com/q
-.clearfix {
+.clearfix() {
   &:before,
   &:after {
     display: table;
@@ -77,7 +77,7 @@
 // CSS image replacement
 // -------------------------
 // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
-.hide-text {
+.hide-text() {
   font: 0/0 a;
   color: transparent;
   text-shadow: none;
 // --------------------------------------------------
 
 // Block level inputs
-.input-block-level {
+.input-block-level() {
   display: block;
   width: 100%;
   min-height: @inputHeight; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
index 314b4ffdb45acbb991eedc0782a800535e73b051..32247325514bb5e7c096fb458f8cd9380afdab10 100644 (file)
@@ -3,7 +3,12 @@
 // --------------------------------------------------
 
 
-// Quick floats
+// Floats
+// -------------------------
+
+.clear {
+  .clearfix();
+}
 .pull-right {
   float: right;
 }
   float: left;
 }
 
+
 // Toggling content
+// -------------------------
+
 .hide {
   display: none;
 }
 .show {
   display: block;
 }
-
-// Visibility
 .invisible {
   visibility: hidden;
 }
+.text-hide {
+  .hide-text();
+}
+
 
 // For Affix plugin
+// -------------------------
+
 .affix {
   position: fixed;
 }
+
+
+// Forms
+// -------------------------
+
+.control-block-level {
+  .input-block-level();
+}