diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html index ae12592a8f..25221ce0a3 100644 --- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html +++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html @@ -69,6 +69,15 @@ limitations under the License. text-align: center; width: 1.5em; } + .file-row.expanded { + background-color: #fff; + border-bottom: 1px solid #ddd; + position: sticky; + top: 0; + /* Has to visible above the diff view, and by default has a lower + z-index. setting to 1 places it directly above. */ + z-index: 1; + } .file-row:hover { background-color: #f5fafd; } @@ -201,7 +210,7 @@ limitations under the License. display: block; } .row.selected { - background-color: transparent; + background-color: #fff; } .stats { display: none; @@ -232,104 +241,107 @@ limitations under the License. as="file" initial-count="[[fileListIncrement]]" target-framerate="1"> -
-
- -
-
- [[_computeFileStatus(file.status)]] -
- - - - [[computeDisplayPath(file.__path)]] - - - [[computeTruncatedPath(file.__path)]] - - -