Commit bb8f6344 by 杨子

update

parent 6b07da37
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
<div class="main"> <div class="main">
<div class="aside"> <div class="aside">
<button class="ie-fix-button" (click)="back()">返回</button> <button class="ie-fix-button" (click)="back()">返回</button>
<nz-tree [nzExpandedIcon]="expandedIconTpl" [nzTreeTemplate]="nzTreeTemplate" [nzData]="nodes" nzAsyncData <nz-tree [nzExpandedIcon]="expandedIconTpl" [nzData]="nodes" nzAsyncData (nzExpandChange)="nzEvent($event)">
(nzExpandChange)="nzEvent($event)">
<ng-template #expandedIconTpl let-node> <ng-template #expandedIconTpl let-node>
<i *ngIf="node.origin.level == 0" nz-icon [nzType]="node.isExpanded ? 'caret-down':'caret-right'" <i *ngIf="node.origin.level == 0" nz-icon [nzType]="node.isExpanded ? 'caret-down':'caret-right'"
[nzTheme]="outline" class="ant-tree-switcher-icon"></i> [nzTheme]="outline" class="ant-tree-switcher-icon"></i>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
width: 301px; width: 301px;
position: absolute; position: absolute;
top: 15%; top: 15%;
z-index: 100;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
...@@ -42,3 +43,7 @@ ...@@ -42,3 +43,7 @@
width: 500px; width: 500px;
float: left; float: left;
} }
.ant-tree .ant-tree-title {
font-size: 22px;
}
...@@ -67,7 +67,7 @@ export class QsMarkComponent implements OnInit { ...@@ -67,7 +67,7 @@ export class QsMarkComponent implements OnInit {
{ {
value: 335, value: 335,
name: "安全管理\n\n\n\n\n", name: "安全管理\n\n\n\n\n",
link: "http://tydeh.zhinengjianshe.com?username=dehzhb&password=a", link: "http://tydeh.zhinengjianshe.com",
label: { label: {
fontWeight: "bold", fontWeight: "bold",
fontSize: 20, fontSize: 20,
......
...@@ -39,24 +39,27 @@ ...@@ -39,24 +39,27 @@
// border: 2px solid white !important; // border: 2px solid white !important;
// } // }
.BMapLabel{ .BMapLabel {
border:none!important; border: none !important;
background:transparent!important; background: transparent !important;
} }
.label-panel{
.label-panel {
padding: 4px; padding: 4px;
font-size: 16px; font-size: 16px;
background: #015293; background: #015293;
border-radius: 4px; border-radius: 4px;
border: 1px solid wheat; border: 1px solid wheat;
} }
.label-panel2{
.label-panel2 {
display: inline; display: inline;
font-size: 16px; font-size: 16px;
color:#fff; color: #fff;
background:#36873b; background: #36873b;
} }
//Tree //Tree
.tree-ngx { .tree-ngx {
...@@ -64,22 +67,23 @@ ...@@ -64,22 +67,23 @@
flex: 1 1 auto; flex: 1 1 auto;
flex-direction: column; flex-direction: column;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
} }
.node { .node {
display: flex; display: flex;
flex: 1 1 auto; flex: 1 1 auto;
flex-direction: column; flex-direction: column;
} }
.node-children { .node-children {
display: flex; display: flex;
flex: 1 1 auto; flex: 1 1 auto;
} }
.node-name { .node-name {
display: inline-block; display: inline-block;
padding: 5px 0px 5px 7px; padding: 5px 0px 5px 7px;
&.markSelected { &.markSelected {
padding: 5px 0px 5px 2px; padding: 5px 0px 5px 2px;
border-left: 5px #226699 solid; border-left: 5px #226699 solid;
...@@ -88,14 +92,14 @@ ...@@ -88,14 +92,14 @@
.active { .active {
cursor: pointer; cursor: pointer;
} }
} }
.node-offset { .node-offset {
display: flex; display: flex;
margin-left: 20px; margin-left: 20px;
} }
.node-icon-wrapper { .node-icon-wrapper {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 20px; width: 20px;
...@@ -106,19 +110,19 @@ ...@@ -106,19 +110,19 @@
&.disabled { &.disabled {
cursor: default; cursor: default;
} }
} }
.collapsable { .collapsable {
cursor: pointer; cursor: pointer;
} }
.node-container { .node-container {
display: inline-block; //Empty container to align nodes with no collapse display: inline-block; //Empty container to align nodes with no collapse
} }
//Checkbox //Checkbox
.node-checkbox { .node-checkbox {
display: inline-block; display: inline-block;
position: relative; position: relative;
top: 3px; top: 3px;
...@@ -130,42 +134,42 @@ ...@@ -130,42 +134,42 @@
&:disabled { &:disabled {
cursor: auto cursor: auto
} }
} }
//Animation //Animation
.collapsible-wrapper { .collapsible-wrapper {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
} }
.collapsible-wrapper:after { .collapsible-wrapper:after {
content: ''; content: '';
height: 25px; height: 25px;
transition: height 0.3s linear, max-height 0s 0.3s linear; transition: height 0.3s linear, max-height 0s 0.3s linear;
max-height: 0px; max-height: 0px;
} }
.collapsible { .collapsible {
transition: margin-bottom 0.3s cubic-bezier(0, 0, 0, 1); transition: margin-bottom 0.3s cubic-bezier(0, 0, 0, 1);
margin-bottom: 0; margin-bottom: 0;
max-height: 1000000px; max-height: 1000000px;
} }
.collapsible-wrapper.collapsed>.collapsible { .collapsible-wrapper.collapsed>.collapsible {
margin-bottom: -20000px; margin-bottom: -20000px;
transition: margin-bottom 0.3s cubic-bezier(1, 0, 1, 1), visibility 0s 0.3s, max-height 0s 0.3s; transition: margin-bottom 0.3s cubic-bezier(1, 0, 1, 1), visibility 0s 0.3s, max-height 0s 0.3s;
visibility: hidden; visibility: hidden;
max-height: 0; max-height: 0;
} }
.collapsible-wrapper.collapsed:after { .collapsible-wrapper.collapsed:after {
height: 0; height: 0;
transition: height 0.3s linear; transition: height 0.3s linear;
max-height: 25px; max-height: 25px;
} }
.arrow-down { .arrow-down {
position: absolute; position: absolute;
width: 0; width: 0;
height: 0; height: 0;
...@@ -173,13 +177,14 @@ ...@@ -173,13 +177,14 @@
top: 6px; top: 6px;
border-left: 7px solid transparent; border-left: 7px solid transparent;
border-right: 7px solid transparent; border-right: 7px solid transparent;
border-top:7px solid #85c6e2; border-top: 7px solid #85c6e2;
&.collapse-empty { &.collapse-empty {
border-top: 7px solid #ccc; border-top: 7px solid #ccc;
} }
} }
.arrow-right { .arrow-right {
position: absolute; position: absolute;
width: 0; width: 0;
height: 0; height: 0;
...@@ -188,7 +193,7 @@ ...@@ -188,7 +193,7 @@
border-top: 7px solid transparent; border-top: 7px solid transparent;
border-bottom: 7px solid transparent; border-bottom: 7px solid transparent;
border-left: 7px solid #455A64; border-left: 7px solid #455A64;
} }
jw-modal { jw-modal {
/* modals are hidden by default */ /* modals are hidden by default */
...@@ -211,7 +216,7 @@ jw-modal { ...@@ -211,7 +216,7 @@ jw-modal {
.jw-modal-body { .jw-modal-body {
padding: 20px; padding: 20px;
background: #fff; background: #fff;
color:black; color: black;
/* margin exposes part of the modal background */ /* margin exposes part of the modal background */
margin: 400px; margin: 400px;
} }
...@@ -239,25 +244,28 @@ body.jw-modal-open { ...@@ -239,25 +244,28 @@ body.jw-modal-open {
overflow: hidden; overflow: hidden;
} }
.label-panel{ .label-panel {
.header { .header {
color: #39ebff; color: #39ebff;
} }
p{
p {
padding: 0 10px; padding: 0 10px;
} }
} }
//video style //video style
.ant-tree li .ant-tree-node-content-wrapper{ .ant-tree li .ant-tree-node-content-wrapper {
color:white!important; color: white !important;
font-size: 17px;
} }
.ant-tree li span.ant-tree-iconEle, .ant-tree li span.ant-tree-switcher{
color:white!important; .ant-tree li span.ant-tree-iconEle,
.ant-tree li span.ant-tree-switcher {
color: white !important;
} }
.mark{
.mark {
background: transparent; background: transparent;
color: #de9d9d; color: #de9d9d;
font-size: 20px; font-size: 20px;
...@@ -269,24 +277,28 @@ body.jw-modal-open { ...@@ -269,24 +277,28 @@ body.jw-modal-open {
// margin-top:0.3em; // margin-top:0.3em;
} }
legend{
width:20%!important; legend {
width: 20% !important;
} }
.tooltiptextx{
color:#3170f8; .tooltiptextx {
font-size:15px; color: #3170f8;
font-size: 15px;
font-weight: 900; font-weight: 900;
} }
.ant-tree li { .ant-tree li {
font-size: 22px; font-size: 22px;
color:white; color: white;
} }
.BMapLib_Drawing{
.BMapLib_Drawing {
display: none; display: none;
} }
.gradient{ .gradient {
/* background: radial-gradient(#fff, #1184c2); */ /* background: radial-gradient(#fff, #1184c2); */
-webkit-background-clip: text; -webkit-background-clip: text;
...@@ -299,23 +311,25 @@ legend{ ...@@ -299,23 +311,25 @@ legend{
text-align: center; text-align: center;
} }
body{ body {
overflow: hidden; overflow: hidden;
} }
ul{
&.ant-tree{ ul {
&.ant-tree {
overflow: auto; overflow: auto;
max-height: 800px; max-height: 800px;
} }
} }
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { @media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
/* IE10+ CSS styles go here */ /* IE10+ CSS styles go here */
// body{ // body{
// background:red; // background:red;
// } // }
.ie-fix-button{ .ie-fix-button {
background:#2d9ac2; background: #2d9ac2;
}
} }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment