2013-02-06 03:16:51 +08:00
|
|
|
// --------------------------------------------------
|
|
|
|
// Generic helper classes
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Floats
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.pull-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Element visibility
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide,
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Affix
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.affix {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Contain floats
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
display: table;
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
2013-07-31 02:45:03 +08:00
|
|
|
|
|
|
|
// Overflow
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.overflow-ellipsis {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2013-11-06 05:56:32 +08:00
|
|
|
|
|
|
|
// Clickable elements
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|