2016-11-02 23:20:48 +00:00
|
|
|
/**
|
2017-01-11 15:24:33 +00:00
|
|
|
* Copyright JS Foundation and other contributors, http://js.foundation
|
2016-11-02 23:20:48 +00: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.
|
|
|
|
**/
|
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-window {
|
2016-06-20 23:08:37 +01:00
|
|
|
padding:0;
|
|
|
|
margin:0;
|
2019-05-15 13:54:29 +01:00
|
|
|
background: $secondary-background;
|
2016-10-25 21:15:06 +01:00
|
|
|
line-height: 20px;
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-payload {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2016-06-20 23:08:37 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
|
|
|
|
.red-ui-debug-content {
|
2016-06-20 21:35:20 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 43px;
|
|
|
|
bottom: 0px;
|
|
|
|
left:0px;
|
|
|
|
right: 0px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-filter-box {
|
2016-10-25 21:15:06 +01:00
|
|
|
position:absolute;
|
|
|
|
top: 42px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
2017-05-22 11:35:45 +01:00
|
|
|
z-index: 20;
|
2019-05-15 13:54:29 +01:00
|
|
|
background: $tertiary-background;
|
2016-10-25 21:15:06 +01:00
|
|
|
padding: 10px;
|
2019-05-15 13:54:29 +01:00
|
|
|
border-bottom: 1px solid $secondary-border-color;
|
|
|
|
box-shadow: 0 2px 6px $shadow;
|
2016-10-25 21:15:06 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-filter-row {
|
2017-05-22 11:35:45 +01:00
|
|
|
.red-ui-nodeList {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
2016-10-25 21:15:06 +01:00
|
|
|
}
|
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg {
|
2017-05-10 15:49:12 +01:00
|
|
|
position: relative;
|
2019-05-15 13:54:29 +01:00
|
|
|
border-bottom: 1px solid $debug-message-border;
|
|
|
|
border-left: 8px solid $debug-message-border;
|
|
|
|
border-right: 8px solid $debug-message-border;
|
2016-06-20 21:35:20 +01:00
|
|
|
padding: 2px;
|
2019-05-02 22:33:29 +01:00
|
|
|
&>.red-ui-debug-msg-meta .red-ui-debug-msg-tools {
|
2017-05-11 15:08:10 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
&.red-ui-debug-msg-hover {
|
2019-05-15 13:54:29 +01:00
|
|
|
border-right-color: $debug-message-border-hover;
|
2019-05-02 22:33:29 +01:00
|
|
|
&>.red-ui-debug-msg-meta .red-ui-debug-msg-tools {
|
2017-05-10 15:49:12 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2018-06-25 22:31:11 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-row {
|
|
|
|
.red-ui-debug-msg-tools-pin {
|
2018-06-25 22:31:11 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
&.red-ui-debug-msg-row-pinned .red-ui-debug-msg-tools-pin {
|
2018-06-25 22:31:11 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&:hover {
|
2019-05-15 13:54:29 +01:00
|
|
|
background: $debug-message-background-hover;
|
2019-05-02 22:33:29 +01:00
|
|
|
&>.red-ui-debug-msg-tools {
|
|
|
|
.red-ui-debug-msg-tools-copy {
|
2018-06-25 22:31:11 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools-pin {
|
2018-06-25 22:31:11 +01:00
|
|
|
display: inline-block;
|
2017-05-11 15:08:10 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools-other {
|
2018-11-12 17:04:22 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-05-11 15:08:10 +01:00
|
|
|
}
|
2017-05-10 16:56:03 +01:00
|
|
|
}
|
2017-05-10 15:49:12 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-meta .red-ui-debug-msg-tools {
|
2019-05-17 10:42:43 +01:00
|
|
|
.red-ui-button-small {
|
2017-05-22 22:21:52 +01:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools {
|
2017-05-11 15:08:10 +01:00
|
|
|
.button-group:not(:last-child) {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2019-05-17 10:42:43 +01:00
|
|
|
.red-ui-button-small {
|
2017-05-11 15:08:10 +01:00
|
|
|
height: 16px;
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 8px;
|
|
|
|
border-radius: 1px;
|
|
|
|
padding: 0 3px;
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
2017-05-10 15:49:12 +01:00
|
|
|
}
|
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-meta {
|
2019-05-15 13:54:29 +01:00
|
|
|
background: $debug-message-background;
|
2018-04-05 11:25:08 +01:00
|
|
|
font-size: 11px;
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $secondary-text-color-inactive;
|
2016-11-16 15:05:04 +00:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-date {
|
2016-06-20 21:35:20 +01:00
|
|
|
padding: 1px 5px 1px 1px;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-topic {
|
2016-06-20 21:35:20 +01:00
|
|
|
display: block;
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $debug-message-text-color-meta;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-name {
|
2016-06-20 21:35:20 +01:00
|
|
|
padding: 1px 5px;
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $secondary-text-color-inactive;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools {
|
2017-05-10 15:49:12 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
right: 1px;
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools-copy {
|
2017-05-11 15:08:10 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-tools-other {
|
2018-11-12 17:04:22 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2017-05-10 15:49:12 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-payload {
|
2016-06-20 21:35:20 +01:00
|
|
|
display: block;
|
|
|
|
padding: 2px;
|
2019-05-15 13:54:29 +01:00
|
|
|
background: $debug-message-background;
|
|
|
|
font-family: $monospace-font;
|
|
|
|
font-size: 13px !important;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-level-log {
|
2019-05-15 13:54:29 +01:00
|
|
|
border-left-color: $debug-message-border;
|
|
|
|
border-right-color: $debug-message-border;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-level-30 {
|
2019-05-15 13:54:29 +01:00
|
|
|
border-left-color: $debug-message-border-warning;
|
|
|
|
border-right-color: $debug-message-border-warning;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-level-20 {
|
2019-05-15 13:54:29 +01:00
|
|
|
border-left-color: $debug-message-border-error;
|
|
|
|
border-right-color: $debug-message-border-error;
|
2016-06-20 21:35:20 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-entry {
|
2017-05-10 15:49:12 +01:00
|
|
|
position: relative;
|
2016-06-21 22:50:09 +01:00
|
|
|
padding-left: 15px;
|
2016-06-22 12:27:47 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element {
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $debug-message-text-color;
|
2016-10-24 16:53:09 +01:00
|
|
|
line-height: 1.3em;
|
2020-02-07 13:59:08 +00:00
|
|
|
overflow-wrap: break-word;
|
2016-06-21 22:50:09 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-key {
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $debug-message-text-color-object-key;
|
2016-06-21 22:50:09 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-value {
|
2016-06-21 22:50:09 +01:00
|
|
|
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-handle {
|
2019-05-15 13:54:29 +01:00
|
|
|
color: $secondary-text-color;
|
2016-06-22 12:27:47 +01:00
|
|
|
font-size: 1em;
|
2016-06-21 22:50:09 +01:00
|
|
|
width: 1em;
|
|
|
|
text-align: center;
|
2016-06-22 12:27:47 +01:00
|
|
|
transition: transform 0.1s ease-in-out;
|
2016-06-21 22:50:09 +01:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element:not(.red-ui-debug-msg-top-level)>.red-ui-debug-msg-expandable>.red-ui-debug-msg-object-handle {
|
2016-11-02 00:16:36 +00:00
|
|
|
margin-left: -1em;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-entry>.red-ui-debug-msg-expandable>.red-ui-debug-msg-object-handle {
|
2016-06-22 12:27:47 +01:00
|
|
|
margin-left: -1em;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-entry.collapsed>span>.red-ui-debug-msg-object-handle {
|
2016-06-22 12:27:47 +01:00
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element.collapsed>span>.red-ui-debug-msg-object-handle {
|
2016-06-21 22:50:09 +01:00
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-entry.collapsed > .red-ui-debug-msg-object-entry {
|
2016-06-21 22:50:09 +01:00
|
|
|
display:none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element.collapsed .red-ui-debug-msg-object-entry {
|
2016-06-22 12:27:47 +01:00
|
|
|
display:none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element:not(.collapsed)>.red-ui-debug-msg-expandable>.red-ui-debug-msg-object-value>.red-ui-debug-msg-object-header {
|
2016-10-24 16:53:09 +01:00
|
|
|
display:none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element.collapsed .red-ui-debug-msg-buffer-opts {
|
2016-11-02 16:08:13 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-element.collapsed .red-ui-debug-msg-object-type-header {
|
2016-10-24 16:53:09 +01:00
|
|
|
display:none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-object-entry pre {
|
2019-05-09 19:22:40 +01:00
|
|
|
font-family: $monospace-font;
|
2018-04-05 11:25:08 +01:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.2em;
|
2016-11-02 15:12:30 +00:00
|
|
|
margin: 0 0 0 -1em;
|
|
|
|
}
|
2016-06-22 12:27:47 +01:00
|
|
|
|
2019-05-15 13:54:29 +01:00
|
|
|
.red-ui-debug-msg-type-other { color: $debug-message-text-color-msg-type-other; }
|
|
|
|
.red-ui-debug-msg-type-string { color: $debug-message-text-color-msg-type-string; }
|
|
|
|
.red-ui-debug-msg-type-null { color: $debug-message-text-color-msg-type-null; font-style: italic;}
|
|
|
|
.red-ui-debug-msg-type-meta { color: $debug-message-text-color-msg-type-meta; font-style: italic;}
|
|
|
|
.red-ui-debug-msg-type-number { color: $debug-message-text-color-msg-type-number; };
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-type-number-toggle { cursor: pointer;}
|
2016-06-22 12:27:47 +01:00
|
|
|
|
2020-04-06 15:40:06 +01:00
|
|
|
.red-ui-debug-msg-type-string {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-row {
|
2017-05-10 15:49:12 +01:00
|
|
|
display: block;
|
|
|
|
padding: 4px 2px 2px;
|
|
|
|
position: relative;
|
2019-05-02 22:33:29 +01:00
|
|
|
&.red-ui-debug-msg-row-pinned {
|
2019-05-27 21:23:41 +01:00
|
|
|
background: $secondary-background-selected;
|
2017-05-11 15:08:10 +01:00
|
|
|
}
|
2017-05-10 15:49:12 +01:00
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-expandable {
|
2016-06-22 12:27:47 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-expandable:hover .red-ui-debug-msg-object-handle {
|
2019-05-15 13:54:29 +01:00
|
|
|
color:$secondary-text-color-hover;
|
2016-10-24 16:53:09 +01:00
|
|
|
}
|
2016-11-02 15:12:30 +00:00
|
|
|
|
2019-05-15 13:54:29 +01:00
|
|
|
.red-ui-debug-msg-buffer-opts {
|
2016-11-02 15:12:30 +00:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2019-05-15 13:54:29 +01:00
|
|
|
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-buffer-raw > .red-ui-debug-msg-string-rows {
|
2016-11-02 16:17:56 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-buffer-string > .red-ui-debug-msg-array-rows {
|
2016-11-02 16:17:56 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-05-02 22:33:29 +01:00
|
|
|
.red-ui-debug-msg-type-string-swatch {
|
2017-01-16 10:29:00 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 1.1em;
|
|
|
|
height: 0.9em;
|
|
|
|
vertical-align: middle;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|