From 4e4cae085739fd5e72e047d368351bfd6ceaf4e3 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Sun, 25 Mar 2018 12:20:40 +0800 Subject: [PATCH] grid 冻结列 上下滚动实现 --- src/app/routes/analysis/query/query.component.less | 35 ++++++++++++++++------------------- 1 files changed, 16 insertions(+), 19 deletions(-) diff --git a/src/app/routes/analysis/query/query.component.less b/src/app/routes/analysis/query/query.component.less index 66c0e84..6a879b2 100644 --- a/src/app/routes/analysis/query/query.component.less +++ b/src/app/routes/analysis/query/query.component.less @@ -1,21 +1,18 @@ -.header-info { - position: relative; - text-align: center; - > em { - background-color: #e8e8e8; - position: absolute; - height: 56px; - width: 1px; - top: 0; - right: 0; - } +.line-chart { + height: 100%; } - -@media screen and (max-width: 576px) { - .header-info { - margin-bottom: 16px; - > em { - display: none; - } - } +.table-tr-bgcolor-focus { + background-color: #ecf6fd; +} +.table-tr-bgcolor-blur { + background-color: #fff; +} +.table-scroll { + z-index: 9; + height: 398px; + overflow: hidden; +} +.table-scroll-box-shadow { + -moz-box-shadow: 4px 0 2px rgba(0, 0, 0, 0.1); /* ������ Firefox */ + box-shadow: 4px 0 2px rgba(0, 0, 0, 0.1); } -- Gitblit v1.8.0