IGNITE-9066 Web Console: Fixed table row hovering style.

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/cb20ed96
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/cb20ed96
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/cb20ed96

Branch: refs/heads/ignite-8446
Commit: cb20ed96b6915548cdfa921003c88a79ec32a71f
Parents: 9f5dd09
Author: Dmitriy Shabalin <[email protected]>
Authored: Tue Jul 24 20:25:33 2018 +0700
Committer: Alexey Kuznetsov <[email protected]>
Committed: Tue Jul 24 20:25:33 2018 +0700

----------------------------------------------------------------------
 .../page-queries/components/queries-notebook/template.tpl.pug  | 2 +-
 .../frontend/app/components/ui-grid-hovering/style.scss        | 6 ++++++
 .../frontend/app/modules/nodes/nodes-dialog.tpl.pug            | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/cb20ed96/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug
----------------------------------------------------------------------
diff --git 
a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug
 
b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug
index 3ccf440..44bfaa5 100644
--- 
a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug
+++ 
b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/template.tpl.pug
@@ -245,7 +245,7 @@ mixin table-result-heading-scan
                         span.caret
 
 mixin table-result-body
-    .grid(ui-grid='paragraph.gridOptions' ui-grid-resize-columns 
ui-grid-exporter)
+    .grid(ui-grid='paragraph.gridOptions' ui-grid-resize-columns 
ui-grid-exporter ui-grid-hovering)
 
 mixin chart-result
     div(ng-hide='paragraph.scanExplain()')

http://git-wip-us.apache.org/repos/asf/ignite/blob/cb20ed96/modules/web-console/frontend/app/components/ui-grid-hovering/style.scss
----------------------------------------------------------------------
diff --git 
a/modules/web-console/frontend/app/components/ui-grid-hovering/style.scss 
b/modules/web-console/frontend/app/components/ui-grid-hovering/style.scss
index 6c7597a..d660045 100644
--- a/modules/web-console/frontend/app/components/ui-grid-hovering/style.scss
+++ b/modules/web-console/frontend/app/components/ui-grid-hovering/style.scss
@@ -20,3 +20,9 @@
         background: #ededed;
     }
 }
+
+.grid[ui-grid-hovering='ui-grid-hovering'] {
+    .ui-grid-row.ui-grid-row-hovered > [ui-grid-row] > .ui-grid-cell {
+        background: #ededed;
+    }
+}

http://git-wip-us.apache.org/repos/asf/ignite/blob/cb20ed96/modules/web-console/frontend/app/modules/nodes/nodes-dialog.tpl.pug
----------------------------------------------------------------------
diff --git 
a/modules/web-console/frontend/app/modules/nodes/nodes-dialog.tpl.pug 
b/modules/web-console/frontend/app/modules/nodes/nodes-dialog.tpl.pug
index d9ea68c..21b138b 100644
--- a/modules/web-console/frontend/app/modules/nodes/nodes-dialog.tpl.pug
+++ b/modules/web-console/frontend/app/modules/nodes/nodes-dialog.tpl.pug
@@ -28,7 +28,7 @@
                         label Cache Nodes: {{ $ctrl.nodes.length }}
 
                     .panel-body.panel-body_collapse
-                        .grid(ui-grid='$ctrl.gridOptions' 
ui-grid-resize-columns ui-grid-selection ui-grid-pinning)
+                        .grid(ui-grid='$ctrl.gridOptions' 
ui-grid-resize-columns ui-grid-selection ui-grid-pinning ui-grid-hovering)
 
             .modal-footer
                 button.btn.btn-primary(id='confirm-btn-confirm' 
ng-click='$ok($ctrl.selected)' ng-disabled='$ctrl.selected.length === 0') 
Select node

Reply via email to