From 1eaaac97b5d75f1d38177c89b932f9e2034c1e43 Mon Sep 17 00:00:00 2001 From: Alex Eng Date: Thu, 13 Jun 2013 14:35:08 +1000 Subject: [PATCH] Change deprecated simpleTooglePanel to collapsiblePanel --- .../main/webapp/iteration/source_files.xhtml | 27 ++++++++++--------- .../main/webapp/resources/css/jsf-skin.css | 25 ++++++++++++++++- 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/zanata-war/src/main/webapp/iteration/source_files.xhtml b/zanata-war/src/main/webapp/iteration/source_files.xhtml index fce0b2aa34..17b024dcac 100644 --- a/zanata-war/src/main/webapp/iteration/source_files.xhtml +++ b/zanata-war/src/main/webapp/iteration/source_files.xhtml @@ -240,19 +240,20 @@ escape="true"/> - + + expanded="false"> + +
- - + value="#{projectIterationFilesAction.documentFileUpload.adapterParams}"/>
#{messages['jsf.iteration.files.CustomParams.linkText']} -
+
@@ -289,20 +290,20 @@ escape="true"/> - - + + expanded="false"> + +
- - + value="#{projectIterationFilesAction.documentFileUpload.adapterParams}"/>
#{messages['jsf.iteration.files.CustomParams.linkText']} -
+
diff --git a/zanata-war/src/main/webapp/resources/css/jsf-skin.css b/zanata-war/src/main/webapp/resources/css/jsf-skin.css index 8c027d8d37..98cbe30797 100644 --- a/zanata-war/src/main/webapp/resources/css/jsf-skin.css +++ b/zanata-war/src/main/webapp/resources/css/jsf-skin.css @@ -213,4 +213,27 @@ div.rf-pp-cnt { border-bottom-right-radius: 5px; } -/* ====================== End Rich Dialogs =========================== */ \ No newline at end of file +/* ====================== End Rich Dialogs =========================== */ + +/* ====================== Collapsible panel =========================== */ + +div.rf-cp-hdr { + background-image: none; + background-color: #461446; + border-top-left-radius: 5px; + order-top-right-radius: 5px; +} + +div.rf-cp-lbl-colps, div.rf-cp-lbl-exp { + color: #FFFFFF; + font-size:11px; + font-weight: bold; +} + +div.rf-cp { + padding:0; + border-radius: 5px; + margin-top:5px; +} + +/* ====================== End Collapsible panel =========================== */ \ No newline at end of file