import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

836
javascript/communityid.js Normal file
View File

@ -0,0 +1,836 @@
/**
* Classes enforce private and public members through the Module Pattern
* (the vars outside are private, and what goes inside the return is public)
* We use classes inside the "SCIRET" namespace
* @see http://yuiblog.com/blog/2007/06/12/module-pattern/
*/
/**
* Aliases definitions (functions, namespaces)
*/
YAHOO.namespace("commid");
COMMID = YAHOO.commid;
COMMID.utils = function() {
return {
evalScripts: function (el) {
el = (typeof el =="string")? $(el) : el;
var scripts = el.getElementsByTagName("script");
for(var i=0; i < scripts.length;i++) {
eval(scripts[i].innerHTML);
}
},
replaceContent: function(responseObj, elId) {
$(elId).innerHTML = responseObj.responseText;
COMMID.utils.evalScripts(elId);
},
removeElement: function(element) {
element.parentNode.removeChild(element);
},
hideElement: function(elName) {
$(elName).style.visibility = "hidden";
},
unHideElement: function(elName) {
$(elName).style.visibility = "visible";
},
asyncFailed: function() {
alert(COMMID.lang['operation failed']);
},
addDatatableTranslations: function(datatableConfig) {
datatableConfig.MSG_EMPTY = COMMID.lang["No records found."];
datatableConfig.MSG_LOADING = COMMID.lang["Loading..."];
datatableConfig.MSG_ERROR = COMMID.lang["Data error."];
datatableConfig.MSG_SORTASC = COMMID.lang["Click to sort ascending"];
datatableConfig.MSG_SORTDESC = COMMID.lang["Click to sort descending"];
}
}
}();
/**
* This is only to load YUI libs that don't need to be used immediately after
* the page is loaded
*/
COMMID.loader = function() {
var loader;
return {
combine: true,
base: null,
insert: function(arrComponents, onSuccess, scope) {
loader = new YAHOO.util.YUILoader({
require: arrComponents,
onSuccess: onSuccess,
scope: scope,
base: this.base,
// uncomment to download debugging libs
//filter: "DEBUG",
combine: this.combine
});
loader.insert();
}
};
}();
/**
* MessageUsers
*/
COMMID.messageUsers = function() {
return {
send: function() {
if (!confirm(COMMID.lang["Are you sure you wish to send this message to ALL users?"])) {
return false;
}
document.messageUsersForm.messageType.value = $('bodyPlainWrapper').style.display == "block"? "plain" : "rich";
return true;
},
switchToPlainText: function() {
$('linkSwitchToPlain').style.display = "none";
$('linkSwitchToRich').style.display = "block";
$('bodyPlainWrapper').style.display = "block";
$('bodyHTMLWrapper').style.display = "none";
},
switchToRichText: function() {
$('linkSwitchToPlain').style.display = "block";
$('linkSwitchToRich').style.display = "none";
$('bodyPlainWrapper').style.display = "none";
$('bodyHTMLWrapper').style.display = "block";
}
};
}();
COMMID.general = function() {
return {
editAccountInfo: function() {
COMMID.utils.unHideElement("loadingAccountInfo");
var transaction = YAHOO.util.Connect.asyncRequest(
'GET',
'profilegeneral/editaccountinfo?userid=' + COMMID.targetUserId,
{
success: function (responseObj) {
COMMID.utils.replaceContent(responseObj, "accountInfo")
COMMID.utils.hideElement("loadingAccountInfo");
},
failure: COMMID.utils.asyncFailed
});
},
changePassword: function() {
COMMID.utils.unHideElement("loadingAccountInfo");
var transaction = YAHOO.util.Connect.asyncRequest(
'GET',
'profilegeneral/changepassword?userid=' + COMMID.targetUserId,
{
success: function (responseObj) {
COMMID.utils.replaceContent(responseObj, "accountInfo")
COMMID.utils.hideElement("loadingAccountInfo");
},
failure: COMMID.utils.asyncFailed
});
},
toggleYubikey: function() {
var authMethod = document.getElementById("authMethod");
if (typeof authMethod == "undefined" || authMethod.value == 0) {
$("yubikeyWrapper").style.display = "none";
} else {
$("yubikeyWrapper").style.display = "block";
}
}
};
}();
COMMID.personalInfo = function() {
return {
erase: function(profileId) {
if (!confirm(COMMID.lang["Are you sure you wish to delete this profile?"])) {
return;
}
$("deleteprofile_" + profileId).submit();
},
cancel: function() {
location.href = COMMID.baseDir + "/users/personalinfo";
}
};
}();
COMMID.changePassword = function() {
return {
save: function(userId) {
YAHOO.util.Connect.setForm("changePasswordForm");
YAHOO.util.Connect.asyncRequest(
"POST",
"profilegeneral/savepassword?userid=" + userId,
{
success: function (responseObj) {COMMID.utils.replaceContent(responseObj, "accountInfo")},
failure: COMMID.utils.asyncFailed
},
null
);
},
cancel: function(userId) {
var transaction = YAHOO.util.Connect.asyncRequest(
'GET',
'profilegeneral/accountinfo?userid=' + userId,
{
success: function (responseObj) {COMMID.utils.replaceContent(responseObj, "accountInfo")},
failure: COMMID.utils.asyncFailed
}
);
}
}
}();
COMMID.sitesList = function() {
var myDataSource;
var myDataSourceURL;
var myDataTable;
var myPaginator;
var myTableConfig;
var fieldsDialog;
var buildQueryString = function (state,dt) {
return "startIndex=" + state.pagination.recordOffset +
"&results=" + state.pagination.rowsPerPage;
};
var formatOperationsColumn = function(elCell, oRecord, oColumn, oData) {
var links = new Array();
var recordId = oRecord.getId();
if (oRecord.getData("trusted")) {
links.push("<a href=\"#\" onclick=\"COMMID.sitesList.deny('" + recordId + "')\">" + COMMID.lang["deny"] + "</a>");
} else {
links.push("<a href=\"#\" onclick=\"COMMID.sitesList.allow('" + recordId + "')\" >" + COMMID.lang["allow"] + "</a>");
}
if (oRecord.getData("infoExchanged")) {
links.push("<a href=\"#\" onclick=\"COMMID.sitesList.showInfo('" + recordId + "')\" >" + COMMID.lang["view info exchanged"] + "</a>");
}
links.push("<a href=\"#\" onclick=\"COMMID.sitesList.deleteSite('" + recordId + "')\">" + COMMID.lang["delete"] + "</a>");
elCell.innerHTML = links.join("&nbsp;|&nbsp;");
};
var myColumnDefs = [
{key: "site", label: COMMID.lang["Site"]},
{key: "operations", label: "", formatter: formatOperationsColumn}
];
return {
init: function() {
myDataSourceURL = COMMID.baseDir + "/sites/list?";
fieldsDialog = new YAHOO.widget.Dialog(
"fieldsDialog",
{
width : "30em",
effect : {
effect : YAHOO.widget.ContainerEffect.FADE,
duration : 0.25
},
fixedcenter : false,
modal : true,
visible : false,
draggable : true
}
);
fieldsDialog.render();
},
initTable: function() {
myDataSource = new YAHOO.util.DataSource(myDataSourceURL);
myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON;
myDataSource.responseSchema = {
resultsList: "records",
fields: ["id", "site", "trusted", "infoExchanged"],
metaFields : {
totalRecords: 'totalRecords'
}
};
myPaginator = new YAHOO.widget.Paginator({
alwaysVisible : false,
containers : ['paging'],
pageLinks : 5,
rowsPerPage : 15,
rowsPerPageOptions : [15,30,60],
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink} {RowsPerPageDropdown}",
pageReportTemplate : "({currentPage} " + COMMID.lang["of"] + " {totalPages})",
nextPageLinkLabel : COMMID.lang["next"] + "&nbsp;&gt;",
previousPageLinkLabel : "&lt;&nbsp;" + COMMID.lang["prev"]
});
myTableConfig = {
initialRequest : 'startIndex=0&results=15',
generateRequest : buildQueryString,
paginator : myPaginator
};
COMMID.utils.addDatatableTranslations(myTableConfig);
myDataTable = new YAHOO.widget.DataTable("dt", myColumnDefs, myDataSource, myTableConfig);
},
showInfo: function(recordId) {
var oRecord = myDataTable.getRecord(recordId);
var infoExchanged = oRecord.getData("infoExchanged");
$("fieldsDialogSite").innerHTML = oRecord.getData("site");
var fields = new Array();
for (var fieldName in infoExchanged) {
fields.push("<div class=\"yui-gf\"><div class=\"yui-u first\">" + fieldName + ":</div>\n"
+"<div class=\"yui-u\">" + infoExchanged[fieldName] + "</div></div>");
}
$("fieldsDialogDl").innerHTML = fields.join("\n");
$("fieldsDialog").style.display = "block";
fieldsDialog.show();
},
closeDialog: function() {
fieldsDialog.hide();
},
deny: function(recordId) {
var oRecord = myDataTable.getRecord(recordId);
var site = oRecord.getData("site");
if (!confirm(COMMID.lang["Are you sure you wish to deny trust to this site?"] + "\n\n" + site)) {
return;
}
YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/sites/deny",
{
success : function (responseObj) {
try {
var r = YAHOO.lang.JSON.parse(responseObj.responseText);
if (r.code == 200) {
alert(COMMID.lang["Trust the following site has been denied:"] + "\n\n" + site);
this.initTable();
}
} catch (e) {
alert(COMMID.lang["ERROR. The server returned:"] + "\n\n" + responseObj.responseText);
}
},
failure : COMMID.utils.asyncFailed,
scope : this
},
"id=" + oRecord.getData("id")
);
},
allow: function(recordId) {
var oRecord = myDataTable.getRecord(recordId);
var site = oRecord.getData("site");
if (!confirm(COMMID.lang["Are you sure you wish to allow access to this site?"] + "\n\n" + site)) {
return;
}
YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/sites/allow",
{
success : function (responseObj) {
try {
var r = YAHOO.lang.JSON.parse(responseObj.responseText);
if (r.code == 200) {
alert(COMMID.lang["Trust to the following site has been granted:"] + "\n\n" + site);
this.initTable();
}
} catch (e) {
alert(COMMID.lang["ERROR. The server returned:"] + "\n\n" + responseObj.responseText);
}
},
failure : COMMID.utils.asyncFailed,
scope : this
},
"id=" + oRecord.getData("id")
);
},
deleteSite: function(recordId) {
var oRecord = myDataTable.getRecord(recordId);
var site = oRecord.getData("site");
if (!confirm(COMMID.lang["Are you sure you wish to delete your relationship with this site?"] + "\n\n" + site)) {
return;
}
YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/sites/delete",
{
success : function (responseObj) {
try {
var r = YAHOO.lang.JSON.parse(responseObj.responseText);
if (r.code == 200) {
alert(COMMID.lang["Your relationship with the following site has been deleted:"] + "\n\n" + site);
this.initTable();
}
} catch (e) {
alert(COMMID.lang["ERROR. The server returned:"] + "\n\n" + responseObj.responseText);
}
},
failure : COMMID.utils.asyncFailed,
scope : this
},
"id=" + oRecord.getData("id")
);
}
};
}();
COMMID.historyList = function() {
var myDataSource;
var myDataSourceURL;
var myDataTable;
var myPaginator;
var myTableConfig;
var buildQueryString = function (state,dt) {
var request = "";
if (state.sortedBy) {
request += "sort=" + state.sortedBy.key + "&dir="
+ (state.sortedBy.dir === YAHOO.widget.DataTable.CLASS_ASC? 0 : 1) + "&";
}
request += "startIndex=" + state.pagination.recordOffset
+ "&results=" + state.pagination.rowsPerPage;
return request;
};
var formatResultsColumn = function(elCell, oRecord, oColumn, oData) {
switch(oRecord.getData("result")) {
case 0:
elCell.innerHTML = COMMID.lang["Denied"];
break;
case 1:
elCell.innerHTML = COMMID.lang["Authorized"];
break;
}
};
var myColumnDefs = [
{key: "date", label: COMMID.lang["Date"], sortable: true},
{key: "site", label: COMMID.lang["Site"], sortable: true},
{key: "ip", label: COMMID.lang["IP"], sortable: true},
{key: "result", label: COMMID.lang["Result"], formatter: formatResultsColumn, sortable: true}
];
var handleDataReturnPayload = function(oRequest, oResponse, oPayload) {
oPayload.totalRecords = oResponse.meta.totalRecords;
return oPayload;
};
return {
init: function() {
myDataSourceURL = COMMID.baseDir + "/history/list?";
myDataSource = new YAHOO.util.DataSource(myDataSourceURL);
myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON;
myDataSource.responseSchema = {
resultsList: "records",
fields: ["id", "date", "site", "ip", "result"],
metaFields : {
totalRecords: 'totalRecords'
}
};
myPaginator = new YAHOO.widget.Paginator({
alwaysVisible : false,
containers : ['paging'],
pageLinks : 5,
rowsPerPage : 15,
rowsPerPageOptions : [15,30,60],
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink} {RowsPerPageDropdown}",
pageReportTemplate : "({currentPage} " + COMMID.lang["of"] + " {totalPages})",
nextPageLinkLabel : COMMID.lang["next"] + "&nbsp;&gt;",
previousPageLinkLabel : "&lt;&nbsp;" + COMMID.lang["prev"]
});
myTableConfig = {
initialRequest : 'startIndex=0&results=15',
generateRequest : buildQueryString,
dynamicData : true,
paginator : myPaginator
};
COMMID.utils.addDatatableTranslations(myTableConfig);
myDataTable = new YAHOO.widget.DataTable("dt", myColumnDefs, myDataSource, myTableConfig);
myDataTable.handleDataReturnPayload = handleDataReturnPayload;
myDataTable.subscribe('renderEvent', this.showClearHistoryBtn, this, true);
},
showClearHistoryBtn: function() {
if (myDataTable.getRecordSet().getLength() > 0) {
$("clearHistory").style.display = "block";
} else {
$("clearHistory").style.display = "none";
}
},
clearEntries: function() {
if (!confirm(COMMID.lang["Are you sure you wish to delete all the History Log?"])) {
return;
}
YAHOO.util.Connect.asyncRequest(
"POST",
"history/clear",
{
success : function(responseObj) {
try {
var r = YAHOO.lang.JSON.parse(responseObj.responseText);
if (r.code == 200) {
alert(COMMID.lang["The history log has been cleared"]);
this.init();
}
} catch (e) {
alert(COMMID.lang["ERROR. The server returned:"] + "\n\n" + responseObj.responseText);
}
},
failure : COMMID.utils.asyncFailed,
scope : this
}
);
}
};
}();
COMMID.usersList = function() {
var myDataSource;
var myDataSourceURL;
var myDataTable;
var myPaginator;
var myTableConfig;
var currentFilter;
var clickedOnSearchString = false;
var searchString = "";
var buildQueryString = function (state,dt) {
var request = "";
if (state.sortedBy) {
request += "sort=" + state.sortedBy.key + "&dir="
+ (state.sortedBy.dir === YAHOO.widget.DataTable.CLASS_ASC? 0 : 1) + "&";
}
request += "startIndex=" + state.pagination.recordOffset
+ "&results=" + state.pagination.rowsPerPage;
return request;
};
var formatOperationsColumn = function(elCell, oRecord, oColumn, oData) {
var links = new Array();
links.push("<a href=\"" + COMMID.baseDir + "/users/profile?userid=" + oRecord.getData("id") + "\">"
+ COMMID.lang["profile"] + "</a>");
if (COMMID.userRole == "admin" && COMMID.userId != oRecord.getData("id")) {
links.push("<a href=\"javascript:void(0)\" onclick=\"COMMID.usersList.deleteUser('"+oRecord.getId()+"')\">" + COMMID.lang["delete"] + "</a>");
}
if (links.length > 0) {
elCell.innerHTML = links.join("&nbsp;|&nbsp;");
} else {
elCell.innerHTML = "";
}
};
var formatNameColumn = function(elCell, oRecord, oColumn, oData) {
if (oRecord.getData("role") == "admin") {
elCell.innerHTML = "<b>" + oRecord.getData("name") + "</b>";
} else {
elCell.innerHTML = oRecord.getData("name");
}
};
var formatStatusColumn = function(elCell, oRecord, oColumn, oData) {
if (oRecord.getData("role") == "admin") {
elCell.innerHTML = "<b>" + oRecord.getData("status") + "</b>";
} else {
elCell.innerHTML = oRecord.getData("status");
}
if (oRecord.getData("reminders") == 1) {
elCell.innerHTML += "<br />1 " + COMMID.lang["reminder"];
} else if (oRecord.getData("reminders") > 1) {
elCell.innerHTML += "<br />" + oRecord.getData("reminders") + " " + COMMID.lang["reminders"];
}
};
var handleDataReturnPayload = function(oRequest, oResponse, oPayload) {
oPayload.totalRecords = oResponse.meta.totalRecords;
$("totalUsers").innerHTML = oResponse.meta.totalUsers;
$("totalUnconfirmedUsers").innerHTML = oResponse.meta.totalUnconfirmedUsers;
$("totalConfirmedUsers").innerHTML = oResponse.meta.totalUsers - oResponse.meta.totalUnconfirmedUsers;
return oPayload;
};
var deleteUserCompleted = function(oRecord, responseObj) {
alert(responseObj.responseText);
myDataTable.deleteRow(oRecord);
};
var deleteUnconfirmedCompleted = function(responseObj) {
this.init("all");
};
return {
init: function(filter) {
currentFilter = filter;
myDataSourceURL = COMMID.baseDir + "/users/userslist?filter=" + filter + "&";
if (searchString != "") {
myDataSourceURL += "search=" + encodeURIComponent(searchString) + "&";
}
myDataSource = new YAHOO.util.DataSource(myDataSourceURL);
myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSON;
myDataSource.responseSchema = {
resultsList: "records",
fields: ["id", "name", "registration", "status", "reminders", "role"],
metaFields : {
totalRecords : 'totalRecords',
totalUsers : 'totalUsers',
totalUnconfirmedUsers : 'totalUnconfirmedUsers'
}
};
myPaginator = new YAHOO.widget.Paginator({
alwaysVisible : false,
containers : ['paging'],
pageLinks : 5,
rowsPerPage : 15,
rowsPerPageOptions : [15,30,60],
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink} {RowsPerPageDropdown}",
pageReportTemplate : "({currentPage} " + COMMID.lang["of"] + " {totalPages})",
nextPageLinkLabel : COMMID.lang["next"] + "&nbsp;&gt;",
previousPageLinkLabel : "&lt;&nbsp;" + COMMID.lang["prev"]
});
myTableConfig = {
initialRequest : 'startIndex=0&results=15',
generateRequest : buildQueryString,
dynamicData : true,
paginator : myPaginator
};
COMMID.utils.addDatatableTranslations(myTableConfig);
var myColumnDefs = [
{key: "name", label: COMMID.lang["Name"], sortable: true, formatter: formatNameColumn},
{key: "registration", label: COMMID.lang["Registration"], formatter: 'date', sortable: true},
{key: "status", label: COMMID.lang["Status"], sortable: true, hidden: (filter == 'confirmed'), formatter: formatStatusColumn},
{key: "operations", label: "", formatter: formatOperationsColumn}
];
myDataTable = new YAHOO.widget.DataTable("dt", myColumnDefs, myDataSource, myTableConfig);
myDataTable.handleDataReturnPayload = handleDataReturnPayload;
switch (filter) {
case 'all':
$("links_topleft_all").className = "disabledLink";
$("links_topleft_confirmed").className = "enabledLink";
$("links_topleft_unconfirmed").className = "enabledLink";
$("deleteUnconfirmedSpan").style.display = "none";
$("sendReminderSpan").style.display = "none";
break;
case 'confirmed':
$("links_topleft_all").className = "enabledLink";
$("links_topleft_confirmed").className = "disabledLink";
$("links_topleft_unconfirmed").className = "enabledLink";
$("deleteUnconfirmedSpan").style.display = "none";
$("sendReminderSpan").style.display = "none";
break;
case 'unconfirmed':
$("links_topleft_all").className = "enabledLink";
$("links_topleft_confirmed").className = "enabledLink";
$("links_topleft_unconfirmed").className = "disabledLink";
$("deleteUnconfirmedSpan").style.display = "inline";
$("sendReminderSpan").style.display = "inline";
break;
}
},
deleteUser: function(recordId) {
var oRecord = myDataTable.getRecord(recordId);
if (confirm(COMMID.lang["Are you sure you wish to delete the user"] + " " + oRecord.getData("name") + "?")) {
var transaction = YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/users/manageusers/delete",
{
success: function (responseObj) {deleteUserCompleted(oRecord, responseObj);},
failure: function() {alert(COMMID.lang['operation failed'])}
},
"userid=" + oRecord.getData("id"));
}
},
deleteUnconfirmed: function() {
var olderThan = prompt(COMMID.lang["Delete unconfirmed accounts older than how many days?"], "5");
if (olderThan === null) {
return;
}
olderThan = parseInt(olderThan);
if (isNaN(olderThan)) {
alert(COMMID.lang["The value entered is incorrect"]);
}
YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/users/manageusers/deleteunconfirmed",
{
success : deleteUnconfirmedCompleted,
failure : function() {alert(COMMID.lang['operation failed'])},
scope : this
},
"olderthan=" + olderThan);
},
sendReminder: function() {
var olderThan = prompt(COMMID.lang["Send reminder to accounts older than how many days?"], "5");
if (olderThan === null) {
return;
}
olderThan = parseInt(olderThan);
if (isNaN(olderThan)) {
alert(COMMID.lang["The value entered is incorrect"]);
}
YAHOO.util.Connect.asyncRequest(
"POST",
COMMID.baseDir + "/users/manageusers/sendreminder",
{
success : deleteUnconfirmedCompleted,
failure : function() {alert(COMMID.lang['operation failed'])},
scope : this
},
"olderthan=" + olderThan);
},
clickOnSearch: function () {
if (!clickedOnSearchString) {
// only erase field when first clicked
$("search").value = "";
clickedOnSearchString = true;
}
},
submitSearch: function () {
searchString = $("search").value;
this.init(currentFilter);
},
clearSearch: function () {
$("search").value = "";
searchString = "";
this.init(currentFilter);
}
};
}();
COMMID.editAccountInfo = function() {
return {
save: function() {
YAHOO.util.Connect.setForm("accountInfoForm", true);
YAHOO.util.Connect.asyncRequest(
'POST',
'profilegeneral/saveaccountinfo?userid=' + COMMID.targetUserId,
{
upload: function (responseObj) {COMMID.utils.replaceContent(responseObj, "accountInfo")}
},
null
);
},
cancel: function() {
var transaction = YAHOO.util.Connect.asyncRequest(
'GET',
'profilegeneral/accountinfo?userid=' + COMMID.targetUserId,
{
success: function (responseObj) {COMMID.utils.replaceContent(responseObj, "accountInfo")},
failure: COMMID.utils.asyncFailed
}
);
}
};
}();
COMMID.stats = function() {
return {
loadReport: function(report, div, params) {
params = params || '';
YAHOO.util.Connect.asyncRequest(
"GET",
"stats/reports/index/report/" + report + params,
{
success: function (responseObj) {
COMMID.utils.replaceContent(responseObj, div)
},
failure: COMMID.utils.asyncFailed
});
}
}
}();
COMMID.editArticle = function () {
return {
cancel: function (articleId) {
if (articleId) {
location.href = COMMID.baseDir + "/news/" + articleId;
} else {
location.href = COMMID.baseDir + "/news";
}
},
remove: function (articleId) {
if (!confirm(COMMID.lang['Are you sure you wish to delete this article?'])) {
return;
}
location.href = COMMID.baseDir + "/news/edit/delete/id/" + articleId;
}
};
}();
COMMID.profileForm = function() {
return {
fetch: function(queryStr, profileId, showLoader) {
if (showLoader) {
COMMID.utils.unHideElement("loadingPersonalInfo");
}
var transaction = YAHOO.util.Connect.asyncRequest(
'GET',
COMMID.baseDir + '/profile' + queryStr + '&profile=' + profileId,
{
success: function (responseObj) {
COMMID.utils.replaceContent(responseObj, "profileForm");
},
failure: COMMID.utils.asyncFailed
});
}
};
}();

View File

@ -0,0 +1,16 @@
FCKConfig.ToolbarSets["MonkeysToolbar"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
['FitWindow','ShowBlocks','-','About'],
'/',
['FontFormat','FontName','FontSize'],
['TextColor','BGColor']
] ;
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/' ;

72
javascript/language.php Normal file
View File

@ -0,0 +1,72 @@
<?php
/*
* @copyright Copyright (C) 2005-2010 Keyboard Monkeys Ltd. http://www.kb-m.com
* @license http://creativecommons.org/licenses/BSD/ BSD License
* @author Keyboard Monkey Ltd
* @since CommunityID 0.9
* @package CommunityID
* @packager Keyboard Monkeys
*/
define('APP_DIR', realpath(dirname(__FILE__) . '/..'));
require APP_DIR . '/Application.php';
Application::setIncludePath();
Application::setAutoLoader();
Application::setConfig();
Application::setErrorReporting();
Application::setLogger();
$translate = Application::setI18N();
?>
YAHOO.namespace("commid");
COMMID = YAHOO.commid;
// WARNING: DO NOT PUT A COMMA AFTER THE LAST ELEMENT (breaks IE)
COMMID.lang = {
"Name": "<?php echo $translate->translate('Name') ?>",
"Registration": "<?php echo $translate->translate('Registration') ?>",
"Status": "<?php echo $translate->translate('Status') ?>",
"profile": "<?php echo $translate->translate('profile') ?>",
"delete": "<?php echo $translate->translate('delete') ?>",
"Site": "<?php echo $translate->translate('Site') ?>",
"view info exchanged": "<?php echo $translate->translate('view info exchanged') ?>",
"deny": "<?php echo $translate->translate('deny') ?>",
"allow": "<?php echo $translate->translate('allow') ?>",
"Are you sure you wish to send this message to ALL users?": "<?php echo $translate->translate('Are you sure you wish to send this message to ALL users?') ?>",
"Are you sure you wish to deny trust to this site?": "<?php echo $translate->translate('Are you sure you wish to deny trust to this site?') ?>",
"operation failed": "<?php echo $translate->translate('operation failed') ?>",
"Trust to the following site has been granted:": "<?php echo $translate->translate('Trust to the following site has been granted:') ?>",
"Trust the following site has been denied:": "<?php echo $translate->translate('Trust the following site has been denied:') ?>",
"ERROR. The server returned:": "<?php echo $translate->translate('ERROR. The server returned:') ?>",
"Your relationship with the following site has been deleted:": "<?php echo $translate->translate('Your relationship with the following site has been deleted:') ?>",
"The history log has been cleared": "<?php echo $translate->translate('The history log has been cleared') ?>",
"Are you sure you wish to allow access to this site?": "<?php echo $translate->translate('Are you sure you wish to allow access to this site?') ?>",
"Are you sure you wish to delete your relationship with this site?": "<?php echo $translate->translate('Are you sure you wish to delete your relationship with this site?') ?>",
"Are you sure you wish to delete all the History Log?": "<?php echo $translate->translate('Are you sure you wish to delete all the History Log?') ?>",
"Are you sure you wish to delete the user": "<?php echo $translate->translate('Are you sure you wish to delete the user') ?>",
"Are you sure you wish to delete all the unconfirmed accounts?": "<?php echo $translate->translate('Are you sure you wish to delete all the unconfirmed accounts?') ?>",
"Date": "<?php echo $translate->translate('Date') ?>",
"Result": "<?php echo $translate->translate('Result') ?>",
"No records found.": "<?php echo $translate->translate('No records found.') ?>",
"Loading...": "<?php echo $translate->translate('Loading...') ?>",
"Data error.": "<?php echo $translate->translate('Data error.') ?>",
"Click to sort ascending": "<?php echo $translate->translate('Click to sort ascending') ?>",
"Click to sort descending": "<?php echo $translate->translate('Click to sort descending') ?>",
"Authorized": "<?php echo $translate->translate('Authorized') ?>",
"Denied": "<?php echo $translate->translate('Denied') ?>",
"of": "<?php echo $translate->translate('of') ?>",
"next": "<?php echo $translate->translate('next') ?>",
"prev": "<?php echo $translate->translate('prev') ?>",
"IP": "<?php echo $translate->translate('IP') ?>",
"Delete unconfirmed accounts older than how many days?": "<?php echo $translate->translate('Delete unconfirmed accounts older than how many days?') ?>",
"The value entered is incorrect": "<?php echo $translate->translate('The value entered is incorrect') ?>",
"Send reminder to accounts older than how many days?": "<?php echo $translate->translate('Send reminder to accounts older than how many days?') ?>",
"Are you sure you wish to delete this article?": "<?php echo $translate->translate('Are you sure you wish to delete this article?') ?>",
"reminder": "<?php echo $translate->translate('reminder') ?>",
"reminders": "<?php echo $translate->translate('reminders') ?>",
"Are you sure you wish to delete this profile?": "<?php echo $translate->translate('Are you sure you wish to delete this profile?') ?>"
}

105
javascript/tools-min.js vendored Normal file
View File

@ -0,0 +1,105 @@
/*
* Copyright (c) 2007, Dav Glass <dav.glass@yahoo.com>.
* Code licensed under the BSD License:
* http://blog.davglass.com/license.txt
* All rights reserved.
*/
YAHOO.Tools=function(){keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";regExs={quotes:/\x22/g,startspace:/^\s+/g,endspace:/\s+$/g,striptags:/<\/?[^>]+>/gi,hasbr:/<br/i,hasp:/<p>/i,rbr:/<br>/gi,rbr2:/<br\/>/gi,rendp:/<\/p>/gi,rp:/<p>/gi,base64:/[^A-Za-z0-9\+\/\=]/g,syntaxCheck:/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/}
jsonCodes={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'}
return{version:'1.0'}}();YAHOO.Tools.getHeight=function(elm){var elm=$(elm);var h=$D.getStyle(elm,'height');if(h=='auto'){elm.style.zoom=1;h=elm.clientHeight+'px';}
return h;}
YAHOO.Tools.getCenter=function(elm){var elm=$(elm);var cX=Math.round(($D.getViewportWidth()-parseInt($D.getStyle(elm,'width')))/2);var cY=Math.round(($D.getViewportHeight()-parseInt(this.getHeight(elm)))/2);return[cX,cY];}
YAHOO.Tools.makeTextObject=function(txt){return document.createTextNode(txt);}
YAHOO.Tools.makeChildren=function(arr,elm){var elm=$(elm);for(var i in arr){_val=arr[i];if(typeof _val=='string'){_val=this.makeTxtObject(_val);}
elm.appendChild(_val);}}
YAHOO.Tools.styleToCamel=function(str){var _tmp=str.split('-');var _new_style=_tmp[0];for(var i=1;i<_tmp.length;i++){_new_style+=_tmp[i].substring(0,1).toUpperCase()+_tmp[i].substring(1,_tmp[i].length);}
return _new_style;}
YAHOO.Tools.removeQuotes=function(str){var checkText=new String(str);return String(checkText.replace(regExs.quotes,''));}
YAHOO.Tools.trim=function(str){return str.replace(regExs.startspace,'').replace(regExs.endspace,'');}
YAHOO.Tools.stripTags=function(str){return str.replace(regExs.striptags,'');}
YAHOO.Tools.hasBRs=function(str){return str.match(regExs.hasbr)||str.match(regExs.hasp);}
YAHOO.Tools.convertBRs2NLs=function(str){return str.replace(regExs.rbr,"\n").replace(regExs.rbr2,"\n").replace(regExs.rendp,"\n").replace(regExs.rp,"");}
YAHOO.Tools.stringRepeat=function(str,repeat){return new Array(repeat+1).join(str);}
YAHOO.Tools.stringReverse=function(str){var new_str='';for(i=0;i<str.length;i++){new_str=new_str+str.charAt((str.length-1)-i);}
return new_str;}
YAHOO.Tools.printf=function(){var num=arguments.length;var oStr=arguments[0];for(var i=1;i<num;i++){var pattern="\\{"+(i-1)+"\\}";var re=new RegExp(pattern,"g");oStr=oStr.replace(re,arguments[i]);}
return oStr;}
YAHOO.Tools.setStyleString=function(el,str){var _tmp=str.split(';');for(x in _tmp){if(x){__tmp=YAHOO.Tools.trim(_tmp[x]);__tmp=_tmp[x].split(':');if(__tmp[0]&&__tmp[1]){var _attr=YAHOO.Tools.trim(__tmp[0]);var _val=YAHOO.Tools.trim(__tmp[1]);if(_attr&&_val){if(_attr.indexOf('-')!=-1){_attr=YAHOO.Tools.styleToCamel(_attr);}
$D.setStyle(el,_attr,_val);}}}}}
YAHOO.Tools.getSelection=function(_document,_window){if(!_document){_document=document;}
if(!_window){_window=window;}
if(_document.selection){return _document.selection;}
return _window.getSelection();}
YAHOO.Tools.removeElement=function(el){if(!(el instanceof Array)){el=new Array($(el));}
for(var i=0;i<el.length;i++){if(el[i].parentNode){el[i].parentNode.removeChild(el);}}}
YAHOO.Tools.setCookie=function(name,value,expires,path,domain,secure){var argv=arguments;var argc=arguments.length;var expires=(argc>2)?argv[2]:null;var path=(argc>3)?argv[3]:'/';var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:false;document.cookie=name+"="+escape(value)+
((expires==null)?"":("; expires="+expires.toGMTString()))+
((path==null)?"":("; path="+path))+
((domain==null)?"":("; domain="+domain))+
((secure==true)?"; secure":"");}
YAHOO.Tools.getCookie=function(name){var dc=document.cookie;var prefix=name+'=';var begin=dc.indexOf('; '+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}else{begin+=2;}
var end=document.cookie.indexOf(';',begin);if(end==-1){end=dc.length;}
return unescape(dc.substring(begin+prefix.length,end));}
YAHOO.Tools.deleteCookie=function(name,path,domain){if(getCookie(name)){document.cookie=name+'='+((path)?'; path='+path:'')+((domain)?'; domain='+domain:'')+'; expires=Thu, 01-Jan-70 00:00:01 GMT';}}
YAHOO.Tools.getBrowserEngine=function(){var opera=((window.opera&&window.opera.version)?true:false);var safari=((navigator.vendor&&navigator.vendor.indexOf('Apple')!=-1)?true:false);var gecko=((document.getElementById&&!document.all&&!opera&&!safari)?true:false);var msie=((window.ActiveXObject)?true:false);var version=false;if(msie){if(typeof document.body.style.maxHeight!="undefined"){version='7';}else{version='6';}}
if(opera){var tmp_version=window.opera.version().split('.');version=tmp_version[0]+'.'+tmp_version[1];}
if(gecko){if(navigator.registerContentHandler){version='2';}else{version='1.5';}
if((navigator.vendorSub)&&!version){version=navigator.vendorSub;}}
if(safari){try{if(console){if((window.onmousewheel!=='undefined')&&(window.onmousewheel===null)){version='2';}else{version='1.3';}}}catch(e){version='1.2';}}
var browsers={ua:navigator.userAgent,opera:opera,safari:safari,gecko:gecko,msie:msie,version:version}
return browsers;}
YAHOO.Tools.getBrowserAgent=function(){var ua=navigator.userAgent.toLowerCase();var opera=((ua.indexOf('opera')!=-1)?true:false);var safari=((ua.indexOf('safari')!=-1)?true:false);var firefox=((ua.indexOf('firefox')!=-1)?true:false);var msie=((ua.indexOf('msie')!=-1)?true:false);var mac=((ua.indexOf('mac')!=-1)?true:false);var unix=((ua.indexOf('x11')!=-1)?true:false);var win=((mac||unix)?false:true);var version=false;var mozilla=false;if(!firefox&&!safari&&(ua.indexOf('gecko')!=-1)){mozilla=true;var _tmp=ua.split('/');version=_tmp[_tmp.length-1].split(' ')[0];}
if(firefox){var _tmp=ua.split('/');version=_tmp[_tmp.length-1].split(' ')[0];}
if(msie){version=ua.substring((ua.indexOf('msie ')+5)).split(';')[0];}
if(safari){version=this.getBrowserEngine().version;}
if(opera){version=ua.substring((ua.indexOf('opera/')+6)).split(' ')[0];}
var browsers={ua:navigator.userAgent,opera:opera,safari:safari,firefox:firefox,mozilla:mozilla,msie:msie,mac:mac,win:win,unix:unix,version:version}
return browsers;}
YAHOO.Tools.checkFlash=function(){var br=this.getBrowserEngine();if(br.msie){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");var versionStr=axo.GetVariable("$version");var tempArray=versionStr.split(" ");var tempString=tempArray[1];var versionArray=tempString.split(",");var flash=versionArray[0];}catch(e){}}else{var flashObj=null;var tokens,len,curr_tok;if(navigator.mimeTypes&&navigator.mimeTypes['application/x-shockwave-flash']){flashObj=navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin;}
if(flashObj==null){flash=false;}else{tokens=navigator.plugins['Shockwave Flash'].description.split(' ');len=tokens.length;while(len--){curr_tok=tokens[len];if(!isNaN(parseInt(curr_tok))){hasVersion=curr_tok;flash=hasVersion;break;}}}}
return flash;}
YAHOO.Tools.setAttr=function(attrsObj,elm){if(typeof elm=='string'){elm=$(elm);}
for(var i in attrsObj){switch(i.toLowerCase()){case'listener':if(attrsObj[i]instanceof Array){var ev=attrsObj[i][0];var func=attrsObj[i][1];var base=attrsObj[i][2];var scope=attrsObj[i][3];$E.addListener(elm,ev,func,base,scope);}
break;case'classname':case'class':elm.className=attrsObj[i];break;case'style':YAHOO.Tools.setStyleString(elm,attrsObj[i]);break;default:elm.setAttribute(i,attrsObj[i]);break;}}}
YAHOO.Tools.create=function(tagName){tagName=tagName.toLowerCase();elm=document.createElement(tagName);var txt=false;var attrsObj=false;if(!elm){return false;}
for(var i=1;i<arguments.length;i++){txt=arguments[i];if(typeof txt=='string'){_txt=YAHOO.Tools.makeTextObject(txt);elm.appendChild(_txt);}else if(txt instanceof Array){YAHOO.Tools.makeChildren(txt,elm);}else if(typeof txt=='object'){YAHOO.Tools.setAttr(txt,elm);}}
return elm;}
YAHOO.Tools.insertAfter=function(elm,curNode){if(curNode.nextSibling){curNode.parentNode.insertBefore(elm,curNode.nextSibling);}else{curNode.parentNode.appendChild(elm);}}
YAHOO.Tools.inArray=function(arr,val){if(arr instanceof Array){for(var i=(arr.length-1);i>=0;i--){if(arr[i]===val){return true;}}}
return false;}
YAHOO.Tools.checkBoolean=function(str){return((typeof str=='boolean')?true:false);}
YAHOO.Tools.checkNumber=function(str){return((isNaN(str))?false:true);}
YAHOO.Tools.PixelToEm=function(size){var data={};var sSize=(size/13);data.other=(Math.round(sSize*100)/100);data.msie=(Math.round((sSize*0.9759)*100)/100);return data;}
YAHOO.Tools.PixelToEmStyle=function(size,prop){var data='';var prop=((prop)?prop.toLowerCase():'width');var sSize=(size/13);data+=prop+':'+(Math.round(sSize*100)/100)+'em;';data+='*'+prop+':'+(Math.round((sSize*0.9759)*100)/100)+'em;';if((prop=='width')||(prop=='height')){data+='min-'+prop+':'+size+'px;';}
return data;}
YAHOO.Tools.base64Encode=function(str){var data="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;do{chr1=str.charCodeAt(i++);chr2=str.charCodeAt(i++);chr3=str.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;}
data=data+keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);}while(i<str.length);return data;}
YAHOO.Tools.base64Decode=function(str){var data="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;str=str.replace(regExs.base64,"");do{enc1=keyStr.indexOf(str.charAt(i++));enc2=keyStr.indexOf(str.charAt(i++));enc3=keyStr.indexOf(str.charAt(i++));enc4=keyStr.indexOf(str.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;data=data+String.fromCharCode(chr1);if(enc3!=64){data=data+String.fromCharCode(chr2);}
if(enc4!=64){data=data+String.fromCharCode(chr3);}}while(i<str.length);return data;}
YAHOO.Tools.getQueryString=function(str){var qstr={};if(!str){var str=location.href.split('?');if(str.length!=2){str=['',location.href];}}else{var str=['',str];}
if(str[1].match('#')){var _tmp=str[1].split('#');qstr.hash=_tmp[1];str[1]=_tmp[0];}
if(str[1]){str=str[1].split('&');if(str.length){for(var i=0;i<str.length;i++){var part=str[i].split('=');if(part[0].indexOf('[')!=-1){if(part[0].indexOf('[]')!=-1){var arr=part[0].substring(0,part[0].length-2);if(!qstr[arr]){qstr[arr]=[];}
qstr[arr][qstr[arr].length]=part[1];}else{var arr=part[0].substring(0,part[0].indexOf('['));var data=part[0].substring((part[0].indexOf('[')+1),part[0].indexOf(']'));if(!qstr[arr]){qstr[arr]={};}
qstr[arr][data]=part[1];}}else{qstr[part[0]]=part[1];}}}}
return qstr;}
YAHOO.Tools.getQueryStringVar=function(str){var qs=this.getQueryString();if(qs[str]){return qs[str];}else{return false;}}
YAHOO.Tools.padDate=function(n){return n<10?'0'+n:n;}
YAHOO.Tools.encodeStr=function(str){if(/["\\\x00-\x1f]/.test(str)){return'"'+str.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=jsonCodes[b];if(c){return c;}
c=b.charCodeAt();return'\\u00'+
Math.floor(c/16).toString(16)+
(c%16).toString(16);})+'"';}
return'"'+str+'"';}
YAHOO.Tools.encodeArr=function(arr){var a=['['],b,i,l=arr.length,v;for(i=0;i<l;i+=1){v=arr[i];switch(typeof v){case'undefined':case'function':case'unknown':break;default:if(b){a.push(',');}
a.push(v===null?"null":YAHOO.Tools.JSONEncode(v));b=true;}}
a.push(']');return a.join('');}
YAHOO.Tools.encodeDate=function(d){return'"'+d.getFullYear()+'-'+YAHOO.Tools.padDate(d.getMonth()+1)+'-'+YAHOO.Tools.padDate(d.getDate())+'T'+YAHOO.Tools.padDate(d.getHours())+':'+YAHOO.Tools.padDate(d.getMinutes())+':'+YAHOO.Tools.padDate(d.getSeconds())+'"';}
YAHOO.Tools.fixJSONDate=function(dateStr){var tmp=dateStr.split('T');var fixedDate=dateStr;if(tmp.length==2){var tmpDate=tmp[0].split('-');if(tmpDate.length==3){fixedDate=new Date(tmpDate[0],(tmpDate[1]-1),tmpDate[2]);var tmpTime=tmp[1].split(':');if(tmpTime.length==3){fixedDate.setHours(tmpTime[0],tmpTime[1],tmpTime[2]);}}}
return fixedDate;}
YAHOO.Tools.JSONEncode=function(o){if((typeof o=='undefined')||(o===null)){return'null';}else if(o instanceof Array){return YAHOO.Tools.encodeArr(o);}else if(o instanceof Date){return YAHOO.Tools.encodeDate(o);}else if(typeof o=='string'){return YAHOO.Tools.encodeStr(o);}else if(typeof o=='number'){return isFinite(o)?String(o):"null";}else if(typeof o=='boolean'){return String(o);}else{var a=['{'],b,i,v;for(var i in o){v=o[i];switch(typeof v){case'undefined':case'function':case'unknown':break;default:if(b){a.push(',');}
a.push(YAHOO.Tools.JSONEncode(i),':',((v===null)?"null":YAHOO.Tools.JSONEncode(v)));b=true;}}
a.push('}');return a.join('');}}
YAHOO.Tools.JSONParse=function(json,autoDate){var autoDate=((autoDate)?true:false);try{if(regExs.syntaxCheck.test(json)){var j=eval('('+json+')');if(autoDate){function walk(k,v){if(v&&typeof v==='object'){for(var i in v){if(v.hasOwnProperty(i)){v[i]=walk(i,v[i]);}}}
if(k.toLowerCase().indexOf('date')>=0){return YAHOO.Tools.fixJSONDate(v);}else{return v;}}
return walk('',j);}else{return j;}}}catch(e){console.log(e);}
throw new SyntaxError("parseJSON");}
YAHOO.tools=YAHOO.Tools;YAHOO.TOOLS=YAHOO.Tools;YAHOO.util.Dom.create=YAHOO.Tools.create;$A=YAHOO.util.Anim;$E=YAHOO.util.Event;$D=YAHOO.util.Dom;$T=YAHOO.Tools;$=YAHOO.util.Dom.get;$$=YAHOO.util.Dom.getElementsByClassName;

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

1390
javascript/yui/animation/animation.js vendored Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;zoom:1;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button .first-child{display:block;*display:inline-block;}.yui-button button,.yui-button a{display:block;*display:inline-block;border:none;margin:0;}.yui-button button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px 0;border-style:solid;border-color:#808080;background:url(sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;_margin:0;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button a{padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-button a{*line-height:1.875;*padding-bottom:1px;}.yui-skin-sam .yui-split-button button,.yui-skin-sam .yui-menu-button button{padding-right:20px;background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button button{background-image:url(menu-button-arrow.png);}.yui-skin-sam .yui-split-button button{background-image:url(split-button-arrow.png);}.yui-skin-sam .yui-button-focus{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-focus .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-focus button,.yui-skin-sam .yui-button-focus a{color:#000;}.yui-skin-sam .yui-split-button-focus button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam .yui-button-hover{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-hover .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-hover button,.yui-skin-sam .yui-button-hover a{color:#000;}.yui-skin-sam .yui-split-button-hover button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam .yui-button-active{border-color:#7D98B8;background-position:0 -1700px;}.yui-skin-sam .yui-button-active .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-active button,.yui-skin-sam .yui-button-active a{color:#000;}.yui-skin-sam .yui-split-button-activeoption{border-color:#808080;background-position:0 0;}.yui-skin-sam .yui-split-button-activeoption .first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam .yui-radio-button-checked,.yui-skin-sam .yui-checkbox-button-checked{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam .yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam .yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked button{color:#fff;}.yui-skin-sam .yui-button-disabled{border-color:#ccc;background-position:0 -1500px;}.yui-skin-sam .yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled button,.yui-skin-sam .yui-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam .yui-split-button-disabled button{background-image:url(split-button-arrow-disabled.png);}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-carousel{visibility:hidden;overflow:hidden;position:relative;text-align:left;zoom:1;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;}.yui-carousel-element{margin:5px 0;overflow:hidden;padding:0;position:relative;width:32000px;z-index:1;}.yui-carousel-vertical .yui-carousel-element{margin:0 5px;}.yui-carousel-element li{border:1px solid #ccc;float:left;list-style:none;margin:1px;overflow:hidden;padding:0;text-align:center;*float:none;*display:inline-block;*zoom:1;*display:inline;}.yui-carousel .yui-carousel-item-selected{border:1px dashed #000;margin:1px;}.yui-carousel-vertical{height:32000px;margin:0 5px;width:auto;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{clear:both;content:"";display:block;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-carousel-min-width .yui-carousel-content{margin:0 auto;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input,.yui-skin-sam .yui-carousel-button button{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0 -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0 -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;height:19px;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-min-width .yui-carousel-nav ul{*margin-left:-170px;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{background:url(sprite.png) no-repeat 0 -650px;cursor:pointer;float:left;height:9px;list-style:none;margin:10px 0 0 5px;overflow:hidden;padding:0;width:9px;}.yui-skin-sam .yui-carousel-nav ul:after{clear:both;content:"";display:block;}.yui-skin-sam .yui-carousel-nav ul li a{left:-10000px;position:absolute;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected{background-position:0 -700px;}.yui-skin-sam .yui-carousel-item-loading{background:url(ajax-loader.gif) no-repeat 50% 50%;position:relative;text-indent:-150px;}

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-picker-panel{background:#e3e3e3;border-color:#888;}.yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}.yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}.yui-picker{position:relative;}.yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.yui-picker-hue-bg{-moz-outline:none;outline:0 none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}.yui-picker-bg{-moz-outline:none;outline:0 none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html .yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../build/colorpicker/assets/picker_mask.png',sizingMethod='scale');}.yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}.yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}.yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}.yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}.yui-picker-controls .hd{background:transparent;border-width:0!important;}.yui-picker-controls .bd{height:100px;border-width:0!important;}.yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0;}.yui-picker-controls li{padding:2px;list-style:none;margin:0;}.yui-picker-controls input{font-size:.85em;width:2.4em;}.yui-picker-hex-controls{clear:both;padding:2px;}.yui-picker-hex-controls input{width:4.6em;}.yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-overlay,.yui-panel-container{visibility:hidden;position:absolute;z-index:2;}.yui-panel{position:relative;}.yui-panel-container form{margin:0;}.mask{z-index:1;display:none;position:absolute;top:0;left:0;right:0;bottom:0;}.mask.block-scrollbars{overflow:auto;}.masked select,.drag select,.hide-select select{_visibility:hidden;}.yui-panel-container select{_visibility:inherit;}.hide-scrollbars,.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.show-scrollbars{overflow:auto;}.yui-panel-container.show-scrollbars,.yui-tt.show-scrollbars{overflow:visible;}.yui-panel-container.show-scrollbars .underlay,.yui-tt.show-scrollbars .yui-tt-shadow{overflow:auto;}.yui-panel-container.shadow .underlay.yui-force-redraw{padding-bottom:1px;}.yui-effect-fade .underlay,.yui-effect-fade .yui-tt-shadow{display:none;}.yui-tt-shadow{position:absolute;}.yui-override-padding{padding:0!important;}.yui-panel-container .container-close{overflow:hidden;text-indent:-10000em;text-decoration:none;}.yui-overlay.yui-force-redraw,.yui-panel-container.yui-force-redraw{margin-bottom:1px;}.yui-skin-sam .mask{background-color:#000;opacity:.25;filter:alpha(opacity=25);}.yui-skin-sam .yui-panel-container{padding:0 1px;*padding:2px;}.yui-skin-sam .yui-panel{position:relative;left:0;top:0;border-style:solid;border-width:1px 0;border-color:#808080;z-index:1;*border-width:1px;*zoom:1;_zoom:normal;}.yui-skin-sam .yui-panel .hd,.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel .ft{border-style:solid;border-width:0 1px;border-color:#808080;margin:0 -1px;*margin:0;*border:0;}.yui-skin-sam .yui-panel .hd{border-bottom:solid 1px #ccc;}.yui-skin-sam .yui-panel .bd,.yui-skin-sam .yui-panel .ft{background-color:#F2F2F2;}.yui-skin-sam .yui-panel .hd{padding:0 10px;font-size:93%;line-height:2;*line-height:1.9;font-weight:bold;color:#000;background:url(sprite.png) repeat-x 0 -200px;}.yui-skin-sam .yui-panel .bd{padding:10px;}.yui-skin-sam .yui-panel .ft{border-top:solid 1px #808080;padding:5px 10px;font-size:77%;}.yui-skin-sam .container-close{position:absolute;top:5px;right:6px;width:25px;height:15px;background:url(sprite.png) no-repeat 0 -300px;cursor:pointer;}.yui-skin-sam .yui-panel-container .underlay{right:-1px;left:-1px;}.yui-skin-sam .yui-panel-container.matte{padding:9px 10px;background-color:#fff;}.yui-skin-sam .yui-panel-container.shadow{_padding:2px 4px 0 2px;}.yui-skin-sam .yui-panel-container.shadow .underlay{position:absolute;top:2px;left:-3px;right:-3px;bottom:-3px;*top:4px;*left:-1px;*right:-1px;*bottom:-1px;_top:0;_left:0;_right:0;_bottom:0;_margin-top:3px;_margin-left:-1px;background-color:#000;opacity:.12;filter:alpha(opacity=12);}.yui-skin-sam .yui-dialog .ft{border-top:none;padding:0 10px 10px 10px;font-size:100%;}.yui-skin-sam .yui-dialog .ft .button-group{display:block;text-align:right;}.yui-skin-sam .yui-dialog .ft button.default{font-weight:bold;}.yui-skin-sam .yui-dialog .ft span.default{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-dialog .ft span.default .first-child{border-color:#304369;}.yui-skin-sam .yui-dialog .ft span.default button{color:#fff;}.yui-skin-sam .yui-dialog .ft span.yui-button-disabled{background-position:0 -1500px;border-color:#ccc;}.yui-skin-sam .yui-dialog .ft span.yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-dialog .ft span.yui-button-disabled button{color:#a6a6a6;}.yui-skin-sam .yui-simple-dialog .bd .yui-icon{background:url(sprite.png) no-repeat 0 0;width:16px;height:16px;margin-right:10px;float:left;}.yui-skin-sam .yui-simple-dialog .bd span.blckicon{background-position:0 -1100px;}.yui-skin-sam .yui-simple-dialog .bd span.alrticon{background-position:0 -1050px;}.yui-skin-sam .yui-simple-dialog .bd span.hlpicon{background-position:0 -1150px;}.yui-skin-sam .yui-simple-dialog .bd span.infoicon{background-position:0 -1200px;}.yui-skin-sam .yui-simple-dialog .bd span.warnicon{background-position:0 -1900px;}.yui-skin-sam .yui-simple-dialog .bd span.tipicon{background-position:0 -1250px;}.yui-skin-sam .yui-tt .bd{position:relative;top:0;left:0;z-index:1;color:#000;padding:2px 5px;border-color:#D4C237 #A6982B #A6982B #A6982B;border-width:1px;border-style:solid;background-color:#FFEE69;}.yui-skin-sam .yui-tt.show-scrollbars .bd{overflow:auto;}.yui-skin-sam .yui-tt-shadow{top:2px;right:-3px;left:-3px;bottom:-3px;background-color:#000;}.yui-skin-sam .yui-tt-shadow-visible{opacity:.12;filter:alpha(opacity=12);}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-crop{position:relative;}.yui-crop .yui-crop-mask{position:absolute;top:0;left:0;height:100%;width:100%;}.yui-crop .yui-resize{position:absolute;top:10px;left:10px;border:0;}.yui-crop .yui-crop-resize-mask{position:absolute;top:0;left:0;height:100%;width:100%;background-position:-10px -10px;overflow:hidden;}.yui-skin-sam .yui-crop .yui-crop-mask{background-color:#000;opacity:.5;filter:alpha(opacity=50);}.yui-skin-sam .yui-crop .yui-resize{border:1px dashed #fff;}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-log{padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}.yui-skin-sam .yui-log-container{position:absolute;top:1em;right:1em;}.yui-skin-sam .yui-log input{margin:0;padding:0;font-family:arial;font-size:100%;font-weight:normal;}.yui-skin-sam .yui-log .yui-log-btns{position:relative;float:right;bottom:.25em;}.yui-skin-sam .yui-log .yui-log-hd{margin-top:1em;padding:.5em;background-color:#575757;}.yui-skin-sam .yui-log .yui-log-hd h4{margin:0;padding:0;font-size:108%;font-weight:bold;color:#FFF;}.yui-skin-sam .yui-log .yui-log-bd{width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;}.yui-skin-sam .yui-log p{margin:1px;padding:.1em;}.yui-skin-sam .yui-log pre{margin:0;padding:0;}.yui-skin-sam .yui-log pre.yui-log-verbose{white-space:pre-wrap;white-space:-moz-pre-wrap !important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}.yui-skin-sam .yui-log .yui-log-ft{margin-top:.5em;}.yui-skin-sam .yui-log .yui-log-ft .yui-log-categoryfilters{}.yui-skin-sam .yui-log .yui-log-ft .yui-log-sourcefilters{width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}.yui-skin-sam .yui-log .yui-log-filtergrp{margin-right:.5em;}.yui-skin-sam .yui-log .info{background-color:#A7CC25;}.yui-skin-sam .yui-log .warn{background-color:#F58516;}.yui-skin-sam .yui-log .error{background-color:#E32F0B;}.yui-skin-sam .yui-log .time{background-color:#A6C9D7;}.yui-skin-sam .yui-log .window{background-color:#F2E886;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yuimenu{top:-999em;left:-999em;}.yuimenubar{position:static;}.yuimenu .yuimenu,.yuimenubar .yuimenu{position:absolute;}.yuimenubar li,.yuimenu li{list-style-type:none;}.yuimenubar ul,.yuimenu ul,.yuimenubar li,.yuimenu li,.yuimenu h6,.yuimenubar h6{margin:0;padding:0;}.yuimenuitemlabel,.yuimenubaritemlabel{text-align:left;white-space:nowrap;}.yuimenubar ul{*zoom:1;}.yuimenubar .yuimenu ul{*zoom:normal;}.yuimenubar>.bd>ul:after{content:".";display:block;clear:both;visibility:hidden;height:0;line-height:0;}.yuimenubaritem{float:left;}.yuimenubaritemlabel,.yuimenuitemlabel{display:block;}.yuimenuitemlabel .helptext{font-style:normal;display:block;margin:-1em 0 0 10em;}.yui-menu-shadow{position:absolute;visibility:hidden;z-index:-1;}.yui-menu-shadow-visible{top:2px;right:-3px;left:-3px;bottom:-3px;visibility:visible;}.hide-scrollbars *{overflow:hidden;}.hide-scrollbars select{display:none;}.yuimenu.show-scrollbars,.yuimenubar.show-scrollbars{overflow:visible;}.yuimenu.hide-scrollbars .yui-menu-shadow,.yuimenubar.hide-scrollbars .yui-menu-shadow{overflow:hidden;}.yuimenu.show-scrollbars .yui-menu-shadow,.yuimenubar.show-scrollbars .yui-menu-shadow{overflow:auto;}.yui-overlay.yui-force-redraw{margin-bottom:1px;}.yui-skin-sam .yuimenubar{font-size:93%;line-height:2;*line-height:1.9;border:solid 1px #808080;background:url(sprite.png) repeat-x 0 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritem{border-right:solid 1px #ccc;}.yui-skin-sam .yuimenubaritemlabel{padding:0 10px;color:#000;text-decoration:none;cursor:default;border-style:solid;border-color:#808080;border-width:1px 0;*position:relative;margin:-1px 0;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel{padding-right:20px;*display:inline-block;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu{background:url(menubaritem_submenuindicator.png) right center no-repeat;}.yui-skin-sam .yuimenubaritem-selected{background:url(sprite.png) repeat-x 0 -1700px;}.yui-skin-sam .yuimenubaritemlabel-selected{border-color:#7D98B8;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected{border-left-width:1px;margin-left:-1px;*left:-1px;}.yui-skin-sam .yuimenubaritemlabel-disabled{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled{background-image:url(menubaritem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenu{font-size:93%;line-height:1.5;*line-height:1.45;}.yui-skin-sam .yuimenubar .yuimenu,.yui-skin-sam .yuimenu .yuimenu{font-size:100%;}.yui-skin-sam .yuimenu .bd{*zoom:1;_zoom:normal;border:solid 1px #808080;background-color:#fff;}.yui-skin-sam .yuimenu .yuimenu .bd{*zoom:normal;}.yui-skin-sam .yuimenu ul{padding:3px 0;border-width:1px 0 0 0;border-color:#ccc;border-style:solid;}.yui-skin-sam .yuimenu ul.first-of-type{border-width:0;}.yui-skin-sam .yuimenu h6{font-weight:bold;border-style:solid;border-color:#ccc;border-width:1px 0 0 0;color:#a4a4a4;padding:3px 10px 0 10px;}.yui-skin-sam .yuimenu ul.hastitle,.yui-skin-sam .yuimenu h6.first-of-type{border-width:0;}.yui-skin-sam .yuimenu .yui-menu-body-scrolled{border-color:#ccc #808080;overflow:hidden;}.yui-skin-sam .yuimenu .topscrollbar,.yui-skin-sam .yuimenu .bottomscrollbar{height:16px;border:solid 1px #808080;background:#fff url(sprite.png) no-repeat 0 0;}.yui-skin-sam .yuimenu .topscrollbar{border-bottom-width:0;background-position:center -950px;}.yui-skin-sam .yuimenu .topscrollbar_disabled{background-position:center -975px;}.yui-skin-sam .yuimenu .bottomscrollbar{border-top-width:0;background-position:center -850px;}.yui-skin-sam .yuimenu .bottomscrollbar_disabled{background-position:center -875px;}.yui-skin-sam .yuimenuitem{_border-bottom:solid 1px #fff;}.yui-skin-sam .yuimenuitemlabel{padding:0 20px;color:#000;text-decoration:none;cursor:default;}.yui-skin-sam .yuimenuitemlabel .helptext{margin-top:-1.5em;*margin-top:-1.45em;}.yui-skin-sam .yuimenuitem-hassubmenu{background-image:url(menuitem_submenuindicator.png);background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yuimenuitem-checked{background-image:url(menuitem_checkbox.png);background-position:left center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-shadow-visible{background-color:#000;opacity:.12;filter:alpha(opacity=12);}.yui-skin-sam .yuimenuitem-selected{background-color:#B3D4FF;}.yui-skin-sam .yuimenuitemlabel-disabled{cursor:default;color:#A6A6A6;}.yui-skin-sam .yuimenuitem-hassubmenu-disabled{background-image:url(menuitem_submenuindicator_disabled.png);}.yui-skin-sam .yuimenuitem-checked-disabled{background-image:url(menuitem_checkbox_disabled.png);}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-pg-container{display:block;margin:6px 0;white-space:nowrap;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous,.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last,.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-pages,.yui-skin-sam .yui-pg-page{display:inline-block;font-family:arial,helvetica,clean,sans-serif;padding:3px 6px;zoom:1;}.yui-skin-sam .yui-pg-pages{padding:0;}.yui-skin-sam .yui-pg-current{padding:3px 0;}.yui-skin-sam a.yui-pg-first:link,.yui-skin-sam a.yui-pg-first:visited,.yui-skin-sam a.yui-pg-first:active,.yui-skin-sam a.yui-pg-first:hover,.yui-skin-sam a.yui-pg-previous:link,.yui-skin-sam a.yui-pg-previous:visited,.yui-skin-sam a.yui-pg-previous:active,.yui-skin-sam a.yui-pg-previous:hover,.yui-skin-sam a.yui-pg-next:link,.yui-skin-sam a.yui-pg-next:visited,.yui-skin-sam a.yui-pg-next:active,.yui-skin-sam a.yui-pg-next:hover,.yui-skin-sam a.yui-pg-last:link,.yui-skin-sam a.yui-pg-last:visited,.yui-skin-sam a.yui-pg-last:active,.yui-skin-sam a.yui-pg-last:hover,.yui-skin-sam a.yui-pg-page:link,.yui-skin-sam a.yui-pg-page:visited,.yui-skin-sam a.yui-pg-page:active,.yui-skin-sam a.yui-pg-page:hover{color:#06c;text-decoration:underline;outline:0;}.yui-skin-sam span.yui-pg-first,.yui-skin-sam span.yui-pg-previous,.yui-skin-sam span.yui-pg-next,.yui-skin-sam span.yui-pg-last{color:#a6a6a6;}.yui-skin-sam .yui-pg-page{background-color:#fff;border:1px solid #CBCBCB;padding:2px 6px;text-decoration:none;}.yui-skin-sam .yui-pg-current-page{background-color:transparent;border:none;font-weight:bold;padding:3px 6px;}.yui-skin-sam .yui-pg-page{margin-left:1px;margin-right:1px;}.yui-skin-sam .yui-pg-first,.yui-skin-sam .yui-pg-previous{padding-left:0;}.yui-skin-sam .yui-pg-next,.yui-skin-sam .yui-pg-last{padding-right:0;}.yui-skin-sam .yui-pg-current,.yui-skin-sam .yui-pg-rpp-options{margin-left:1em;margin-right:1em;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-pv{background-color:#4a4a4a;font:arial;position:relative;width:99%;z-index:1000;margin-bottom:1em;overflow:hidden;}.yui-skin-sam .yui-pv .hd{background:url(header_background.png) repeat-x;min-height:30px;overflow:hidden;zoom:1;padding:2px 0;}.yui-skin-sam .yui-pv .hd h4{padding:8px 10px;margin:0;font:bold 14px arial;color:#fff;}.yui-skin-sam .yui-pv .hd a{background:#3f6bc3;font:bold 11px arial;color:#fff;padding:4px;margin:3px 10px 0 0;border:1px solid #3f567d;cursor:pointer;display:block;float:right;}.yui-skin-sam .yui-pv .hd span{display:none;}.yui-skin-sam .yui-pv .hd span.yui-pv-busy{height:18px;width:18px;background:url(wait.gif) no-repeat;overflow:hidden;display:block;float:right;margin:4px 10px 0 0;}.yui-skin-sam .yui-pv .hd:after,.yui-pv .bd:after,.yui-skin-sam .yui-pv-chartlegend dl:after{content:'.';visibility:hidden;clear:left;height:0;display:block;}.yui-skin-sam .yui-pv .bd{position:relative;zoom:1;overflow-x:auto;overflow-y:hidden;}.yui-skin-sam .yui-pv .yui-pv-table{padding:0 10px;margin:5px 0 10px 0;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-bd td{color:#eeee5c;font:12px arial;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd{background:#929292;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even{background:#58637a;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-even td.yui-dt-desc{background:#384970;}.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table tr.yui-dt-odd td.yui-dt-desc{background:#6F6E6E;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th{background-image:none;background:#2E2D2D;}.yui-skin-sam .yui-pv th.yui-dt-asc .yui-dt-liner{background:transparent url(asc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv th.yui-dt-desc .yui-dt-liner{background:transparent url(desc.gif) no-repeat scroll right center;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th a{color:#fff;font:bold 12px arial;}.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-asc,.yui-skin-sam .yui-pv .yui-pv-table .yui-dt-hd th.yui-dt-desc{background:#333;}.yui-skin-sam .yui-pv-chartcontainer{padding:0 10px;}.yui-skin-sam .yui-pv-chart{height:250px;clear:right;margin:5px 0 0 0;color:#fff;}.yui-skin-sam .yui-pv-chartlegend div{float:right;margin:0 0 0 10px;_width:250px;}.yui-skin-sam .yui-pv-chartlegend dl{border:1px solid #999;padding:.2em 0 .2em .5em;zoom:1;margin:5px 0;}.yui-skin-sam .yui-pv-chartlegend dt{float:left;display:block;height:.7em;width:.7em;padding:0;}.yui-skin-sam .yui-pv-chartlegend dd{float:left;display:block;color:#fff;margin:0 1em 0 .5em;padding:0;font:11px arial;}.yui-skin-sam .yui-pv-minimized{height:35px;}.yui-skin-sam .yui-pv-minimized .bd{top:-3000px;}.yui-skin-sam .yui-pv-minimized .hd a.yui-pv-refresh{display:none;}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.ygtvitem{}.ygtvitem table{margin-bottom:0;border:none;}.ygtvrow td{border:none;padding:0;}.ygtvrow td a{text-decoration:none;}.ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh,.ygtvtmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph,.ygtvtphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh,.ygtvlmhh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph,.ygtvlphh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvchildren{}* html .ygtvchildren{height:2%;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;cursor:pointer;}.ygtvcontent{cursor:default;}.ygtvspacer{height:22px;width:12px;}.ygtvfocus{background-color:#c0e0e0;border:none;}.ygtvfocus .ygtvlabel,.ygtvfocus .ygtvlabel:link,.ygtvfocus .ygtvlabel:visited,.ygtvfocus .ygtvlabel:hover{background-color:#c0e0e0;}.ygtvfocus a,.ygtvrow td a{outline-style:none;}.ygtvok{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8800px no-repeat;}.ygtvok:hover{background:url(treeview-sprite.gif) 0 -8844px no-repeat;}.ygtvcancel{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8822px no-repeat;}.ygtvcancel:hover{background:url(treeview-sprite.gif) 0 -8866px no-repeat;}.ygtv-label-editor{background-color:#f2f2f2;border:1px solid silver;position:absolute;display:none;overflow:hidden;margin:auto;z-index:9000;}.ygtv-edit-TextNode{width:190px;}.ygtv-edit-TextNode .ygtvcancel,.ygtv-edit-TextNode .ygtvok{border:none;}.ygtv-edit-TextNode .ygtv-button-container{float:right;}.ygtv-edit-TextNode .ygtv-input input{width:140px;}.ygtv-edit-DateNode .ygtvcancel{border:none;}.ygtv-edit-DateNode .ygtvok{display:none;}.ygtv-edit-DateNode .ygtv-button-container{text-align:right;margin:auto;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/* This file intentionally left blank */

View File

@ -0,0 +1,57 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/* styles for entire widget */
.yui-skin-sam .yui-ac {
position:relative;font-family:arial;font-size:100%;
}
/* styles for input field */
.yui-skin-sam .yui-ac-input {
position:absolute;width:100%;
}
/* styles for results container */
.yui-skin-sam .yui-ac-container {
position:absolute;top:1.6em;width:100%;
}
/* styles for header/body/footer wrapper within container */
.yui-skin-sam .yui-ac-content {
position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;
}
/* styles for container shadow */
.yui-skin-sam .yui-ac-shadow {
position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity: 0.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;
}
/* styles for container iframe */
.yui-skin-sam .yui-ac iframe {
opacity:0;filter: alpha(opacity=0);
padding-right:.3em; padding-bottom:.3em; /* Bug 2026798: extend iframe to shim the shadow */
}
/* styles for results list */
.yui-skin-sam .yui-ac-content ul{
margin:0;padding:0;width:100%;
}
/* styles for result item */
.yui-skin-sam .yui-ac-content li {
margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;
zoom:1; /* For IE to trigger mouse events on LI */
}
/* styles for prehighlighted result item */
.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight {
background:#B3D4FF;
}
/* styles for highlighted result item */
.yui-skin-sam .yui-ac-content li.yui-ac-highlight {
background:#426FD9;color:#FFF;
}

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-ac{position:relative;font-family:arial;font-size:100%;}.yui-skin-sam .yui-ac-input{position:absolute;width:100%;}.yui-skin-sam .yui-ac-container{position:absolute;top:1.6em;width:100%;}.yui-skin-sam .yui-ac-content{position:absolute;width:100%;border:1px solid #808080;background:#fff;overflow:hidden;z-index:9050;}.yui-skin-sam .yui-ac-shadow{position:absolute;margin:.3em;width:100%;background:#000;-moz-opacity:.10;opacity:.10;filter:alpha(opacity=10);z-index:9049;}.yui-skin-sam .yui-ac iframe{opacity:0;filter:alpha(opacity=0);padding-right:.3em;padding-bottom:.3em;}.yui-skin-sam .yui-ac-content ul{margin:0;padding:0;width:100%;}.yui-skin-sam .yui-ac-content li{margin:0;padding:2px 5px;cursor:default;white-space:nowrap;list-style:none;zoom:1;}.yui-skin-sam .yui-ac-content li.yui-ac-prehighlight{background:#B3D4FF;}.yui-skin-sam .yui-ac-content li.yui-ac-highlight{background:#426FD9;color:#FFF;}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

7
javascript/yui/base/base-min.css vendored Normal file
View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}

View File

@ -0,0 +1,131 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/**
* YUI Base
* @module base
* @namespace yui-
* @requires reset, fonts
*/
body {
/* For breathing room between content and viewport. */
margin:10px;
}
h1 {
/* 18px via YUI Fonts CSS foundation. */
font-size: 138.5%;
}
h2 {
/* 16px via YUI Fonts CSS foundation. */
font-size: 123.1%;
}
h3 {
/* 14px via YUI Fonts CSS foundation. */
font-size: 108%;
}
h1,h2,h3 {
/* Top & bottom margin based on font size. */
margin: 1em 0;
}
h1,h2,h3,h4,h5,h6,strong,dt {
/* Bringing boldness back to headers and the strong element. */
font-weight: bold;
}
optgroup {
font-weight:normal;
}
abbr,acronym {
/* Indicating to users that more info is available. */
border-bottom: 1px dotted #000;
cursor: help;
}
em {
/* Bringing italics back to the em element. */
font-style: italic;
}
del {
/* Striking deleted phrases. */
text-decoration: line-through;
}
blockquote,ul,ol,dl {
/* Giving blockquotes and lists room to breath. */
margin: 1em;
}
ol,ul,dl {
/* Bringing lists on to the page with breathing room. */
margin-left: 2em;
}
ol li {
/* Giving OL's LIs generated numbers. */
list-style: decimal outside;
}
ul li {
/* Giving UL's LIs generated disc markers. */
list-style: disc outside;
}
dl dd {
/* Giving UL's LIs generated numbers. */
margin-left: 1em;
}
th,td {
/* Borders and padding to make the table readable. */
border: 1px solid #000;
padding: .5em;
}
th {
/* Distinguishing table headers from data cells. */
font-weight: bold;
text-align: center;
}
caption {
/* Coordinated margin to match cell's padding. */
margin-bottom: .5em;
/* Centered so it doesn't blend in to other content. */
text-align: center;
}
sup {
/* to preserve line-height and selector appearance */
vertical-align: super;
}
sub {
/* to preserve line-height and selector appearance */
vertical-align: sub;
}
p,
fieldset,
table,
pre {
/* So things don't run into each other. */
margin-bottom: 1em;
}
/* Opera requires 1px of passing to render with contemporary native chrome */
button,
input[type="checkbox"],
input[type="radio"],
input[type="reset"],
input[type="submit"] {
padding:1px;
}

View File

@ -0,0 +1,44 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-button {
display: -moz-inline-box; /* Gecko */
display: inline-block; /* IE, Opera and Safari */
vertical-align: text-bottom;
}
.yui-button .first-child {
display: block;
*display: inline-block; /* IE */
}
.yui-button button,
.yui-button a {
display: block;
*display: inline-block; /* IE */
border: none;
margin: 0;
}
.yui-button button {
background-color: transparent;
*overflow: visible; /* Remove superfluous padding for IE */
cursor: pointer;
}
.yui-button a {
text-decoration: none;
}

View File

@ -0,0 +1,238 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-button {
border-width: 1px 0;
border-style: solid;
border-color: #808080;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
margin: auto .25em;
}
.yui-skin-sam .yui-button .first-child {
border-width: 0 1px;
border-style: solid;
border-color: #808080;
margin: 0 -1px;
/*
Using negative margins for rounded corners won't work in IE 6 and IE 7
(Quirks Mode Only), so set the "margin" property to "0" for those
browsers.
*/
_margin: 0;
}
.yui-skin-sam .yui-button button,
.yui-skin-sam .yui-button a {
padding: 0 10px;
font-size: 93%; /* 12px */
line-height: 2; /* ~24px */
*line-height: 1.7; /* For IE */
min-height: 2em; /* For Gecko */
*min-height: auto; /* For IE */
color: #000;
}
.yui-skin-sam .yui-button a {
/*
Necessary to get Buttons of type "link" to be the correct
height in IE.
*/
*line-height: 1.875;
*padding-bottom: 1px;
}
.yui-skin-sam .yui-split-button button,
.yui-skin-sam .yui-menu-button button {
padding-right: 20px;
background-position: right center;
background-repeat: no-repeat;
}
.yui-skin-sam .yui-menu-button button {
background-image: url(menu-button-arrow.png);
}
.yui-skin-sam .yui-split-button button {
background-image: url(split-button-arrow.png);
}
/* Focus state */
.yui-skin-sam .yui-button-focus {
border-color: #7D98B8;
background-position: 0 -1300px;
}
.yui-skin-sam .yui-button-focus .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-focus button,
.yui-skin-sam .yui-button-focus a {
color: #000;
}
.yui-skin-sam .yui-split-button-focus button {
background-image: url(split-button-arrow-focus.png);
}
/* Hover state */
.yui-skin-sam .yui-button-hover {
border-color: #7D98B8;
background-position: 0 -1300px;
}
.yui-skin-sam .yui-button-hover .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-hover button,
.yui-skin-sam .yui-button-hover a {
color: #000;
}
.yui-skin-sam .yui-split-button-hover button {
background-image: url(split-button-arrow-hover.png);
}
/* Active state */
.yui-skin-sam .yui-button-active {
border-color: #7D98B8;
background-position: 0 -1700px;
}
.yui-skin-sam .yui-button-active .first-child {
border-color: #7D98B8;
}
.yui-skin-sam .yui-button-active button,
.yui-skin-sam .yui-button-active a {
color: #000;
}
.yui-skin-sam .yui-split-button-activeoption {
border-color: #808080;
background-position: 0 0;
}
.yui-skin-sam .yui-split-button-activeoption .first-child {
border-color: #808080;
}
.yui-skin-sam .yui-split-button-activeoption button {
background-image: url(split-button-arrow-active.png);
}
/* Checked state */
.yui-skin-sam .yui-radio-button-checked,
.yui-skin-sam .yui-checkbox-button-checked {
border-color: #304369;
background-position: 0 -1400px;
}
.yui-skin-sam .yui-radio-button-checked .first-child,
.yui-skin-sam .yui-checkbox-button-checked .first-child {
border-color: #304369;
}
.yui-skin-sam .yui-radio-button-checked button,
.yui-skin-sam .yui-checkbox-button-checked button {
color: #fff;
}
/* Disabled state */
.yui-skin-sam .yui-button-disabled {
border-color: #ccc;
background-position: 0 -1500px;
}
.yui-skin-sam .yui-button-disabled .first-child {
border-color: #ccc;
}
.yui-skin-sam .yui-button-disabled button,
.yui-skin-sam .yui-button-disabled a {
color: #A6A6A6;
cursor: default;
}
.yui-skin-sam .yui-menu-button-disabled button {
background-image: url(menu-button-arrow-disabled.png);
}
.yui-skin-sam .yui-split-button-disabled button {
background-image: url(split-button-arrow-disabled.png);
}

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;}.yui-button .first-child{display:block;*display:inline-block;}.yui-button button,.yui-button a{display:block;*display:inline-block;border:none;margin:0;}.yui-button button{background-color:transparent;*overflow:visible;cursor:pointer;}.yui-button a{text-decoration:none;}.yui-skin-sam .yui-button{border-width:1px 0;border-style:solid;border-color:#808080;background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;margin:auto .25em;}.yui-skin-sam .yui-button .first-child{border-width:0 1px;border-style:solid;border-color:#808080;margin:0 -1px;_margin:0;}.yui-skin-sam .yui-button button,.yui-skin-sam .yui-button a{padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam .yui-button a{*line-height:1.875;*padding-bottom:1px;}.yui-skin-sam .yui-split-button button,.yui-skin-sam .yui-menu-button button{padding-right:20px;background-position:right center;background-repeat:no-repeat;}.yui-skin-sam .yui-menu-button button{background-image:url(menu-button-arrow.png);}.yui-skin-sam .yui-split-button button{background-image:url(split-button-arrow.png);}.yui-skin-sam .yui-button-focus{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-focus .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-focus button,.yui-skin-sam .yui-button-focus a{color:#000;}.yui-skin-sam .yui-split-button-focus button{background-image:url(split-button-arrow-focus.png);}.yui-skin-sam .yui-button-hover{border-color:#7D98B8;background-position:0 -1300px;}.yui-skin-sam .yui-button-hover .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-hover button,.yui-skin-sam .yui-button-hover a{color:#000;}.yui-skin-sam .yui-split-button-hover button{background-image:url(split-button-arrow-hover.png);}.yui-skin-sam .yui-button-active{border-color:#7D98B8;background-position:0 -1700px;}.yui-skin-sam .yui-button-active .first-child{border-color:#7D98B8;}.yui-skin-sam .yui-button-active button,.yui-skin-sam .yui-button-active a{color:#000;}.yui-skin-sam .yui-split-button-activeoption{border-color:#808080;background-position:0 0;}.yui-skin-sam .yui-split-button-activeoption .first-child{border-color:#808080;}.yui-skin-sam .yui-split-button-activeoption button{background-image:url(split-button-arrow-active.png);}.yui-skin-sam .yui-radio-button-checked,.yui-skin-sam .yui-checkbox-button-checked{border-color:#304369;background-position:0 -1400px;}.yui-skin-sam .yui-radio-button-checked .first-child,.yui-skin-sam .yui-checkbox-button-checked .first-child{border-color:#304369;}.yui-skin-sam .yui-radio-button-checked button,.yui-skin-sam .yui-checkbox-button-checked button{color:#fff;}.yui-skin-sam .yui-button-disabled{border-color:#ccc;background-position:0 -1500px;}.yui-skin-sam .yui-button-disabled .first-child{border-color:#ccc;}.yui-skin-sam .yui-button-disabled button,.yui-skin-sam .yui-button-disabled a{color:#A6A6A6;cursor:default;}.yui-skin-sam .yui-menu-button-disabled button{background-image:url(menu-button-arrow-disabled.png);}.yui-skin-sam .yui-split-button-disabled button{background-image:url(split-button-arrow-disabled.png);}

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

4810
javascript/yui/button/button-debug.js vendored Normal file

File diff suppressed because it is too large Load Diff

11
javascript/yui/button/button-min.js vendored Normal file

File diff suppressed because one or more lines are too long

4749
javascript/yui/button/button.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,132 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/**
* CORE
*
* This is the set of CSS rules required by Calendar to drive core functionality and structure.
* Changes to these rules may result in the Calendar not functioning or rendering correctly.
*
* They should not be modified for skinning.
**/
/* CALENDAR BOUNDING BOX */
.yui-calcontainer {
position:relative;
float:left;
_overflow:hidden; /* IE6 only, to clip iframe shim */
}
/* IFRAME SHIM */
.yui-calcontainer iframe {
position:absolute;
border:none;
margin:0;padding:0;
z-index:0;
width:100%;
height:100%;
left:0px;
top:0px;
}
/* IFRAME SHIM IE6 only */
.yui-calcontainer iframe.fixedsize {
width:50em;
height:50em;
top:-1px;
left:-1px;
}
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
.yui-calcontainer.multi .groupcal {
z-index:1;
float:left;
position:relative;
}
/* TITLE BAR */
.yui-calcontainer .title {
position:relative;
z-index:1;
}
/* CLOSE ICON CONTAINER */
.yui-calcontainer .close-icon {
position:absolute;
z-index:1;
text-indent:-10000em;
overflow:hidden;
}
/* CALENDAR TABLE */
.yui-calendar {
position:relative;
}
/* NAVBAR LEFT ARROW CONTAINER */
.yui-calendar .calnavleft {
position:absolute;
z-index:1;
text-indent:-10000em;
overflow:hidden;
}
/* NAVBAR RIGHT ARROW CONTAINER */
.yui-calendar .calnavright {
position:absolute;
z-index:1;
text-indent:-10000em;
overflow:hidden;
}
/* NAVBAR TEXT CONTAINER */
.yui-calendar .calheader {
position:relative;
width:100%;
text-align:center;
}
/* CalendarNavigator */
.yui-calcontainer .yui-cal-nav-mask {
position:absolute;
z-index:2;
margin:0;
padding:0;
width:100%;
height:100%;
_width:0; /* IE6, IE7 quirks - width/height set programmatically to match container */
_height:0;
left:0;
top:0;
display:none;
}
/* NAVIGATOR BOUNDING BOX */
.yui-calcontainer .yui-cal-nav {
position:absolute;
z-index:3;
top:0;
display:none;
}
/* NAVIGATOR BUTTONS (based on button-core.css) */
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
display: -moz-inline-box; /* Gecko */
display: inline-block; /* IE, Opera and Safari */
}
.yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
display: block;
*display: inline-block; /* IE */
*overflow: visible; /* Remove superfluous padding for IE */
border: none;
background-color: transparent;
cursor: pointer;
}
/* Specific changes for calendar running under fonts/reset */
.yui-calendar .calbody a:hover {background:inherit;}
p#clear {clear:left; padding-top:10px;}

View File

@ -0,0 +1,320 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-calcontainer {
position:relative;
padding:5px;
background-color:#F7F9FB;
border:1px solid #7B9EBD;
float:left;
_overflow:hidden; /* IE6 only, to clip iframe shim */
}
.yui-calcontainer iframe {
position:absolute;
border:none;
margin:0;padding:0;
z-index:0;
width:100%;
height:100%;
left:0px;
top:0px;
}
/* IE6 only */
.yui-calcontainer iframe.fixedsize {
width:50em;
height:50em;
top:-1px;
left:-1px;
}
.yui-calcontainer.multi {
padding:0;
}
.yui-calcontainer.multi .groupcal {
padding:5px;
background-color:transparent;
z-index:1;
float:left;
position:relative;
border:none;
}
.yui-calcontainer .title {
font:100% sans-serif;
color:#000;
font-weight:bold;
margin-bottom:5px;
height:25px;
position:absolute;
top:3px;left:5px;
z-index:1;
}
.yui-calcontainer .close-icon {
position:absolute;
overflow:hidden;
text-indent:-10000em;
right:3px;
top:3px;
border:none;
z-index:1;
}
.yui-calcontainer .calclose {
background: url("calx.gif") no-repeat;
width:17px;
height:13px;
cursor:pointer;
}
/* Calendar element styles */
.yui-calendar {
font:100% sans-serif;
text-align:center;
border-spacing:0;
border-collapse:separate;
position:relative;
}
.yui-calcontainer.withtitle {
padding-top:1.5em;
}
.yui-calendar .calnavleft {
position:absolute;
overflow:hidden;
text-indent:-10000em;
cursor:pointer;
top:2px;
bottom:0;
width:9px;
height:12px;
left:2px;
z-index:1;
background: url("callt.gif") no-repeat;
}
.yui-calendar .calnavright {
position:absolute;
overflow:hidden;
text-indent:-10000em;
cursor:pointer;
top:2px;
bottom:0;
width:9px;
height:12px;
right:2px;
z-index:1;
background: url("calrt.gif") no-repeat;
}
.yui-calendar td.calcell {
padding:.1em .2em;
border:1px solid #E0E0E0;
text-align:center;
}
.yui-calendar td.calcell a {
color:#003DB8;
text-decoration:none;
}
.yui-calendar td.calcell.today {
border:1px solid #000;
}
.yui-calendar td.calcell.oom {
cursor:default;
color:#999;
background-color:#EEE;
border:1px solid #E0E0E0;
}
.yui-calendar td.calcell.selected {
color:#003DB8;
background-color:#FFF19F;
border:1px solid #FF9900;
}
.yui-calendar td.calcell.calcellhover {
cursor:pointer;
color:#FFF;
background-color:#FF9900;
border:1px solid #FF9900;
}
.yui-calendar td.calcell.calcellhover a {
color:#FFF;
}
.yui-calendar td.calcell.restricted {
text-decoration:line-through;
}
.yui-calendar td.calcell.previous {
color:#CCC;
}
.yui-calendar td.calcell.highlight1 { background-color:#CCFF99; }
.yui-calendar td.calcell.highlight2 { background-color:#99CCFF; }
.yui-calendar td.calcell.highlight3 { background-color:#FFCCCC; }
.yui-calendar td.calcell.highlight4 { background-color:#CCFF99; }
.yui-calendar .calhead {
border:1px solid #E0E0E0;
vertical-align:middle;
background-color:#FFF;
}
.yui-calendar .calheader {
position:relative;
width:100%;
text-align:center;
}
.yui-calendar .calheader img {
border:none;
}
.yui-calendar .calweekdaycell {
color:#666;
font-weight:normal;
text-align:center;
width:1.5em;
}
.yui-calendar .calfoot {
background-color:#EEE;
}
.yui-calendar .calrowhead, .yui-calendar .calrowfoot {
color:#666;
font-size:9px;
font-style:italic;
font-weight:normal;
width:15px;
}
.yui-calendar .calrowhead {
border-right-width:2px;
}
/* CalendarNavigator */
.yui-calendar a.calnav {
_position:relative;
padding-left:2px;
padding-right:2px;
text-decoration:none;
color:#000;
}
.yui-calendar a.calnav:hover {
border:1px solid #003366;
background-color:#6699cc;
background: url(calgrad.png) repeat-x;
color:#fff;
cursor:pointer;
}
.yui-calcontainer .yui-cal-nav-mask {
position:absolute;
z-index:2;
display:none;
margin:0;
padding:0;
left:0;
top:0;
width:100%;
height:100%;
_width:0; /* IE6, IE7 Quirks - width/height set programmatically to match container */
_height:0;
background-color:#000;
opacity:0.25;
*filter:alpha(opacity=25);
}
.yui-calcontainer .yui-cal-nav {
position:absolute;
z-index:3;
display:none;
padding:0;
top:1.5em;
left:50%;
width:12em;
margin-left:-6em;
border:1px solid #7B9EBD;
background-color:#F7F9FB;
font-size:93%;
}
.yui-calcontainer.withtitle .yui-cal-nav {
top:3.5em;
}
.yui-calcontainer .yui-cal-nav-y,
.yui-calcontainer .yui-cal-nav-m,
.yui-calcontainer .yui-cal-nav-b {
padding:2px 5px 2px 5px;
}
.yui-calcontainer .yui-cal-nav-b {
text-align:center;
}
.yui-calcontainer .yui-cal-nav-e {
margin-top:2px;
padding:2px;
background-color:#EDF5FF;
border-top:1px solid black;
display:none;
}
.yui-calcontainer .yui-cal-nav label {
display:block;
font-weight:bold;
}
.yui-calcontainer .yui-cal-nav-mc {
width:100%;
_width:auto; /* IE6 doesn't like width 100% */
}
.yui-calcontainer .yui-cal-nav-y input.yui-invalid {
background-color:#FFEE69;
border: 1px solid #000;
}
.yui-calcontainer .yui-cal-nav-yc {
width:3em;
}
.yui-calcontainer .yui-cal-nav-b button {
font-size:93%;
text-decoration:none;
cursor: pointer;
background-color: #79b2ea;
border: 1px solid #003366;
border-top-color:#FFF;
border-left-color:#FFF;
margin:1px;
}
.yui-calcontainer .yui-cal-nav-b .yui-default button {
/* not implemented */
}
/* Specific changes for calendar running under fonts/reset */
.yui-calendar .calbody a:hover {background:inherit;}
p#clear {clear:left; padding-top:10px;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

View File

@ -0,0 +1,361 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/**
* SAM
*
* Skin colors used:
*
* - Control Border : 808080
* - Control Chrome : f2f2f2
* - Cell Borders : cccccc
* - Normal Cell BG : ffffff
* - Date Links : 0066cc
* - Selected Cells BG : b3d4ff
* - Cell Hover BG : 426fd9
* - Disabled BG : cccccc
* - Disabled Text Color : a6a6a6
**/
/* CALENDAR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer {
background-color:#f2f2f2;
border:1px solid #808080;
padding:10px;
}
/* CALENDARGROUP BOUNDING BOX */
.yui-skin-sam .yui-calcontainer.multi {
padding:0 5px 0 5px;
}
/* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
.yui-skin-sam .yui-calcontainer.multi .groupcal {
background-color:transparent;
border:none;
padding:10px 5px 10px 5px;
margin:0;
}
/* TITLE BAR */
.yui-skin-sam .yui-calcontainer .title {
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
border-bottom:1px solid #cccccc;
font:100% sans-serif;
color:#000;
font-weight:bold;
height:auto;
padding:.4em;
margin:0 -10px 10px -10px;
top:0;
left:0;
text-align:left;
}
.yui-skin-sam .yui-calcontainer.multi .title {
margin:0 -5px 0 -5px;
}
.yui-skin-sam .yui-calcontainer.withtitle {
padding-top:0;
}
/* CLOSE BUTTON */
.yui-skin-sam .yui-calcontainer .calclose {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -300px;
width:25px;
height:15px;
top:.4em;
right:.4em;
cursor:pointer;
}
/* CALENDAR TABLE */
.yui-skin-sam .yui-calendar {
border-spacing:0;
border-collapse:collapse;
font:100% sans-serif;
text-align:center;
margin:0;
}
/* NAVBAR BOUNDING BOX */
.yui-skin-sam .yui-calendar .calhead {
background:transparent;
border:none;
vertical-align:middle;
padding:0;
}
/* NAVBAR TEXT CONTAINER */
.yui-skin-sam .yui-calendar .calheader {
background:transparent;
font-weight:bold;
padding:0 0 .6em 0;
text-align:center;
}
.yui-skin-sam .yui-calendar .calheader img {
border:none;
}
/* NAVBAR LEFT ARROW */
.yui-skin-sam .yui-calendar .calnavleft {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -450px;
width:25px;
height:15px;
top:0;
bottom:0;
left:-10px;
margin-left:.4em;
cursor:pointer;
}
/* NAVBAR RIGHT ARROW */
.yui-skin-sam .yui-calendar .calnavright {
background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -500px;
width:25px;
height:15px;
top:0;
bottom:0;
right:-10px;
margin-right:.4em;
cursor:pointer;
}
/* WEEKDAY HEADER ROW */
.yui-skin-sam .yui-calendar .calweekdayrow {
height:2em;
}
.yui-skin-sam .yui-calendar .calweekdayrow th {
padding:0;
border:none;
}
/* WEEKDAY (Su, Mo, Tu...) HEADER CELLS */
.yui-skin-sam .yui-calendar .calweekdaycell {
color:#000;
font-weight:bold;
text-align:center;
width:2em;
}
/* CALENDAR FOOTER. NOT IMPLEMENTED BY DEFAULT */
.yui-skin-sam .yui-calendar .calfoot {
background-color:#f2f2f2;
}
/* WEEK NUMBERS (ROW HEADERS/FOOTERS) */
.yui-skin-sam .yui-calendar .calrowhead, .yui-skin-sam .yui-calendar .calrowfoot {
color:#a6a6a6;
font-size:85%;
font-style:normal;
font-weight:normal;
border:none;
}
.yui-skin-sam .yui-calendar .calrowhead {
text-align:right;
padding:0 2px 0 0;
}
.yui-skin-sam .yui-calendar .calrowfoot {
text-align:left;
padding:0 0 0 2px;
}
/* NORMAL CELLS */
.yui-skin-sam .yui-calendar td.calcell {
border:1px solid #cccccc;
background:#fff;
padding:1px;
height:1.6em;
line-height:1.6em; /* set line height equal to cell height to center vertically */
text-align:center;
white-space:nowrap;
}
/* LINK INSIDE NORMAL CELLS */
.yui-skin-sam .yui-calendar td.calcell a {
color:#0066cc;
display:block;
height:100%;
text-decoration:none;
}
/* TODAY'S DATE */
.yui-skin-sam .yui-calendar td.calcell.today {
background-color:#000;
}
.yui-skin-sam .yui-calendar td.calcell.today a {
background-color:#fff;
}
/* OOM DATES */
.yui-skin-sam .yui-calendar td.calcell.oom {
background-color:#cccccc;
color:#a6a6a6;
cursor:default;
}
/* SELECTED DATE */
.yui-skin-sam .yui-calendar td.calcell.selected {
background-color:#fff;
color:#000;
}
.yui-skin-sam .yui-calendar td.calcell.selected a {
background-color:#b3d4ff;
color:#000;
}
/* HOVER DATE */
.yui-skin-sam .yui-calendar td.calcell.calcellhover {
background-color:#426fd9;
color:#fff;
cursor:pointer;
}
.yui-skin-sam .yui-calendar td.calcell.calcellhover a {
background-color:#426fd9;
color:#fff;
}
/* DEFAULT OOB DATES */
.yui-skin-sam .yui-calendar td.calcell.previous {
color:#e0e0e0;
}
/* CUSTOM RENDERERS */
.yui-skin-sam .yui-calendar td.calcell.restricted { text-decoration:line-through; }
.yui-skin-sam .yui-calendar td.calcell.highlight1 { background-color:#ccff99; }
.yui-skin-sam .yui-calendar td.calcell.highlight2 { background-color:#99ccff; }
.yui-skin-sam .yui-calendar td.calcell.highlight3 { background-color:#ffcccc; }
.yui-skin-sam .yui-calendar td.calcell.highlight4 { background-color:#ccff99; }
/* CalendarNavigator */
/* MONTH/YEAR LABEL */
.yui-skin-sam .yui-calendar a.calnav {
border: 1px solid #f2f2f2;
padding:0 4px;
text-decoration:none;
color:#000;
zoom:1;
}
.yui-skin-sam .yui-calendar a.calnav:hover {
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
border-color:#A0A0A0;
cursor:pointer;
}
/* NAVIGATOR MASK */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mask {
background-color:#000;
opacity:0.25;
filter:alpha(opacity=25); /* IE */
}
/* NAVIGATOR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer .yui-cal-nav {
font-family:arial,helvetica,clean,sans-serif;
font-size:93%;
border:1px solid #808080;
left:50%;
margin-left:-7em;
width:14em;
padding:0;
top:2.5em;
background-color:#f2f2f2;
}
.yui-skin-sam .yui-calcontainer.withtitle .yui-cal-nav {
top:4.5em;
}
/* NAVIGATOR BOUNDING BOX */
.yui-skin-sam .yui-calcontainer.multi .yui-cal-nav {
width:16em;
margin-left:-8em;
}
/* NAVIGATOR YEAR/MONTH/BUTTON/ERROR BOUNDING BLOCKS */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y,
.yui-skin-sam .yui-calcontainer .yui-cal-nav-m,
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
padding:5px 10px 5px 10px;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav-b {
text-align:center;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav-e {
margin-top:5px;
padding:5px;
background-color:#EDF5FF;
border-top:1px solid black;
display:none;
}
/* NAVIGATOR LABELS */
.yui-skin-sam .yui-calcontainer .yui-cal-nav label {
display:block;
font-weight:bold;
}
/* NAVIGATOR MONTH CONTROL */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-mc {
width:100%;
_width:auto; /* IE6, IE7 Quirks don't handle 100% well */
}
/* NAVIGATOR MONTH CONTROL, VALIDATION ERROR */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-y input.yui-invalid {
background-color:#FFEE69;
border: 1px solid #000;
}
/* NAVIGATOR YEAR CONTROL */
.yui-skin-sam .yui-calcontainer .yui-cal-nav-yc {
width:4em;
}
/* NAVIGATOR BUTTONS */
/* BUTTON WRAPPER */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {
border:1px solid #808080;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
background-color:#ccc;
margin: auto .15em;
}
/* BUTTON (based on button-skin.css) */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
padding:0 8px;
font-size:93%;
line-height: 2; /* ~24px */
*line-height: 1.7; /* For IE */
min-height: 2em; /* For Gecko */
*min-height: auto; /* For IE */
color: #000;
}
/* DEFAULT BUTTONS */
/* NOTE: IE6 will only pickup the yui-default specifier from the multiple class specifier */
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default {
border:1px solid #304369;
background-color: #426fd9;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;
}
.yui-skin-sam .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button {
color:#fff;
}

File diff suppressed because one or more lines are too long

7178
javascript/yui/calendar/calendar-debug.js vendored Normal file

File diff suppressed because it is too large Load Diff

18
javascript/yui/calendar/calendar-min.js vendored Normal file

File diff suppressed because one or more lines are too long

7148
javascript/yui/calendar/calendar.js vendored Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,88 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-carousel {
visibility: hidden;
overflow: hidden;
position: relative;
text-align: left;
zoom: 1;
}
.yui-carousel.yui-carousel-visible {
visibility: visible;
}
.yui-carousel-content {
overflow: hidden;
position: relative;
}
.yui-carousel-element {
margin: 5px 0;
overflow: hidden;
padding: 0;
position: relative;
width: 32000px;
z-index: 1;
}
.yui-carousel-vertical .yui-carousel-element {
margin: 0 5px;
}
.yui-carousel-element li {
border: 1px solid #ccc;
float: left;
list-style: none;
margin: 1px;
overflow: hidden;
padding: 0;
text-align: center;
/* IE 6 & 7 fix - prevent DOM scroll for focussed elements. */
*float: none;
*display: inline-block;
*zoom: 1;
*display: inline;
}
.yui-carousel .yui-carousel-item-selected {
border: 1px dashed #000;
margin: 1px;
}
.yui-carousel-vertical {
height: 32000px;
margin: 0 5px;
width: auto;
}
.yui-carousel-vertical .yui-carousel-element li {
display: block;
float: none;
}
.yui-log .carousel {
background: #f2e886;
}
.yui-carousel-nav {
zoom: 1;
}
.yui-carousel-nav:after {
clear: both;
content: "";
display: block;
}
.yui-carousel-button-focus {
outline: 1px dotted #000;
}
.yui-carousel-min-width .yui-carousel-content {
margin: 0 auto;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,132 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-skin-sam .yui-carousel,
.yui-skin-sam .yui-carousel-vertical {
border: 1px solid #808080;
}
.yui-skin-sam .yui-carousel-nav {
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
padding: 3px;
text-align: right;
}
.yui-skin-sam .yui-carousel-button {
background: url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -600px;
float: right;
height: 19px;
margin: 5px;
overflow: hidden;
width: 40px;
}
.yui-skin-sam .yui-carousel-vertical .yui-carousel-button {
background-position: 0 -800px;
}
.yui-skin-sam .yui-carousel-button-disabled {
background-position: 0 -2000px;
}
.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled {
background-position: 0 -2100px;
}
.yui-skin-sam .yui-carousel-button input,
.yui-skin-sam .yui-carousel-button button {
background-color: transparent;
border: 0;
cursor: pointer;
display: block;
height: 44px;
margin: -2px 0 0 -2px;
padding: 0 0 0 50px;
}
.yui-skin-sam span.yui-carousel-first-button {
background-position: 0px -550px;
margin-left: -100px;
margin-right: 50px;
*margin: 5px 5px 5px -90px;
}
.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button {
background-position: 0px -750px;
}
.yui-skin-sam span.yui-carousel-first-button-disabled {
background-position: 0 -1950px;
}
.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled {
background-position: 0 -2050px;
}
.yui-skin-sam .yui-carousel-nav ul {
float: right;
height: 19px;
margin: 0;
margin-left: -220px;
margin-right: 100px;
*margin-left: -160px;
*margin-right: 0;
padding: 0;
}
.yui-skin-sam .yui-carousel-min-width .yui-carousel-nav ul {
*margin-left: -170px;
}
.yui-skin-sam .yui-carousel-nav select {
position: relative;
*right: 50px;
top: 4px;
}
.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,
.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select {
float: none;
margin: 0;
*zoom: 1;
}
.yui-skin-sam .yui-carousel-nav ul li {
background: url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -650px;
cursor: pointer;
float: left;
height: 9px;
list-style: none;
margin: 10px 0 0 5px;
overflow: hidden;
padding: 0;
width: 9px;
}
.yui-skin-sam .yui-carousel-nav ul:after {
clear: both;
content: "";
display: block;
}
.yui-skin-sam .yui-carousel-nav ul li a {
left: -10000px;
position: absolute;
}
.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-focus {
outline: 1px dotted #000;
}
.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected {
background-position: 0 -700px;
}
.yui-skin-sam .yui-carousel-item-loading {
background: url(ajax-loader.gif) no-repeat 50% 50%;
position: relative;
text-indent: -150px;
}

View File

@ -0,0 +1,7 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-carousel{visibility:hidden;overflow:hidden;position:relative;text-align:left;zoom:1;}.yui-carousel.yui-carousel-visible{visibility:visible;}.yui-carousel-content{overflow:hidden;position:relative;}.yui-carousel-element{margin:5px 0;overflow:hidden;padding:0;position:relative;width:32000px;z-index:1;}.yui-carousel-vertical .yui-carousel-element{margin:0 5px;}.yui-carousel-element li{border:1px solid #ccc;float:left;list-style:none;margin:1px;overflow:hidden;padding:0;text-align:center;*float:none;*display:inline-block;*zoom:1;*display:inline;}.yui-carousel .yui-carousel-item-selected{border:1px dashed #000;margin:1px;}.yui-carousel-vertical{height:32000px;margin:0 5px;width:auto;}.yui-carousel-vertical .yui-carousel-element li{display:block;float:none;}.yui-log .carousel{background:#f2e886;}.yui-carousel-nav{zoom:1;}.yui-carousel-nav:after{clear:both;content:"";display:block;}.yui-carousel-button-focus{outline:1px dotted #000;}.yui-carousel-min-width .yui-carousel-content{margin:0 auto;}.yui-skin-sam .yui-carousel,.yui-skin-sam .yui-carousel-vertical{border:1px solid #808080;}.yui-skin-sam .yui-carousel-nav{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;padding:3px;text-align:right;}.yui-skin-sam .yui-carousel-button{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -600px;float:right;height:19px;margin:5px;overflow:hidden;width:40px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button{background-position:0 -800px;}.yui-skin-sam .yui-carousel-button-disabled{background-position:0 -2000px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-button-disabled{background-position:0 -2100px;}.yui-skin-sam .yui-carousel-button input,.yui-skin-sam .yui-carousel-button button{background-color:transparent;border:0;cursor:pointer;display:block;height:44px;margin:-2px 0 0 -2px;padding:0 0 0 50px;}.yui-skin-sam span.yui-carousel-first-button{background-position:0 -550px;margin-left:-100px;margin-right:50px;*margin:5px 5px 5px -90px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button{background-position:0 -750px;}.yui-skin-sam span.yui-carousel-first-button-disabled{background-position:0 -1950px;}.yui-skin-sam .yui-carousel-vertical span.yui-carousel-first-button-disabled{background-position:0 -2050px;}.yui-skin-sam .yui-carousel-nav ul{float:right;height:19px;margin:0;margin-left:-220px;margin-right:100px;*margin-left:-160px;*margin-right:0;padding:0;}.yui-skin-sam .yui-carousel-min-width .yui-carousel-nav ul{*margin-left:-170px;}.yui-skin-sam .yui-carousel-nav select{position:relative;*right:50px;top:4px;}.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav ul,.yui-skin-sam .yui-carousel-vertical .yui-carousel-nav select{float:none;margin:0;*zoom:1;}.yui-skin-sam .yui-carousel-nav ul li{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 -650px;cursor:pointer;float:left;height:9px;list-style:none;margin:10px 0 0 5px;overflow:hidden;padding:0;width:9px;}.yui-skin-sam .yui-carousel-nav ul:after{clear:both;content:"";display:block;}.yui-skin-sam .yui-carousel-nav ul li a{left:-10000px;position:absolute;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-focus{outline:1px dotted #000;}.yui-skin-sam .yui-carousel-nav ul li.yui-carousel-nav-page-selected{background-position:0 -700px;}.yui-skin-sam .yui-carousel-item-loading{background:url(ajax-loader.gif) no-repeat 50% 50%;position:relative;text-indent:-150px;}

3658
javascript/yui/carousel/carousel-debug.js vendored Normal file

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More