From 96fd77826acdaa2432d0ca435605661cb447ec59 Mon Sep 17 00:00:00 2001 From: Bang <15622356989@163.com> Date: Wed, 8 Jun 2022 14:41:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=89=B4=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/app.css | 52 +++- static/index.html | 4 +- static/js/app.js | 753 ++++++++++++++++++++++++++++----------------- 3 files changed, 514 insertions(+), 295 deletions(-) diff --git a/static/css/app.css b/static/css/app.css index 9a64a0f..18ac2f9 100644 --- a/static/css/app.css +++ b/static/css/app.css @@ -54,7 +54,8 @@ content: ' '; position: absolute; bottom: -1px; - left: 0; right: 0; + left: 0; + right: 0; height: 1px; widows: 100%; background: #fff; @@ -199,7 +200,7 @@ color: #888; } -#sidebar .objects-search input[type="text"] { +#sidebar .objects-search input[type='text'] { background: transparent; border: 0px none; font-size: 12px; @@ -226,8 +227,9 @@ overflow: auto; } - -#sidebar div.tables-list #tables, #sequences, #objects { +#sidebar div.tables-list #tables, +#sequences, +#objects { font-size: 12px; } @@ -264,11 +266,11 @@ height: 24px; padding: 0 8px 0 8px; font-size: 12px; - color: #7F7E7F !important; + color: #7f7e7f !important; } #sidebar div.table-information .lines .line span { - color: #4F4F4F; + color: #4f4f4f; min-width: 0; padding-left: 0px; } @@ -507,7 +509,7 @@ background: #f3faff; } -#results[data-mode="browse"] th:hover { +#results[data-mode='browse'] th:hover { cursor: pointer; background: #fafafa; } @@ -600,7 +602,8 @@ display: none; } -#edit_connection, #close_connection { +#edit_connection, +#close_connection { background: #7d32ea; color: #fff; border-color: #fff; @@ -689,12 +692,24 @@ /* Sidebar Schema Objects */ /* -------------------------------------------------------------------------- */ -.schema {} -.schema i { display: inline-block; margin-right: 4px; } -.schema i.fa-folder-o { display: inline-block; } -.schema i.fa-folder-open-o { display: none; } -.schema.expanded i.fa-folder-open-o { display: inline-block; } -.schema.expanded i.fa-folder-o { display: none; } +.schema { +} +.schema i { + display: inline-block; + margin-right: 4px; +} +.schema i.fa-folder-o { + display: inline-block; +} +.schema i.fa-folder-open-o { + display: none; +} +.schema.expanded i.fa-folder-open-o { + display: inline-block; +} +.schema.expanded i.fa-folder-o { + display: none; +} .schema .schema-name { font-weight: bold; @@ -784,7 +799,8 @@ /* Ace Customizations */ /* -------------------------------------------------------------------------- */ -.ace_gutter, .ace_gutter-cell { +.ace_gutter, +.ace_gutter-cell { background: #fff !important; color: #bbb; font-size: 12px; @@ -796,4 +812,8 @@ .ace_autocomplete .ace_active-line { background: #eee !important; -} \ No newline at end of file +} + +.hidden { + display: none; +} diff --git a/static/index.html b/static/index.html index 677552d..d4766c8 100644 --- a/static/index.html +++ b/static/index.html @@ -17,10 +17,10 @@ - + - +