public inbox for [email protected]  
help / color / mirror / Atom feed
From: Rahul Shirsat <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive
Date: Tue, 12 Oct 2021 13:59:11 +0530
Message-ID: <CAKtn9dNsRHJe8Woe9S_7UybZFL2fTZw9oNn7XP2KdiPRVH+NwQ@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch which resolves the issue of intensive query
highlighting in the query tool.

-- 
*Rahul Shirsat*
Senior Software Engineer | EnterpriseDB Corporation.


Attachments:

  [application/octet-stream] RM6754.patch (1.3K, 3-RM6754.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/scss/resources/_default.variables.scss b/web/pgadmin/static/scss/resources/_default.variables.scss
index 7b187a45c..0f885ccab 100644
--- a/web/pgadmin/static/scss/resources/_default.variables.scss
+++ b/web/pgadmin/static/scss/resources/_default.variables.scss
@@ -198,6 +198,8 @@ $color-editor-bracket: #737373 !default;
 $color-editor-operator: $color-fg !default;
 $color-editor-foldmarker: #0000FF !default;
 $color-editor-activeline: #50B0F0 !default;
+$color-editor-activeline-light: #EDF9FF !default;
+$color-editor-activeline-border-color: #BCDEF3 !default;
 
 $active-color: $color-primary !default;
 $active-border: 3px solid $active-color !default;
diff --git a/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss b/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
index 5d34b8801..7e1f4aac2 100644
--- a/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
+++ b/web/pgadmin/tools/sqleditor/static/scss/_sqleditor.scss
@@ -97,6 +97,11 @@ li.CodeMirror-hint-active {
   color: $color-primary-fg;
 }
 
+.sql-editor .CodeMirror-activeline-background {
+  background: $color-editor-activeline-light !important;
+  border: 1px solid $color-editor-activeline-border-color;
+}
+
 .filter-container {
   position: relative;
   background-color: $color-bg;


view thread (2+ 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: [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive
  In-Reply-To: <CAKtn9dNsRHJe8Woe9S_7UybZFL2fTZw9oNn7XP2KdiPRVH+NwQ@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