mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 11:52:12 +03:00
226 lines
3.2 KiB
CSS
226 lines
3.2 KiB
CSS
#nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 250;
|
|
right: 0;
|
|
height: 50px;
|
|
box-shadow: inset 0 -1px 0 0 #b8b7b5;
|
|
background: #d8d7d6;
|
|
}
|
|
|
|
#nav ul {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
height: 50px;
|
|
}
|
|
|
|
#nav ul li {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
float: left;
|
|
height: 49px;
|
|
line-height: 49px;
|
|
font-size: 13px;
|
|
padding: 0px 14px;
|
|
color: #6c6b6b;
|
|
font-weight: 500;
|
|
margin: 0 1px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#nav ul li:first-child {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
#nav ul li:hover {
|
|
color: rgba(0,0,0,0.9);
|
|
}
|
|
|
|
#nav ul li.selected {
|
|
position: relative;
|
|
background: #fff;
|
|
color: #000;
|
|
border-right: 1px solid #b8b7b5;
|
|
border-left: 1px solid #b8b7b5;
|
|
margin: 0;
|
|
}
|
|
|
|
#nav ul li.selected:before {
|
|
content: ' ';
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 0; right: 0;
|
|
height: 1px;
|
|
widows: 100%;
|
|
background: #fff;
|
|
}
|
|
|
|
#nav ul li.selected:first-child {
|
|
border-left: none;
|
|
}
|
|
|
|
#sidebar {
|
|
position: fixed;
|
|
width: 250px;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background: #3a3633;
|
|
border-right: 1px solid #b4b4b4;
|
|
font-size: 13px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
#sidebar .wrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
#sidebar ul {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
#sidebar ul li {
|
|
color: #000;
|
|
}
|
|
|
|
#sidebar ul li:hover {
|
|
color: #fff !important;
|
|
}
|
|
|
|
#body {
|
|
position: fixed;
|
|
top: 50px;
|
|
left: 250px;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
#input {
|
|
height: 255px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#input .wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
#input .actions {
|
|
background: #fff;
|
|
padding: 10px;
|
|
height: 50px;
|
|
border-top: solid 1px #e1e2e3;
|
|
border-bottom: solid 1px #b8b7b5;
|
|
}
|
|
|
|
#input .actions .btn {
|
|
line-height: 30px;
|
|
height: 30px;
|
|
padding: 0px 13px;
|
|
margin: 0px;
|
|
font-size: 13px;
|
|
color: #fff;
|
|
border: none;
|
|
box-shadow: none;
|
|
background: #7eb54e;
|
|
}
|
|
|
|
#input .actions .btn:focus {
|
|
outline: 0 none;
|
|
box-shadow: 0;
|
|
}
|
|
#input .actions .btn:hover {
|
|
background: #7eb154;
|
|
}
|
|
|
|
#output {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 256px;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
#output.full {
|
|
top: 0px;
|
|
}
|
|
|
|
#results {
|
|
font-size: 12px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
#results.empty td {
|
|
border: 0px none;
|
|
}
|
|
|
|
#results tr:nth-child(even) > td {
|
|
border: none;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
#results tr:nth-child(odd) > td {
|
|
border: none;
|
|
background: #fff;
|
|
}
|
|
|
|
#results th {
|
|
background: #f3f3f3;
|
|
border-top: none;
|
|
border-bottom: 1px solid #eae9e9;
|
|
padding: 3px 9px;
|
|
line-height: 24px;
|
|
text-transform: uppercase;
|
|
font-size: 10px;
|
|
color: #6a6a6a;
|
|
font-weight: bold;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
#results tr.selected td {
|
|
background: #3874d7;
|
|
color: #fff !important;
|
|
}
|
|
|
|
#results td {
|
|
color: #3a3633;
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
vertical-align: middle;
|
|
border: 0px none;
|
|
}
|
|
|
|
#results th:first-child,
|
|
#results td:first-child {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
#custom_query {
|
|
height: 205px;
|
|
}
|
|
|
|
#sidebar ul {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
}
|
|
|
|
#sidebar ul li {
|
|
list-style: none;
|
|
list-style-type: none;
|
|
line-height: 28px;
|
|
padding: 0px 8px;
|
|
cursor: pointer;
|
|
color: #a8a8a8 !important;
|
|
}
|
|
|
|
#sidebar li.selected {
|
|
color: #fff !important;
|
|
font-weight: bold;
|
|
background: rgba(69,69,69,.6);
|
|
-webkit-font-smoothing: antialiased;
|
|
} |