forked from renjimin/d3-topology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopology.css
118 lines (118 loc) · 2.1 KB
/
topology.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body{
background: black;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
li{
list-style: none;
}
#network-topology line{
stroke-width: 2px;
cursor: pointer;
}
#network-topology .node{
cursor: pointer;
}
#network-topology .node text{
/*pointer-events: none;*/
font: 14px sans-serif;
fill: #bdb2b2;
}
#update{
position: absolute;
z-index: 500;
left: 30px;
top: 50px;
background: #17b917;
width: 50px;
height: 24px;
cursor: pointer;
}
#syn{
position: absolute;
z-index: 500;
left: 30px;
top: 20px;
font-size: 14px;
font-weight: 500;
}
#alarm{
position: absolute;
right:60px;
top: 20px;
width: 500px;
padding-bottom: 4px;
background-color: #f4f3f3;
border-radius: 3px;
overflow: auto;
}
#alarm #header{
position: relative;
text-align: center;
padding: 7px 0;
background-color: orange;
font-size: 12px;
}
#alarm #header h6{
cursor: pointer;
}
#alarm #header span:hover{
color: #c77a19;
}
#alarm #content{
overflow: auto;
max-height: 200px;
}
#alarm li{
padding: 4px 10px;
border-bottom: 1px solid rgba(227,167,94,0.71);
list-style: none;
line-height: 16px;
font-size: 12px;
color: red;
}
.close{
position: absolute;
right: 6px;
top: 6px;
width: 16px;
height: 16px;
cursor: pointer;
background-image: url("images/close.png");
background-size: 16px 16px;
background-repeat: no-repeat;
}
#topology_container{
width: 100%;
height: 100%;
position: absolute;
}
.btn{
padding: 6px 16px;
font-weight: normal;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
-webkit-touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 2px;
-webkit-border-radius: 2px;
}
.btn-success{
color: #fff;
background-color: #30ae30;
border-color: #4cae4c;
}
.btn-success:hover{
color: #fff;
background-color: #449d44;
border-color: #398439;
}