diff --git a/config/alfresco/templates/client/summary_panel.ftl b/config/alfresco/templates/client/summary_panel.ftl index c2d07f87e4..d613819b9d 100644 --- a/config/alfresco/templates/client/summary_panel.ftl +++ b/config/alfresco/templates/client/summary_panel.ftl @@ -1,89 +1,91 @@ - - - - - - - - - - - - <#if node.isDocument && !isImage && !isVideo> - <#assign c=cropContent(node.properties.content, 512)> - <#if c?length != 0> - - - - - - - - -
- - - - <#if node.isDocument> - <#assign navurl="/navigate/showDocDetails/"> - <#else> - <#assign navurl="/navigate/showSpaceDetails/"> - - <#assign navurl=navurl + node.nodeRef.storeRef.protocol + '/' + node.nodeRef.storeRef.identifier + '/' + node.nodeRef.id> - - - -
${node.name}
Details
Close
-
- <#assign isImage=node.isDocument && (node.mimetype = "image/gif" || node.mimetype = "image/jpeg" || node.mimetype = "image/png")> - <#assign isVideo=node.isDocument && node.mimetype?starts_with("video/")> - <#if isImage> - - <#elseif isVideo> - - - - - <#----> - - - <#else> - - - - - - - - -
- -
- -
- - <#if node.properties.title?exists> - - - <#if node.properties.description?exists> - - - - - - - <#if node.properties.owner?exists> - - - <#if node.properties.author?exists> - - - <#if node.isDocument> - - -
 Title:${node.properties.title?html}
 Description:${node.properties.description?html}
 Created:${node.properties.created?datetime}
 Creator:${node.properties.creator}
 Modified:${node.properties.modified?datetime}
 Modifier:${node.properties.modifier}
 Owner:${node.properties.owner}
 Author:${node.properties.author}
 Size:${(node.size / 1000)?string("0.##")} KB
-
Preview:
- ${c?html?replace('$', '
', 'rm')}<#if (c?length >= 512)>... -
+
+ + + + + + + + + + + + <#if node.isDocument && !isImage && !isVideo> + <#assign c=cropContent(node.properties.content, 512)> + <#if c?length != 0> + + + + + + + + +
+ + + + <#if node.isDocument> + <#assign navurl="/navigate/showDocDetails/"> + <#else> + <#assign navurl="/navigate/showSpaceDetails/"> + + <#assign navurl=navurl + node.nodeRef.storeRef.protocol + '/' + node.nodeRef.storeRef.identifier + '/' + node.nodeRef.id> + + + +
${node.name}
Details
Close
+
+ <#assign isImage=node.isDocument && (node.mimetype = "image/gif" || node.mimetype = "image/jpeg" || node.mimetype = "image/png")> + <#assign isVideo=node.isDocument && node.mimetype?starts_with("video/")> + <#if isImage> + + <#elseif isVideo> + + + + + <#----> + + + <#else> + + + + + + + + +
+ +
+ +
+ + <#if node.properties.title?exists> + + + <#if node.properties.description?exists> + + + + + + + <#if node.properties.owner?exists> + + + <#if node.properties.author?exists> + + + <#if node.isDocument> + + +
 Title:${node.properties.title?html}
 Description:${node.properties.description?html}
 Created:${node.properties.created?datetime}
 Creator:${node.properties.creator}
 Modified:${node.properties.modified?datetime}
 Modifier:${node.properties.modifier}
 Owner:${node.properties.owner}
 Author:${node.properties.author}
 Size:${(node.size / 1000)?string("0.##")} KB
+
Preview:
+ ${c?html?replace('$', '
', 'rm')}<#if (c?length >= 512)>... +
+
\ No newline at end of file diff --git a/source/web/css/main.css b/source/web/css/main.css index 2452686f79..c760c6971e 100644 --- a/source/web/css/main.css +++ b/source/web/css/main.css @@ -486,9 +486,10 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl background-image: url(../images/parts/popup_bg.gif); background-repeat: repeat-x; background-color: #ffffff; - border: 1px solid #cacfd3; + border: 1px solid #a9b2b9; padding: 4px; max-width: 700px; + margin: 0px 0px 0px 0px; } .popupImage @@ -666,3 +667,13 @@ a.sidebarButtonLink, a.sidebarButtonLink:link, a.sidebarButtonLink:visited font-weight: bold; padding-bottom: 2px; } + +.summaryDropShadow +{ + background: url(../images/parts/drop_shadow_alpha.png) no-repeat bottom right !important; + background-color: transparent; + padding: 0px 11px 11px 0px; + + _background: url(../images/parts/spacer.gif) no-repeat bottom right !important; + _padding: 0px 10px 10px 0px; +} diff --git a/source/web/images/parts/drop_shadow_alpha.png b/source/web/images/parts/drop_shadow_alpha.png new file mode 100644 index 0000000000..1519ea2d19 Binary files /dev/null and b/source/web/images/parts/drop_shadow_alpha.png differ diff --git a/source/web/scripts/ajax/node-info.js b/source/web/scripts/ajax/node-info.js index 30670cc8cf..0198d21ecf 100644 --- a/source/web/scripts/ajax/node-info.js +++ b/source/web/scripts/ajax/node-info.js @@ -141,9 +141,9 @@ Alfresco.NodeInfoPanel.prototype = // setup the div with the correct appearance div.innerHTML = response.responseText; - div.setAttribute("class", "summaryPopupPanel"); + div.setAttribute("class", "summaryDropShadow"); // NOTE: use className for IE - div.setAttribute("className", "summaryPopupPanel"); + div.setAttribute("className", "summaryDropShadow"); div.style.position = "absolute"; div.style.display = "none"; div.style.left = 0;