blob: ea263cc829330426c1e2583de8f4c2afc0e5f99d (
plain)
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
/* FIXME: not working due to workaround (ViewEncapsulation.None) for svg
@import '../../@theme/styles/themes';
@import '~@nebular/theme/components/card/card.component.theme';
@import '~bootstrap/scss/mixins/breakpoints';
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
@include nb-install-component() {
nb-card-body {
display: flex;
align-items: center;
}
.action-groups-header {
flex-basis: 20%;
color: nb-theme(card-header-fg-heading);
font-family: nb-theme(card-header-font-family);
font-size: nb-theme(card-header-font-size);
font-weight: nb-theme(card-header-font-weight);
}
.nb-actions {
flex-basis: 80%;
}
.right {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
order: 1;
flex-direction: row-reverse;
}
nb-actions > nb-action {
padding: 0;
}
nb-action {
i {
color: nb-theme(color-fg);
font-size: 1.5rem;
margin-right: 1rem;
}
span {
font-family: nb-theme(font-secondary);
font-weight: nb-theme(font-weight-bold);
color: nb-theme(color-fg-heading);
text-transform: uppercase;
}
button {
margin: 0 auto;
padding: 0;
cursor: pointer;
border: none;
background: none;
display: flex;
align-items: center;
&:focus {
box-shadow: none;
outline: none;
}
}
}
@include media-breakpoint-down(md) {
nb-actions nb-action {
padding: 0 0.75rem;
}
}
@include media-breakpoint-down(sm) {
nb-card-body {
padding: 1rem;
}
nb-action {
font-size: 0.75rem;
i {
font-size: 2rem;
margin-right: 0.5rem;
}
}
}
@include media-breakpoint-down(is) {
nb-action i {
font-size: 1.75rem;
margin: 0;
}
span {
display: none;
}
}
}
*/
button#refresh-topo {
color: #a4abb3;
font-size: 1.5rem;
margin-right: 1rem;
margin: 0 auto;
padding: 0;
cursor: pointer;
border: none;
background: none;
display: flex;
align-items: center;
&:focus {
box-shadow: none;
outline: none;
}
}
button#start-trace {
margin-top: 10px;
margin-left: 10px;
}
button#stop-trace {
margin-top: 10px;
margin-left: 10px;
}
svg#graph {
.link {
fill: none;
stroke: #666;
stroke-width: 1.5px;
}
#ws-client {
fill: green;
}
.link.ws-client {
stroke: green;
}
.link.not-connected {
stroke-dasharray: 0, 2 1;
}
circle {
fill: #ccc;
stroke: #333;
stroke-width: 1.5px;
}
text {
font: 1rem sans-serif;
pointer-events: none;
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}
}
|