forked from HuolalaTech/page-spy-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.less
85 lines (85 loc) · 1.62 KB
/
index.less
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
.console-panel {
display: flex;
flex-direction: column;
&__content {
position: relative;
flex: 1;
height: 0;
display: flex;
flex-direction: column;
position: relative;
margin-top: 8px;
background-color: #fff;
border-radius: 4px;
}
.console-list {
flex: 1;
height: 0;
overflow: auto;
padding-top: 8px;
&__new {
position: absolute;
bottom: 100px;
right: 100px;
}
}
.console-item {
display: flex;
// align-items: center;
border-top: 1px solid #f0f0f0;
padding: 4px 8px;
font-size: 12px;
white-space: pre-wrap;
&:first-child {
border-top: none;
}
&:last-child {
border-bottom: 1px solid #f0f0f0;
}
&.debug {
color: #1c419a;
}
&.warn {
color: #573c10;
background-color: #fefae3;
border-color: #fdf4be;
}
&.error {
color: #eb3223;
background-color: #fdeeee;
border-color: #f9d2d1;
// color: #ec301d;
}
&__title {
}
&__content {
flex: 1;
}
&__url {
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #666666;
text-decoration: underline;
transition: all ease-out 0.3s;
&:hover {
color: #000;
}
}
}
.page-spy-input {
display: flex;
align-items: center;
padding: 4px 8px;
font-size: 12px;
border-bottom: 1px solid #dedede;
background-color: #fff;
// box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
.icon {
font-size: 12px;
font-weight: 700;
color: #3d6fe9;
}
}
}