web staff : grid select style fixes
authorBill Erickson <berick@esilibrary.com>
Fri, 4 Apr 2014 18:24:48 +0000 (14:24 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 4 Apr 2014 18:24:48 +0000 (14:24 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/staff/css/style.css.tt2
Open-ILS/src/templates/staff/parts/t_autogrid.tt2

index 38d31b6..c524fa0 100644 (file)
@@ -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;
index f5e4868..0ce943b 100644 (file)
             ng-model="grid.selected[grid.indexValue(item)]"/>
         </div>
       </div>
-      <div class="eg-grid-cell eg-grid-cell-content"
+      <div class="eg-grid-cell eg-grid-cell-content eg-grid-selectable"
           ng-click="grid.handleRowClick($event, item)"
           ng-repeat="col in grid.columnsProvider.columns"
           style="flex:{{col.flex}}"