From dbe73ae5fe2e0dead2196c716b8eb606ca4948dd Mon Sep 17 00:00:00 2001 From: julia <> Date: Sun, 9 Mar 2008 18:50:34 +0000 Subject: [PATCH] change css + fix --- telemeta/htdocs/css/more.gif | Bin 438 -> 382 bytes telemeta/htdocs/css/telemeta.css | 45 ++++++++++------------ telemeta/templates/collection_detail.html | 2 +- telemeta/templates/mediaitem_detail.html | 4 +- 4 files changed, 24 insertions(+), 27 deletions(-) diff --git a/telemeta/htdocs/css/more.gif b/telemeta/htdocs/css/more.gif index 502526b5209d8f9739b8fc89378d187399e7a7cb..f4e7d5e6c46b1d8d8948c09040673da9866e2721 100644 GIT binary patch literal 382 zcmZ?wbhEHb$*o(rUcGwt^XJbWKYqM;@#6XO=bfFM z&z?QIckkZ(`SZVh`!;pz)Z4dj&zUo4@#4h{v;m4gS-=MCfJl&^9N1<%G!%HKa0xXo zGH9^Sn13ia!E346!t?ISPw^%)h;nRyb%H@+PG{m-vkob)h7y~-^Tb>C?Ay?BdSVDe zXn1jOQ?(XlOo~N9fq_3{HtE#o1o~Ws)vYwr$-{0a1rKGInmRCR_&yYl97~)aB7DDZU@(gU`P*2OrA8U_F&&G0t4X4xo779 QDO0FarDEl(os}Q}JN}fq$^ZZW diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index 48da0287..f9390195 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -345,23 +345,6 @@ label.disabled { color: #d7d7d7 } /* Definition list */ -div.infos, div.extraInfos { - margin-bottom: 15px; -} -div.extraInfos { - border-top: 1px solid #949494; - border-left: 1px solid #949494; - border-right: 1px solid #949494; -} -div.extraInfos div { - padding: 0 5px; -} -div.extraInfos .nett { - border-bottom: 1px solid #949494; - position: relative; - height: 0; - margin-bottom: -5px; -} dl { position: relative; margin: 0; @@ -442,31 +425,45 @@ dl.dublincore dd.caption { padding-left: .4em; } -/* extraInfos item/collection */ +/* infos item/collection */ +.infos, .extraInfos { + margin-bottom: 15px; +} +.extraInfos div { + padding: 0 5px; +} +.extraInfos .nett { + position: relative; + height: 0; + margin-bottom: -5px; +} .extraInfos h4 { - background-color: #B8B7C1; clear: both; font-size: 0.9em; line-height: 1.4em; } .extraInfos h4 a { display: block; - color: #FFF; + color: #333; text-decoration: none; margin: 0; - background: transparent url(more.gif) no-repeat left top; + background: #fff url(more.gif) no-repeat left top; padding-bottom: 2px; - padding-left: 20px; + padding-left: 16px; border-bottom: none; outline: none; } .extraInfos h4 a:hover { background-color: transparent; border-bottom: none; - color: #EFEFEF; + color: #555; +} +.extraInfos h4.on { + border-bottom: 1px dotted #aaa; + margin-right: 15px; } .extraInfos h4.on a { - color: #FFF; + color: #333; background-position: 0 -17px; } diff --git a/telemeta/templates/collection_detail.html b/telemeta/templates/collection_detail.html index e43ab70b..92493b7c 100644 --- a/telemeta/templates/collection_detail.html +++ b/telemeta/templates/collection_detail.html @@ -128,11 +128,11 @@
-

Items

{% with object.ordered_items as items %} {% include "inc/mediaitem_list.html" %} {% endwith %} +