Blame content/assets/css/bootstrap/_responsive-utilities.scss

e8ec7a
//
e8ec7a
// Responsive: Utility classes
e8ec7a
// --------------------------------------------------
e8ec7a
e8ec7a
e8ec7a
// IE10 Metro responsive
e8ec7a
// Required for Windows 8 Metro split-screen snapping with IE10
e8ec7a
//
e8ec7a
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
e8ec7a
@-ms-viewport{
e8ec7a
  width: device-width;
e8ec7a
}
e8ec7a
e8ec7a
// IE10 on Windows Phone 8
e8ec7a
// IE10 on WP8 doesn't report CSS pixels, but actual device pixels. In
e8ec7a
// other words, say on a Lumia, you'll get 768px as the device width,
e8ec7a
// meaning users will see the tablet styles and not phone styles.
e8ec7a
//
e8ec7a
// Alternatively you can override this with JS (see source below), but
e8ec7a
// we won't be doing that here given our limited scope.
e8ec7a
//
e8ec7a
// Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
e8ec7a
@media screen and (max-width: 400px) {
e8ec7a
  @-ms-viewport{
e8ec7a
    width: 320px;
e8ec7a
  }
e8ec7a
}
e8ec7a
e8ec7a
// Hide from screenreaders and browsers
e8ec7a
// Credit: HTML5 Boilerplate
e8ec7a
.hidden {
e8ec7a
  display: none !important;
e8ec7a
  visibility: hidden !important;
e8ec7a
}
e8ec7a
e8ec7a
// Visibility utilities
e8ec7a
e8ec7a
@include responsive-invisibility('.visible-xs');
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-visibility('.visible-xs');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-visibility('.visible-xs.visible-sm');
e8ec7a
}
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-visibility('.visible-xs.visible-md');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-visibility('.visible-xs.visible-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-invisibility('.visible-sm');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-visibility('.visible-sm.visible-xs');
e8ec7a
}    
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-visibility('.visible-sm');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-visibility('.visible-sm.visible-md');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-visibility('.visible-sm.visible-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-invisibility('.visible-md');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-visibility('.visible-md.visible-xs');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-visibility('.visible-md.visible-sm');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-visibility('.visible-md');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-visibility('.visible-md.visible-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-invisibility('.visible-lg');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-visibility('.visible-lg.visible-xs');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-visibility('.visible-lg.visible-sm');
e8ec7a
}
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-visibility('.visible-lg.visible-md');
e8ec7a
}    
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-visibility('.visible-lg');
e8ec7a
}
e8ec7a
e8ec7a
@include responsive-visibility('.hidden-xs');
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-invisibility('.hidden-xs');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-invisibility('.hidden-xs.hidden-sm');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-invisibility('.hidden-xs.hidden-md');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-invisibility('.hidden-xs.hidden-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-visibility('.hidden-sm');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-invisibility('.hidden-sm.hidden-xs');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-invisibility('.hidden-sm');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-invisibility('.hidden-sm.hidden-md');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-invisibility('.hidden-sm.hidden-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-visibility('.hidden-md');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-invisibility('.hidden-md.hidden-xs');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-invisibility('.hidden-md.hidden-sm');
e8ec7a
}    
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-invisibility('.hidden-md');
e8ec7a
}
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-invisibility('.hidden-md.hidden-lg');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@include responsive-visibility('.hidden-lg');
e8ec7a
e8ec7a
@media (max-width: $screen-xs-max) {
e8ec7a
  @include responsive-invisibility('.hidden-lg.hidden-xs');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-sm) and (max-width: $screen-sm-max) {
e8ec7a
  @include responsive-invisibility('.hidden-lg.hidden-sm');
e8ec7a
}    
e8ec7a
e8ec7a
e8ec7a
@media (min-width: $screen-md) and (max-width: $screen-md-max) {
e8ec7a
  @include responsive-invisibility('.hidden-lg.hidden-md');
e8ec7a
}    
e8ec7a
e8ec7a
@media (min-width: $screen-lg) {
e8ec7a
  @include responsive-invisibility('.hidden-lg');
e8ec7a
}
e8ec7a
e8ec7a
// Print utilities
e8ec7a
e8ec7a
@include responsive-invisibility('.visible-print');
e8ec7a
e8ec7a
@media print {
e8ec7a
e8ec7a
  @include responsive-visibility('.visible-print');
e8ec7a
e8ec7a
e8ec7a
  @include responsive-invisibility('.hidden-print');
e8ec7a
e8ec7a
}