public inbox for [email protected]  
help / color / mirror / Atom feed
From: Murtuza Zabuawala <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4] Fix context menu CSS
Date: Wed, 4 Dec 2019 14:36:33 +0530
Message-ID: <CAKKotZRr1KoWC7YCc_9F+5rWN+T0ze6wQ4eNuwMkSncSXv4unQ@mail.gmail.com> (raw)

Hi,

PFA patch to fix the issue where we have context menu open along with
submenu and the focus is not on context menu or submenu then it was picking
the CSS from jquery.contextMenu.scss and displaying different color then
the selected theme.


--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Attachments:

  [application/octet-stream] fix_context_menu_color.diff (748B, 3-fix_context_menu_color.diff)
  download | inline diff:
diff --git a/web/pgadmin/static/scss/_webcabin.pgadmin.scss b/web/pgadmin/static/scss/_webcabin.pgadmin.scss
index fca37c9795..7a7dd658dd 100644
--- a/web/pgadmin/static/scss/_webcabin.pgadmin.scss
+++ b/web/pgadmin/static/scss/_webcabin.pgadmin.scss
@@ -271,7 +271,7 @@
   background-color: $dropdown-bg;
 }
 
-.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item:not(.context-menu-not-selectable).hover, .context-menu-item:not(.context-menu-not-selectable):hover {
+.wcMenuItemHover, .wcMenuItem:hover, .context-menu-item:not(.context-menu-not-selectable).hover, .context-menu-item:not(.context-menu-not-selectable):hover, .context-menu-hover {
   color: $dropdown-link-hover-color;
   background-color: $dropdown-link-hover-bg !important;
 }


view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin4] Fix context menu CSS
  In-Reply-To: <CAKKotZRr1KoWC7YCc_9F+5rWN+T0ze6wQ4eNuwMkSncSXv4unQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox