1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 18:44:01 +02:00

Modified the file to conform to bootstrap standards and fix an IE7 css selector issue

Signed-off-by: Giuliano Velli <giuliano@giusi.org>
This commit is contained in:
Giuliano Velli
2012-04-24 17:23:14 +02:00
committed by Giuliano Velli

View File

@@ -1,7 +1,8 @@
// COMMON STYLES // COMMON STYLES
// ------------- // -------------
.media, .media-body { .media,
.media-body {
overflow: hidden; overflow: hidden;
*overflow: visible; *overflow: visible;
zoom: 1; zoom: 1;
@@ -32,7 +33,7 @@
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px solid rgba(0,0,0,.07); border-bottom: 1px solid rgba(0,0,0,.07);
} }
.medias > .media:last-child { .medias > .media.last {
margin: 0; margin: 0;
border-bottom: none; border-bottom: none;
} }
@@ -49,7 +50,7 @@
background-color: #fff; background-color: #fff;
border: 1px solid rgba(0,0,0,.09); border: 1px solid rgba(0,0,0,.09);
.border-radius(4px); .border-radius(4px);
.box-shadow(1px 1px 2px rgba(0, 0, 0, 0.1)); .box-shadow(1px 1px 2px rgba(0,0,0,.1));
} }
@media (max-width: 480px) { @media (max-width: 480px) {
@@ -60,9 +61,9 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.media .pull-left { .media .pull-left {
margin-right: 0; margin-right: 0; // we stack the components so the indent is not needed anymore
} }
.media .pull-right { .media .pull-right {
margin-left: 0; margin-left: 0; // we stack the components so the indent is not needed anymore
} }
} }