forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrorList.less
More file actions
120 lines (97 loc) · 2.57 KB
/
errorList.less
File metadata and controls
120 lines (97 loc) · 2.57 KB
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
@import 'themes/pxt/globals/site.variables';
// Expanded error list
.errorList {
position: relative;
max-height: @errorListHeight;
min-height: @errorListHeight;
border-top: 2px @errorListBorderColor solid;
*:focus {
outline: none;
}
.errorListHeader {
padding: 0.75em 1em;
height: @errorListHeaderHeight;
margin-bottom: 0;
&:hover {
cursor: pointer;
}
&:not(:hover):not(:focus) > .toggleButton > i {
opacity: 0.5;
}
h4 {
margin: 0;
display: inline-block;
vertical-align: middle;
}
.countBubble {
margin-left: 1em;
}
&:hover > .toggleButton > i , &:focus > .toggleButton > i{
font-size: 1.4em;
}
.toggleButton {
float: right;
position: relative;
vertical-align: middle;
i {
font-size: 1.3em;
}
}
}
.errorListInner {
height: @errorListInnerHeight;
padding: 0 0 1em 0;
overflow-y: auto;
.exceptionMessage {
color: black;
padding: 0.5em 1em;
width: 70%;
}
// errors
.ui.selection.list {
color: black;
cursor: pointer;
margin: 0;
.item {
border-radius: unset;
padding: 0.5em 1em;
color: black;
&:hover, &:focus {
background-color: @errorListMessageHoverColor !important;
}
&:nth-child(even):not(:hover) {
background-color: @errorListEven;
}
&:nth-child(odd):not(:hover) {
background-color: @errorListOdd;
}
&.stackframe {
padding-left: 2em;
}
}
}
.debuggerSuggestion {
float: right;
height: fit-content;
width: fit-content;
padding-top: 0.5em;
margin-right: 0.5em;
color: @errorListDebugSuggestionColor;
cursor: pointer;
&:hover, &:focus {
opacity: 0.75;
}
.debug-icon {
margin-left: 0.5em;
vertical-align: text-top;
}
}
}
}
// collapsed error list
.errorList.errorListSummary {
min-height: unset;
&:hover {
background-color: @errorListMessageHoverColor;
}
}