From 8a8c8bbae4298440fd99482b260f9e80ebbf0e4b Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Wed, 22 Jul 2015 09:46:11 +0530 Subject: [PATCH] Try to make the look and feel of the UI same as it was earlier for consitency. --- .../browser/templates/browser/js/browser.js | 2 +- web/pgadmin/static/css/overrides.css | 8 ++++-- .../static/css/wcDocker/Themes/pgadmin.css | 25 +++++++++++-------- 3 files changed, 22 insertions(+), 13 deletions(-) diff --git a/web/pgadmin/browser/templates/browser/js/browser.js b/web/pgadmin/browser/templates/browser/js/browser.js index e9f311031..e77e2c156 100644 --- a/web/pgadmin/browser/templates/browser/js/browser.js +++ b/web/pgadmin/browser/templates/browser/js/browser.js @@ -87,7 +87,7 @@ OWNER TO helpdesk;\n'; 'browser': new pgAdmin.Browser.Panel({ name: 'browser', title: '{{ _('Browser') }}', - showTitle: true, + showTitle: false, isCloseable: false, isPrivate: true, content: '
' diff --git a/web/pgadmin/static/css/overrides.css b/web/pgadmin/static/css/overrides.css index c8f258f63..d79d8447a 100644 --- a/web/pgadmin/static/css/overrides.css +++ b/web/pgadmin/static/css/overrides.css @@ -287,6 +287,7 @@ iframe { text-align: left; cursor: pointer; margin-bottom: 1px; + background-color: #2C76B4; } .obj_properties .badge .caret { @@ -368,7 +369,10 @@ iframe { overflow: auto; top: 0em; bottom: 0px; - padding: 0.5em 0px; + padding-bottom: 0.5em; + padding-top: 0; + padding-right: 0; + padding-left: 0; } .pg-prop-has-btn-group-below { @@ -376,7 +380,7 @@ iframe { } .has-pg-prop-btn-group { - top: 2.1em; + top: 2.55em; } .pg-prop-content > div { diff --git a/web/pgadmin/static/css/wcDocker/Themes/pgadmin.css b/web/pgadmin/static/css/wcDocker/Themes/pgadmin.css index bcfde1f97..8696d17fd 100644 --- a/web/pgadmin/static/css/wcDocker/Themes/pgadmin.css +++ b/web/pgadmin/static/css/wcDocker/Themes/pgadmin.css @@ -18,19 +18,20 @@ background-color: #dddddd; } -.wcFrameTitleBar { - height: 38px; - background-color: #555; -} - .wcFrameTitle { + height: 50px; font-size: 12px; font-weight: bold; - text-align: left; padding-top: 3px; padding-left: 3px; vertical-align: middle; background-color: #e6e6e6; + text-align: left; + border-bottom: 1px; +} + +.wcFrameCenter { + top: 40px; } .wcFrameButton { @@ -55,10 +56,6 @@ background-color: #dddddd; } -.wcFrameCenter { - top: 40px; -} - .wcFrameButtonToggled, .wcFrameButtonToggled:hover { border-style: inset; } @@ -221,3 +218,11 @@ padding-left: 1.25em; margin-top: -5px; } + +.wcFrameTitleBar { + background-color: #E2E2E2 +} + +.wcFloating .wcFrameTitleBar { + background-color: #2C76B4; +}