From af97afdfc673efbd05ff21f02da8f93eb9b721e6 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 08 四月 2021 17:20:52 +0800 Subject: [PATCH] 统一样式-图层控制面板折叠效果添加。 --- src/assets/css/map/map-panel-style.less | 52 ++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 42 insertions(+), 10 deletions(-) diff --git a/src/assets/css/map/map-panel-style.less b/src/assets/css/map/map-panel-style.less index 8b5390c..494c67d 100644 --- a/src/assets/css/map/map-panel-style.less +++ b/src/assets/css/map/map-panel-style.less @@ -246,20 +246,52 @@ } /***************Company 鍥惧眰 鎮诞妗嗘牱寮忋��*********************************/ -.company-bindTooltip { +.company-bindTooltip{ + position: absolute; + top:0; + left: 0; + display: flex; + justify-content: center; + justify-items: center; + img{display: block;width: 30px;height: 30px;margin-left: -15px;margin-top: -15px} + ul{ + width: 120px; + margin-left: -60px; + text-align: center; + display: flex; + position: absolute; + top:20px; + left:0; + li{ + position: absolute; + top:0; + left:0; + width: 100%; + font-weight: 900; + text-shadow: 0 0 4px #fff; + color: red; + font-size: 16px; + height: 20px; + line-height: 18px; + overflow: visible; + } + } +} +/*.company-bindTooltip { //background: @background-color-split; background: none; border: none; color: red; - font-size: 16px; + //font-size: 16px; box-shadow: none; - //text-shadow: 0 0 5px #fff; - //filter:Dropshadow(offx=1,offy=0,color=white) - //Dropshadow(offx=0,offy=1,color=white) - //Dropshadow(offx=0,offy=-1,color=white) - //Dropshadow(offx=-1,offy=0,color=white); - //box-shadow: none; - //-webkit-text-stroke: .5px #fff; + text-shadow: 0 0 5px #fff; + filter:Dropshadow(offx=1,offy=0,color=white) + Dropshadow(offx=0,offy=1,color=white) + Dropshadow(offx=0,offy=-1,color=white) + Dropshadow(offx=-1,offy=0,color=white); + box-shadow: none; + -webkit-text-stroke: 0.1px #fff; + font: 16px "Microsoft YaHei", Arial, Helvetica, sans-serif; ul{ position: relative; li:not(:first-child){ @@ -273,7 +305,7 @@ text-shadow: 0 0 4px #fff; } } -} +}*/ .company-bindTooltip:before{ display: none; } -- Gitblit v1.8.0