fixed styling of row indicator

This commit is contained in:
John Mitchell
2016-01-11 11:17:27 -05:00
parent 91392b36b0
commit fcaf86c1da
4 changed files with 16 additions and 5 deletions

View File

@@ -2085,7 +2085,3 @@ button.dropdown-toggle,
.error.ng-hide { .error.ng-hide {
opacity: 0; opacity: 0;
} }
.editedRow {
border-left: 5px solid red;
}

View File

@@ -9,6 +9,11 @@
@import "src/shared/branding/colors.default.less"; @import "src/shared/branding/colors.default.less";
table, tbody {
border-collapse: separate !important;
}
.List-well { .List-well {
margin-top: 25px; margin-top: 25px;
} }
@@ -44,6 +49,15 @@
color: @list-item; color: @list-item;
} }
.List-tableRow--selected,
.List-tableRow--selected > :first-child {
border-left: 5px solid @list-row-select-bord;
}
.List-tableRow--selected > :first-child {
padding-left: 10px;
}
.List-tableRow--evenRow { .List-tableRow--evenRow {
background-color: @list-alt-item-bg; background-color: @list-alt-item-bg;
} }

View File

@@ -47,6 +47,7 @@
@list-actn-bg-hov: @default-link; @list-actn-bg-hov: @default-link;
@list-actn-del-bg-hov: @default-err; @list-actn-del-bg-hov: @default-err;
@list-actn-bord-hov: @default-link; @list-actn-bord-hov: @default-link;
@list-row-select-bord: @default-link;
// tooltups // tooltups
@tooltip-bg: @default-interface-txt; @tooltip-bg: @default-interface-txt;

View File

@@ -442,7 +442,7 @@ export default ['$location', '$compile', '$rootScope', 'SearchWidget', 'Paginate
if (list.multiSelect) { if (list.multiSelect) {
innerTable += ", " + list.iterator + ".isSelected ? 'is-selected-row' : ''"; innerTable += ", " + list.iterator + ".isSelected ? 'is-selected-row' : ''";
} }
innerTable += ", rowBeingEdited === '{{ " + list.iterator + ".id }}' && listBeingEdited === '" + list.name + "' ? 'editedRow' : ''"; innerTable += ", rowBeingEdited === '{{ " + list.iterator + ".id }}' && listBeingEdited === '" + list.name + "' ? 'List-tableRow--selected' : ''";
innerTable += "]\" "; innerTable += "]\" ";
innerTable += "id=\"{{ " + list.iterator + ".id }}\" "; innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
innerTable += "class=\"List-tableRow " + list.iterator + "_class\" "; innerTable += "class=\"List-tableRow " + list.iterator + "_class\" ";