Fixed selection problem for block or word selections caused by z-index: auto in notebook.css Also remove unneeded background color since they are now the same as the github theme
Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/b497f01e Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/b497f01e Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/b497f01e Branch: refs/heads/master Commit: b497f01e6643966d7193b81dfdb93a00d7180d2c Parents: 564d21d Author: Felix Cheung <[email protected]> Authored: Sun Mar 15 00:17:52 2015 -0700 Committer: Felix Cheung <[email protected]> Committed: Sun Mar 15 00:17:52 2015 -0700 ---------------------------------------------------------------------- zeppelin-web/app/styles/notebook.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/b497f01e/zeppelin-web/app/styles/notebook.css ---------------------------------------------------------------------- diff --git a/zeppelin-web/app/styles/notebook.css b/zeppelin-web/app/styles/notebook.css index b38699b..2e8f6c9 100644 --- a/zeppelin-web/app/styles/notebook.css +++ b/zeppelin-web/app/styles/notebook.css @@ -67,16 +67,12 @@ font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; } -.ace-tm .ace_marker-layer .ace_selection { - background: rgba(98, 157, 233, 0.2) !important; +.ace_marker-layer .ace_selection { + z-index: 0 !important; } -.ace_active-line { - background: rgba(98, 157, 233, 0.2) !important; -} - -.ace-tm .ace_marker-layer .ace_selected-word { - background: rgba(250, 250, 255, 0.2) !important; +.ace_marker-layer .ace_selected-word { + z-index: 0 !important; } .labelBtn {
