2 // Responsive: Landscape phone to desktop/tablet
3 // --------------------------------------------------
6 @media (max-width: 767px) {
8 // Padding to set content in a bit
13 // Negative indent the now static "fixed" navbar
20 // Remove padding on container given explicit padding set on body
27 // Reset horizontal dl
42 // Remove width from containers
50 // Undo negative margin on rows and thumbnails
57 margin-left: 0; // Reset the default margin for all li elements when no .span* classes are present
59 // Make all grid-sized elements block level again
61 .uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
62 .row-fluid [class*="span"] {
67 .box-sizing(border-box);
72 .box-sizing(border-box);
74 .row-fluid [class*="offset"]:first-child {
80 // Make span* classes full width
85 select[class*="span"],
86 textarea[class*="span"],
90 // But don't let it screw up prepend/append inputs
93 .input-prepend input[class*="span"],
94 .input-append input[class*="span"] {
95 display: inline-block; // redeclare so they don't wrap to new lines
98 .controls-row [class*="span"] + [class*="span"] {
110 &.fade { top: -100px; }
111 &.fade.in { top: 20px; }
118 // UP TO LANDSCAPE PHONE
119 // ---------------------
121 @media (max-width: 480px) {
123 // Smooth out the collapsing/expanding nav
125 -webkit-transform: translate3d(0, 0, 0); // activate the GPU
128 // Block level the page header small tag for readability
129 .page-header h1 small {
131 line-height: @baseLineHeight;
134 // Update checkboxes for iOS
135 input[type="checkbox"],
136 input[type="radio"] {
137 border: 1px solid #ccc;
140 // Remove the horizontal form styles
148 // Move over all input controls and content
152 // Move the options list down to align with labels
154 padding-top: 0; // has to be padding because margin collaspes
156 // Move over buttons in .form-actions to align with .controls
164 // Reset float and spacing to stack
171 // Remove side margins since we stack instead of indent
183 .modal-header .close {