diff --git a/app/assets/stylesheets/admin/index_panels.css.scss b/app/assets/stylesheets/admin/index_panels.css.scss index b622212446..e47ad151eb 100644 --- a/app/assets/stylesheets/admin/index_panels.css.scss +++ b/app/assets/stylesheets/admin/index_panels.css.scss @@ -98,7 +98,7 @@ tbody.panel-ctrl { tr.panel-row { &:hover { - td { + >td { background-color: #ffffff; } } diff --git a/app/assets/stylesheets/admin/tables.css.scss b/app/assets/stylesheets/admin/tables.css.scss new file mode 100644 index 0000000000..c5f9d64175 --- /dev/null +++ b/app/assets/stylesheets/admin/tables.css.scss @@ -0,0 +1,15 @@ +table tbody tr:hover td { + background-color: inherit; +} + +table tbody tr:hover >td { + background-color: #e9f3fc; +} + +table.layout { + tr, tr:hover { + td { + background-color: transparent; + } + } +} diff --git a/app/views/admin/standing_orders/_autocomplete.html.haml b/app/views/admin/standing_orders/_autocomplete.html.haml index fbb0733cd2..d20a565316 100644 --- a/app/views/admin/standing_orders/_autocomplete.html.haml +++ b/app/views/admin/standing_orders/_autocomplete.html.haml @@ -1,7 +1,7 @@ #add-line-item %fieldset %legend{ align: 'center'}= t(:products) - %table.no-borders + %table.no-borders.layout %col{ width: '60%' } %col{ width: '20%' } %col{ width: '20%' }