mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 21:01:27 -05:00
52 lines
726 B
SCSS
52 lines
726 B
SCSS
|
// --------------------------------------------------
|
||
|
// 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;
|
||
|
}
|
||
|
}
|