Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Logo sizing in minisite IE / share this page links
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 20, 2014
1 parent 1040e7a commit ce470b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/action.share/manifest.xml
Expand Up @@ -488,7 +488,7 @@
});
}
}
var dlLink = document.location.href + "?dl=true&file=" + encodeURIComponent(node.getPath());
var dlLink = document.location.href.split('?').shift() + "?dl=true&file=" + encodeURIComponent(node.getPath());
modal.getForm().down("#additional_links").insert(tpl.evaluate({title:"Direct Download",link:dlLink}));
}
]]></dialogOnOpen>
Expand Down
8 changes: 6 additions & 2 deletions core/src/plugins/gui.ajax/manifest.xml
Expand Up @@ -350,6 +350,7 @@
}
img.custom_logo_image{
height:90px !important;
width: auto;
right: 0;
top: 5px !important;
left: inherit !important;
Expand Down Expand Up @@ -451,6 +452,7 @@
right: 0px !important;
left: inherit !important;
height: 65px !important;
width: auto;
}
</style>
Expand Down Expand Up @@ -566,6 +568,7 @@
right: 0 !important;
left: inherit !important;
height: 66px !important;
width: auto;
}
</style>
<div id="browser" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height"}'>
Expand Down Expand Up @@ -679,6 +682,7 @@
right: 6px !important;
left: inherit !important;
height: 90px !important;
width: auto;
}
</style>
<div id="browser" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height"}'>
Expand Down Expand Up @@ -725,7 +729,7 @@
<div id="logo_widget" class="widget_logo" ajxpClass="LogoWidget" ajxpOptions='{"imageParameter":"action.share/CUSTOM_MINISITE_LOGO"}'></div>
</div>
<link rel="stylesheet" href="plugins/gui.ajax/res/themes/orbit/css/fontfaces.css"/>
<style>img.custom_logo_image{ height: 85px !important; top: inherit !important; bottom: 25px; }</style>
<style>img.custom_logo_image{ width: auto; height: 85px !important; top: inherit !important; bottom: 25px; }</style>
]]></template>
<template name="minisite_dropbox" element="ajxp_dropbox_template" position="top" label="share_center.163"><![CDATA[
<div id="browser" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height"}'>
Expand All @@ -737,7 +741,7 @@
<div id="logo_widget" class="widget_logo" ajxpClass="LogoWidget" ajxpOptions='{"imageParameter":"action.share/CUSTOM_MINISITE_LOGO"}'></div>
</div>
<link rel="stylesheet" href="plugins/gui.ajax/res/themes/orbit/css/fontfaces.css"/>
<style>img.custom_logo_image{ right: 6px !important; left: inherit !important; height: 87px !important; bottom: 3px; top: inherit !important; }</style>
<style>img.custom_logo_image{ width: auto; right: 6px !important; left: inherit !important; height: 87px !important; bottom: 3px; top: inherit !important; }</style>
]]></template>
<component_config className="FilesList">
<property name="thumbSize" value="64"/>
Expand Down

0 comments on commit ce470b4

Please sign in to comment.