mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Added Medias code and documentation
Fix for Issue #1711 Added media.less and edited bootstrap.less and responsive.less to manage media components. Added a section to the documentation (Media, in components.html) outlining how Medias work. Edited bootstrap.css and bootstrap-responsive.css to add the code for the demos Signed-off-by: Giuliano Velli <wpbrains@giusi.org>
This commit is contained in:
16
docs/assets/css/bootstrap-responsive.css
vendored
16
docs/assets/css/bootstrap-responsive.css
vendored
@@ -114,6 +114,18 @@
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.media .pull-left,
|
||||
.media .pull-right {
|
||||
float: none;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.media .pull-left {
|
||||
margin-right: 0;
|
||||
}
|
||||
.media .pull-right {
|
||||
margin-left: 0;
|
||||
}
|
||||
.modal {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
@@ -169,9 +181,9 @@
|
||||
width: 100%;
|
||||
min-height: 28px;
|
||||
/* Make inputs at least the height of their button counterpart */
|
||||
|
||||
|
||||
/* Makes inputs behave like true block-level elements */
|
||||
|
||||
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user