mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-12 16:51:14 -05:00
66 lines
969 B
SCSS
66 lines
969 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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Image replacement
|
||
|
// --------------------------------------------------
|
||
|
|
||
|
.hide-text {
|
||
|
border: 0;
|
||
|
background-color: transparent;
|
||
|
overflow: hidden;
|
||
|
&:before {
|
||
|
display: block;
|
||
|
width: 0;
|
||
|
height: 150%;
|
||
|
content: "";
|
||
|
}
|
||
|
}
|