Initial support for multiple schemas

This commit is contained in:
Dan Sosedoff
2016-01-12 21:33:44 -06:00
parent 9c7eaf63d5
commit 9ffa05affb
11 changed files with 410 additions and 137 deletions

View File

@@ -125,7 +125,7 @@
display: none;
}
#sidebar div.tables-list #tables, #sequences {
#sidebar div.tables-list #tables, #sequences, #objects {
padding: 50px 0 0;
font-size: 12px;
}
@@ -170,7 +170,7 @@
padding-left: 0px;
}
#sidebar ul {
/*#sidebar ul {
margin: 0px;
padding: 0px;
}
@@ -205,7 +205,7 @@
display: inline-block;
width: auto;
min-width: 100%;
}
}*/
#body {
position: fixed;
@@ -288,6 +288,9 @@
margin-right: 0px;
}
#objects {
}
#output {
position: absolute;
left: 0px;
@@ -565,6 +568,90 @@
z-index: 1000;
}
/* -------------------------------------------------------------------------- */
/* 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-name {
font-weight: bold;
font-size: 13px;
display: block;
line-height: 30px;
height: 30px;
padding: 0px 8px;
cursor: pointer;
}
.schema .schema-container {
display: none;
}
.schema.expanded .schema-container {
display: block;
}
.schema .schema-container .schema-group .fa-chevron-down {
display: none;
}
.schema .schema-container .schema-group .schema-group-title {
display: block;
cursor: pointer;
line-height: 30px;
height: 30px;
padding: 0px 8px;
}
.schema .schema-container .schema-group ul {
padding: 0px;
margin: 0px;
display: none;
}
.schema .schema-container .schema-group ul li {
list-style: none;
list-style-type: none;
margin: 0px;
line-height: 30px;
height: 30px;
cursor: pointer;
padding: 0px 8px;
padding-left: 16px;
}
.schema .schema-container .schema-group ul li i {
color: #999;
}
.schema .schema-container .schema-group ul li.active {
background: #dedede !important;
color: #333;
font-weight: bold;
}
.schema .schema-container .schema-group ul li:hover {
background: #f1f1f1;
}
.schema .schema-container .schema-group.expanded .fa-chevron-down {
display: inline-block;
}
.schema .schema-container .schema-group.expanded .fa-chevron-right {
display: none;
}
.schema .schema-container .schema-group.expanded ul {
display: block;
}
/* -------------------------------------------------------------------------- */
/* Ace Customizations */
/* -------------------------------------------------------------------------- */