diff --git a/build/css/jstree/jstree-wrapper.less b/build/css/jstree/jstree-wrapper.less deleted file mode 100644 index 1ee2016f..00000000 --- a/build/css/jstree/jstree-wrapper.less +++ /dev/null @@ -1,7 +0,0 @@ -/* - * Used to produce jstree/style-scoped.css - */ - -.cwrc { - @import (less) url( './style.css' ); -} \ No newline at end of file diff --git a/build/css/jstree/style-scoped.css b/build/css/jstree/style-scoped.css deleted file mode 100644 index a87e1520..00000000 --- a/build/css/jstree/style-scoped.css +++ /dev/null @@ -1,1203 +0,0 @@ -/* - * Used to produce jstree/style-scoped.css - */ -.cwrc { - /* jstree overrides */ - /* -.vakata-context .submenu > a span { - background-image: url("../img/menu_arrow.gif"); - color: #fff; - display: block; - float: right; - width: 20px; - height: 20px; -} -*/ - /* end overrides */ - /* jsTree default theme */ -} -.cwrc #vakata-dnd { - display: block; - overflow: hidden; - background-color: #fff; - border: 1px solid #D4D0C8; - border-radius: 4px; - padding: 4px !important; -} -.cwrc .vakata-context, -.cwrc .vakata-context .submenu ul { - border: 1px solid #D4D0C8 !important; - background-color: #fff !important; - /*box-shadow: 1px 1px 2px #ccc;*/ - min-width: 165px !important; - z-index: 100; -} -.cwrc .vakata-context .submenu ul { - overflow: auto; -} -.cwrc .vakata-context li ins, -.cwrc #jqContextMenu li ins { - margin: 2px 2px 0 2px !important; -} -.cwrc .vakata-context .submenu .filterParent { - position: absolute; - display: none; - height: 26px; - padding-top: 2px; - background-color: #fff !important; - border: solid #D4D0C8 !important; - border-width: 1px 1px 0px 1px !important; - box-shadow: 2px 2px 2px #999999; -} -.cwrc .vakata-context .submenu .filterParent span { - margin: 2px 0.5em; - font-size: 11px; -} -.cwrc .vakata-context .submenu .filterParent input { - margin: 2px 3px 2px 0; - width: 90px; - position: relative; - font-size: 11px; - border: 1px solid #D4D0C8; -} -.cwrc .vakata-context li > a, -.cwrc .vakata-context .submenu .filterParent span { - font-family: Tahoma, Verdana, Arial, Helvetica !important; - font-size: 11px !important; - line-height: 22px !important; -} -.cwrc .vakata-context li a:hover, -.cwrc .vakata-context li.vakata-hover > a { - color: #000 !important; - background-color: #DBECF3 !important; -} -.cwrc .jstree .jstree-wholerow { - /*height: 22px;*/ - border: none; - border-bottom: 1px solid #d3d3d3; -} -.cwrc .jstree .jstree-wholerow-hovered { - background: #eeeeee !important; -} -.cwrc .jstree .jstree-wholerow-clicked { - background: #d3d3d3 !important; -} -.cwrc .jstree .jstree-context { - background: #d3d3d3 !important; -} -.cwrc .jstree a.nodeSelected { - font-weight: bold; -} -.cwrc .jstree a.contentsSelected { - font-weight: bold; - font-style: italic; -} -.cwrc .jstree-default .jstree-anchor { - float: none; -} -.cwrc .jstree-default .jstree-node { - float: none; - width: inherit; -} -.cwrc .jstree-node, -.cwrc .jstree-children, -.cwrc .jstree-container-ul { - display: block; - margin: 0; - padding: 0; - list-style-type: none; - list-style-image: none; -} -.cwrc .jstree-node { - white-space: nowrap; -} -.cwrc .jstree-anchor { - display: inline-block; - color: black; - white-space: nowrap; - padding: 0 4px 0 1px; - margin: 0; - vertical-align: top; -} -.cwrc .jstree-anchor:focus { - outline: 0; -} -.cwrc .jstree-anchor, -.cwrc .jstree-anchor:link, -.cwrc .jstree-anchor:visited, -.cwrc .jstree-anchor:hover, -.cwrc .jstree-anchor:active { - text-decoration: none; - color: inherit; -} -.cwrc .jstree-icon { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0; - vertical-align: top; - text-align: center; -} -.cwrc .jstree-icon:empty { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0; - vertical-align: top; - text-align: center; -} -.cwrc .jstree-ocl { - cursor: pointer; -} -.cwrc .jstree-leaf > .jstree-ocl { - cursor: default; -} -.cwrc .jstree .jstree-open > .jstree-children { - display: block; -} -.cwrc .jstree .jstree-closed > .jstree-children, -.cwrc .jstree .jstree-leaf > .jstree-children { - display: none; -} -.cwrc .jstree-anchor > .jstree-themeicon { - margin-right: 2px; -} -.cwrc .jstree-no-icons .jstree-themeicon, -.cwrc .jstree-anchor > .jstree-themeicon-hidden { - display: none; -} -.cwrc .jstree-hidden, -.cwrc .jstree-node.jstree-hidden { - display: none; -} -.cwrc .jstree-rtl .jstree-anchor { - padding: 0 1px 0 4px; -} -.cwrc .jstree-rtl .jstree-anchor > .jstree-themeicon { - margin-left: 2px; - margin-right: 0; -} -.cwrc .jstree-rtl .jstree-node { - margin-left: 0; -} -.cwrc .jstree-rtl .jstree-container-ul > .jstree-node { - margin-right: 0; -} -.cwrc .jstree-wholerow-ul { - position: relative; - display: inline-block; - min-width: 100%; -} -.cwrc .jstree-wholerow-ul .jstree-leaf > .jstree-ocl { - cursor: pointer; -} -.cwrc .jstree-wholerow-ul .jstree-anchor, -.cwrc .jstree-wholerow-ul .jstree-icon { - position: relative; -} -.cwrc .jstree-wholerow-ul .jstree-wholerow { - width: 100%; - cursor: pointer; - position: absolute; - left: 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.cwrc .vakata-context { - display: none; -} -.cwrc .vakata-context, -.cwrc .vakata-context ul { - margin: 0; - padding: 2px; - position: absolute; - background: #f5f5f5; - border: 1px solid #979797; - box-shadow: 2px 2px 2px #999999; -} -.cwrc .vakata-context ul { - list-style: none; - left: 100%; - margin-top: -2.7em; - margin-left: -4px; -} -.cwrc .vakata-context .vakata-context-right ul { - left: auto; - right: 100%; - margin-left: auto; - margin-right: -4px; -} -.cwrc .vakata-context li { - list-style: none; - margin: 0 !important; -} -.cwrc .vakata-context li > a { - display: block; - padding: 0 2em 0 2em; - text-decoration: none; - width: auto; - color: black; - white-space: nowrap; - line-height: 2.4em; - text-shadow: 1px 1px 0 white; - border-radius: 1px; -} -.cwrc .vakata-context li > a:hover { - position: relative; - background-color: #e8eff7; - box-shadow: 0 0 2px #0a6aa1; -} -.cwrc .vakata-context li > a.vakata-context-parent { - background-image: url("data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw=="); - background-position: right center; - background-repeat: no-repeat; -} -.cwrc .vakata-context li > a:focus { - outline: 0; -} -.cwrc .vakata-context .vakata-context-hover > a { - position: relative; - background-color: #e8eff7; - box-shadow: 0 0 2px #0a6aa1; -} -.cwrc .vakata-context .vakata-context-separator > a, -.cwrc .vakata-context .vakata-context-separator > a:hover { - background: white; - border: 0; - border-top: 1px solid #e2e3e3; - height: 1px; - min-height: 1px; - max-height: 1px; - padding: 0; - margin: 0 0 0 2.4em; - border-left: 1px solid #e0e0e0; - text-shadow: 0 0 0 transparent; - box-shadow: 0 0 0 transparent; - border-radius: 0; -} -.cwrc .vakata-context .vakata-contextmenu-disabled a, -.cwrc .vakata-context .vakata-contextmenu-disabled a:hover { - color: silver; - background-color: transparent; - border: 0; - box-shadow: 0 0 0; -} -.cwrc .vakata-context li > a > i { - text-decoration: none; - display: inline-block; - width: 2.4em; - height: 2.4em; - background: transparent; - margin: 0 0 0 -2em; - vertical-align: top; - text-align: center; - line-height: 2.4em; -} -.cwrc .vakata-context li > a > i:empty { - width: 2.4em; - line-height: 2.4em; -} -.cwrc .vakata-context li > a .vakata-contextmenu-sep { - display: inline-block; - width: 1px; - height: 2.4em; - background: white; - margin: 0 0.5em 0 0; - border-left: 1px solid #e2e3e3; -} -.cwrc .vakata-context .vakata-contextmenu-shortcut { - font-size: 0.8em; - color: silver; - opacity: 0.5; - display: none; -} -.cwrc .vakata-context-rtl ul { - left: auto; - right: 100%; - margin-left: auto; - margin-right: -4px; -} -.cwrc .vakata-context-rtl li > a.vakata-context-parent { - background-image: url("data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7"); - background-position: left center; - background-repeat: no-repeat; -} -.cwrc .vakata-context-rtl .vakata-context-separator > a { - margin: 0 2.4em 0 0; - border-left: 0; - border-right: 1px solid #e2e3e3; -} -.cwrc .vakata-context-rtl .vakata-context-left ul { - right: auto; - left: 100%; - margin-left: -4px; - margin-right: auto; -} -.cwrc .vakata-context-rtl li > a > i { - margin: 0 -2em 0 0; -} -.cwrc .vakata-context-rtl li > a .vakata-contextmenu-sep { - margin: 0 0 0 0.5em; - border-left-color: white; - background: #e2e3e3; -} -.cwrc #jstree-marker { - position: absolute; - top: 0; - left: 0; - margin: -5px 0 0 0; - padding: 0; - border-right: 0; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid; - width: 0; - height: 0; - font-size: 0; - line-height: 0; -} -.cwrc #jstree-dnd { - line-height: 16px; - margin: 0; - padding: 4px; -} -.cwrc #jstree-dnd .jstree-icon, -.cwrc #jstree-dnd .jstree-copy { - display: inline-block; - text-decoration: none; - margin: 0 2px 0 0; - padding: 0; - width: 16px; - height: 16px; -} -.cwrc #jstree-dnd .jstree-ok { - background: green; -} -.cwrc #jstree-dnd .jstree-er { - background: red; -} -.cwrc #jstree-dnd .jstree-copy { - margin: 0 2px 0 2px; -} -.cwrc .jstree-default .jstree-node, -.cwrc .jstree-default .jstree-icon { - background-repeat: no-repeat; - background-color: transparent; -} -.cwrc .jstree-default .jstree-anchor, -.cwrc .jstree-default .jstree-animated, -.cwrc .jstree-default .jstree-wholerow { - transition: background-color 0.15s, box-shadow 0.15s; -} -.cwrc .jstree-default .jstree-hovered { - background: #e7f4f9; - border-radius: 2px; - box-shadow: inset 0 0 1px #cccccc; -} -.cwrc .jstree-default .jstree-context { - background: #e7f4f9; - border-radius: 2px; - box-shadow: inset 0 0 1px #cccccc; -} -.cwrc .jstree-default .jstree-clicked { - background: #beebff; - border-radius: 2px; - box-shadow: inset 0 0 1px #999999; -} -.cwrc .jstree-default .jstree-no-icons .jstree-anchor > .jstree-themeicon { - display: none; -} -.cwrc .jstree-default .jstree-disabled { - background: transparent; - color: #666666; -} -.cwrc .jstree-default .jstree-disabled.jstree-hovered { - background: transparent; - box-shadow: none; -} -.cwrc .jstree-default .jstree-disabled.jstree-clicked { - background: #efefef; -} -.cwrc .jstree-default .jstree-disabled > .jstree-icon { - opacity: 0.8; - filter: url("data:image/svg+xml;utf8,#jstree-grayscale"); - /* Firefox 10+ */ - filter: gray; - /* IE6-9 */ - -webkit-filter: grayscale(100%); - /* Chrome 19+ & Safari 6+ */ -} -.cwrc .jstree-default .jstree-search { - font-style: italic; - color: #8b0000; - font-weight: bold; -} -.cwrc .jstree-default .jstree-no-checkboxes .jstree-checkbox { - display: none !important; -} -.cwrc .jstree-default.jstree-checkbox-no-clicked .jstree-clicked { - background: transparent; - box-shadow: none; -} -.cwrc .jstree-default.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered { - background: #e7f4f9; -} -.cwrc .jstree-default.jstree-checkbox-no-clicked > .jstree-wholerow-ul .jstree-wholerow-clicked { - background: transparent; -} -.cwrc .jstree-default.jstree-checkbox-no-clicked > .jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered { - background: #e7f4f9; -} -.cwrc .jstree-default > .jstree-striped { - min-width: 100%; - display: inline-block; - background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==") left top repeat; -} -.cwrc .jstree-default > .jstree-wholerow-ul .jstree-hovered, -.cwrc .jstree-default > .jstree-wholerow-ul .jstree-clicked { - background: transparent; - box-shadow: none; - border-radius: 0; -} -.cwrc .jstree-default .jstree-wholerow { - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} -.cwrc .jstree-default .jstree-wholerow-hovered { - background: #e7f4f9; -} -.cwrc .jstree-default .jstree-wholerow-clicked { - background: #beebff; - background: -webkit-linear-gradient(top, #beebff 0%, #a8e4ff 100%); - background: linear-gradient(to bottom, #beebff 0%, #a8e4ff 100%); -} -.cwrc .jstree-default .jstree-node { - min-height: 24px; - line-height: 24px; - margin-left: 24px; - min-width: 24px; -} -.cwrc .jstree-default .jstree-anchor { - line-height: 24px; - height: 24px; -} -.cwrc .jstree-default .jstree-icon { - width: 24px; - height: 24px; - line-height: 24px; -} -.cwrc .jstree-default .jstree-icon:empty { - width: 24px; - height: 24px; - line-height: 24px; -} -.cwrc .jstree-default.jstree-rtl .jstree-node { - margin-right: 24px; -} -.cwrc .jstree-default .jstree-wholerow { - height: 24px; -} -.cwrc .jstree-default .jstree-node, -.cwrc .jstree-default .jstree-icon { - background-image: url("32px.png"); -} -.cwrc .jstree-default .jstree-node { - background-position: -292px -4px; - background-repeat: repeat-y; -} -.cwrc .jstree-default .jstree-last { - background: transparent; -} -.cwrc .jstree-default .jstree-open > .jstree-ocl { - background-position: -132px -4px; -} -.cwrc .jstree-default .jstree-closed > .jstree-ocl { - background-position: -100px -4px; -} -.cwrc .jstree-default .jstree-leaf > .jstree-ocl { - background-position: -68px -4px; -} -.cwrc .jstree-default .jstree-themeicon { - background-position: -260px -4px; -} -.cwrc .jstree-default > .jstree-no-dots .jstree-node, -.cwrc .jstree-default > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -36px -4px; -} -.cwrc .jstree-default > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: -4px -4px; -} -.cwrc .jstree-default .jstree-disabled { - background: transparent; -} -.cwrc .jstree-default .jstree-disabled.jstree-hovered { - background: transparent; -} -.cwrc .jstree-default .jstree-disabled.jstree-clicked { - background: #efefef; -} -.cwrc .jstree-default .jstree-checkbox { - background-position: -164px -4px; -} -.cwrc .jstree-default .jstree-checkbox:hover { - background-position: -164px -36px; -} -.cwrc .jstree-default.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, -.cwrc .jstree-default .jstree-checked > .jstree-checkbox { - background-position: -228px -4px; -} -.cwrc .jstree-default.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, -.cwrc .jstree-default .jstree-checked > .jstree-checkbox:hover { - background-position: -228px -36px; -} -.cwrc .jstree-default .jstree-anchor > .jstree-undetermined { - background-position: -196px -4px; -} -.cwrc .jstree-default .jstree-anchor > .jstree-undetermined:hover { - background-position: -196px -36px; -} -.cwrc .jstree-default .jstree-checkbox-disabled { - opacity: 0.8; - filter: url("data:image/svg+xml;utf8,#jstree-grayscale"); - /* Firefox 10+ */ - filter: gray; - /* IE6-9 */ - -webkit-filter: grayscale(100%); - /* Chrome 19+ & Safari 6+ */ -} -.cwrc .jstree-default > .jstree-striped { - background-size: auto 48px; -} -.cwrc .jstree-default.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); - background-position: 100% 1px; - background-repeat: repeat-y; -} -.cwrc .jstree-default.jstree-rtl .jstree-last { - background: transparent; -} -.cwrc .jstree-default.jstree-rtl .jstree-open > .jstree-ocl { - background-position: -132px -36px; -} -.cwrc .jstree-default.jstree-rtl .jstree-closed > .jstree-ocl { - background-position: -100px -36px; -} -.cwrc .jstree-default.jstree-rtl .jstree-leaf > .jstree-ocl { - background-position: -68px -36px; -} -.cwrc .jstree-default.jstree-rtl > .jstree-no-dots .jstree-node, -.cwrc .jstree-default.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -36px -36px; -} -.cwrc .jstree-default.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: -4px -36px; -} -.cwrc .jstree-default .jstree-themeicon-custom { - background-color: transparent; - background-image: none; - background-position: 0 0; -} -.cwrc .jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl { - background: url("throbber.gif") center center no-repeat; -} -.cwrc .jstree-default .jstree-file { - background: url("32px.png") -100px -68px no-repeat; -} -.cwrc .jstree-default .jstree-folder { - background: url("32px.png") -260px -4px no-repeat; -} -.cwrc .jstree-default > .jstree-container-ul > .jstree-node { - margin-left: 0; - margin-right: 0; -} -.cwrc #jstree-dnd.jstree-default { - line-height: 24px; - padding: 0 4px; -} -.cwrc #jstree-dnd.jstree-default .jstree-ok, -.cwrc #jstree-dnd.jstree-default .jstree-er { - background-image: url("32px.png"); - background-repeat: no-repeat; - background-color: transparent; -} -.cwrc #jstree-dnd.jstree-default i { - background: transparent; - width: 24px; - height: 24px; - line-height: 24px; -} -.cwrc #jstree-dnd.jstree-default .jstree-ok { - background-position: -4px -68px; -} -.cwrc #jstree-dnd.jstree-default .jstree-er { - background-position: -36px -68px; -} -.cwrc .jstree-default .jstree-ellipsis { - overflow: hidden; -} -.cwrc .jstree-default .jstree-ellipsis .jstree-anchor { - width: calc(71%); - text-overflow: ellipsis; - overflow: hidden; -} -.cwrc .jstree-default .jstree-ellipsis.jstree-no-icons .jstree-anchor { - width: calc(95%); -} -.cwrc .jstree-default.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); -} -.cwrc .jstree-default.jstree-rtl .jstree-last { - background: transparent; -} -.cwrc .jstree-default-small .jstree-node { - min-height: 18px; - line-height: 18px; - margin-left: 18px; - min-width: 18px; -} -.cwrc .jstree-default-small .jstree-anchor { - line-height: 18px; - height: 18px; -} -.cwrc .jstree-default-small .jstree-icon { - width: 18px; - height: 18px; - line-height: 18px; -} -.cwrc .jstree-default-small .jstree-icon:empty { - width: 18px; - height: 18px; - line-height: 18px; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-node { - margin-right: 18px; -} -.cwrc .jstree-default-small .jstree-wholerow { - height: 18px; -} -.cwrc .jstree-default-small .jstree-node, -.cwrc .jstree-default-small .jstree-icon { - background-image: url("32px.png"); -} -.cwrc .jstree-default-small .jstree-node { - background-position: -295px -7px; - background-repeat: repeat-y; -} -.cwrc .jstree-default-small .jstree-last { - background: transparent; -} -.cwrc .jstree-default-small .jstree-open > .jstree-ocl { - background-position: -135px -7px; -} -.cwrc .jstree-default-small .jstree-closed > .jstree-ocl { - background-position: -103px -7px; -} -.cwrc .jstree-default-small .jstree-leaf > .jstree-ocl { - background-position: -71px -7px; -} -.cwrc .jstree-default-small .jstree-themeicon { - background-position: -263px -7px; -} -.cwrc .jstree-default-small > .jstree-no-dots .jstree-node, -.cwrc .jstree-default-small > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default-small > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -39px -7px; -} -.cwrc .jstree-default-small > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: -7px -7px; -} -.cwrc .jstree-default-small .jstree-disabled { - background: transparent; -} -.cwrc .jstree-default-small .jstree-disabled.jstree-hovered { - background: transparent; -} -.cwrc .jstree-default-small .jstree-disabled.jstree-clicked { - background: #efefef; -} -.cwrc .jstree-default-small .jstree-checkbox { - background-position: -167px -7px; -} -.cwrc .jstree-default-small .jstree-checkbox:hover { - background-position: -167px -39px; -} -.cwrc .jstree-default-small.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, -.cwrc .jstree-default-small .jstree-checked > .jstree-checkbox { - background-position: -231px -7px; -} -.cwrc .jstree-default-small.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, -.cwrc .jstree-default-small .jstree-checked > .jstree-checkbox:hover { - background-position: -231px -39px; -} -.cwrc .jstree-default-small .jstree-anchor > .jstree-undetermined { - background-position: -199px -7px; -} -.cwrc .jstree-default-small .jstree-anchor > .jstree-undetermined:hover { - background-position: -199px -39px; -} -.cwrc .jstree-default-small .jstree-checkbox-disabled { - opacity: 0.8; - filter: url("data:image/svg+xml;utf8,#jstree-grayscale"); - /* Firefox 10+ */ - filter: gray; - /* IE6-9 */ - -webkit-filter: grayscale(100%); - /* Chrome 19+ & Safari 6+ */ -} -.cwrc .jstree-default-small > .jstree-striped { - background-size: auto 36px; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); - background-position: 100% 1px; - background-repeat: repeat-y; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-last { - background: transparent; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-open > .jstree-ocl { - background-position: -135px -39px; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-closed > .jstree-ocl { - background-position: -103px -39px; -} -.cwrc .jstree-default-small.jstree-rtl .jstree-leaf > .jstree-ocl { - background-position: -71px -39px; -} -.cwrc .jstree-default-small.jstree-rtl > .jstree-no-dots .jstree-node, -.cwrc .jstree-default-small.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default-small.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -39px -39px; -} -.cwrc .jstree-default-small.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: -7px -39px; -} -.cwrc .jstree-default-small .jstree-themeicon-custom { - background-color: transparent; - background-image: none; - background-position: 0 0; -} -.cwrc .jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl { - background: url("throbber.gif") center center no-repeat; -} -.cwrc .jstree-default-small .jstree-file { - background: url("32px.png") -103px -71px no-repeat; -} -.cwrc .jstree-default-small .jstree-folder { - background: url("32px.png") -263px -7px no-repeat; -} -.cwrc .jstree-default-small > .jstree-container-ul > .jstree-node { - margin-left: 0; - margin-right: 0; -} -.cwrc #jstree-dnd.jstree-default-small { - line-height: 18px; - padding: 0 4px; -} -.cwrc #jstree-dnd.jstree-default-small .jstree-ok, -.cwrc #jstree-dnd.jstree-default-small .jstree-er { - background-image: url("32px.png"); - background-repeat: no-repeat; - background-color: transparent; -} -.cwrc #jstree-dnd.jstree-default-small i { - background: transparent; - width: 18px; - height: 18px; - line-height: 18px; -} -.cwrc #jstree-dnd.jstree-default-small .jstree-ok { - background-position: -7px -71px; -} -.cwrc #jstree-dnd.jstree-default-small .jstree-er { - background-position: -39px -71px; -} -.cwrc .jstree-default-small .jstree-ellipsis { - overflow: hidden; -} -.cwrc .jstree-default-small .jstree-ellipsis .jstree-anchor { - width: calc(77%); - text-overflow: ellipsis; - overflow: hidden; -} -.cwrc .jstree-default-small .jstree-ellipsis.jstree-no-icons .jstree-anchor { - width: calc(95%); -} -.cwrc .jstree-default-small.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg=="); -} -.cwrc .jstree-default-small.jstree-rtl .jstree-last { - background: transparent; -} -.cwrc .jstree-default-large .jstree-node { - min-height: 32px; - line-height: 32px; - margin-left: 32px; - min-width: 32px; -} -.cwrc .jstree-default-large .jstree-anchor { - line-height: 32px; - height: 32px; -} -.cwrc .jstree-default-large .jstree-icon { - width: 32px; - height: 32px; - line-height: 32px; -} -.cwrc .jstree-default-large .jstree-icon:empty { - width: 32px; - height: 32px; - line-height: 32px; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-node { - margin-right: 32px; -} -.cwrc .jstree-default-large .jstree-wholerow { - height: 32px; -} -.cwrc .jstree-default-large .jstree-node, -.cwrc .jstree-default-large .jstree-icon { - background-image: url("32px.png"); -} -.cwrc .jstree-default-large .jstree-node { - background-position: -288px 0px; - background-repeat: repeat-y; -} -.cwrc .jstree-default-large .jstree-last { - background: transparent; -} -.cwrc .jstree-default-large .jstree-open > .jstree-ocl { - background-position: -128px 0px; -} -.cwrc .jstree-default-large .jstree-closed > .jstree-ocl { - background-position: -96px 0px; -} -.cwrc .jstree-default-large .jstree-leaf > .jstree-ocl { - background-position: -64px 0px; -} -.cwrc .jstree-default-large .jstree-themeicon { - background-position: -256px 0px; -} -.cwrc .jstree-default-large > .jstree-no-dots .jstree-node, -.cwrc .jstree-default-large > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default-large > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -32px 0px; -} -.cwrc .jstree-default-large > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: 0px 0px; -} -.cwrc .jstree-default-large .jstree-disabled { - background: transparent; -} -.cwrc .jstree-default-large .jstree-disabled.jstree-hovered { - background: transparent; -} -.cwrc .jstree-default-large .jstree-disabled.jstree-clicked { - background: #efefef; -} -.cwrc .jstree-default-large .jstree-checkbox { - background-position: -160px 0px; -} -.cwrc .jstree-default-large .jstree-checkbox:hover { - background-position: -160px -32px; -} -.cwrc .jstree-default-large.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, -.cwrc .jstree-default-large .jstree-checked > .jstree-checkbox { - background-position: -224px 0px; -} -.cwrc .jstree-default-large.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, -.cwrc .jstree-default-large .jstree-checked > .jstree-checkbox:hover { - background-position: -224px -32px; -} -.cwrc .jstree-default-large .jstree-anchor > .jstree-undetermined { - background-position: -192px 0px; -} -.cwrc .jstree-default-large .jstree-anchor > .jstree-undetermined:hover { - background-position: -192px -32px; -} -.cwrc .jstree-default-large .jstree-checkbox-disabled { - opacity: 0.8; - filter: url("data:image/svg+xml;utf8,#jstree-grayscale"); - /* Firefox 10+ */ - filter: gray; - /* IE6-9 */ - -webkit-filter: grayscale(100%); - /* Chrome 19+ & Safari 6+ */ -} -.cwrc .jstree-default-large > .jstree-striped { - background-size: auto 64px; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); - background-position: 100% 1px; - background-repeat: repeat-y; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-last { - background: transparent; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-open > .jstree-ocl { - background-position: -128px -32px; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-closed > .jstree-ocl { - background-position: -96px -32px; -} -.cwrc .jstree-default-large.jstree-rtl .jstree-leaf > .jstree-ocl { - background-position: -64px -32px; -} -.cwrc .jstree-default-large.jstree-rtl > .jstree-no-dots .jstree-node, -.cwrc .jstree-default-large.jstree-rtl > .jstree-no-dots .jstree-leaf > .jstree-ocl { - background: transparent; -} -.cwrc .jstree-default-large.jstree-rtl > .jstree-no-dots .jstree-open > .jstree-ocl { - background-position: -32px -32px; -} -.cwrc .jstree-default-large.jstree-rtl > .jstree-no-dots .jstree-closed > .jstree-ocl { - background-position: 0px -32px; -} -.cwrc .jstree-default-large .jstree-themeicon-custom { - background-color: transparent; - background-image: none; - background-position: 0 0; -} -.cwrc .jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl { - background: url("throbber.gif") center center no-repeat; -} -.cwrc .jstree-default-large .jstree-file { - background: url("32px.png") -96px -64px no-repeat; -} -.cwrc .jstree-default-large .jstree-folder { - background: url("32px.png") -256px 0px no-repeat; -} -.cwrc .jstree-default-large > .jstree-container-ul > .jstree-node { - margin-left: 0; - margin-right: 0; -} -.cwrc #jstree-dnd.jstree-default-large { - line-height: 32px; - padding: 0 4px; -} -.cwrc #jstree-dnd.jstree-default-large .jstree-ok, -.cwrc #jstree-dnd.jstree-default-large .jstree-er { - background-image: url("32px.png"); - background-repeat: no-repeat; - background-color: transparent; -} -.cwrc #jstree-dnd.jstree-default-large i { - background: transparent; - width: 32px; - height: 32px; - line-height: 32px; -} -.cwrc #jstree-dnd.jstree-default-large .jstree-ok { - background-position: 0px -64px; -} -.cwrc #jstree-dnd.jstree-default-large .jstree-er { - background-position: -32px -64px; -} -.cwrc .jstree-default-large .jstree-ellipsis { - overflow: hidden; -} -.cwrc .jstree-default-large .jstree-ellipsis .jstree-anchor { - width: calc(63%); - text-overflow: ellipsis; - overflow: hidden; -} -.cwrc .jstree-default-large .jstree-ellipsis.jstree-no-icons .jstree-anchor { - width: calc(95%); -} -.cwrc .jstree-default-large.jstree-rtl .jstree-node { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg=="); -} -.cwrc .jstree-default-large.jstree-rtl .jstree-last { - background: transparent; -} -@media (max-width: 768px) { - .cwrc #jstree-dnd.jstree-dnd-responsive { - line-height: 40px; - font-weight: bold; - font-size: 1.1em; - text-shadow: 1px 1px white; - } - .cwrc #jstree-dnd.jstree-dnd-responsive > i { - background: transparent; - width: 40px; - height: 40px; - } - .cwrc #jstree-dnd.jstree-dnd-responsive > .jstree-ok { - background-image: url("40px.png"); - background-position: 0 -200px; - background-size: 120px 240px; - } - .cwrc #jstree-dnd.jstree-dnd-responsive > .jstree-er { - background-image: url("40px.png"); - background-position: -40px -200px; - background-size: 120px 240px; - } - .cwrc #jstree-marker.jstree-dnd-responsive { - border-left-width: 10px; - border-top-width: 10px; - border-bottom-width: 10px; - margin-top: -10px; - } -} -@media (max-width: 768px) { - .cwrc .jstree-default-responsive { - /* - .jstree-open > .jstree-ocl, - .jstree-closed > .jstree-ocl { border-radius:20px; background-color:white; } - */ - } - .cwrc .jstree-default-responsive .jstree-icon { - background-image: url("40px.png"); - } - .cwrc .jstree-default-responsive .jstree-node, - .cwrc .jstree-default-responsive .jstree-leaf > .jstree-ocl { - background: transparent; - } - .cwrc .jstree-default-responsive .jstree-node { - min-height: 40px; - line-height: 40px; - margin-left: 40px; - min-width: 40px; - white-space: nowrap; - } - .cwrc .jstree-default-responsive .jstree-anchor { - line-height: 40px; - height: 40px; - } - .cwrc .jstree-default-responsive .jstree-icon, - .cwrc .jstree-default-responsive .jstree-icon:empty { - width: 40px; - height: 40px; - line-height: 40px; - } - .cwrc .jstree-default-responsive > .jstree-container-ul > .jstree-node { - margin-left: 0; - } - .cwrc .jstree-default-responsive.jstree-rtl .jstree-node { - margin-left: 0; - margin-right: 40px; - background: transparent; - } - .cwrc .jstree-default-responsive.jstree-rtl .jstree-container-ul > .jstree-node { - margin-right: 0; - } - .cwrc .jstree-default-responsive .jstree-ocl, - .cwrc .jstree-default-responsive .jstree-themeicon, - .cwrc .jstree-default-responsive .jstree-checkbox { - background-size: 120px 240px; - } - .cwrc .jstree-default-responsive .jstree-leaf > .jstree-ocl, - .cwrc .jstree-default-responsive.jstree-rtl .jstree-leaf > .jstree-ocl { - background: transparent; - } - .cwrc .jstree-default-responsive .jstree-open > .jstree-ocl { - background-position: 0 0px !important; - } - .cwrc .jstree-default-responsive .jstree-closed > .jstree-ocl { - background-position: 0 -40px !important; - } - .cwrc .jstree-default-responsive.jstree-rtl .jstree-closed > .jstree-ocl { - background-position: -40px 0px !important; - } - .cwrc .jstree-default-responsive .jstree-themeicon { - background-position: -40px -40px; - } - .cwrc .jstree-default-responsive .jstree-checkbox, - .cwrc .jstree-default-responsive .jstree-checkbox:hover { - background-position: -40px -80px; - } - .cwrc .jstree-default-responsive.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, - .cwrc .jstree-default-responsive.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, - .cwrc .jstree-default-responsive .jstree-checked > .jstree-checkbox, - .cwrc .jstree-default-responsive .jstree-checked > .jstree-checkbox:hover { - background-position: 0 -80px; - } - .cwrc .jstree-default-responsive .jstree-anchor > .jstree-undetermined, - .cwrc .jstree-default-responsive .jstree-anchor > .jstree-undetermined:hover { - background-position: 0 -120px; - } - .cwrc .jstree-default-responsive .jstree-anchor { - font-weight: bold; - font-size: 1.1em; - text-shadow: 1px 1px white; - } - .cwrc .jstree-default-responsive > .jstree-striped { - background: transparent; - } - .cwrc .jstree-default-responsive .jstree-wholerow { - border-top: 1px solid rgba(255, 255, 255, 0.7); - border-bottom: 1px solid rgba(64, 64, 64, 0.2); - background: #ebebeb; - height: 40px; - } - .cwrc .jstree-default-responsive .jstree-wholerow-hovered { - background: #e7f4f9; - } - .cwrc .jstree-default-responsive .jstree-wholerow-clicked { - background: #beebff; - } - .cwrc .jstree-default-responsive .jstree-children .jstree-last > .jstree-wholerow { - box-shadow: inset 0 -6px 3px -5px #666666; - } - .cwrc .jstree-default-responsive .jstree-children .jstree-open > .jstree-wholerow { - box-shadow: inset 0 6px 3px -5px #666666; - border-top: 0; - } - .cwrc .jstree-default-responsive .jstree-children .jstree-open + .jstree-open { - box-shadow: none; - } - .cwrc .jstree-default-responsive .jstree-node, - .cwrc .jstree-default-responsive .jstree-icon, - .cwrc .jstree-default-responsive .jstree-node > .jstree-ocl, - .cwrc .jstree-default-responsive .jstree-themeicon, - .cwrc .jstree-default-responsive .jstree-checkbox { - background-image: url("40px.png"); - background-size: 120px 240px; - } - .cwrc .jstree-default-responsive .jstree-node { - background-position: -80px 0; - background-repeat: repeat-y; - } - .cwrc .jstree-default-responsive .jstree-last { - background: transparent; - } - .cwrc .jstree-default-responsive .jstree-leaf > .jstree-ocl { - background-position: -40px -120px; - } - .cwrc .jstree-default-responsive .jstree-last > .jstree-ocl { - background-position: -40px -160px; - } - .cwrc .jstree-default-responsive .jstree-themeicon-custom { - background-color: transparent; - background-image: none; - background-position: 0 0; - } - .cwrc .jstree-default-responsive .jstree-file { - background: url("40px.png") 0 -160px no-repeat; - background-size: 120px 240px; - } - .cwrc .jstree-default-responsive .jstree-folder { - background: url("40px.png") -40px -40px no-repeat; - background-size: 120px 240px; - } - .cwrc .jstree-default-responsive > .jstree-container-ul > .jstree-node { - margin-left: 0; - margin-right: 0; - } -} diff --git a/build/css/style.css b/build/css/style.css index 648179e8..c28c731e 100644 --- a/build/css/style.css +++ b/build/css/style.css @@ -371,11 +371,6 @@ html, body { .entitiesList .entityTitle { font-size: 1em; vertical-align: 6px; - text-overflow: ellipsis; - display: inline-block; - white-space: nowrap; - width: 85%; - overflow: hidden; } .entitiesList .selected .entityTitle { @@ -403,14 +398,9 @@ html, body { } .entitiesList li { - height: 22px; list-style: none; } -.entitiesList li.selected { - height: auto; -} - .entitiesList > li:hover { cursor: pointer; } @@ -681,7 +671,6 @@ html, body { .triplesDialog .currentRelation p { margin: 5px; font-size: 1em; - height: 20px; } .triplesDialog .column > ul { @@ -690,13 +679,11 @@ html, body { } .triplesDialog .column > ul li { - white-space: nowrap; list-style: none; margin: 0; } .triplesDialog .entitiesList li.selected { - height: 22px; } .triplesDialog .column.predicate ul { diff --git a/build/js/app.js b/build/js/app.js index 7fcababa..e0a70462 100644 --- a/build/js/app.js +++ b/build/js/app.js @@ -599,7 +599,7 @@ exports.encode = exports.stringify = require('./encode'); window.Drupal = window.Drupal || {}; var cwrc = require('cwrc-entity-lookup'); -cwrc.setRootURL('https://cwrc-dev-06.srv.ualberta.ca'); +cwrc.setRootURL(Drupal.settings.CWRCWriter.cwrcDialogs.cwrcApiUrl); var viaf = require('viaf-entity-lookup'); var dbpedia = require('dbpedia-entity-lookup'); var wikidata = require('wikidata-entity-lookup'); @@ -619,7 +619,7 @@ window.Drupal.CWRCWriter = require('cwrc-writer-base'); },{"cwrc-entity-lookup":8,"cwrc-public-entity-dialogs":32,"cwrc-writer-base":115,"dbpedia-entity-lookup":116,"geonames-entity-lookup":118,"getty-entity-lookup":119,"viaf-entity-lookup":172,"wikidata-entity-lookup":173}],8:[function(require,module,exports){ 'use strict'; -var urlRoot = 'http://beta.cwrc.ca'; +var urlRoot = ''; function setRootURL(url) { urlRoot = url; @@ -668,7 +668,7 @@ function fetchWithTimeout(url) { // note that this method is exposed on the npm module to simplify testing, // i.e., to allow intercepting the HTTP call during testing, using sinon or similar. function getEntitySourceURI(queryString, methodName) { - return urlRoot + '/islandora/cwrc_entities/v1/search/' + methodName + '?query=' + encodeURIComponent(queryString) + '&limit=100&page=0'; + return urlRoot + '/search/' + methodName + '?query=' + encodeURIComponent(queryString) + '&limit=100&page=0'; } function getPersonLookupURI(queryString) { @@ -10745,10 +10745,10 @@ function Selection(config) { var w = config.writer; var id = w.getUniqueId('selection_'); var selectionTrimLength = 100000; - var showFullDoc = false; + var showFullDoc = true; var lastUpdate = new Date().getTime(); w.utilities.addCSS('css/prism-ghcolors.css'); - $('#' + config.parentId).append('\n