diff --git a/module/doc/css/objectlibs.css b/module/doc/css/objectlibs.css index 8656d576da..e5a12a8689 100644 --- a/module/doc/css/objectlibs.css +++ b/module/doc/css/objectlibs.css @@ -46,10 +46,10 @@ .tree li>.list-toggle {left: -4px; top: 0;} .tree-group {position: relative;} .tree-group > .module-name {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block;} -.tree-group .tree-actions {display: none; position: absolute; right: 0; top: 0; background-color: #fff; white-space: nowrap;} +.tree-group .treeActions {display: none; position: absolute; right: 0; top: 0; background-color: #fff; white-space: nowrap;} .tree-group:hover > .module-name {width: calc(100% - 84px);} -.tree-group:hover .tree-actions {display: block} -.tree-group .tree-actions > .dropdown {display: inline-block;} +.tree-group:hover .treeActions {display: block} +.tree-group .treeActions > .dropdown {display: inline-block;} .tree-group .dropdown-menu {position: absolute; right: 0; left: auto; margin-top: -2px;} .tree-group .dropdown-menu > li > a {max-width: 100%; color: #3c4353!important; font-weight: normal!important;} -.tree-group .dropdown-menu > li > a:hover {color: #fff;} +.tree-group .dropdown-menu > li > a:hover {color: #fff !important;} diff --git a/module/doc/model.php b/module/doc/model.php index 648ff9e34a..a03eccaf74 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2373,7 +2373,7 @@ EOT; if($currentMethod == 'objectlibs') { $treeMenu[$module->id] .= "
" . html::a(inlink('objectLibs', "type=$type&objectID=$objectID&libID=$libID&docID={$doc->id}"), "  " . $doc->title, '', "data-app='{$this->app->tab}' class='doc-title' title='{$doc->title}'") . ''; - $treeMenu[$module->id] .= "
"; + $treeMenu[$module->id] .= "
"; $treeMenu[$module->id] .= html::a(helper::createLink('doc', 'edit', "docID=$docID&comment=false&objectType=$type&objectID=$objectID&libID=$libID"), "", '', "title={$this->lang->doc->edit}"); $treeMenu[$module->id] .= '"; $treeMenu[$module->id] .= "lang->tree->dragAndSort}>"; @@ -2421,7 +2416,7 @@ EOT; else { $li = "
" . $module->name . ''; - $li .= "
"; + $li .= "
"; $li .= html::a(helper::createLink('tree', 'edit', "module=$module->id&type=doc"), "", '', "data-toggle='modal' title={$this->lang->doc->editType}"); $li .= html::a(helper::createLink('tree', 'browse', "rootID=$libID&type=doc&module=$module->id", '', 1), "", '', "class='iframe' title={$this->lang->doc->editType}"); $li .=''; $li .= "lang->tree->dragAndSort}>";