Update dynatree to what will be the final release; we probably want to just replace it at some point.

This commit is contained in:
Dannon Baker
2015-10-06 10:07:12 -04:00
parent 3201005739
commit bad9cce30f
35 changed files with 3734 additions and 2163 deletions
+3457 -2034
View File
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 one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 911 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 906 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 941 B

+274 -127
View File
@@ -1,30 +1,92 @@
/*******************************************************************************
/*******************************************************************************
* Tree container
*/
div.ui-dynatree-container
ul.dynatree-container
{
font-family: tahoma, arial, helvetica;
font-size: 10pt; /* font size should not be too big */
white-space: nowrap;
white-space: nowrap;
padding: 3px;
background-color: white;
border: none;
margin: 0; /* issue 201 */
background-color: white;
border: 1px dotted gray;
overflow: auto;
/* height: 100%; /* issue 263, 470 */
min-height: 0%;
}
ul.dynatree-container ul
{
padding: 0 0 0 16px;
margin: 0;
}
ul.dynatree-container li
{
list-style-image: none;
list-style-position: outside;
list-style-type: none;
-moz-background-clip:border;
-moz-background-inline-policy: continuous;
-moz-background-origin: padding;
background-attachment: scroll;
background-color: transparent;
background-repeat: repeat-y;
background-image: url("vline.gif");
background-position: 0 0;
/*
background-image: url("icons_96x256.gif");
background-position: -80px -64px;
*/
margin: 0;
padding: 1px 0 0 0;
}
/* Suppress lines for last child node */
ul.dynatree-container li.dynatree-lastsib
{
background-image: none;
}
/* Suppress lines if level is fixed expanded (option minExpandLevel) */
ul.dynatree-no-connector > li
{
background-image: none;
}
/* Style, when control is disabled */
.ui-dynatree-disabled div.ui-dynatree-container
.ui-dynatree-disabled ul.dynatree-container
{
opacity: 0.5;
/* filter: alpha(opacity=50); /* Yields a css warning */
background-color: silver;
background-color: silver;
}
/*******************************************************************************
* Vertical line image
/*******************************************************************************
* Common icon definitions
*/
div.ui-dynatree-container img
span.dynatree-empty,
span.dynatree-vline,
span.dynatree-connector,
span.dynatree-expander,
span.dynatree-icon,
span.dynatree-checkbox,
span.dynatree-radio,
span.dynatree-drag-helper-img,
#dynatree-drop-marker
{
width: 16px;
height: 16px;
/* display: -moz-inline-box; /* @ FF 1+2 removed for issue 221 */
/* -moz-box-align: start; /* issue 221 */
display: inline-block; /* Required to make a span sizeable */
vertical-align: top;
background-repeat: no-repeat;
background-position: left;
background-image: url("icons.gif");
background-position: 0 0;
}
/** Used by 'icon' node option: */
ul.dynatree-container img
{
width: 16px;
height: 16px;
@@ -33,202 +95,182 @@ div.ui-dynatree-container img
border-style: none;
}
/*******************************************************************************
* Common icon definitions
*/
span.ui-dynatree-empty,
span.ui-dynatree-vline,
span.ui-dynatree-connector,
span.ui-dynatree-expander,
span.ui-dynatree-icon,
span.ui-dynatree-checkbox,
span.ui-dynatree-radio
{
width: 16px;
height: 16px;
display: -moz-inline-box; /* @ FF 1+2 */
display: inline-block; /* Required to make a span sizeable */
vertical-align: top;
background-repeat: no-repeat;
background-position: left;
}
/*******************************************************************************
/*******************************************************************************
* Lines and connectors
*/
span.ui-dynatree-empty
span.dynatree-connector
{
}
span.ui-dynatree-vline
{
background-image: url("ltL_ns.gif");
}
span.ui-dynatree-connector
{
background-image: url("ltL_nes.gif");
}
.ui-dynatree-lastsib span.ui-dynatree-connector
{
background-image: url("ltL_ne.gif");
background-position: -16px -64px;
}
/*******************************************************************************
/*******************************************************************************
* Expander icon
* Note: IE6 doesn't correctly evaluate multiples class names,
* so we create combined class names that can be used in the CSS.
*
* Prefix: ui-dynatree-exp-
* Prefix: dynatree-exp-
* 1st character: 'e': expanded, 'c': collapsed
* 2nd character (optional): 'd': lazy (Delayed)
* 3rd character (optional): 'l': Last sibling
* 3rd character (optional): 'l': Last sibling
*/
span.ui-dynatree-expander
span.dynatree-expander
{
background-image: url("ltP_nes.gif");
background-position: 0px -80px;
cursor: pointer;
}
.ui-dynatree-exp-cl span.ui-dynatree-expander /* Collapsed, not delayed, last sibling */
.dynatree-exp-cl span.dynatree-expander /* Collapsed, not delayed, last sibling */
{
background-image: url("ltP_ne.gif");
background-position: 0px -96px;
}
.ui-dynatree-exp-cd span.ui-dynatree-expander /* Collapsed, delayed, not last sibling */
.dynatree-exp-cd span.dynatree-expander /* Collapsed, delayed, not last sibling */
{
background-image: url("ltD_nes.gif");
background-position: -64px -80px;
}
.ui-dynatree-exp-cdl span.ui-dynatree-expander /* Collapsed, delayed, last sibling */
.dynatree-exp-cdl span.dynatree-expander /* Collapsed, delayed, last sibling */
{
background-image: url("ltD_ne.gif");
background-position: -64px -96px;
}
.ui-dynatree-exp-e span.ui-dynatree-expander, /* Expanded, not delayed, not last sibling */
.ui-dynatree-exp-ed span.ui-dynatree-expander /* Expanded, delayed, not last sibling */
.dynatree-exp-e span.dynatree-expander, /* Expanded, not delayed, not last sibling */
.dynatree-exp-ed span.dynatree-expander /* Expanded, delayed, not last sibling */
{
background-image: url("ltM_nes.gif");
background-position: -32px -80px;
}
.ui-dynatree-exp-el span.ui-dynatree-expander, /* Expanded, not delayed, last sibling */
.ui-dynatree-exp-edl span.ui-dynatree-expander /* Expanded, delayed, last sibling */
.dynatree-exp-el span.dynatree-expander, /* Expanded, not delayed, last sibling */
.dynatree-exp-edl span.dynatree-expander /* Expanded, delayed, last sibling */
{
background-image: url("ltM_ne.gif");
background-position: -32px -96px;
}
.dynatree-loading span.dynatree-expander /* 'Loading' status overrides all others */
{
background-position: 0 0;
background-image: url("loading.gif");
}
/*******************************************************************************
/*******************************************************************************
* Checkbox icon
*/
span.ui-dynatree-checkbox
span.dynatree-checkbox
{
margin-left: 3px;
background-image: url("cbUnchecked.gif");
background-position: 0px -32px;
}
span.ui-dynatree-checkbox:hover
span.dynatree-checkbox:hover
{
background-image: url("cbUnchecked_hover.gif");
background-position: -16px -32px;
}
.ui-dynatree-partsel span.ui-dynatree-checkbox
.dynatree-partsel span.dynatree-checkbox
{
background-image: url("cbIntermediate.gif");
background-position: -64px -32px;
}
.ui-dynatree-partsel span.ui-dynatree-checkbox:hover
.dynatree-partsel span.dynatree-checkbox:hover
{
background-image: url("cbIntermediate_hover.gif");
background-position: -80px -32px;
}
.ui-dynatree-selected span.ui-dynatree-checkbox
.dynatree-selected span.dynatree-checkbox
{
background-image: url("cbChecked.gif");
background-position: -32px -32px;
}
.ui-dynatree-selected span.ui-dynatree-checkbox:hover
.dynatree-selected span.dynatree-checkbox:hover
{
background-image: url("cbChecked_hover.gif");
background-position: -48px -32px;
}
/*******************************************************************************
/*******************************************************************************
* Radiobutton icon
* This is a customization, that may be activated by overriding the 'checkbox'
* class name as 'ui-dynatree-radio' in the tree options.
* class name as 'dynatree-radio' in the tree options.
*/
span.ui-dynatree-radio
span.dynatree-radio
{
margin-left: 3px;
background-image: url("rbUnchecked.gif");
background-position: 0px -48px;
}
span.ui-dynatree-radio:hover
span.dynatree-radio:hover
{
background-image: url("rbUnchecked_hover.gif");
background-position: -16px -48px;
}
.ui-dynatree-partsel span.ui-dynatree-radio
.dynatree-partsel span.dynatree-radio
{
background-image: url("rbIntermediate.gif");
background-position: -64px -48px;
}
.ui-dynatree-partsel span.ui-dynatree-radio:hover
.dynatree-partsel span.dynatree-radio:hover
{
background-image: url("rbIntermediate_hover.gif");
background-position: -80px -48px;
}
.ui-dynatree-selected span.ui-dynatree-radio
.dynatree-selected span.dynatree-radio
{
background-image: url("rbChecked.gif");
background-position: -32px -48px;
}
.ui-dynatree-selected span.ui-dynatree-radio:hover
.dynatree-selected span.dynatree-radio:hover
{
background-image: url("rbChecked_hover.gif");
background-position: -48px -48px;
}
/*******************************************************************************
/*******************************************************************************
* Node type icon
* Note: IE6 doesn't correctly evaluate multiples class names,
* so we create combined class names that can be used in the CSS.
*
* Prefix: ui-dynatree-ico-
* Prefix: dynatree-ico-
* 1st character: 'e': expanded, 'c': collapsed
* 2nd character (optional): 'f': folder
*/
span.ui-dynatree-icon /* Default icon */
span.dynatree-icon /* Default icon */
{
margin-left: 3px;
background-image: url("ltDoc.gif");
background-position: 0px 0px;
}
.ui-dynatree-ico-cf span.ui-dynatree-icon /* Collapsed Folder */
.dynatree-ico-cf span.dynatree-icon /* Collapsed Folder */
{
background-image: url("ltFld.gif");
background-position: 0px -16px;
}
.ui-dynatree-ico-ef span.ui-dynatree-icon /* Expanded Folder */
.dynatree-ico-ef span.dynatree-icon /* Expanded Folder */
{
background-image: url("ltFld_o.gif");
background-position: -64px -16px;
}
/* Status node icons */
.ui-dynatree-statusnode-wait span.ui-dynatree-icon
.dynatree-statusnode-wait span.dynatree-icon
{
background-image: url("ltWait.gif");
background-image: url("loading.gif");
}
.ui-dynatree-statusnode-error span.ui-dynatree-icon
.dynatree-statusnode-error span.dynatree-icon
{
background-image: url("ltError.gif");
background-position: 0px -112px;
/* background-image: url("ltError.gif");*/
}
/*******************************************************************************
/*******************************************************************************
* Node titles
*/
/* @Chrome: fix broken hit area of node titles (issue 133) */
span.ui-dynatree-document,
span.ui-dynatree-folder
/* @Chrome: otherwise hit area of node titles is broken (issue 133)
Removed again for issue 165; (133 couldn't be reproduced) */
span.dynatree-node
{
display: -moz-inline-box; /* @ FF 1+2 */
display: inline-block; /* Required to make a span sizeable */
/* display: -moz-inline-box; /* issue 133, 165, 172, 192. removed for issue 221*/
/* -moz-box-align: start; /* issue 221 */
display: inline-block; /* issue 373 Required to make a span sizeable */
vertical-align: top;
}
/* Remove blue color and underline from title links */
div.ui-dynatree-container a
/*, div.ui-dynatree-container a:visited*/
ul.dynatree-container a
/*, ul.dynatree-container a:visited*/
{
color: black; /* inherit doesn't work on IE */
text-decoration: none;
@@ -238,53 +280,158 @@ div.ui-dynatree-container a
/* outline: 0; /* @ Firefox, prevent dotted border after click */
}
div.ui-dynatree-container a:hover
ul.dynatree-container a:hover
{
text-decoration: underline;
/* text-decoration: underline; */
background-color: #F2F7FD; /* light blue */
border-color: #B8D6FB; /* darker light blue */
}
span.ui-dynatree-document a,
span.ui-dynatree-folder a
span.dynatree-node a
{
display: inline-block; /* Better alignment, when title contains <br> */
font-size: 10pt; /* required for IE, quirks mode */
display: inline-block; /* Better alignment, when title contains <br> */
/* vertical-align: top;*/
padding-left: 3px;
padding-right: 3px; /* Otherwise italic font will be outside bounds */
/* line-height: 16px; /* should be the same as img height, in case 16 px */
}
span.ui-dynatree-folder a
span.dynatree-folder a
{
font-weight: normal;
font-weight: bold;
}
div.ui-dynatree-container a:focus,
span.ui-dynatree-focused a:link /* @IE */
ul.dynatree-container a:focus,
span.dynatree-focused a:link /* @IE */
{
background-color: #EFEBDE; /* gray */
}
span.ui-dynatree-has-children a
span.dynatree-has-children a
{
}
span.ui-dynatree-expanded a
span.dynatree-expanded a
{
}
span.ui-dynatree-selected a
span.dynatree-selected a
{
color: black;
color: green;
font-style: italic;
}
span.ui-dynatree-active a
span.dynatree-active a
{
background-color: #3169C6 !important;
color: white !important; /* @ IE6 */
}
/*******************************************************************************
/*******************************************************************************
* Drag'n'drop support
*/
/*** Helper object ************************************************************/
div.dynatree-drag-helper
{
}
div.dynatree-drag-helper a
{
border: 1px solid gray;
background-color: white;
padding-left: 5px;
padding-right: 5px;
opacity: 0.8;
}
span.dynatree-drag-helper-img
{
/*
position: relative;
left: -16px;
*/
}
div.dynatree-drag-helper /*.dynatree-drop-accept*/
{
/* border-color: green;
background-color: red;*/
}
div.dynatree-drop-accept span.dynatree-drag-helper-img
{
background-position: -32px -112px;
}
div.dynatree-drag-helper.dynatree-drop-reject
{
border-color: red;
}
div.dynatree-drop-reject span.dynatree-drag-helper-img
{
background-position: -16px -112px;
}
/*** Drop marker icon *********************************************************/
#dynatree-drop-marker
{
width: 24px;
position: absolute;
background-position: 0 -128px;
margin: 0;
/* border: 1px solid red; */
}
#dynatree-drop-marker.dynatree-drop-after,
#dynatree-drop-marker.dynatree-drop-before
{
width:64px;
background-position: 0 -144px;
}
#dynatree-drop-marker.dynatree-drop-copy
{
background-position: -64px -128px;
}
#dynatree-drop-marker.dynatree-drop-move
{
background-position: -64px -128px;
}
/*** Source node while dragging ***********************************************/
span.dynatree-drag-source
{
/* border: 1px dotted gray; */
background-color: #e0e0e0;
}
span.dynatree-drag-source a
{
color: gray;
}
/*** Target node while dragging cursor is over it *****************************/
span.dynatree-drop-target
{
/*border: 1px solid gray;*/
}
span.dynatree-drop-target a
{
}
span.dynatree-drop-target.dynatree-drop-accept a
{
/*border: 1px solid green;*/
background-color: #3169C6 !important;
color: white !important; /* @ IE6 */
text-decoration: none;
}
span.dynatree-drop-target.dynatree-drop-reject
{
/*border: 1px solid red;*/
}
span.dynatree-drop-target.dynatree-drop-after a
{
}
/*******************************************************************************
* Custom node classes (sample)
*/
Binary file not shown.

Before

Width:  |  Height:  |  Size: 844 B

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 832 B

After

Width:  |  Height:  |  Size: 844 B