Skip to content

Commit 56a0229

Browse files
authored
fix: update alerting detail style (#317)
1 parent b7115a4 commit 56a0229

File tree

2 files changed

+98
-116
lines changed

2 files changed

+98
-116
lines changed

src/views/alarm/Content.vue

Lines changed: 98 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,109 @@ limitations under the License. -->
142142
}
143143
</script>
144144
<style lang="scss" scoped>
145-
@import url("../components/style.scss");
145+
.timeline-table {
146+
padding: 30px 20px 20px 40px;
147+
flex-grow: 1;
148+
overflow: auto;
149+
height: 100%;
150+
}
151+
152+
.time-line {
153+
padding: 14px 30px;
154+
min-height: 63px;
155+
max-width: 132px;
156+
}
157+
158+
.timeline-table-i {
159+
padding: 10px 15px;
160+
border-left: 4px solid #eee;
161+
position: relative;
162+
163+
&::after {
164+
content: "";
165+
display: inline-block;
166+
position: absolute;
167+
width: 7px;
168+
height: 7px;
169+
left: -23px;
170+
top: 25px;
171+
border-radius: 4px;
172+
background-color: #448dfe;
173+
}
174+
175+
&::before {
176+
content: "";
177+
display: inline-block;
178+
position: absolute;
179+
width: 1px;
180+
height: calc(100% + 11px);
181+
top: 0;
182+
left: -20px;
183+
border-radius: 5px;
184+
background-color: #448dfe99;
185+
}
186+
}
187+
188+
.timeline-table-i-scope {
189+
display: inline-block;
190+
padding: 0 8px;
191+
border: 1px solid;
192+
margin-top: -1px;
193+
border-radius: 4px;
194+
}
195+
196+
.timeline-item {
197+
cursor: pointer;
198+
margin-bottom: 9px;
199+
}
200+
201+
.keys {
202+
font-weight: bold;
203+
display: inline-block;
204+
width: 120px;
205+
}
206+
207+
.source > span {
208+
display: inline-block;
209+
}
210+
211+
.source > div {
212+
padding-left: 120px;
213+
}
214+
215+
.uuid {
216+
width: 280px;
217+
}
146218
147219
.tips {
148220
width: 100%;
149221
margin: 20px 0;
150222
text-align: center;
151223
font-size: $font-size-normal;
152224
}
225+
226+
.alarm-detail {
227+
max-height: 600px;
228+
overflow: auto;
229+
230+
ul {
231+
min-height: 100px;
232+
overflow: auto;
233+
margin-bottom: 20px;
234+
}
235+
236+
li {
237+
cursor: pointer;
238+
239+
> span {
240+
width: 160px;
241+
height: 20px;
242+
line-height: 20px;
243+
text-align: center;
244+
display: inline-block;
245+
border-bottom: 1px solid $disabled-color;
246+
overflow: hidden;
247+
}
248+
}
249+
}
153250
</style>

src/views/components/style.scss

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)