Skip to content

Commit

Permalink
Related-Bug: #1539514 Fixed Alignment issues
Browse files Browse the repository at this point in the history
Adjusted the column width of Policy Rules in Create Policy
Added right padding to the Interface Type in Create Service Instance
Added td tag in the template
Used the generalised name collapsibleChildContainer.

Change-Id: Ia74468ee75b4035f4c85adef99678251c8a85101
  • Loading branch information
hari-sk committed Feb 1, 2016
1 parent 624a68a commit f74bb62
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
29 changes: 27 additions & 2 deletions webroot/css/contrail.custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -3500,7 +3500,7 @@ background:none;
div#peer_selection_section {
padding-left: 10px;
}
tr.collapsibleFamilyattributes> td{
tr.collapsibleChildContainer> td{
padding-left:30px!important;
padding-bottom:10px;
}
Expand All @@ -3511,11 +3511,36 @@ tr.collapsibleFamilyattributes> td{
padding-right:12px;}
#peer_selection>table table, #peer_selection>table table input{
font-size:12px;}
tr.collapsibleFamilyattributes{
tr.collapsibleChildContainer{
border-bottom:#d7d7d7 solid 1px;}
.bgp-peer-text-center{text-align:center!important;}
#peer_selection .contrail-editable-grid-table thead,#peer_selection .collection-table thead{
line-height:1;}

#peer_selection>table tr.data-row>td{
padding-top:10px!important;}
#interfaces-collection #interfaceType,#static-routes-collection #prefix{
padding-right: 17px;
}
.no-margin{
margin:0px!important;}
#PolicyRules .contrail-editable-grid-table th, #PolicyRules .contrail-editable-grid-table td {
padding: 4px 3px 4px 3px;
}
#PolicyRules .contrail-editable-grid-table th:first-child, #PolicyRules .contrail-editable-grid-table td:first-child {
padding-left: 6px;
}
.collapsibleChildContainer table{
width:100%;}
#port_tuples_vmi_collection th{
padding-left:5px;}
#port_tuples_vmi_collection td{
padding-left:2px;}
#port-tuples-collection th:first-child{
min-width:20px!important;}
#port-tuples-collection th.action-cell, #port-tuples-collection td.action-cell{
text-align:right;
}
#port-tuples-collection td.action-cell{
padding-right:7px;
}
3 changes: 2 additions & 1 deletion webroot/templates/core.common.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,7 @@ $(this).parent().closest('tr').next().closest('tr').next().slideToggle(20);$(thi
{{/each}}
</tr>
<tr class="error-row">
<td></td>
{{#each viewConfig.rows.0.columns}}
<td class="error-cell">
<span class="help-block red"
Expand All @@ -1670,7 +1671,7 @@ $(this).parent().closest('tr').next().closest('tr').next().slideToggle(20);$(thi
{{/each}}
</tr>

<tr class="collapsibleFamilyattributes" style="display:none">
<tr class="collapsibleChildContainer" style="display:none">
<td colspan="{{viewConfig.rows.1.columns.0.viewConfig.colSpan}}">

<!--Child Control -->
Expand Down

0 comments on commit f74bb62

Please sign in to comment.