bitbake: toaster: apply common styles to right hand column of detail pages

Layer, recipe and package details pages have a right column
with additional information. This commit standardises the
formatting of the content in that right column across
all these pages by creating a new css class .item-info
in default.css

(Bitbake rev: aed92feac017c967834575344faa3bad7a905b18)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena
2015-01-14 17:27:00 +00:00
committed by Richard Purdie
parent a11a34c60f
commit 24979f5219
4 changed files with 6 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ dd code, .alert code { white-space: pre-wrap; word-break: break-all; word-wrap:
dd ul { list-style-type: none; margin: 0px; }
dt, dd {line-height: 25px; }
dd li { line-height: 25px; }
dd p { line-height: 20px; }
.item-info dd { line-height: 20px; margin-bottom: 10px; }
/* Style the filter modal dialogs */
.modal { width: 800px; margin-left: -400px; }
@@ -200,7 +200,6 @@ dl textarea { resize: vertical; }
.lead .help-block { font-size: 14px; line-height: 20px; font-weight: normal; }
.button-place .btn { margin: 0 0 20px 0; }
.tooltip-inner { max-width: 250px; }
dd > span { line-height: 20px; }
.new-build { padding: 20px; }
.new-build li { line-height: 30px; }
.new-build h6 { margin: 10px 0 0 0; color: #5a5a5a; }

View File

@@ -431,7 +431,7 @@
</div>
<div class="row-fluid span4 well">
<h2>About {{layerversion.layer.name}}</h2>
<dl>
<dl class="item-info">
<dt>
Summary

View File

@@ -54,7 +54,7 @@
<h2>Package information</h2>
<!-- info presented as definition list -->
<dl>
<dl class="item-info">
<dt>
Size
<i class="icon-question-sign get-help" title="The size of the package"></i>

View File

@@ -250,14 +250,14 @@
<div class="row span4 well">
<h2>About {{object.name}}</h2>
<dl>
<dl class="item-info">
{% if object.summary %}
<dt>Summary</dt>
<dd><p>{{object.summary}}</p></dd>
<dd>{{object.summary}}</dd>
{% endif %}
{% if object.description %}
<dt>Description</dt>
<dd><p>{{object.description}}</dd>
<dd>{{object.description}}</dd>
{% endif %}
{% if object.homepage %}
<dt>Homepage</dt>