2012-06-29 04:46:45 +00:00
|
|
|
//
|
|
|
|
|
// Responsive: Utility classes
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
2014-12-29 21:58:21 +00:00
|
|
|
@each $bp in map-keys($grid-breakpoints) {
|
|
|
|
|
.hidden-#{$bp}-up {
|
|
|
|
|
@include media-breakpoint-up($bp) {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.hidden-#{$bp}-down {
|
|
|
|
|
@include media-breakpoint-down($bp) {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2012-03-25 08:12:51 +00:00
|
|
|
|
2013-09-11 21:46:31 +00:00
|
|
|
// IE10 in Windows (Phone) 8
|
2013-04-21 21:50:44 +00:00
|
|
|
//
|
2013-09-11 21:46:31 +00:00
|
|
|
// Support for responsive views via media queries is kind of borked in IE10, for
|
2013-09-11 23:15:12 +00:00
|
|
|
// Surface/desktop in split view and for Windows Phone 8. This particular fix
|
2013-09-11 21:46:31 +00:00
|
|
|
// must be accompanied by a snippet of JavaScript to sniff the user agent and
|
2013-09-11 23:24:03 +00:00
|
|
|
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
|
2013-09-11 21:46:31 +00:00
|
|
|
// our Getting Started page for more information on this bug.
|
|
|
|
|
//
|
|
|
|
|
// For more information, see the following:
|
|
|
|
|
//
|
|
|
|
|
// Issue: https://github.com/twbs/bootstrap/issues/10497
|
2014-05-14 23:41:40 +00:00
|
|
|
// Docs: http://getbootstrap.com/getting-started/#support-ie10-width
|
2014-05-15 00:08:53 +00:00
|
|
|
// Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
|
2012-12-10 18:29:16 +00:00
|
|
|
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
|
2013-09-11 21:46:31 +00:00
|
|
|
|
|
|
|
|
@-ms-viewport {
|
2012-12-10 18:29:16 +00:00
|
|
|
width: device-width;
|
|
|
|
|
}
|
2012-03-25 08:12:51 +00:00
|
|
|
|
2013-09-11 21:46:31 +00:00
|
|
|
|
2013-02-06 06:17:28 +00:00
|
|
|
// Print utilities
|
2013-12-09 03:19:06 +00:00
|
|
|
//
|
|
|
|
|
// Media queries are placed on the inside to be mixin-friendly.
|
|
|
|
|
|
2014-02-13 19:48:23 +00:00
|
|
|
.visible-print-block {
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
display: block !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.visible-print-inline {
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
display: inline !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.visible-print-inline-block {
|
|
|
|
|
display: none !important;
|
|
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
display: inline-block !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-10-31 09:32:23 +00:00
|
|
|
|
|
|
|
|
.hidden-print {
|
|
|
|
|
@media print {
|
2014-12-11 20:05:29 +00:00
|
|
|
@include responsive-invisibility(".hidden-print");
|
2013-07-01 19:13:57 +00:00
|
|
|
}
|
2013-04-23 07:30:22 +00:00
|
|
|
}
|