Fresh design

This commit is contained in:
Dan Sosedoff
2016-01-04 20:25:54 -06:00
parent aa0ffedc8c
commit 9cfdf4a194
4 changed files with 39 additions and 35 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,8 +8,7 @@
left: 250px; left: 250px;
right: 0; right: 0;
height: 50px; height: 50px;
box-shadow: inset 0 -1px 0 0 #b8b7b5; background: #79589f;
background: #d8d7d6;
} }
#nav ul { #nav ul {
@@ -27,7 +26,7 @@
line-height: 49px; line-height: 49px;
font-size: 13px; font-size: 13px;
padding: 0px 14px; padding: 0px 14px;
color: #6c6b6b; color: #d6cce2;
font-weight: 500; font-weight: 500;
margin: 0 1px; margin: 0 1px;
cursor: pointer; cursor: pointer;
@@ -41,15 +40,13 @@
} }
#nav ul li:hover { #nav ul li:hover {
color: rgba(0,0,0,0.9); color: #fff;
} }
#nav ul li.selected { #nav ul li.selected {
position: relative; position: relative;
background: #fff; background: #fff;
color: #000; color: #000;
border-right: 1px solid #b8b7b5;
border-left: 1px solid #b8b7b5;
margin: 0; margin: 0;
} }
@@ -73,8 +70,8 @@
left: 0px; left: 0px;
top: 0px; top: 0px;
bottom: 0px; bottom: 0px;
border-right: 1px solid #d4d4d4;
box-sizing: border-box; box-sizing: border-box;
background: #f9f9f9;
} }
#sidebar .title { #sidebar .title {
@@ -85,16 +82,17 @@
height: 33px; height: 33px;
padding: 0px 8px; padding: 0px 8px;
padding-left: 12px; padding-left: 12px;
color: #000; color: #555;
font-weight: bold; font-weight: bold;
background: #f6f6f6; font-size: 13px;
} }
#sidebar .title.main { #sidebar .title.main {
line-height: 50px; line-height: 50px;
height: 50px; height: 50px;
border-bottom: 1px solid #d4d4d4; background: #79589f;
background: #f1f1f1; color: #fff;
font-size: 14px;
} }
#sidebar div.tables-list { #sidebar div.tables-list {
@@ -104,7 +102,6 @@
left: 0px; left: 0px;
bottom: 130px; bottom: 130px;
overflow: auto; overflow: auto;
background: #f6f6f6;
} }
#sidebar div.tables-list .wrap { #sidebar div.tables-list .wrap {
@@ -124,14 +121,10 @@
float: right; float: right;
margin-right: 4px; margin-right: 4px;
cursor: pointer; cursor: pointer;
color: #aaa; color: #fff;
display: none; display: none;
} }
#sidebar div.tables-list .title span.refresh:hover {
color: #555;
}
#sidebar div.tables-list #tables, #sequences { #sidebar div.tables-list #tables, #sequences {
padding: 50px 0 0; padding: 50px 0 0;
font-size: 12px; font-size: 12px;
@@ -143,9 +136,8 @@
left: 0px; left: 0px;
height: 130px; height: 130px;
bottom: 0px; bottom: 0px;
background: #f6f6f6; /*border-top: 1px solid #d4d4d4;*/
border-top: 1px solid #d4d4d4; /*border-right: 1px solid #d4d4d4;*/
border-right: 1px solid #d4d4d4;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -155,7 +147,7 @@
} }
#sidebar div.table-information .title { #sidebar div.table-information .title {
background: #f6f6f6; /*background: #f6f6f6;*/
} }
#sidebar div.table-information ul { #sidebar div.table-information ul {
@@ -237,8 +229,7 @@
background: #fff; background: #fff;
padding: 10px; padding: 10px;
height: 50px; height: 50px;
border-top: solid 1px #e1e2e3; border-bottom: solid 1px #ddd;
border-bottom: solid 1px #b8b7b5;
} }
#input .actions .btn { #input .actions .btn {
@@ -307,7 +298,6 @@
#results tr:nth-child(even) > td { #results tr:nth-child(even) > td {
border: none; border: none;
background: #fafafa;
} }
#results tr:nth-child(odd) > td { #results tr:nth-child(odd) > td {
@@ -316,18 +306,17 @@
} }
#results th { #results th {
background: #f3f3f3;
border-top: none; border-top: none;
border-bottom: 1px solid #eae9e9; border-bottom: 1px solid #eae9e9;
padding: 3px 9px; padding: 3px 9px;
line-height: 24px; line-height: 24px;
color: #6a6a6a; color: #333;
font-weight: bold; font-weight: bold;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
#results th.active { #results th.active {
background: #e3e3e3; background: #f3f3f3;
} }
#results[data-mode="browse"] th:hover { #results[data-mode="browse"] th:hover {
@@ -388,7 +377,8 @@
} }
#custom_query { #custom_query {
height: 205px; height: 193px;
margin: 6px 0px;
} }
#connection_window { #connection_window {
@@ -458,3 +448,16 @@
display: none; display: none;
z-index: 1000; z-index: 1000;
} }
/* -------------------------------------------------------------------------- */
/* Ace Customizations */
/* -------------------------------------------------------------------------- */
.ace_gutter, .ace_gutter-cell {
background: #fff !important;
color: #888;
}
.ace_active-line {
background: #f9f9f9 !important;
}

View File

@@ -29,7 +29,7 @@
<li id="table_connection">Connection</li> <li id="table_connection">Connection</li>
</ul> </ul>
<a href="#" id="edit_connection" class="btn btn-primary btn-sm"><i class="fa fa-gear"></i> Edit Connection</a> <a href="#" id="edit_connection" class="btn btn-default btn-sm"><i class="fa fa-globe"></i> Edit Connection</a>
</div> </div>
<div id="sidebar"> <div id="sidebar">
<div class="tables-list"> <div class="tables-list">

View File

@@ -394,6 +394,7 @@ function initEditor() {
editor.setFontSize(13); editor.setFontSize(13);
editor.setTheme("ace/theme/tomorrow"); editor.setTheme("ace/theme/tomorrow");
editor.setShowPrintMargin(false);
editor.getSession().setMode("ace/mode/pgsql"); editor.getSession().setMode("ace/mode/pgsql");
editor.getSession().setTabSize(2); editor.getSession().setTabSize(2);
editor.getSession().setUseSoftTabs(true); editor.getSession().setUseSoftTabs(true);