From 88a36ec231ba717b05b3c817d484bb682871eadc Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Mon, 18 Mar 2013 22:22:36 +0100 Subject: [PATCH] =?UTF-8?q?Petites=20modifs=20design=20:=20agrandissement?= =?UTF-8?q?=20des=20zones=20de=20clic=20autour=20des=20icones=20marquer=20?= =?UTF-8?q?comme=20lu,=20favoris,=20notes=20et=20voir=20sur=20le=20site=20?= =?UTF-8?q?d'origine=20+=20seul=20le=20clic=20sur=20le=20titre=20ou=20la?= =?UTF-8?q?=20date=20d=C3=A9roule=20l'article?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/javascript/main.phtml | 4 ++-- public/theme/base.css | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml index b77e25c83..4f049e11d 100644 --- a/app/views/javascript/main.phtml +++ b/app/views/javascript/main.phtml @@ -130,9 +130,9 @@ function init_posts () { $(".flux:not(.active) .content").hide (); } - $(".flux .flux_header").click (function () { + $(".flux_header .item.title, .flux_header .item.date").click (function () { old_active = $(".flux.active"); - new_active = $(this).parent (); + new_active = $(this).parent ().parent (); toggleContent (new_active, old_active); }); diff --git a/public/theme/base.css b/public/theme/base.css index c59ce1187..a8a06932d 100644 --- a/public/theme/base.css +++ b/public/theme/base.css @@ -645,7 +645,7 @@ input, select, textarea { vertical-align: middle; } .flux_header .item.manage { - width: 75px; + width: 90px; white-space: nowrap; font-size: 0px; vertical-align: middle; @@ -653,8 +653,8 @@ input, select, textarea { } .flux_header .item.manage .read { display: inline-block; - width: 25px; - height: 25px; + width: 30px; + height: 35px; background: url("icons/read.svg") center center no-repeat; vertical-align: middle; } @@ -666,8 +666,8 @@ input, select, textarea { } .flux_header .item.manage .bookmark { display: inline-block; - width: 25px; - height: 25px; + width: 30px; + height: 35px; background: url("icons/non-starred.svg") center center no-repeat; vertical-align: middle; } @@ -679,12 +679,14 @@ input, select, textarea { } .flux_header .item.manage .note { display: inline-block; - width: 25px; - height: 25px; + width: 30px; + height: 35px; vertical-align: middle; + line-height: 35px; } .flux_header .item.website { width: 200px; + padding: 0 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @@ -717,8 +719,8 @@ input, select, textarea { } .flux_header .item.link a { display: inline-block; - width: 25px; - height: 25px; + width: 35px; + height: 35px; background: url("icons/link.svg") center center no-repeat; vertical-align: middle; } @@ -844,5 +846,3 @@ input, select, textarea { width: 100px; } } -@media(max-width: 450px) { -}