2016-11-03 00:20:48 +01:00
|
|
|
/**
|
2017-01-11 16:24:33 +01:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2016-11-03 00:20:48 +01:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
**/
|
|
|
|
|
2016-06-21 00:08:37 +02:00
|
|
|
.debug-window {
|
|
|
|
padding:0;
|
|
|
|
margin:0;
|
|
|
|
background: #fff;
|
2016-10-25 22:15:06 +02:00
|
|
|
line-height: 20px;
|
2016-06-21 00:08:37 +02:00
|
|
|
}
|
2016-06-21 23:50:09 +02:00
|
|
|
.debug-window .debug-message-payload {
|
2016-06-22 13:27:47 +02:00
|
|
|
font-size: 14px;
|
2016-06-21 23:50:09 +02:00
|
|
|
}
|
2016-10-25 22:15:06 +02:00
|
|
|
.debug-content {
|
2016-06-20 22:35:20 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 43px;
|
|
|
|
bottom: 0px;
|
|
|
|
left:0px;
|
|
|
|
right: 0px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2016-10-25 22:15:06 +02:00
|
|
|
.debug-filter-box {
|
|
|
|
position:absolute;
|
|
|
|
top: 42px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
2017-05-22 12:35:45 +02:00
|
|
|
z-index: 20;
|
2016-10-26 23:08:28 +02:00
|
|
|
background: #f9f9f9;
|
2016-10-25 22:15:06 +02:00
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid #ddd;
|
2016-10-26 23:08:28 +02:00
|
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
|
2016-10-25 22:15:06 +02:00
|
|
|
}
|
|
|
|
.debug-filter-row {
|
2017-05-22 12:35:45 +02:00
|
|
|
.red-ui-nodeList {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2016-10-25 22:15:06 +02:00
|
|
|
}
|
|
|
|
|
2016-06-20 22:35:20 +02:00
|
|
|
.debug-message {
|
2017-05-10 16:49:12 +02:00
|
|
|
position: relative;
|
2016-06-20 22:35:20 +02:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
border-left: 8px solid #eee;
|
|
|
|
border-right: 8px solid #eee;
|
|
|
|
padding: 2px;
|
2017-05-11 16:08:10 +02:00
|
|
|
&>.debug-message-meta .debug-message-tools {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-05-10 16:49:12 +02:00
|
|
|
&.debug-message-hover {
|
|
|
|
border-right-color: #999;
|
|
|
|
&>.debug-message-meta .debug-message-tools {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2017-05-11 16:08:10 +02:00
|
|
|
.debug-message-row {
|
|
|
|
.debug-message-tools-pin {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.debug-message-row-pinned .debug-message-tools-pin {
|
2017-05-10 17:56:03 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-05-11 16:08:10 +02:00
|
|
|
&:hover {
|
|
|
|
background: #f3f3f3;
|
|
|
|
&>.debug-message-tools {
|
|
|
|
.debug-message-tools-copy {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.debug-message-tools-pin {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-05-10 17:56:03 +02:00
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
}
|
2017-05-22 23:21:52 +02:00
|
|
|
.debug-message-meta .debug-message-tools {
|
|
|
|
.editor-button-small {
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.debug-message-tools {
|
2017-05-11 16:08:10 +02:00
|
|
|
.button-group:not(:last-child) {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
.editor-button-small {
|
|
|
|
height: 16px;
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 8px;
|
|
|
|
border-radius: 1px;
|
|
|
|
padding: 0 3px;
|
|
|
|
min-width: 18px;
|
|
|
|
i.fa-terminal {
|
|
|
|
// terminal icon is a bit thin, so darken its color for better contrast
|
|
|
|
color: darken($editor-button-color, 30%) !important;
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
color: darken($workspace-button-color-selected, 10%) !important;
|
|
|
|
background: darken($workspace-button-background-active,10%);
|
|
|
|
}
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
}
|
|
|
|
|
2016-11-16 16:05:04 +01:00
|
|
|
.debug-message-meta {
|
2016-06-20 22:35:20 +02:00
|
|
|
background: #fff;
|
2016-11-16 16:05:04 +01:00
|
|
|
font-size: 10px;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
.debug-message-date {
|
2016-06-20 22:35:20 +02:00
|
|
|
padding: 1px 5px 1px 1px;
|
|
|
|
}
|
|
|
|
.debug-message-topic {
|
|
|
|
display: block;
|
|
|
|
color: #a66;
|
|
|
|
}
|
|
|
|
.debug-message-name {
|
|
|
|
padding: 1px 5px;
|
2016-11-16 16:05:04 +01:00
|
|
|
color: #777;
|
2016-06-20 22:35:20 +02:00
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
.debug-message-tools {
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
right: 1px;
|
2017-05-11 16:08:10 +02:00
|
|
|
.debug-message-tools-copy {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
}
|
2016-06-20 22:35:20 +02:00
|
|
|
.debug-message-payload {
|
|
|
|
display: block;
|
|
|
|
padding: 2px;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
.debug-message-level-log {
|
|
|
|
border-left-color: #eee;
|
|
|
|
border-right-color: #eee;
|
|
|
|
}
|
|
|
|
.debug-message-level-30 {
|
|
|
|
border-left-color: #ffdf9d;
|
|
|
|
border-right-color: #ffdf9d;
|
|
|
|
}
|
|
|
|
.debug-message-level-20 {
|
|
|
|
border-left-color: #f99;
|
|
|
|
border-right-color: #f99;
|
|
|
|
}
|
2016-06-21 23:50:09 +02:00
|
|
|
.debug-message-object-entry {
|
2017-05-10 16:49:12 +02:00
|
|
|
position: relative;
|
2016-06-21 23:50:09 +02:00
|
|
|
padding-left: 15px;
|
2016-06-22 13:27:47 +02:00
|
|
|
}
|
|
|
|
.debug-message-element {
|
|
|
|
color: #333;
|
2016-10-24 17:53:09 +02:00
|
|
|
font-family: Menlo, monospace;
|
|
|
|
font-size: 12px !important;
|
|
|
|
line-height: 1.3em;
|
2016-06-21 23:50:09 +02:00
|
|
|
}
|
|
|
|
.debug-message-object-key {
|
2016-06-22 13:27:47 +02:00
|
|
|
color: #792e90;
|
2016-06-21 23:50:09 +02:00
|
|
|
}
|
|
|
|
.debug-message-object-value {
|
|
|
|
|
|
|
|
}
|
|
|
|
.debug-message-object-handle {
|
2016-06-22 13:27:47 +02:00
|
|
|
color: #666;
|
|
|
|
font-size: 1em;
|
2016-06-21 23:50:09 +02:00
|
|
|
width: 1em;
|
|
|
|
text-align: center;
|
2016-06-22 13:27:47 +02:00
|
|
|
transition: transform 0.1s ease-in-out;
|
2016-06-21 23:50:09 +02:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
2016-11-02 01:16:36 +01:00
|
|
|
.debug-message-element:not(.debug-message-top-level)>.debug-message-expandable>.debug-message-object-handle {
|
|
|
|
margin-left: -1em;
|
|
|
|
}
|
|
|
|
.debug-message-object-entry>.debug-message-expandable>.debug-message-object-handle {
|
2016-06-22 13:27:47 +02:00
|
|
|
margin-left: -1em;
|
|
|
|
}
|
|
|
|
.debug-message-object-entry.collapsed>span>.debug-message-object-handle {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
.debug-message-element.collapsed>span>.debug-message-object-handle {
|
2016-06-21 23:50:09 +02:00
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
2016-11-02 01:16:36 +01:00
|
|
|
.debug-message-object-entry.collapsed > .debug-message-object-entry {
|
2016-06-21 23:50:09 +02:00
|
|
|
display:none;
|
|
|
|
}
|
2016-06-22 13:27:47 +02:00
|
|
|
|
|
|
|
.debug-message-element.collapsed .debug-message-object-entry {
|
|
|
|
display:none;
|
|
|
|
}
|
2016-11-02 16:12:30 +01:00
|
|
|
.debug-message-element:not(.collapsed)>.debug-message-expandable>.debug-message-object-value>.debug-message-object-header {
|
2016-10-24 17:53:09 +02:00
|
|
|
display:none;
|
|
|
|
}
|
2016-11-02 17:08:13 +01:00
|
|
|
.debug-message-element.collapsed .debug-message-buffer-opts {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-24 17:53:09 +02:00
|
|
|
|
|
|
|
.debug-message-element.collapsed .debug-message-object-type-header {
|
|
|
|
display:none;
|
|
|
|
}
|
2016-11-02 16:12:30 +01:00
|
|
|
.debug-message-object-entry pre {
|
|
|
|
font-family: Menlo, monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 1.4em;
|
|
|
|
margin: 0 0 0 -1em;
|
|
|
|
}
|
2016-06-22 13:27:47 +02:00
|
|
|
|
|
|
|
.debug-message-type-other { color: #2033d6; }
|
|
|
|
.debug-message-type-string { color: #b72828; }
|
|
|
|
.debug-message-type-null { color: #666; font-style: italic;}
|
2016-10-24 17:53:09 +02:00
|
|
|
.debug-message-type-meta { color: #666; font-style: italic;}
|
2016-11-27 22:51:34 +01:00
|
|
|
.debug-message-type-number { color: #2033d6; };
|
|
|
|
.debug-message-type-number-toggle { cursor: pointer;}
|
2016-06-22 13:27:47 +02:00
|
|
|
|
2017-05-10 16:49:12 +02:00
|
|
|
.debug-message-row {
|
|
|
|
display: block;
|
|
|
|
padding: 4px 2px 2px;
|
|
|
|
position: relative;
|
2017-05-11 16:08:10 +02:00
|
|
|
&.debug-message-row-pinned {
|
|
|
|
background: #f6f6f6;
|
|
|
|
}
|
2017-05-10 16:49:12 +02:00
|
|
|
}
|
2016-06-22 13:27:47 +02:00
|
|
|
.debug-message-expandable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-10-24 17:53:09 +02:00
|
|
|
.debug-message-expandable:hover .debug-message-object-handle {
|
|
|
|
color: #b72828 !important;
|
|
|
|
}
|
2016-11-02 16:12:30 +01:00
|
|
|
|
|
|
|
.debug-message-buffer-opts a {
|
|
|
|
font-size: 9px;
|
|
|
|
color: #bbb;
|
|
|
|
border: 1px solid #bbb;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 2px 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.debug-message-buffer-opts a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #999;
|
|
|
|
border: 1px solid #999;
|
|
|
|
background: #f3f3f3;
|
|
|
|
}
|
2016-11-02 17:17:56 +01:00
|
|
|
.debug-message-buffer-raw > .debug-message-string-rows {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.debug-message-buffer-string > .debug-message-array-rows {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-01-16 11:29:00 +01:00
|
|
|
.debug-message-type-string-swatch {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.1em;
|
|
|
|
height: 0.9em;
|
|
|
|
vertical-align: middle;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|