mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
284 lines
5.1 KiB
CSS
284 lines
5.1 KiB
CSS
#main-editor_panel {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.sql-editor {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top : 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.sql-editor-busy-fetching {
|
|
position:absolute;
|
|
left: 0;
|
|
top: 41px;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin:0;
|
|
padding: 0;
|
|
background: black;
|
|
opacity: 0.6;
|
|
z-index: 100;
|
|
}
|
|
|
|
#editor-panel {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top : 65px;
|
|
bottom: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
.editor-title {
|
|
background-color: #2C76B4;
|
|
padding: 2px;
|
|
color: white;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sql-editor-grid-container {
|
|
height: calc(100% - 45px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.sql-editor-grid-container.has-no-footer {
|
|
height: 100%;
|
|
}
|
|
|
|
#datagrid-paginator {
|
|
bottom: 0px;
|
|
width: 100%;
|
|
background-color: white;
|
|
}
|
|
|
|
/*Move he original checkbox out of the way */
|
|
#datagrid .select-row-cell .sqleditor-checkbox {
|
|
position: absolute;
|
|
left: -9999px;
|
|
}
|
|
/*Align the icon and the label.deletable text to same height using tabl-cell display*/
|
|
/*If you change the font-size of the text, you may also want to do som padding or alignhment changes here*/
|
|
#datagrid .sqleditor-checkbox ~ label.deletable > span {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
padding-left: 5px;
|
|
}
|
|
/*The label.deletable will contain the icon and the text, will grab the focus*/
|
|
#datagrid .select-row-cell .sqleditor-checkbox + label.deletable {
|
|
cursor: pointer;
|
|
display: table;
|
|
}
|
|
/*The icon container, set it to fixed size and font size, the padding is to align the border*/
|
|
/*If you change the font-size of this icon, be sure to adjust the min-width as well*/
|
|
#datagrid .select-row-cell .sqleditor-checkbox + label.deletable:before {
|
|
font-family: 'FontAwesome';
|
|
font-size: small;
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
min-width: 28px;
|
|
}
|
|
|
|
/* toggle font awesome icon*/
|
|
#datagrid .select-row-cell .sqleditor-checkbox:checked + label:before {
|
|
content: "\f014";
|
|
}
|
|
|
|
#datagrid .select-row-cell .sqleditor-checkbox:not(:checked) + label:before {
|
|
content: "\f014";
|
|
}
|
|
|
|
/*Do something on focus, in this case show dashed border*/
|
|
#datagrid .select-row-cell .sqleditor-checkbox:focus + label:before {
|
|
border: 1px dashed #777;
|
|
}
|
|
|
|
/*Do something on hover, in this case change the image color*/
|
|
#datagrid .select-row-cell .sqleditor-checkbox:hover + label:before {
|
|
color: #67afe5;
|
|
}
|
|
|
|
.pgadmin-row-deleted td {
|
|
color: red !important;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.filter-container {
|
|
position: relative;
|
|
background-color: white;
|
|
border: 1px solid black;
|
|
box-shadow: 0.5px 0.5px 5px #000;
|
|
padding-bottom: 30px;
|
|
top: 10px;
|
|
z-index: 1;
|
|
margin: auto;
|
|
width: 60%;
|
|
}
|
|
|
|
.filter-container .CodeMirror-scroll {
|
|
min-height: 120px;
|
|
max-height: 120px;
|
|
}
|
|
|
|
.filter-container .sql-textarea{
|
|
box-shadow: 0.1px 0.1px 3px #000;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.filter-title {
|
|
background-color: #2C76B4;
|
|
padding: 2px;
|
|
color: white;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#filter .btn-group {
|
|
margin-right: 2px;
|
|
float: right;
|
|
}
|
|
|
|
#filter .btn-group > button {
|
|
padding: 3px;
|
|
}
|
|
|
|
#filter .btn-group .btn-primary {
|
|
margin: auto !important;
|
|
}
|
|
|
|
.has-select-all table thead tr th:nth-child(1),
|
|
.has-select-all table tbody tr td:nth-child(1) {
|
|
width: 35px !important;
|
|
max-width: 35px !important;
|
|
min-width: 35px !important;
|
|
}
|
|
|
|
.sql-editor-message {
|
|
white-space:pre-wrap;
|
|
font-family: monospace;
|
|
padding-top: 5px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.limit-enabled {
|
|
background-color: white;
|
|
}
|
|
|
|
.sql-editor-history-container {
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.sql-status-cell {
|
|
max-width: 30px;
|
|
}
|
|
|
|
.btn-circle {
|
|
width: 20px;
|
|
height: 20px;
|
|
text-align: center;
|
|
padding: 0;
|
|
font-size: 10px;
|
|
line-height: 1.428571429;
|
|
border-radius: 10px;
|
|
cursor: auto;
|
|
}
|
|
|
|
.visibility-hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.sql-editor-mark {
|
|
border-bottom: 2px dotted red;
|
|
}
|
|
|
|
#editor-panel .CodeMirror-activeline-background {
|
|
background: #5B9CEF;
|
|
color: white;
|
|
}
|
|
|
|
.CodeMirror-foldmarker {
|
|
color: blue;
|
|
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|
|
font-family: arial;
|
|
line-height: .3;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.CodeMirror, #editor-panel .CodeMirror-gutters {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.CodeMirror-foldgutter {
|
|
width: .9em;
|
|
}
|
|
|
|
.CodeMirror-foldgutter-open,
|
|
.CodeMirror-foldgutter-folded {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.CodeMirror-foldgutter-open:after {
|
|
content: "\25BC";
|
|
}
|
|
|
|
.CodeMirror-foldgutter-folded:after {
|
|
content: "\25B6";
|
|
}
|
|
|
|
|
|
.sql-editor-explain {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.CodeMirror-hints {
|
|
position: absolute;
|
|
z-index: 10;
|
|
overflow: hidden;
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
padding: 2px;
|
|
|
|
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
|
|
border-radius: 3px;
|
|
border: 1px solid silver;
|
|
|
|
background: white;
|
|
font-size: 90%;
|
|
font-family: monospace;
|
|
|
|
max-height: 20em;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.CodeMirror-hint {
|
|
margin: 0;
|
|
padding: 0 4px;
|
|
border-radius: 2px;
|
|
max-width: 19em;
|
|
overflow: hidden;
|
|
white-space: pre;
|
|
color: black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
li.CodeMirror-hint-active {
|
|
background: #08f;
|
|
color: white;
|
|
}
|
|
|
|
.sqleditor-hint {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.CodeMirror-hint .fa::before {
|
|
padding-right: 7px;
|
|
}
|