mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Subnode collection layout improvements, with additional tweaks from me.
This commit is contained in:
@@ -22,10 +22,12 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
|
||||
},
|
||||
schema: [{
|
||||
id: 'provider', label: '{{ _('Provider') }}',
|
||||
type: 'text', editable: true
|
||||
type: 'text', editable: true,
|
||||
cellHeaderClasses:'width_percent_50'
|
||||
},{
|
||||
id: 'security_label', label: '{{ _('Security Label') }}',
|
||||
type: 'text', editable: true
|
||||
type: 'text', editable: true,
|
||||
cellHeaderClasses:'width_percent_50'
|
||||
}],
|
||||
validate: function() {
|
||||
var err = {},
|
||||
|
||||
@@ -234,13 +234,13 @@
|
||||
template: _.template([
|
||||
'<tr class="<%= header ? "header" : "" %>">',
|
||||
' <td class="renderable">',
|
||||
' <label>',
|
||||
' <label class="privilege_label">',
|
||||
' <input type="checkbox" name="privilege" privilege="<%- privilege_type %>" target="<%- target %>" <%= privilege ? \'checked\' : "" %>></input>',
|
||||
' <%- privilege_label %>',
|
||||
' </label>',
|
||||
' </td>',
|
||||
' <td class="renderable">',
|
||||
' <label>',
|
||||
' <label class="privilege_label">',
|
||||
' <input type="checkbox" name="with_grant" privilege="<%- privilege_type %>" target="<%- target %>" <%= with_grant ? \'checked\' : "" %> <%= enable_with_grant ? "" : \'disabled\'%>></input>',
|
||||
' WITH GRANT OPTION',
|
||||
' </label>',
|
||||
|
||||
@@ -270,10 +270,7 @@ iframe {
|
||||
.control-label {
|
||||
min-width: 250px;
|
||||
margin: 0px;
|
||||
padding-top: 3px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 3px;
|
||||
padding: 5px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -470,18 +467,20 @@ fieldset[disabled] .form-control {
|
||||
}
|
||||
|
||||
.subnode > table.backgrid{
|
||||
width: 99%;
|
||||
margin: 0.1% 0.49%;
|
||||
width: 100%;
|
||||
margin: 0px;
|
||||
padding: 0;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.backgrid thead th{
|
||||
background-color: #2c76b4;
|
||||
background-color: #2C76B4;
|
||||
}
|
||||
|
||||
.backgrid th, .backgrid td {
|
||||
line-height: 18px;
|
||||
font-size: 12px;
|
||||
letter-spacing:0.7px
|
||||
}
|
||||
|
||||
.backgrid td {
|
||||
@@ -492,7 +491,7 @@ fieldset[disabled] .form-control {
|
||||
}
|
||||
|
||||
.backgrid thead th a {
|
||||
color: #ffffff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.backgrid > th.object {
|
||||
@@ -513,24 +512,27 @@ fieldset[disabled] .form-control {
|
||||
}
|
||||
|
||||
.subnode-header {
|
||||
background-color:#2c76b4;
|
||||
background-color: #2C76B4;
|
||||
height: 35px;
|
||||
color: #FFFFFF;
|
||||
border-radius:5px 5px 0px 0px;
|
||||
border-radius: 3px 3px 0px 0px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
.subnode-header .control-label {
|
||||
font-size: 14px;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.subnode-header > button.add {
|
||||
float: right;
|
||||
margin-right:15px;
|
||||
margin-right: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.subnode {
|
||||
margin-top:5px;
|
||||
padding-top: 0px;
|
||||
border-left:1px solid #dadada;
|
||||
border-bottom:1px solid #ddd;
|
||||
border-right:1px solid #ddd;
|
||||
}
|
||||
|
||||
.subnode-dialog {
|
||||
@@ -645,15 +647,16 @@ table.backgrid tr.new {
|
||||
bottom : 0;
|
||||
}
|
||||
.subnode-header-form {
|
||||
background-color:#2c76b4;
|
||||
color:#FFFFFF;
|
||||
background-color: #F5F5F5;
|
||||
color: black;
|
||||
padding: 3px 0 10px 0;
|
||||
border-top: solid 1.5px white;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.subnode-header-form button.add {
|
||||
float: right;
|
||||
margin-right:15px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.select2-container--default .select2-search--inline .select2-search__field {
|
||||
@@ -741,3 +744,37 @@ div.inline-tab-panel > ul.tab-content > div.tab-pane > *:last-child {
|
||||
{
|
||||
padding-left: 4px;
|
||||
}
|
||||
.btn-group-sm>.btn, .btn-sm
|
||||
{
|
||||
font-size: 11px;
|
||||
padding: 3px 3px;
|
||||
}
|
||||
|
||||
td.edit-cell.editable.sortable.renderable.editor {
|
||||
outline: 0px;
|
||||
}
|
||||
|
||||
.privilege_label
|
||||
{
|
||||
font-size: 10px!important;
|
||||
}
|
||||
.backgrid th, .backgrid td
|
||||
{
|
||||
padding: 2px;
|
||||
font-weight: normal!important;
|
||||
}
|
||||
.pg-panel-depends-container > table > thead > tr > th {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.backgrid th:first-child , .backgrid th:last-child{
|
||||
border-left-color: #2C76B4;
|
||||
}
|
||||
|
||||
.backgrid th:last-child{
|
||||
border-right-color: #2C76B4;
|
||||
}
|
||||
.select2-container .select2-selection--single .select2-selection__rendered
|
||||
{
|
||||
padding-left: 3px;
|
||||
}
|
||||
Reference in New Issue
Block a user