mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-16 18:25:12 -06:00
Add right border on selected tree item.
This commit is contained in:
parent
c1aba3e055
commit
f779378e8a
@ -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)
|
||||
|
@ -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({
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user