Added support for preloading javascript libs ($template->preload_js()). Updated admin theme and Tigra Tree Menu to support this + JS_{HEADER,FOOTER} variables.
/* toolbar */
div.toolbar {
border: 1px solid #3b619c;
background-color: #D0D0D0;
background-image: url(../../oxygen/images/bleu/sprite-horiz.gif);
background-position: 0 -90px;
padding: 1px 0;
height: 22px;
font-family: arial, sans-serif;
font-size: 8pt;
}
div.toolbar ul {
margin: 0;
padding: 0;
}
div.toolbar ul li {
list-style: none;
margin: 0;
float: left;
}
div.toolbar a img {
opacity: 0.6;
}
div.toolbar a:hover img, div.toolbar a:focus img {
opacity: 1;
}
div.toolbar a {
display: block;
padding: 2px;
border: 1px solid transparent;
cursor: default;
width: auto;
color: #000000 !important;
margin: 0 2px;
max-height: 16px;
text-decoration: none;
}
div.toolbar a:hover, div.toolbar a:focus {
border: 1px solid #000080;
background-color: #ceceed;
background-image: url(../../oxygen/images/bleu/sprite-horiz.gif);
background-position: 0 -118px;
color: #000000 !important;
text-decoration: none;
}
div.toolbar a:active {
background-color: #E0E0E0;
background-position: 0 -138px;
}
div.toolbar img {
margin: 0;
padding: 0;
display: inline;
border-width: 0px;
}
div.toolbar a span {
position: relative;
top: -3px !important;
}
div.toolbar a span.noimage {
position: relative;
top: 0px !important;
height: 16px !important;
display: block;
padding-left: 2px !important;
}
div.toolbar li span {
padding-left: 4px;
padding-right: 2px;
position: relative;
top: 4px;
}
/* vertical toolbar */
div.toolbar_vert {
border: 1px solid #82aae2;
background-color: #c9ddf8;
padding: 2px 0;
}
div.toolbar_vert ul {
margin: 0;
padding: 0;
}
div.toolbar_vert ul li {
list-style: none;
margin: 0;
}
div.toolbar_vert a img {
opacity: 0.6;
/*filter: alpha(opacity=60);*/
}
div.toolbar_vert a:hover img {
opacity: 1;
/*filter: alpha(opacity=100);*/
}
div.toolbar_vert a {
display: block;
padding: 2px;
border: 1px solid transparent;
cursor: default;
width: auto;
color: #000000 !important;
margin: 0 2px;
max-height: 16px;
text-decoration: none;
}
div.toolbar_vert a:hover {
border: 1px solid #202090;
background-color: #ceceed;
color: #000000 !important;
text-decoration: none;
background-image: url(../../oxygen/images/bleu/sprite-horiz.gif);
background-position: 0 -118px;
}
div.toolbar_vert a:active {
border: 1px solid #A0A0A0;
background-color: #E0E0E0;
}
div.toolbar_vert img {
margin: 0;
padding: 0;
display: inline;
border-width: 0px;
}
div.toolbar_vert a span {
position: relative;
top: -4px;
}
div.toolbar_vert li span {
padding-left: 2px;
padding-right: 5px;
}
div.toolbar_vert li > span {
display: block;
padding: 4px 5px;
}