Commit 22475cfe authored by beckyvb's avatar beckyvb

Add attachment styling.

parent b27c37c8
......@@ -3,7 +3,7 @@
$ThemeInfo['bootstrap'] = array(
'Name' => 'Bootstrap',
'Description' => "Bootstrap for Vanilla has been rewritten from scratch on top of <a href='http://getbootstrap.com'>Bootstrap 3</a> in this second installation of the most popular theme for Vanilla Forums. Kickstart your community with a fresh and solid theme that is ready to be customized to your heart's desires.",
'Version' => '2.5.1',
'Version' => '2.5.3',
'Url' => 'https://github.com/kasperisager/vanilla-bootstrap',
'Author' => 'Kasper Kronborg Isager',
'AuthorEmail' => 'kasperisager@gmail.com',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
// ## Item attachments
//
// Markup:
// <div class="item-attachment">
// <div class="alert alert-info">
// <a href="#" class="close" aria-hidden="true">&times;</a>
// <div class="media">
// <div class="pull-left">
// <div class="media-object">
// <i class="icon icon-flag"></i>
// </div>
// </div>
// <div class="media-body">
// <h4 class="media-heading">Attachment title</a> ·
// <small>Some meta information: March 2</small>
// </h4>
// <p>Here's some notes on the attachment.</p>
// </div>
// </div>
// </div>
// </div>
//
// No styleguide reference.
.item-attachment {
margin-top: @line-height-computed;
.alert {
margin-bottom: 0;
+ .alert {
margin-top: @line-height-computed;
}
}
.media-object {
.icon {
display: block;
min-width: 32px;
font-size: 32px;
text-align: center;
line-height: 1;
}
}
.alert-success {
a,
a:hover {
color: darken(@alert-success-text, 10%);
}
hr {
border-top-color: darken(@alert-success-border, 5%);
}
}
.alert-info {
a,
a:hover {
color: darken(@alert-info-text, 10%);
}
hr {
border-top-color: darken(@alert-info-border, 5%);
}
}
.alert-warning {
a,
a:hover {
color: darken(@alert-warning-text, 10%);
}
hr {
border-top-color: darken(@alert-warning-border, 5%);
}
}
.alert-danger {
a,
a:hover {
color: darken(@alert-danger-text, 10%);
}
hr {
border-top-color: darken(@alert-danger-border, 5%);
}
}
}
......@@ -29,6 +29,7 @@
// Components
// -----------------------------------------------------------------------------
@import "components/attachments";
@import "components/dropdowns";
@import "components/button-groups";
@import "components/navs";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment