From c34f3aff2eb62c8ecf6cd0cd631f9ad941f0cd66 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 4 Apr 2014 14:24:48 -0400 Subject: [PATCH] web staff : grid select style fixes Signed-off-by: Bill Erickson --- Open-ILS/src/templates/staff/css/style.css.tt2 | 9 +++++---- Open-ILS/src/templates/staff/parts/t_autogrid.tt2 | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 38d31b691e..c524fa0423 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -166,15 +166,16 @@ table.list tr.selected td { } /* Improve ::selection styling by only allowing selection on text - * content cells. Otherwise, the browser styles row background - * and text (all dark blue?) when shift-click or click-drag is used + * content cells within the main body of the grid. Otherwise, the browser + * styles row background and text (all dark blue?) when shift-click or + * click-drag is used. */ -.eg-grid-row { +.eg-grid-content-body .eg-grid-row { user-select:none; -moz-user-select: none; -webkit-user-select: none; } -.eg-grid-cell-content { +.eg-grid-content-body .eg-grid-cell-content { user-select:text; -moz-user-select: text; -webkit-user-select: text; diff --git a/Open-ILS/src/templates/staff/parts/t_autogrid.tt2 b/Open-ILS/src/templates/staff/parts/t_autogrid.tt2 index f5e4868a5a..0ce943b58a 100644 --- a/Open-ILS/src/templates/staff/parts/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/parts/t_autogrid.tt2 @@ -205,7 +205,7 @@ ng-model="grid.selected[grid.indexValue(item)]"/> -