forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebugger.less
More file actions
110 lines (95 loc) · 2.07 KB
/
debugger.less
File metadata and controls
110 lines (95 loc) · 2.07 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
/* Import all components */
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
/* Reference import */
@import (reference) "semantic.less";
/*******************************
Debugger
*******************************/
/* Debugger toolbar */
.debugtoolbar {
position: absolute;
top: @mainMenuHeight;
z-index: @debuggerToolsZIndex;
.ui.menu {
box-shadow: 0 2px 8px #a8a8a8;
border-radius: 0 !important;
border: 0 !important;
.item {
padding-left: 10px;
padding-right: 10px;
border-radius: 0 !important;
}
}
}
/* Debugger toolbar handle */
.ui.item.dbg-handle {
cursor: move;
background: #7F8C8D !important;
.icon {
color: white;
}
}
/* Debugger toolbar buttons */
.ui.button.dbg-btn .icon.blue {
color: #72BDFF !important;
}
.ui.button.dbg-btn .icon.red {
color: #F6876D !important;
}
.ui.button.dbg-btn .icon.green {
color: #87D282 !important;
}
/* Debugger variables view */
.ui.segment.debugvariables {
position: absolute;
right: 1rem;
top: 3.5rem;
margin-top: 0rem;
.ui.middle.aligned.list {
overflow-y: auto;
max-height: 25rem;
}
.variable {
color: white;
}
.variable.changed {
outline: solid 2px yellow;
}
.variable .varname {
font-weight: bold;
}
.variable .detail {
background:white;
color:black;
}
.previousval {
text-decoration: line-through;
font-size: 90%;
margin-left: 0.5rem;
}
}
.ui.segment.debugvariables.frozen {
background: #eee;
}
/* sim overlay */
div.simframe div.pause-overlay {
background:black;
opacity: 0.01;
left: 0;
top: 0;
width: 100%;
height: 100%;
position: absolute;
z-index: 100;
}
/* Old debugger view */
#root .debuggerview h4 {
margin: 0.9em 0 0 0;
}
/* <= Tablet (Mobile + Tablet) */
@media only screen and (max-width: @largestTabletScreen) {
.debugtoolbar {
top: @mobileMenuHeight;
}
}