preparing for 2.6 yui upgrade
This commit is contained in:
parent
eea207b3ec
commit
a041e93da8
1632 changed files with 0 additions and 812103 deletions
|
|
@ -1,315 +0,0 @@
|
|||
DataTable Release Notes
|
||||
|
||||
*** version 2.5.1 ***
|
||||
|
||||
* Only split THEAD from TBODY markup for scrollable tables.
|
||||
* columnResizeEvent sends new width value.
|
||||
* Improved performance for adding, deleting, and updating rows dynamically.
|
||||
|
||||
|
||||
|
||||
*** version 2.5.0 ***
|
||||
|
||||
* Introduced YAHOO.widget.Paginator to manage pagination.
|
||||
* Introduced YAHOO.util.Chain to allow for progressive rendering.
|
||||
|
||||
Removed APIs
|
||||
|
||||
* CLASS_SCROLLBODY
|
||||
* CLASS_TABLE
|
||||
* getTableEl()
|
||||
|
||||
Changed APIs
|
||||
|
||||
* doBeforeLoadData(sRequest, oResponse, oPayload) - oResponse is now the converted full response (typed JSON or XML as appropriate). oPayload is now an optional data payload implementer can pass in to DataSource.sendRequest via the callback object literal.
|
||||
* formatCell() - The first argument, elCell, is now a reference to the cell liner element rather than the TD itself.
|
||||
* onDataReturnAppendRows(sRequest, oResponse, oPayload) - oResponse is now the converted full response (typed JSON or XML as appropriate). oPayload is now an optional data payload implementer can pass in to DataSource.sendRequest via the callback object literal.
|
||||
* onDataReturnInitializeTable(sRequest, oResponse, oPayload) - oResponse is now the converted full response (typed JSON or XML as appropriate). oPayload is now an optional data payload implementer can pass in to DataSource.sendRequest via the callback object literal.
|
||||
* onDataReturnInsertRows(sRequest, oResponse, oPayload) - oResponse is now the converted full response (typed JSON or XML as appropriate). oPayload is now an optional data payload implementer can pass in to DataSource.sendRequest via the callback object literal.
|
||||
* paginator - Should now be an instance of YAHOO.widget.Paginator.
|
||||
* sortedBy.dir - Use CLASS_ASC or CLASS_DESC instead of "asc" and "desc" strings.
|
||||
* Scrolling must be enabled via the configs "scrollable", "width", and "height". CSS should no longer be used to set width or height on scrollable tables.
|
||||
|
||||
Deprecated APIs
|
||||
|
||||
* formatPaginatorDropdown() - Use new Paginator class.
|
||||
* formatPaginatorLinks() - Use new Paginator class.
|
||||
* formatPaginators() - Use new Paginator class.
|
||||
* refreshView() - Use render().
|
||||
* showPage() - Use new Paginator class.
|
||||
* updatePaginator() - Use new Paginator class.
|
||||
* headerCellClickEvent - Use theadCellClickEvent.
|
||||
* headerCellDblclickEvent - Use theadCellDblclickEvent.
|
||||
* headerCellMousedownEvent - Use theadCellMousedownEvent.
|
||||
* headerCellMouseoutEvent - Use theadCellMouseoutEvent.
|
||||
* headerCellMouseoverEvent - Use theadCellMouseoverEvent.
|
||||
* headerLabelClickEvent - Use theadLabelClickEvent.
|
||||
* headerLabelDblclickEvent - Use theadLabelDblclickEvent.
|
||||
* headerLabelMousedownEvent - Use theadLabelMousedownEvent.
|
||||
* headerLabelMouseoutEvent - Use theadLabelMouseoutEvent.
|
||||
* headerLabelMouseoverEvent - Use theadLabelMouseoverEvent.
|
||||
* headerRowClickEvent - Use theadRowClickEvent.
|
||||
* headerRowDblclickEvent - Use theadRowDblclickEvent.
|
||||
* headerRowMousedownEvent - Use theadRowMousedownEvent.
|
||||
* headerRowMouseoutEvent - Use theadRowMouseoutEvent.
|
||||
* headerRowMouseoverEvent - Use theadRowMouseoverEvent.
|
||||
* refreshEvent - Use renderEvent.
|
||||
* paginated - No longer used, as long as "paginator" value is an instance of Paginator class.
|
||||
|
||||
|
||||
RecordSet
|
||||
|
||||
* updateKey() - Use updateRecordValue().
|
||||
* keyUpdateEvent - Use recordValueUpdateEvent.
|
||||
|
||||
Column
|
||||
|
||||
* width - Must now be a number. Strings will be ignored.
|
||||
* sortOptions.defaultOrder - Use sortOptions.defaultDir, and use CLASS_ASC or CLASS_DESC instead of "asc" and "desc" strings.
|
||||
|
||||
|
||||
|
||||
*** version 2.4.0 ***
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
|
||||
*** version 2.3.1 ***
|
||||
|
||||
* For better support of resizeable Columns, the following core CSS changes have been
|
||||
made:
|
||||
|
||||
- applied "table-layout:fixed" to TABLE elements
|
||||
- removed "overflow:hidden" from TH and TD elements
|
||||
- removed "white-space:nowrap" from TD elements
|
||||
|
||||
As a result, implementers may notice a change in the widths of their rendered
|
||||
DataTables, which should be resolved by setting widths explicitly via CSS or
|
||||
your Column definitions.
|
||||
|
||||
* Selection model issues have been addressed by clearing up ambiguous ID and
|
||||
index usage. Record instances are now assigned globally unique and immutable ID
|
||||
strings (no longer numbers). Record indexes are numbers that are mutable in order
|
||||
to represent Record order within a RecordSet instance. TR elements are assigned
|
||||
DOM ID strings that are *unrelated* to Record instance IDs and Record indexes. Be
|
||||
aware that DOM element IDs will get reused when sorting and paginating. Furthermore,
|
||||
Column instances are assigned globally unique and immutable ID strings
|
||||
(no longer numbers). Column indexes are numbers that are mutable and represent
|
||||
Column order within a ColumnSet instance. Please refer to the API documentation
|
||||
for details on when to use Record/Column instance IDs, DOM element IDs, and
|
||||
Record/Column index numbers.
|
||||
|
||||
* Enabling row or cell selection no longer breaks clicks on links and form elements.
|
||||
|
||||
|
||||
|
||||
*** version 2.3.0 ***
|
||||
|
||||
* DataSource requests over XHR no longer automatically insert a "?" in the URIs
|
||||
between the host and the query. Implementers should explicitly include the
|
||||
question mark if it is required by your server. Please refer to the XHR
|
||||
examples for implementation details.
|
||||
|
||||
* Applied new skinning model.
|
||||
|
||||
* The MVC model has been stabilized and many APIs have been renamed or changed
|
||||
quite a bit from the previous version. Implementers should now only use
|
||||
DataTable APIs and not use any Record or RecordSet APIs to add/delete/update
|
||||
rows, Records, and DOM elements. RecordSet synchronization will be managed for
|
||||
you under the hood. For example, myDataTable.addRow() now accepts an object
|
||||
literal of data and will create a Record and update the DOM. Calling
|
||||
myDataTable.deleteRow() will delete the appropriate Record and update the DOM.
|
||||
Please refer to the API reference for full details on property and method names and
|
||||
argument signatures. When possible, Logger messages will provide deprecation warnings,
|
||||
so implementers upgrading from the previous version are encouraged to use the debug
|
||||
build of DataTable.
|
||||
|
||||
* The DataTable constructor signature has changed in 2 major ways:
|
||||
1) Do not pass in a ColumnSet instance. Instead, pass in an array of Column
|
||||
definitions directly, and a ColumnSet instance will be created for you under the hood.
|
||||
2) In the progressive enhancement case, first instantiate a DataSource pointing
|
||||
to your HTML TABLE element, and then pass in that DataSource instance to your
|
||||
DataTable constructor. Please refer to the progressive enhancement example
|
||||
for implementation details.
|
||||
|
||||
* DataTable now extends Element, which has become a required dependency. Implementers
|
||||
should now use the myDataTable.set("propertyName", newValue) syntax instead of direct
|
||||
dot notation of any properties.
|
||||
|
||||
* The underlying pagination architecture and API have been revised. Specifically,
|
||||
the property paginator has been deprecated in favor of paginated,
|
||||
paginatorOptions has been deprecated in favor of paginator, and related events
|
||||
and method names have been changed. Please see the pagination examples for
|
||||
implementation details. Please refer to the API reference for full details on
|
||||
new property and method names and argument signatures.
|
||||
|
||||
* There is a known pagination bug where changing the rows-per-page dropdown while
|
||||
on a page number that is out of bounds of the new range, the current page value
|
||||
fails to get reset to an appropriate default value.
|
||||
|
||||
* There is a known pagination bug where custom containers are ignored.
|
||||
|
||||
* There is a known bug where row and cell selections are not tracked correctly in
|
||||
paginated DataTables.
|
||||
|
||||
* The underlying editing architecture and API have been revised. Specifically, the
|
||||
ColumnEditor class is no longer used, the method editCell() has been deprecated
|
||||
in favor of showCellEditor(), and the Custom Event "cellEditEvent" is now
|
||||
"editorSaveEvent". Please see the inline editing example for
|
||||
implementation details. Please refer to the API reference for full details on
|
||||
property and method names and argument signatures.
|
||||
|
||||
* There is a known issue where the built-in date editor throws a JavaScript
|
||||
exception when encountering a null or non-Date value. Implementers using the built-in
|
||||
date editor should validate for type Date and avoid null values in these data
|
||||
fields.
|
||||
|
||||
* The underlying sort architecture, including YAHOO.util.Sort, has been modified
|
||||
to accept a single sort function rather than separate functions for ascending
|
||||
and descending sorts.
|
||||
|
||||
* Scrolling a DataTable with an active Cell Editor will cancel the edit to
|
||||
to prevent the Cell Editor's position from getting out of sync with its
|
||||
associated TD element.
|
||||
|
||||
* The following static methods are executed in the scope of the DataTable
|
||||
instance: DataTable.validateNumber(), DataTable.formatButton(),
|
||||
DataTable.formatCheckbox(), DataTable.formatCurrency(), DataTable.formatDate(),
|
||||
DataTable.formatDropdown(), DataTable.formatEmail(), DataTable.formatLink(),
|
||||
DataTable.formatNumber(), DataTable.formatRadio(), DataTable.formatText(),
|
||||
DataTable.formatTextarea(), DataTable.formatTextbox().
|
||||
|
||||
* The following DataTable APIs have changed:
|
||||
- The following static constants have been removed: CLASS_CURRENCY, CLASS_CURRENTPAGE,
|
||||
CLASS_DATE, CLASS_EMAIL, CLASS_FIRSTLINK, CLASS_FIRSTPAGE, CLASS_HEADCONTAINER,
|
||||
CLASS_HEADRESIZER, CLASS_HEADTEXT, CLASS_HIGHLIGHT, CLASS_LASTLINK, CLASS_LASTPAGE,
|
||||
CLASS_LINK, CLASS_NEXTLINK, CLASS_NEXTPAGE, CLASS_NUMBER, CLASS_PAGELINK,
|
||||
CLASS_PAGELINKS, CLASS_PAGESELECT, CLASS_PREVLINK, CLASS_PREVPAGE, CLASS_SORTEDBYASC,
|
||||
CLASS_SORTEDBYDESC, CLASS_STRING.
|
||||
- The following static constants have been added: CLASS_ASC, CLASS_BUTTON,
|
||||
CLASS_DEFAULT, CLASS_DESC, CLASS_DISABLED, CLASS_DROPDOWN, CLASS_HEADER,
|
||||
CLASS_HIGHLIGHTED, CLASS_LABEL, CLASS_NEXT, CLASS_PAGE, CLASS_PREVIOUS,
|
||||
CLASS_RESIZER
|
||||
- The property contextMenu is no longer supported.
|
||||
- The property dataSource has been deprecated in favor of the accessor method
|
||||
getDataSource().
|
||||
- The property fixedWidth is not fully supported.
|
||||
- The property sortedBy now defines key instead of colKey.
|
||||
- The property rowSingleSelect has been deprecated in favor of selectionMode.
|
||||
|
||||
* The following Record APIs have changed:
|
||||
- Record data values are no longer accessible with oRecord[key] or oRecord.key.
|
||||
Implementers should now use oRecord.getData(key).
|
||||
- The property yuiRecordId has been deprecated in favor of the accessor method
|
||||
getId().
|
||||
|
||||
* The following RecordSet APIs have changed:
|
||||
- The method getRecordBy() is not implemented.
|
||||
- The method insert() has been deprecated in favor of addRecord() and addRecords().
|
||||
- The method replace() has been renamed replaceRecords().
|
||||
- The method sort() has been deprecated in favor of sortRecords().
|
||||
|
||||
* The following Column APIs have changed:
|
||||
- Column type has been deprecated in favor of formatter. In your Column
|
||||
definitions, please change type:"date" to formatter:"date", type:"currency" to
|
||||
formatter:"currency", etc.
|
||||
- The property parser is no longer used. Implementers should use the static
|
||||
DataSource methods DataSource.parseDate(), DataSource.parseNumber(), and
|
||||
DataSource.parseString() for type conversion functionality.
|
||||
- The methods getColSpan() and getRowSpan() have been renamed to getColspan()
|
||||
and getRowspan().
|
||||
- The return value for the method getId() has been changed.
|
||||
- The following methods are no longer implemented: parse(), parseCheckbox(),
|
||||
parseDate(), parseNumber(), parseSelect(). Implementers should now use a
|
||||
DataSource with a data type of HTML TABLE element.
|
||||
- The showEditor() method is no longer implemented. Implementers should now use
|
||||
the DataTable method showCellEditor().
|
||||
- All static formatter functions have been moved from the Column class to the
|
||||
DataTable class.
|
||||
|
||||
* The DataTable method getColumn() has a known issue where instead of accepting
|
||||
a Column's key index value, the method accepts a Column's ID value. Until this
|
||||
issue is fixed, implementers can use the following workaround:
|
||||
|
||||
// Instead of this:
|
||||
// var oColumn = myDataTable.getColumn(0);
|
||||
|
||||
// Use this:
|
||||
var oColumn = myDataTable.getColumn(myDataTable.getFirstTrEl().cells[0].yuiColumnId);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*** version 2.2.2 ***
|
||||
|
||||
* Removed workaround for a fixed Dom.getXY() bug that was causing a positioning
|
||||
problem for inline editors on scrolled pages.
|
||||
|
||||
|
||||
|
||||
**** version 2.2.1 ***
|
||||
|
||||
* Changed default pagination from enabled to disabled. Must set property
|
||||
paginator to true to enable built-in client-side pagination.
|
||||
* Removed deleteSelectedRows() and added deleteRows().
|
||||
* Deprecated properties isEmpty and isLoading, and methods showLoadingMessage(),
|
||||
showEmptyMessage(), and hideTableMessages(). Implementers should now use
|
||||
showTableMessage() and hideTableMessage().
|
||||
* Deprecated methods paginateRows() and onDataReturnPaginateRows(). Implementers
|
||||
should now use popualateTable() and onDataReturnPopulateTable().
|
||||
* Deprecated pagination properties pageCurrent, rowsPerPage, startRecordIndex,
|
||||
pageLinksLength, rowsPerPageDropdown, pageLinksStart, and pagers.
|
||||
* Fixed unclickable links.
|
||||
* Fix to support data values of 0 (zero).
|
||||
* Fixed broken validation in multiple places when the value 0 (zero) is passed
|
||||
in as an argument.
|
||||
* Fixed incorrect month output in formatDate().
|
||||
* Fixed broken empty message when there are zero rows.
|
||||
* Allow implementers to use data with field name "id".
|
||||
* Fixed Column resizeability in -min builds.
|
||||
* Fixed Column sorting of null, undefined, and empty values.
|
||||
* Fixed Column sorting of nested headers.
|
||||
* Fixed paginator dropdowns to stay in sync when paginating.
|
||||
* Fixed rowSingleSelect for paginated DataTable.
|
||||
* Fix for currency values with more than 2 decimal places.
|
||||
* Fixed broken TR ID assignments in replaceRows().
|
||||
* Fixed Opera UI artifacting problem when repaginating via dropdowns.
|
||||
* Fixed orphaned ColumnEditor during pagination or other de facto blur
|
||||
interaction. Data gets saved.
|
||||
* Extracted non-foundational CSS for scrollable DataTables to make UI easier to
|
||||
customize.
|
||||
* Updated methods select() and unselect() to also accept an array of elements or
|
||||
an array of strings.
|
||||
* Improved row selection behavior to model the desktop paradigm (i.e., require
|
||||
CONTROL and/or SHIFT keys to multi-select).
|
||||
* Tweaked inline editing for better Mac performance.
|
||||
* Refactored pagination code to be easier to implement, configure, and extend.
|
||||
* Accept an error boolean from DataSource in case of data error and show error
|
||||
message.
|
||||
* The CustomEvent rowDeleteEvent is now only fired once per deleted row and
|
||||
its argument signature has been modified.
|
||||
* Added selectRow(), rowSelectEvent, unselectRow(), rowUnselectEvent, rowAddEvent,
|
||||
and rowUpdateEvent.
|
||||
* Added constants CLASS_TABLE, CLASS_EDITOR, CLASS_FIRST, and CLASS_LAST.
|
||||
* Added ColumnEditor class moveContainerTo().
|
||||
* Add IDs and class hooks to TABLE element and ColumnEditor's container DIV.
|
||||
* Add class hooks to first and last TR elements.
|
||||
* Added hook to doBeforeLoadData() for the not-from-markup constructor flow.
|
||||
* Added properties paginator and paginatorOptions, as well as method getPaginator().
|
||||
* Added methods saveEditorData() and cancelEditorData().
|
||||
* Improved type checking with YAHOO.lang.
|
||||
|
||||
|
||||
|
||||
**** version 2.2.0 ***
|
||||
|
||||
* Beta release.
|
||||
* Caption is not supported when scrolling is enabled.
|
||||
* Resizeability is not supported for fixed-width DataTables.
|
||||
|
|
@ -1,85 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.5.1
|
||||
*/
|
||||
/* foundational CSS */
|
||||
.yui-dt {
|
||||
border-bottom:1px solid transparent;
|
||||
}
|
||||
|
||||
.yui-dt-noop {
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
/* a11y headers */
|
||||
.yui-dt-hd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.yui-dt-scrollable .yui-dt-hd {
|
||||
display: block;
|
||||
}
|
||||
.yui-dt-scrollable .yui-dt-bd thead tr,
|
||||
.yui-dt-scrollable .yui-dt-bd thead th {
|
||||
position:absolute;
|
||||
left:-1500px;
|
||||
}
|
||||
|
||||
.yui-dt-scrollable tbody {
|
||||
-moz-outline:none;
|
||||
}
|
||||
|
||||
/* draggable columns */
|
||||
.yui-dt-draggable {
|
||||
cursor: move;
|
||||
}
|
||||
.yui-dt-coltarget {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
/* resizeable columns */
|
||||
.yui-dt-hd {
|
||||
zoom:1;
|
||||
}
|
||||
th.yui-dt-resizeable .yui-dt-liner {
|
||||
position:relative;
|
||||
}
|
||||
.yui-dt-resizer {
|
||||
position:absolute;
|
||||
right:0;
|
||||
bottom:0;
|
||||
height:100%;
|
||||
cursor:e-resize;
|
||||
cursor:col-resize;
|
||||
}
|
||||
.yui-dt-resizerproxy {
|
||||
visibility:hidden;
|
||||
position:absolute;
|
||||
z-index:9000;
|
||||
}
|
||||
|
||||
/* hidden columns */
|
||||
.yui-skin-sam th.yui-dt-hidden .yui-dt-liner,
|
||||
.yui-skin-sam td.yui-dt-hidden .yui-dt-liner {
|
||||
margin:0;
|
||||
padding:0;
|
||||
overflow:hidden;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
/* vertical and horizontal scrolling */
|
||||
.yui-dt-scrollable .yui-dt-bd {
|
||||
overflow:auto;
|
||||
}
|
||||
.yui-dt-scrollable .yui-dt-hd {
|
||||
overflow:hidden;
|
||||
position:relative; /* for ie overflow bug http://rowanw.com/bugs/overflow_relative.htm */
|
||||
}
|
||||
|
||||
/* editing */
|
||||
.yui-dt-editor {
|
||||
position:absolute;z-index:9000;
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.5.1
|
||||
*/
|
||||
/*foundational css*/
|
||||
.yui-dt-table th, .yui-dt-table td {
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
th .yui-dt-header {
|
||||
position:relative;
|
||||
}
|
||||
|
||||
th .yui-dt-label {
|
||||
position:relative;
|
||||
border-right:10px;
|
||||
}
|
||||
|
||||
th .yui-dt-resizer {
|
||||
position:absolute;
|
||||
margin-right:-6px;
|
||||
right:0;
|
||||
bottom:0;
|
||||
width:6px;
|
||||
height:100%;
|
||||
cursor:w-resize;
|
||||
cursor:col-resize;
|
||||
}
|
||||
|
||||
/* foundational scrolling css */
|
||||
.yui-dt-scrollable {
|
||||
*overflow-y:auto; /* for ie */
|
||||
}
|
||||
.yui-dt-scrollable thead {
|
||||
display:block; /* for safari and opera */
|
||||
}
|
||||
.yui-dt-scrollable thead tr {
|
||||
position:relative; /* for ie */
|
||||
}
|
||||
.yui-dt-scrollbody {
|
||||
display:block; /* for safari and opera */
|
||||
overflow:auto; /* for gecko */
|
||||
}
|
||||
|
||||
.yui-dt-editor {
|
||||
position:absolute;
|
||||
}
|
||||
|
|
@ -1,257 +0,0 @@
|
|||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.5.1
|
||||
*/
|
||||
/* basic skin styles */
|
||||
.yui-skin-sam .yui-dt table {margin:0;padding:0;font-family:arial;font-size:inherit;border-collapse:collapse;border-spacing:0;}
|
||||
.yui-skin-sam .yui-dt thead {border-spacing:0;} /* for safari bug */
|
||||
.yui-skin-sam .yui-dt caption {padding-bottom:1em;text-align:left;}
|
||||
|
||||
/*outer border */
|
||||
.yui-skin-sam .yui-dt-hd table {border-left:1px solid #7F7F7F;border-top:1px solid #7F7F7F;border-right:1px solid #7F7F7F;}
|
||||
.yui-skin-sam .yui-dt-bd table {border:1px solid #7F7F7F;}
|
||||
|
||||
.yui-skin-sam .yui-dt-scrollable .yui-dt-hd table {border:0px;}
|
||||
.yui-skin-sam .yui-dt-scrollable .yui-dt-bd table {border:0px;}
|
||||
.yui-skin-sam .yui-dt-scrollable .yui-dt-hd {border-left:1px solid #7F7F7F;border-top:1px solid #7F7F7F;border-right:1px solid #7F7F7F;}
|
||||
.yui-skin-sam .yui-dt-scrollable .yui-dt-bd {border-left:1px solid #7F7F7F;border-bottom:1px solid #7F7F7F;border-right:1px solid #7F7F7F;}
|
||||
|
||||
.yui-skin-sam .yui-dt th {
|
||||
background:#D8D8DA url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0; /* header gradient */
|
||||
}
|
||||
.yui-skin-sam .yui-dt th,
|
||||
.yui-skin-sam .yui-dt th a {
|
||||
font-weight:normal;text-decoration:none;color:#000; /* header text */
|
||||
vertical-align:bottom;
|
||||
}
|
||||
.yui-skin-sam .yui-dt th {
|
||||
margin:0;padding:0;
|
||||
border:none;
|
||||
border-right:1px solid #CBCBCB;/* inner column border */
|
||||
}
|
||||
.yui-skin-sam .yui-dt-liner {
|
||||
margin:0;padding:0;
|
||||
padding:4px 10px 4px 10px; /* cell padding */
|
||||
}
|
||||
.yui-skin-sam .yui-dt-coltarget {
|
||||
width: 5px;
|
||||
background-color: red;
|
||||
}
|
||||
.yui-skin-sam .yui-dt td {
|
||||
margin:0;padding:0;
|
||||
border:none;
|
||||
border-right:1px solid #CBCBCB; /* inner column border */
|
||||
text-align:left;
|
||||
}
|
||||
.yui-skin-sam .yui-dt-list td {
|
||||
border-right:none; /* disable inner column border in list mode */
|
||||
}
|
||||
.yui-skin-sam .yui-dt-resizer {
|
||||
width:6px;
|
||||
}
|
||||
|
||||
/* messaging */
|
||||
.yui-skin-sam .yui-dt-loading {
|
||||
background-color:#FFF;
|
||||
}
|
||||
.yui-skin-sam .yui-dt-empty {
|
||||
background-color:#FFF;
|
||||
}
|
||||
.yui-skin-sam .yui-dt-error {
|
||||
background-color:#FFF;
|
||||
}
|
||||
|
||||
/* sortable columns */
|
||||
.yui-skin-sam thead .yui-dt-sortable {
|
||||
cursor:pointer;
|
||||
}
|
||||
.yui-skin-sam th.yui-dt-asc,
|
||||
.yui-skin-sam th.yui-dt-desc {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -100px; /* sorted header gradient */
|
||||
}
|
||||
.yui-skin-sam th.yui-dt-sortable .yui-dt-label {
|
||||
margin-right:10px;
|
||||
}
|
||||
.yui-skin-sam th.yui-dt-asc .yui-dt-liner {
|
||||
background:url(dt-arrow-up.png) no-repeat right; /* sorted header gradient */
|
||||
}
|
||||
.yui-skin-sam th.yui-dt-desc .yui-dt-liner {
|
||||
background:url(dt-arrow-dn.png) no-repeat right; /* sorted header gradient */
|
||||
}
|
||||
|
||||
/* editing */
|
||||
.yui-dt-editable {
|
||||
cursor:pointer;
|
||||
}
|
||||
.yui-dt-editor {
|
||||
text-align:left;
|
||||
background-color:#F2F2F2;
|
||||
border:1px solid #808080;
|
||||
padding:6px;
|
||||
}
|
||||
.yui-dt-editor label {
|
||||
padding-left:4px;padding-right:6px;
|
||||
}
|
||||
.yui-dt-editor .yui-dt-button {
|
||||
padding-top:6px;text-align:right;
|
||||
}
|
||||
.yui-dt-editor .yui-dt-button button {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
|
||||
border:1px solid #999;
|
||||
width:4em;height:1.8em;
|
||||
margin-left:6px;
|
||||
}
|
||||
.yui-dt-editor .yui-dt-button button.yui-dt-default {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1400px;
|
||||
background-color: #5584E0;
|
||||
border:1px solid #304369;
|
||||
color:#FFF
|
||||
}
|
||||
.yui-dt-editor .yui-dt-button button:hover {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1300px;
|
||||
color:#000;
|
||||
}
|
||||
.yui-dt-editor .yui-dt-button button:active {
|
||||
background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1700px;
|
||||
color:#000;
|
||||
}
|
||||
|
||||
/* striping */
|
||||
.yui-skin-sam tr.yui-dt-even { background-color:#FFF; } /* white */
|
||||
.yui-skin-sam tr.yui-dt-odd { background-color:#EDF5FF; } /* light blue */
|
||||
.yui-skin-sam tr.yui-dt-even td.yui-dt-asc,
|
||||
.yui-skin-sam tr.yui-dt-even td.yui-dt-desc { background-color:#EDF5FF; } /* light blue sorted */
|
||||
.yui-skin-sam tr.yui-dt-odd td.yui-dt-asc,
|
||||
.yui-skin-sam tr.yui-dt-odd td.yui-dt-desc { background-color:#DBEAFF; } /* dark blue sorted */
|
||||
|
||||
/* disable striping in list mode */
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-even { background-color:#FFF; } /* white */
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-odd { background-color:#FFF; } /* white */
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-asc,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-desc { background-color:#EDF5FF; } /* light blue sorted */
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-asc,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-desc { background-color:#EDF5FF; } /* light blue sorted */
|
||||
|
||||
/* highlighting */
|
||||
.yui-skin-sam th.yui-dt-highlighted,
|
||||
.yui-skin-sam th.yui-dt-highlighted a {
|
||||
background-color:#B2D2FF; /* med blue hover */
|
||||
}
|
||||
.yui-skin-sam tr.yui-dt-highlighted,
|
||||
.yui-skin-sam tr.yui-dt-highlighted td.yui-dt-asc,
|
||||
.yui-skin-sam tr.yui-dt-highlighted td.yui-dt-desc,
|
||||
.yui-skin-sam tr.yui-dt-even td.yui-dt-highlighted,
|
||||
.yui-skin-sam tr.yui-dt-odd td.yui-dt-highlighted {
|
||||
cursor:pointer;
|
||||
background-color:#B2D2FF; /* med blue hover */
|
||||
}
|
||||
|
||||
/* enable highlighting in list mode */
|
||||
.yui-skin-sam .yui-dt-list th.yui-dt-highlighted,
|
||||
.yui-skin-sam .yui-dt-list th.yui-dt-highlighted a {
|
||||
background-color:#B2D2FF; /* med blue hover */
|
||||
}
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-highlighted,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-asc,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-highlighted td.yui-dt-desc,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-highlighted,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-highlighted {
|
||||
cursor:pointer;
|
||||
background-color:#B2D2FF; /* med blue hover */
|
||||
}
|
||||
|
||||
/* selection */
|
||||
.yui-skin-sam th.yui-dt-selected,
|
||||
.yui-skin-sam th.yui-dt-selected a {
|
||||
background-color:#446CD7; /* bright blue selected cell */
|
||||
}
|
||||
.yui-skin-sam tr.yui-dt-selected td,
|
||||
.yui-skin-sam tr.yui-dt-selected td.yui-dt-asc,
|
||||
.yui-skin-sam tr.yui-dt-selected td.yui-dt-desc {
|
||||
background-color:#426FD9; /* bright blue selected row */
|
||||
color:#FFF;
|
||||
}
|
||||
.yui-skin-sam tr.yui-dt-even td.yui-dt-selected,
|
||||
.yui-skin-sam tr.yui-dt-odd td.yui-dt-selected {
|
||||
background-color:#446CD7; /* bright blue selected cell */
|
||||
color:#FFF;
|
||||
}
|
||||
|
||||
/* enable selection in list mode */
|
||||
.yui-skin-sam .yui-dt-list th.yui-dt-selected,
|
||||
.yui-skin-sam .yui-dt-list th.yui-dt-selected a {
|
||||
background-color:#446CD7; /* bright blue selected cell */
|
||||
}
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-selected td,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-asc,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-selected td.yui-dt-desc {
|
||||
background-color:#426FD9; /* bright blue selected row */
|
||||
color:#FFF;
|
||||
}
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-even td.yui-dt-selected,
|
||||
.yui-skin-sam .yui-dt-list tr.yui-dt-odd td.yui-dt-selected {
|
||||
background-color:#446CD7; /* bright blue selected cell */
|
||||
color:#FFF;
|
||||
}
|
||||
|
||||
/* pagination */
|
||||
.yui-skin-sam .yui-pg-container,
|
||||
.yui-skin-sam .yui-dt-paginator {
|
||||
display:block;margin:6px 0;white-space:nowrap;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-first,
|
||||
.yui-skin-sam .yui-pg-last,
|
||||
.yui-skin-sam .yui-pg-current-page,
|
||||
.yui-skin-sam .yui-dt-first,
|
||||
.yui-skin-sam .yui-dt-paginator .yui-dt-last,
|
||||
.yui-skin-sam .yui-dt-paginator .yui-dt-selected {
|
||||
padding:2px 6px;
|
||||
}
|
||||
.yui-skin-sam a.yui-pg-first,
|
||||
.yui-skin-sam a.yui-pg-previous,
|
||||
.yui-skin-sam a.yui-pg-next,
|
||||
.yui-skin-sam a.yui-pg-last,
|
||||
.yui-skin-sam a.yui-pg-page,
|
||||
.yui-skin-sam .yui-dt-paginator a.yui-dt-first,
|
||||
.yui-skin-sam .yui-dt-paginator a.yui-dt-last {
|
||||
text-decoration:none;
|
||||
}
|
||||
.yui-skin-sam .yui-dt-paginator .yui-dt-previous,
|
||||
.yui-skin-sam .yui-dt-paginator .yui-dt-next {
|
||||
display:none;
|
||||
}
|
||||
.yui-skin-sam a.yui-pg-page,
|
||||
.yui-skin-sam a.yui-dt-page {
|
||||
border:1px solid #CBCBCB;
|
||||
padding:2px 6px;
|
||||
text-decoration:none;
|
||||
background-color:#fff
|
||||
}
|
||||
.yui-skin-sam .yui-pg-current-page,
|
||||
.yui-skin-sam .yui-dt-selected {
|
||||
border:1px solid #fff;
|
||||
background-color:#fff;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-pages {
|
||||
margin-left:1ex;
|
||||
margin-right:1ex;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-page {
|
||||
margin-right:1px;
|
||||
margin-left:1px;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-first,
|
||||
.yui-skin-sam .yui-pg-previous {
|
||||
margin-right:3px;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-next,
|
||||
.yui-skin-sam .yui-pg-last {
|
||||
margin-left:3px;
|
||||
}
|
||||
.yui-skin-sam .yui-pg-current,
|
||||
.yui-skin-sam .yui-pg-rpp-options {
|
||||
margin-right:1em;
|
||||
margin-left:1em;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 116 B |
Binary file not shown.
|
Before Width: | Height: | Size: 116 B |
15390
www/extras/yui/build/datatable/datatable-beta-debug.js
vendored
15390
www/extras/yui/build/datatable/datatable-beta-debug.js
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
15178
www/extras/yui/build/datatable/datatable-beta.js
vendored
15178
www/extras/yui/build/datatable/datatable-beta.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue