mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
4
html/sf/sf_default/css/ie.css
Executable file
4
html/sf/sf_default/css/ie.css
Executable file
@ -0,0 +1,4 @@
|
||||
img
|
||||
{
|
||||
behavior: url("/sf/sf_default/css/pngfix.htc");
|
||||
}
|
86
html/sf/sf_default/css/pngfix.htc
Executable file
86
html/sf/sf_default/css/pngfix.htc
Executable file
@ -0,0 +1,86 @@
|
||||
<public:component lightWeight="true">
|
||||
<public:attach event="onpropertychange" onevent="propertyChanged()" />
|
||||
<public:attach event="onbeforeprint" onevent="beforePrint()" for="window"/>
|
||||
<public:attach event="onafterprint" onevent="afterPrint()" for="window"/>
|
||||
<script>
|
||||
|
||||
/*
|
||||
* PNG Behavior
|
||||
*
|
||||
* This script was created by Erik Arvidsson (http://webfx.eae.net/contact.html#erik)
|
||||
* for WebFX (http://webfx.eae.net)
|
||||
* Copyright 2002-2004
|
||||
*
|
||||
* For usage see license at http://webfx.eae.net/license.html
|
||||
*
|
||||
* Version: 1.02
|
||||
* Created: 2001-??-?? First working version
|
||||
* Updated: 2002-03-28 Fixed issue when starting with a non png image and
|
||||
* switching between non png images
|
||||
* 2003-01-06 Fixed RegExp to correctly work with IE 5.0x
|
||||
* 2004-05-09 When printing revert to original
|
||||
*
|
||||
*/
|
||||
|
||||
var supported = /MSIE ((5\.5)|[6789])/.test(navigator.userAgent) &&
|
||||
navigator.platform == "Win32";
|
||||
|
||||
var realSrc;
|
||||
var blankSrc = "/sf/sf_default/images/trans.gif";
|
||||
var isPrinting = false;
|
||||
|
||||
if (supported) fixImage();
|
||||
|
||||
function propertyChanged() {
|
||||
if (!supported || isPrinting) return;
|
||||
|
||||
var pName = event.propertyName;
|
||||
if (pName != "src") return;
|
||||
// if not set to blank
|
||||
if (!new RegExp(blankSrc).test(src))
|
||||
fixImage();
|
||||
};
|
||||
|
||||
function fixImage() {
|
||||
// get src
|
||||
var src = element.src;
|
||||
|
||||
// check for real change
|
||||
if (src == realSrc && /\.png$/i.test(src)) {
|
||||
element.src = blankSrc;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! new RegExp(blankSrc).test(src)) {
|
||||
// backup old src
|
||||
realSrc = src;
|
||||
}
|
||||
|
||||
// test for png
|
||||
if (/\.png$/i.test(realSrc)) {
|
||||
// set blank image
|
||||
element.src = blankSrc;
|
||||
// set filter
|
||||
element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft." +
|
||||
"AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
|
||||
}
|
||||
else {
|
||||
// remove filter
|
||||
element.runtimeStyle.filter = "";
|
||||
}
|
||||
}
|
||||
|
||||
function beforePrint() {
|
||||
isPrinting = true;
|
||||
element.src = realSrc;
|
||||
element.runtimeStyle.filter = "";
|
||||
realSrc = null;
|
||||
}
|
||||
|
||||
function afterPrint() {
|
||||
isPrinting = false;
|
||||
fixImage();
|
||||
}
|
||||
|
||||
</script>
|
||||
</public:component>
|
182
html/sf/sf_default/css/screen.css
Executable file
182
html/sf/sf_default/css/screen.css
Executable file
@ -0,0 +1,182 @@
|
||||
body
|
||||
{
|
||||
font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 80%;
|
||||
background-image: url(../images/bg_body.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #E4D7C5;
|
||||
color: #81571F;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #81571F;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
color: #CC0000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
code
|
||||
{
|
||||
font-size:120%;
|
||||
}
|
||||
|
||||
.sfTContainer
|
||||
{
|
||||
position: relative;
|
||||
text-align: left;
|
||||
width: 515px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
margin-top: 115px;
|
||||
}
|
||||
|
||||
.sfTMessageContainer
|
||||
{
|
||||
padding: 5px;
|
||||
margin-top: 25px;
|
||||
float: left;
|
||||
width: 515px;
|
||||
}
|
||||
|
||||
.sfTMessage
|
||||
{
|
||||
background-image: url(../images/bg_sfTMessage.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #E8DDCF;
|
||||
border: 1px solid #FFFFFF;
|
||||
border-bottom-color: #C2AB8C;
|
||||
border-right-color: #C2AB8C;
|
||||
}
|
||||
|
||||
.sfTAlert
|
||||
{
|
||||
background-image: url(../images/bg_sfTAlert.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #F8E1D1;
|
||||
border: 1px solid #FFFFFF;
|
||||
border-bottom-color: #F0B17C;
|
||||
border-right-color: #F0B17C;
|
||||
}
|
||||
|
||||
.sfTLock
|
||||
{
|
||||
background-image: url(../images/bg_sfTLock.jpg);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #DEE8F2;
|
||||
border: 1px solid #FFFFFF;
|
||||
border-bottom-color: #B1C4EC;
|
||||
border-right-color: #B1C4EC;
|
||||
}
|
||||
|
||||
.sfTMessageContainer .sfTMessageWrap
|
||||
{
|
||||
float: left;
|
||||
width: 440px;
|
||||
}
|
||||
|
||||
.sfTMessageContainer .sfTMessageWrap h1
|
||||
{
|
||||
color: #503512;
|
||||
font-weight: normal;
|
||||
font-size: 165%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 100%;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.sfTMessageContainer .sfTMessageWrap h5
|
||||
{
|
||||
font-weight: normal;
|
||||
font-size: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sfTMessageContainer img.sfTMessageIcon
|
||||
{
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
float: left;
|
||||
margin-right: 12px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.sfTMessageInfo
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-top: 15px;
|
||||
float: left;
|
||||
width: 440px;
|
||||
}
|
||||
|
||||
.sfTMessageInfo dt
|
||||
{
|
||||
font-weight: bolder;
|
||||
font-size: 115%;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.sfTMessageInfo dd
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sfTIconList
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.sfTIconList li
|
||||
{
|
||||
clear: left;
|
||||
line-height: 170%;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTDatabaseMessage
|
||||
{
|
||||
background: url(../images/icons/db16.png) no-repeat top left;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTColorMessage
|
||||
{
|
||||
background: url(../images/icons/colour16.png) no-repeat top left;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTLinkMessage
|
||||
{
|
||||
background: url(../images/icons/linkOut16.png) no-repeat top left;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTDirectoryMessage
|
||||
{
|
||||
background: url(../images/icons/folder16.png) no-repeat top left;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTEditMessage
|
||||
{
|
||||
background: url(../images/icons/edit16.png) no-repeat top left;
|
||||
}
|
||||
|
||||
.sfTIconList li.sfTReloadMessage
|
||||
{
|
||||
background: url(../images/icons/reload16.png) no-repeat top left;
|
||||
}
|
Reference in New Issue
Block a user