discourse/app/assets/stylesheets/foundation/helpers.css.scss
Sam 4f328e3e45 +x on files makes no sense unless they really are executable
rails in the script dir makes no sense, use binstubs or bundler instead
2013-05-09 17:35:15 +10:00

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