1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/editor/sass/debug.scss

185 lines
4.3 KiB
SCSS
Raw Normal View History

2016-11-03 00:20:48 +01:00
/**
* Copyright 2016 IBM Corp.
*
* 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.
**/
.debug-window {
padding:0;
margin:0;
background: #fff;
2016-10-25 22:15:06 +02:00
line-height: 20px;
}
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;
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 {
text-align: right;
}
2016-06-20 22:35:20 +02:00
.debug-message {
border-bottom: 1px solid #eee;
border-left: 8px solid #eee;
border-right: 8px solid #eee;
padding: 2px;
}
.debug-message-meta {
2016-06-20 22:35:20 +02:00
background: #fff;
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;
color: #777;
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 {
padding-left: 15px;
padding-bottom: 3px;
2016-06-22 13:27:47 +02:00
padding-top: 3px;
}
.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);
}
.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);
}
.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;
}
.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;}
.debug-message-type-number { color: #2033d6;cursor: pointer;}
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 {
background: #fefefe;
}
.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;
}
.debug-message-buffer-raw > .debug-message-string-rows {
display: none;
}
.debug-message-buffer-string > .debug-message-array-rows {
display: none;
}