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