comparison static/bootstrap/less/responsive-utilities.less @ 88:a5a3d454eac9

Updated Bootstrap.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 05 Apr 2013 08:08:12 -0700
parents 130eccd396d8
children d29e2f337b00
comparison
equal deleted inserted replaced
87:c0cf67362fb1 88:a5a3d454eac9
1 // 1 //
2 // Responsive: Utility classes 2 // Responsive: Utility classes
3 // -------------------------------------------------- 3 // --------------------------------------------------
4 4
5
6 // IE10 Metro responsive
7 // Required for Windows 8 Metro split-screen snapping with IE10
8 // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
9 @-ms-viewport{
10 width: device-width;
11 }
5 12
6 // Hide from screenreaders and browsers 13 // Hide from screenreaders and browsers
7 // Credit: HTML5 Boilerplate 14 // Credit: HTML5 Boilerplate
8 .hidden { 15 .hidden {
9 display: none; 16 display: none;
39 // Show 46 // Show
40 .visible-phone { display: inherit !important; } // Use inherit to restore previous behavior 47 .visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
41 // Hide 48 // Hide
42 .hidden-phone { display: none !important; } 49 .hidden-phone { display: none !important; }
43 } 50 }
51
52 // Print utilities
53 .visible-print { display: none !important; }
54 .hidden-print { }
55
56 @media print {
57 .visible-print { display: inherit !important; }
58 .hidden-print { display: none !important; }
59 }