From 24979f5219bbda94609761418be0db03a3132a2b Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Wed, 14 Jan 2015 17:27:00 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/css/default.css | 3 +-- bitbake/lib/toaster/toastergui/templates/layerdetails.html | 2 +- bitbake/lib/toaster/toastergui/templates/package_detail_base.html | 2 +- bitbake/lib/toaster/toastergui/templates/recipe.html | 6 +++--- 4 files changed, 6 insertions(+), 7 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index a3fa0ddf6a..5eeeea4832 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -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; } diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 22e99e0ecc..9286df656c 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -431,7 +431,7 @@

About {{layerversion.layer.name}}

-
+
Summary diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index dfeba55058..ad75454310 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html @@ -54,7 +54,7 @@

Package information

-
+
Size diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index b20c65e3c8..d91768df3b 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html @@ -250,14 +250,14 @@

About {{object.name}}

-
+
{% if object.summary %}
Summary
-

{{object.summary}}

+
{{object.summary}}
{% endif %} {% if object.description %}
Description
-

{{object.description}}

+
{{object.description}}
{% endif %} {% if object.homepage %}
Homepage
-- cgit v1.2.3-54-g00ecf