2 // Responsive: Utility classes
3 // --------------------------------------------------
6 // IE10 Metro responsive
7 // Required for Windows 8 Metro split-screen snapping with IE10
9 // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
14 // IE10 on Windows Phone 8
15 // IE10 on WP8 doesn't report CSS pixels, but actual device pixels. In
16 // other words, say on a Lumia, you'll get 768px as the device width,
17 // meaning users will see the tablet styles and not phone styles.
19 // Alternatively you can override this with JS (see source below), but
20 // we won't be doing that here given our limited scope.
22 // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
23 @media screen and (max-width: 400px) {
29 // Hide from screenreaders and browsers
30 // Credit: HTML5 Boilerplate
32 display: none !important;
33 visibility: hidden !important;
36 // Visibility utilities
40 .responsive-visibility();
43 .responsive-invisibility();
46 .responsive-invisibility();
50 .responsive-invisibility();
53 .responsive-visibility();
56 .responsive-visibility();
60 // Tablets & small desktops only
61 @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
63 .responsive-invisibility();
66 .responsive-visibility();
69 .responsive-invisibility();
73 .responsive-visibility();
76 .responsive-invisibility();
79 .responsive-visibility();
84 @media (min-width: @screen-desktop) {
86 .responsive-invisibility();
89 .responsive-invisibility();
92 .responsive-visibility();
96 .responsive-visibility();
99 .responsive-visibility();
102 .responsive-invisibility();
108 .responsive-invisibility();
114 .responsive-visibility();
117 .responsive-invisibility();