Add right border on selected tree item.

This commit is contained in:
Aditya Toshniwal 2019-01-17 13:27:07 +05:30 committed by Akshay Joshi
parent c1aba3e055
commit f779378e8a
3 changed files with 9 additions and 13 deletions

View File

@ -43,6 +43,7 @@ define('pgadmin.node.procedure', [
hasDepends: true,
hasStatistics: true,
hasScriptTypes: ['create', 'exec'],
width: pgBrowser.stdW.md + 'px',
Init: function() {
/* Avoid mulitple registration of menus */
if (this.proc_initialized)

View File

@ -329,19 +329,8 @@ define('pgadmin.preferences', [
if (!d)
return true;
/* Bind events to enable clicking anywhere and not only text, button */
item.on('dblclick', function(e) {
e.preventDefault();
e.stopPropagation();
api.toggle(item);
});
item.on('click', function(e) {
e.preventDefault();
e.stopPropagation();
api.select(item);
});
// We will add the preferences in to the preferences data
// collection.
// We will add the preferences in to the preferences data
// collection.
if (d.preferences && _.isArray(d.preferences)) {
_.each(d.preferences, function(p) {
preferences.add({

View File

@ -8,10 +8,16 @@
}
.aciTree.aciTreeFocus .aciTreeFocus > .aciTreeLine {
background-color: $color-primary-light !important;
border-right: $active-border !important;
}
.aciTree .aciTreeSelected > .aciTreeLine {
background-color: $color-primary-light !important;
border-color: $color-primary-light;
border-right: $active-border !important;
border-left: none !important;
border-top: none !important;
border-bottom: none !important;
-webkit-border-radius: none !important;
-moz-border-radius: none !important;
border-radius: none !important;