From f6dd93cb0d1b0fe17674e948f0daf6ceb792bb55 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 13 七月 2023 18:59:01 +0800 Subject: [PATCH] 分屏对比,等高线,坡度图,坐标定位功能添加 --- public/CIMSDK/Widgets/MapWidget/NavigationPanel.css | 490 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 489 insertions(+), 1 deletions(-) diff --git a/public/CIMSDK/Widgets/MapWidget/NavigationPanel.css b/public/CIMSDK/Widgets/MapWidget/NavigationPanel.css index a37dddd..3e3dac8 100644 --- a/public/CIMSDK/Widgets/MapWidget/NavigationPanel.css +++ b/public/CIMSDK/Widgets/MapWidget/NavigationPanel.css @@ -1 +1,489 @@ -.full-window{position:absolute;inset:0;margin:0;overflow:hidden;padding:0;-webkit-transition:left .25s ease-out;-moz-transition:left .25s ease-out;-ms-transition:left .25s ease-out;-o-transition:left .25s ease-out;transition:left .25s ease-out}.transparent-to-input{pointer-events:none}.opaque-to-input{pointer-events:auto}.clickable{cursor:pointer}a:hover{text-decoration:underline}.modal-background{pointer-events:auto;position:fixed;inset:0;background-color:#00000080;z-index:1000}.modal{position:absolute;margin:auto;background-color:#2f353c;inset:0;max-height:100%;max-width:100%;font-family:Roboto,sans-serif;color:#fff}.modal-header{background-color:#0003;border-bottom:1px solid rgba(100,100,100,.6);font-size:15px;line-height:40px;margin:0}.modal-header h1{font-size:15px;color:#fff;margin-left:15px}.modal-content{margin-left:15px;margin-right:15px;margin-bottom:15px;padding-top:15px;overflow:auto}.modal-close-button{position:absolute;right:15px;cursor:pointer;font-size:18px;color:#fff}#ui{z-index:2100}@media print{.full-window{position:initial}}.markdown img{max-width:100%}.markdown svg{max-height:100%}.markdown input,.markdown select,.markdown textarea,.markdown fieldset{font-family:inherit;font-size:1rem;box-sizing:border-box;margin-top:0;margin-bottom:0}.markdown label{vertical-align:middle}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{font-family:inherit;font-weight:700;line-height:1.25;margin-top:1em;margin-bottom:.5em}.markdown h1{font-size:2rem}.markdown h2{font-size:1.5rem}.markdown h3{font-size:1.25rem}.markdown h4{font-size:1rem}.markdown h5{font-size:.875rem}.markdown h6{font-size:.75rem}.markdown p{margin-top:0;margin-bottom:1rem}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown small{font-size:80%}.markdown mark{color:#000;background:#ff0}.markdown u{text-decoration:underline}.markdown s{text-decoration:line-through}.markdown dl,.markdown ol,.markdown ul{margin-top:0;margin-bottom:1rem}.markdown ol{list-style:decimal inside}.markdown ul{list-style:disc inside}.markdown pre,.markdown code,.markdown samp{font-family:monospace;font-size:inherit}.markdown pre{margin-top:0;margin-bottom:1rem;overflow-x:scroll}.markdown a{color:#68adfe;text-decoration:none}.markdown a:hover{text-decoration:underline}.markdown pre,.markdown code{background-color:transparent;border-radius:3px}.markdown hr{border:0;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#00000020}.markdown .left-align{text-align:left}.markdown .center{text-align:center}.markdown .right-align{text-align:right}.markdown .justify{text-align:justify}.markdown .truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown ol.upper-roman{list-style-type:upper-roman}.markdown ol.lower-alpha{list-style-type:lower-alpha}.markdown ul.circle{list-style-type:circle}.markdown ul.square{list-style-type:square}.markdown .list-reset{list-style:none;padding-left:0}.floating{pointer-events:auto;position:absolute;border-radius:15px;background-color:#2f353ccc}.floating-horizontal{pointer-events:auto;position:absolute;border-radius:15px;background-color:#2f353ccc;padding-left:5px;padding-right:5px}.floating-vertical{pointer-events:auto;position:absolute;border-radius:15px;background-color:#2f353ccc;padding-top:5px;padding-bottom:5px}@media print{.floating{display:none}}.distance-legend{pointer-events:auto;position:absolute;border-radius:15px;background-color:#2f353ccc;padding-left:5px;padding-right:5px;right:25px;bottom:30px;height:30px;width:125px;border:1px solid rgba(255,255,255,.1);box-sizing:content-box}.distance-legend-label{display:inline-block;font-family:Roboto,sans-serif;font-size:14px;font-weight:lighter;line-height:30px;color:#fff;width:125px;text-align:center}.distance-legend-scale-bar{border-left:1px solid #ffffff;border-right:1px solid #ffffff;border-bottom:1px solid #ffffff;position:absolute;height:10px;top:15px}@media print{.distance-legend{display:none}}@media screen and (max-width: 700px),screen and (max-height: 420px){.distance-legend{display:none}}.navigation-controls{position:absolute;right:30px;top:210px;width:30px;border:1px solid rgba(255,255,255,.1);font-weight:300;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navigation-control{cursor:pointer;border-bottom:1px solid #555555}.naviagation-control:active{color:#fff}.navigation-control-last{cursor:pointer;border-bottom:1px solid #555555;border-bottom:0}.navigation-control-icon-zoom-in{position:relative;text-align:center;font-size:20px;color:#fff;padding-bottom:4px}.navigation-control-icon-zoom-out{position:relative;text-align:center;font-size:20px;color:#fff}.navigation-control-icon-reset{position:relative;left:10px;width:10px;height:10px;fill:#fffc;padding-top:6px;padding-bottom:6px;box-sizing:content-box}.compass{pointer-events:auto;position:absolute;right:0;top:100px;width:95px;height:95px;overflow:hidden}.compass-outer-ring{position:absolute;top:0;width:95px;height:95px;fill:#ffffff80}.compass-outer-ring-background{position:absolute;top:14px;left:14px;width:44px;height:44px;border-radius:44px;border:12px solid rgba(47,53,60,.8);box-sizing:content-box}.compass-gyro{pointer-events:none;position:absolute;top:0;width:95px;height:95px;fill:#ccc}.compass-gyro-active{fill:#68adfe}.compass-gyro-background{position:absolute;top:30px;left:30px;width:33px;height:33px;border-radius:33px;background-color:#2f353ccc;border:1px solid rgba(255,255,255,.2);box-sizing:content-box}.compass-gyro-background:hover+.compass-gyro{fill:#68adfe}.compass-rotation-marker{position:absolute;top:0;width:95px;height:95px;fill:#68adfe}@media screen and (max-width: 700px),screen and (max-height: 420px){.navigation-controls,.compass{display:none}}@media print{.navigation-controls,.compass{display:none}} +.full-window { + position: absolute; + inset: 0; + margin: 0; + overflow: hidden; + padding: 0; + -webkit-transition: left .25s ease-out; + -moz-transition: left .25s ease-out; + -ms-transition: left .25s ease-out; + -o-transition: left .25s ease-out; + transition: left .25s ease-out +} + +.transparent-to-input { + pointer-events: none +} + +.opaque-to-input { + pointer-events: auto +} + +.clickable { + cursor: pointer +} + +a:hover { + text-decoration: underline +} + +.modal-background { + pointer-events: auto; + position: fixed; + inset: 0; + background-color: #00000080; + z-index: 1000 +} + +.modal { + position: absolute; + margin: auto; + background-color: #2f353c; + inset: 0; + max-height: 100%; + max-width: 100%; + font-family: Roboto, sans-serif; + color: #fff +} + +.modal-header { + background-color: #0003; + border-bottom: 1px solid rgba(100, 100, 100, .6); + font-size: 15px; + line-height: 40px; + margin: 0 +} + +.modal-header h1 { + font-size: 15px; + color: #fff; + margin-left: 15px +} + +.modal-content { + margin-left: 15px; + margin-right: 15px; + margin-bottom: 15px; + padding-top: 15px; + overflow: auto +} + +.modal-close-button { + position: absolute; + right: 15px; + cursor: pointer; + font-size: 18px; + color: #fff +} + +#ui { + z-index: 2100 +} + +@media print { + .full-window { + position: initial + } +} + +.markdown img { + max-width: 100% +} + +.markdown svg { + max-height: 100% +} + +.markdown input, +.markdown select, +.markdown textarea, +.markdown fieldset { + font-family: inherit; + font-size: 1rem; + box-sizing: border-box; + margin-top: 0; + margin-bottom: 0 +} + +.markdown label { + vertical-align: middle +} + +.markdown h1, +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + font-family: inherit; + font-weight: 700; + line-height: 1.25; + margin-top: 1em; + margin-bottom: .5em +} + +.markdown h1 { + font-size: 2rem +} + +.markdown h2 { + font-size: 1.5rem +} + +.markdown h3 { + font-size: 1.25rem +} + +.markdown h4 { + font-size: 1rem +} + +.markdown h5 { + font-size: .875rem +} + +.markdown h6 { + font-size: .75rem +} + +.markdown p { + margin-top: 0; + margin-bottom: 1rem +} + +.markdown strong { + font-weight: 700 +} + +.markdown em { + font-style: italic +} + +.markdown small { + font-size: 80% +} + +.markdown mark { + color: #000; + background: #ff0 +} + +.markdown u { + text-decoration: underline +} + +.markdown s { + text-decoration: line-through +} + +.markdown dl, +.markdown ol, +.markdown ul { + margin-top: 0; + margin-bottom: 1rem +} + +.markdown ol { + list-style: decimal inside +} + +.markdown ul { + list-style: disc inside +} + +.markdown pre, +.markdown code, +.markdown samp { + font-family: monospace; + font-size: inherit +} + +.markdown pre { + margin-top: 0; + margin-bottom: 1rem; + overflow-x: scroll +} + +.markdown a { + color: #68adfe; + text-decoration: none +} + +.markdown a:hover { + text-decoration: underline +} + +.markdown pre, +.markdown code { + background-color: transparent; + border-radius: 3px +} + +.markdown hr { + border: 0; + border-bottom-style: solid; + border-bottom-width: 1px; + border-bottom-color: #00000020 +} + +.markdown .left-align { + text-align: left +} + +.markdown .center { + text-align: center +} + +.markdown .right-align { + text-align: right +} + +.markdown .justify { + text-align: justify +} + +.markdown .truncate { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap +} + +.markdown ol.upper-roman { + list-style-type: upper-roman +} + +.markdown ol.lower-alpha { + list-style-type: lower-alpha +} + +.markdown ul.circle { + list-style-type: circle +} + +.markdown ul.square { + list-style-type: square +} + +.markdown .list-reset { + list-style: none; + padding-left: 0 +} + +.floating { + pointer-events: auto; + position: absolute; + border-radius: 15px; + background-color: #2f353ccc +} + +.floating-horizontal { + pointer-events: auto; + position: absolute; + border-radius: 15px; + background-color: #2f353ccc; + padding-left: 5px; + padding-right: 5px +} + +.floating-vertical { + pointer-events: auto; + position: absolute; + border-radius: 15px; + background-color: #2f353ccc; + padding-top: 5px; + padding-bottom: 5px +} + +@media print { + .floating { + display: none + } +} + +.distance-legend { + pointer-events: auto; + position: absolute; + border-radius: 15px; + background-color: #2f353ccc; + padding-left: 5px; + padding-right: 5px; + right: 25px; + bottom: 30px; + height: 30px; + width: 125px; + border: 1px solid rgba(255, 255, 255, .1); + box-sizing: content-box +} + +.distance-legend-label { + display: inline-block; + font-family: Roboto, sans-serif; + font-size: 14px; + font-weight: lighter; + line-height: 30px; + color: #fff; + width: 125px; + text-align: center +} + +.distance-legend-scale-bar { + border-left: 1px solid #ffffff; + border-right: 1px solid #ffffff; + border-bottom: 1px solid #ffffff; + position: absolute; + height: 10px; + top: 15px +} + +@media print { + .distance-legend { + display: none + } +} + +@media screen and (max-width: 700px), +screen and (max-height: 420px) { + .distance-legend { + display: none + } +} + +.navigation-controls { + position: absolute; + right: 30px; + top: 210px; + width: 30px; + border: 1px solid rgba(255, 255, 255, .1); + font-weight: 300; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none +} + +.navigation-control { + cursor: pointer; + border-bottom: 1px solid #555555 +} + +.naviagation-control:active { + color: #fff +} + +.navigation-control-last { + cursor: pointer; + border-bottom: 1px solid #555555; + border-bottom: 0 +} + +.navigation-control-icon-zoom-in { + position: relative; + text-align: center; + font-size: 20px; + color: #fff; + padding-bottom: 4px +} + +.navigation-control-icon-zoom-out { + position: relative; + text-align: center; + font-size: 20px; + color: #fff +} + +.navigation-control-icon-reset { + position: relative; + left: 10px; + width: 10px; + height: 10px; + fill: #fffc; + padding-top: 6px; + padding-bottom: 6px; + box-sizing: content-box +} + +.compass { + pointer-events: auto; + position: absolute; + right: 0; + top: 100px; + width: 95px; + height: 95px; + overflow: hidden +} + +.compass-outer-ring { + position: absolute; + top: 0; + width: 95px; + height: 95px; + fill: #ffffff80 +} + +.compass-outer-ring-background { + position: absolute; + top: 14px; + left: 14px; + width: 44px; + height: 44px; + border-radius: 44px; + border: 12px solid rgba(47, 53, 60, .8); + box-sizing: content-box +} + +.compass-gyro { + pointer-events: none; + position: absolute; + top: 0; + width: 95px; + height: 95px; + fill: #ccc +} + +.compass-gyro-active { + fill: #68adfe +} + +.compass-gyro-background { + position: absolute; + top: 30px; + left: 30px; + width: 33px; + height: 33px; + border-radius: 33px; + background-color: #2f353ccc; + border: 1px solid rgba(255, 255, 255, .2); + box-sizing: content-box +} + +.compass-gyro-background:hover+.compass-gyro { + fill: #68adfe +} + +.compass-rotation-marker { + position: absolute; + top: 0; + width: 95px; + height: 95px; + fill: #68adfe +} + +@media screen and (max-width: 700px), +screen and (max-height: 420px) { + + .navigation-controls, + .compass { + display: none + } +} + +@media print { + + .navigation-controls, + .compass { + display: none + } +} \ No newline at end of file -- Gitblit v1.9.3