From a590a5133894d3733bf08184e0c758989b4302b4 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 19 Aug 2009 14:57:54 +0000
Subject: [PATCH] make editable mode better.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28465 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../mf54_content.css.xml                      | 27 +++++++++++++------
 bt5/erp5_web_multiflex5_theme/bt/revision     |  2 +-
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml
index 2d4ea30075..443b9bf222 100644
--- a/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml
+++ b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml
@@ -357,13 +357,21 @@
   clear: both;\n
 }\n
 \n
+fieldset.editable {\n
+  font-size:120%;\n
+}\n
+\n
 fieldset.editable legend {\n
   padding: 10px 10px 0;\n
   font-weight: bold;\n
 }\n
 \n
 fieldset.editable label {\n
-  padding: 5px 10px 0;\n
+  padding: 0 10px;\n
+  float: left;\n
+  width: 140px;\n
+  font-weight: bold;\n
+  color: #666;\n
 }\n
 \n
 fieldset.editable div.input {\n
@@ -374,11 +382,10 @@ fieldset.editable.bottom div.input {\n
   padding: 0;\n
 }\n
 \n
-div.editable > a > img,\n
-fieldset.editable div.input > a > img,\n
-fieldset.editable div.field > label > a > img {\n
+div.editable a > img {\n
   float:none;\n
   margin:0;\n
+  border:none;\n
 }\n
 \n
 #transition_message {\n
@@ -455,7 +462,7 @@ div.document div.actions ul a,\n
 div.document div.actions ul li.selected a {\n
   display: block;\n
   float: left;\n
-  padding: 4px 1em;\n
+  padding: 0.2em 0.4em;\n
   margin: 1px 2px 0 0;\n
   text-align: center;\n
   text-decoration: none;\n
@@ -466,17 +473,21 @@ div.document div.actions ul a {\n
   border: 1px solid #999;\n
 }\n
 \n
-div.document div.actions ul li.selected a,\n
-div.document div.actions ul li.selected a:hover {\n
+div.document div.actions ul li.selected a {\n
   background: #ccc;\n
 }\n
 \n
 div.document div.actions ul a:hover {\n
-  border-color: #000;\n
+  background: #ddd;\n
 }\n
 \n
 div.input select, div.input textarea {\n
   border: 1px solid #999;\n
+  max-width:450px;\n
+}\n
+\n
+fieldset > div.field {\n
+  margin:5px 0;\n
 }\n
 \n
 #fieldset_bottom > div.field > div.input > textarea {\n
diff --git a/bt5/erp5_web_multiflex5_theme/bt/revision b/bt5/erp5_web_multiflex5_theme/bt/revision
index 1bda760653..8d9f781b52 100644
--- a/bt5/erp5_web_multiflex5_theme/bt/revision
+++ b/bt5/erp5_web_multiflex5_theme/bt/revision
@@ -1 +1 @@
-117
\ No newline at end of file
+118
\ No newline at end of file
-- 
2.30.9