pgweb/static/css/app.css

279 lines
4.0 KiB
CSS
Raw Normal View History

2014-10-13 22:55:19 +04:00
#nav {
position: fixed;
top: 0;
2014-10-14 04:49:43 +04:00
left: 250px;
2014-10-13 22:55:19 +04:00
right: 0;
height: 50px;
box-shadow: inset 0 -1px 0 0 #b8b7b5;
background: #d8d7d6;
}
#nav ul {
margin: 0px;
padding: 0px;
height: 50px;
2014-10-14 04:49:43 +04:00
display: block;
2014-10-13 22:55:19 +04:00
}
#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;
2014-10-14 04:49:43 +04:00
display: block;
list-style: none;
list-style-type: none;
2014-10-13 22:55:19 +04:00
}
#nav ul li:first-child {
margin-left: 0px;
}
2014-10-16 00:59:43 +04:00
#nav ul li:hover {
2014-10-13 22:55:19 +04:00
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;
2014-10-16 00:59:43 +04:00
background: #31373d;
2014-10-13 22:55:19 +04:00
font-size: 13px;
overflow: scroll;
}
#sidebar .wrapper {
height: 100%;
}
2014-10-26 00:47:23 +04:00
#sidebar .wrapper div {
line-height: 33px;
height: 33px;
padding: 0px 8px;
padding-left: 12px;
color: #fff;
}
2014-10-13 22:55:19 +04:00
#sidebar ul {
margin: 0px;
padding: 0px;
}
#sidebar ul li:hover {
2014-10-16 00:59:43 +04:00
background: #272c30;
2014-10-13 22:55:19 +04:00
}
#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;
float: left;
2014-10-15 06:32:46 +04:00
margin-right: 10px;
}
#input .actions .btn-default {
background: #aaa;
}
#input .actions #query_progress {
display: none;
float: left;
line-height: 30px;
height: 30px;
color: #aaa;
2014-10-13 22:55:19 +04:00
}
#input .actions .btn:focus {
outline: 0 none;
box-shadow: 0;
}
2014-10-15 06:32:46 +04:00
2014-10-13 22:55:19 +04:00
#input .actions .btn:hover {
background: #7eb154;
}
2014-10-15 06:32:46 +04:00
#input .actions .btn-default:hover {
background: #bbb;
}
2014-10-13 22:55:19 +04:00
#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;
}
2014-10-14 04:49:43 +04:00
#results tbody tr:hover td {
background: #ffe;
}
2014-10-13 22:55:19 +04:00
#results tr.selected td {
2014-10-14 04:49:43 +04:00
background: #3874d7 !important;
2014-10-13 22:55:19 +04:00
color: #fff !important;
}
#results td {
color: #3a3633;
vertical-align: middle;
border: 0px none;
}
2014-10-14 04:49:43 +04:00
#results td div {
max-width: 350px;
2014-10-14 04:49:43 +04:00
max-height: 51px;
overflow: hidden;
text-overflow: ellipsis;
2014-10-26 00:18:30 +04:00
white-space: pre;
2014-10-14 04:49:43 +04:00
/*
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
*/
}
#results td div span.null {
color: #bbb;
2014-10-26 00:27:14 +04:00
text-transform: uppercase;
2014-10-14 04:49:43 +04:00
}
2014-10-13 22:55:19 +04:00
#results th:first-child,
#results td:first-child {
padding-left: 15px;
2014-10-26 00:18:30 +04:00
}
#results.history td div {
max-width: none;
2014-10-13 22:55:19 +04:00
}
#custom_query {
height: 205px;
}
#sidebar ul {
padding: 0px;
margin: 0px;
}
#sidebar ul li {
list-style: none;
list-style-type: none;
2014-10-16 00:59:43 +04:00
line-height: 33px;
height: 33px;
2014-10-13 22:55:19 +04:00
padding: 0px 8px;
2014-10-16 00:59:43 +04:00
padding-left: 12px;
2014-10-13 22:55:19 +04:00
cursor: pointer;
2014-10-16 00:59:43 +04:00
color: #95a7b7 !important;
2014-10-13 22:55:19 +04:00
}
#sidebar li.selected {
color: #fff !important;
font-weight: bold;
2014-10-16 00:59:43 +04:00
background: #272c30;
2014-10-13 22:55:19 +04:00
-webkit-font-smoothing: antialiased;
}