2012-04-20 17:54:51 +02:00
|
|
|
// COMMON STYLES
|
|
|
|
// -------------
|
|
|
|
|
2012-04-24 17:23:14 +02:00
|
|
|
.media,
|
|
|
|
.media-body {
|
|
|
|
overflow: hidden;
|
|
|
|
*overflow: visible;
|
|
|
|
zoom: 1;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.media {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-bottom: 10px;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.media .media {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-top: 20px;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.media .pull-left {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-right: 10px;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.media .pull-right {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-left: 10px;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.media .media-object {
|
2012-04-24 17:23:14 +02:00
|
|
|
display: block;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Media list
|
|
|
|
.medias {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-top: 20px;
|
|
|
|
margin-left: 0;
|
|
|
|
list-style-type: none;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.medias .media {
|
2012-04-24 17:23:14 +02:00
|
|
|
padding-bottom: 10px;
|
|
|
|
border-bottom: 1px solid rgba(0,0,0,.07);
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
2012-04-24 17:23:14 +02:00
|
|
|
.medias > .media.last {
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: none;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
.medias > .media .media {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: none;
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Media box
|
|
|
|
.media-box {
|
2012-04-24 17:23:14 +02:00
|
|
|
margin-bottom: 19px;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid rgba(0,0,0,.09);
|
|
|
|
.border-radius(4px);
|
|
|
|
.box-shadow(1px 1px 2px rgba(0,0,0,.1));
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
2012-04-24 17:23:14 +02:00
|
|
|
.media .pull-left,
|
|
|
|
.media .pull-right {
|
|
|
|
float: none;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.media .pull-left {
|
|
|
|
margin-right: 0; // we stack the components so the indent is not needed anymore
|
|
|
|
}
|
|
|
|
.media .pull-right {
|
|
|
|
margin-left: 0; // we stack the components so the indent is not needed anymore
|
|
|
|
}
|
2012-04-20 17:54:51 +02:00
|
|
|
}
|