1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-27 23:30:04 +02:00

move mixins that generate css to utilities.less with different class names, but the same mixins

This commit is contained in:
Mark Otto
2012-09-26 08:59:57 -07:00
parent b6ba717b75
commit 6b578ec8de
4 changed files with 54 additions and 62 deletions

View 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;

View 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;
}