tobbbe
10/23/2013 - 9:04 AM

normalize, clearfix

normalize, clearfix

/* Remove clearfix in normalize.less and this comment, add @mobileBP to application.less */

.clearfix() {
  zoom: 1;
  &:before { content: ''; display: block; }
  &:after { content: ''; display: table; clear: both; }
}
.cf { .clearfix(); }

ul {
    margin: 0; padding: 0;
    li { list-style: none; }
}

a { text-decoration: none; }
img { width: 100%; vertical-align: top; }

.left() {float: left;}
.right() {float: right;}

.visible-mobile { display: none !important; }
.hidden-desktop { display: none !important; }
.visible-desktop { display: inherit !important; }

@bhide: @mobileBP - 1;
@media screen and (max-width: @bhide) {
  .hidden-desktop { display: inherit !important; }
  .visible-desktop { display: none !important; }
  .visible-mobile { display: inherit !important; }
  .hidden-mobile { display: none !important; }
}