public inbox for [email protected]
help / color / mirror / Atom feed[patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive
2+ messages / 2 participants
[nested] [flat]
* [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive
@ 2021-10-12 08:29 Rahul Shirsat <[email protected]>
2021-10-12 09:35 ` Re: [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive Akshay Joshi <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Shirsat @ 2021-10-12 08:29 UTC (permalink / raw)
To: pgadmin-hackers
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;
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive
2021-10-12 08:29 [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive Rahul Shirsat <[email protected]>
@ 2021-10-12 09:35 ` Akshay Joshi <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Akshay Joshi @ 2021-10-12 09:35 UTC (permalink / raw)
To: Rahul Shirsat <[email protected]>; +Cc: pgadmin-hackers
Thanks, the patch applied.
On Tue, Oct 12, 2021 at 1:59 PM Rahul Shirsat <
[email protected]> wrote:
> 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.
>
--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*
*Mobile: +91 976-788-8246*
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-10-12 09:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 08:29 [patch][pgAdmin] RM6754 Color of query highlighting in query tool should be less intensive Rahul Shirsat <[email protected]>
2021-10-12 09:35 ` Akshay Joshi <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox