1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

changed the styling on the rows

This commit is contained in:
Jared Tabor 2015-03-06 12:25:07 -05:00
parent 36a596b68f
commit 13bc0a7b78
2 changed files with 18 additions and 5 deletions

View File

@ -234,7 +234,7 @@ export function JobsListController ($rootScope, $log, $scope, $compile, $routePa
page_row = Math.max($('.page-row:eq(0)').outerHeight(), 33); page_row = Math.max($('.page-row:eq(0)').outerHeight(), 33);
header = Math.max($('#completed_jobs_table thead').height(), 24); header = Math.max($('#completed_jobs_table thead').height(), 24);
height = Math.floor(available_height / 2) - header - page_row - search_row - 30; height = Math.floor(available_height / 2) - header - page_row - search_row - 30;
row_height = (docw < 1350) ? 47 : 27; row_height = (docw < 1350) ? 47 : 44; //27; // JET march 6: changing this from 27 to 44 due to new icon font sizes/increased row height.
max_rows = Math.floor(height / row_height); max_rows = Math.floor(height / row_height);
max_rows = (max_rows < 5) ? 5 : max_rows; max_rows = (max_rows < 5) ? 5 : max_rows;
} }

View File

@ -172,8 +172,8 @@ a:focus {
/* List Actions column */ /* List Actions column */
.actions { .actions {
a { a {
font-size: 14px; font-size: 18px;
margin-right: 12px; // margin-right: 12px;
} }
a:last-child { a:last-child {
margin-right: 0; margin-right: 0;
@ -1032,10 +1032,23 @@ input[type="checkbox"].checkbox-no-label {
/* Less padding on .table-condensed */ /* Less padding on .table-condensed */
.table-condensed>tbody>tr>td, .table-condensed>tbody>tr>td,
.table-condensed>thead>tr>th { .table-condensed>thead>tr>th {
padding-top: 3px; // padding-top: 3px;
padding-bottom: 3px; // padding-bottom: 3px;
padding: 0.5em 0.6em;
} }
.table > tbody > tr > td{
padding: 0.5em 0.6em;
&.actions{
padding: 0px;
> a {
padding: 0.5em 0.6em;
display: inline-block;
}
}
}
/* Table info rows */ /* Table info rows */
.loading-info { .loading-info {