Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'less/responsive-767px-max.less')
-rw-r--r--less/responsive-767px-max.less21
1 files changed, 20 insertions, 1 deletions
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index 79c7eaa82b..1d5c1239c9 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -58,6 +58,7 @@
}
// Make all grid-sized elements block level again
[class*="span"],
+ .uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
.row-fluid [class*="span"] {
float: none;
display: block;
@@ -70,6 +71,9 @@
width: 100%;
.box-sizing(border-box);
}
+ .row-fluid [class*="offset"]:first-child {
+ margin-left: 0;
+ }
// FORM FIELDS
// -----------
@@ -103,7 +107,8 @@
right: 20px;
width: auto;
margin: 0;
- &.fade.in { top: auto; }
+ &.fade { top: -100px; }
+ &.fade.in { top: 20px; }
}
}
@@ -155,6 +160,20 @@
}
}
+ // Medias
+ // Reset float and spacing to stack
+ .media .pull-left,
+ .media .pull-right {
+ float: none;
+ display: block;
+ margin-bottom: 10px;
+ }
+ // Remove side margins since we stack instead of indent
+ .media-object {
+ margin-right: 0;
+ margin-left: 0;
+ }
+
// Modals
.modal {
top: 10px;