node-red/editor/sass/tab-info.scss

169 lines
3.7 KiB
SCSS
Raw Normal View History

2015-04-09 15:46:29 +02:00
/**
* Copyright JS Foundation and other contributors, http://js.foundation
2015-04-09 15:46:29 +02: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.
**/
2015-07-14 00:21:03 +02:00
.sidebar-node-info hr {
margin: 10px 0;
}
2015-04-09 15:46:29 +02:00
table.node-info {
font-size: 14px;
2015-07-14 19:55:53 +02:00
margin: 0px;
2015-04-09 15:46:29 +02:00
width: 97%;
}
2017-04-05 17:19:23 +02:00
table.node-info tr:not(.blank) {
2015-04-09 15:46:29 +02:00
border: 1px solid #ddd;
}
table.node-info tr.blank {
border: none;
2017-04-05 17:19:23 +02:00
th {
text-align: left;
font-weight: bold;
color: #444;
}
>* {
padding-top: 8px;
border: none;
padding-left: 0px;
}
a {
display: block;
color: #444;
&:hover,&:focus {
color: #444;
text-decoration: none;
}
i {
width: 10px;
text-align: center;
transition: transform 0.2s ease-in-out;
}
&.expanded i {
transform: rotate(90deg);
}
}
&.node-info-info-row > td {
padding-left: 5px;
}
2015-04-09 15:46:29 +02:00
}
2017-04-05 17:19:23 +02:00
table.node-info tr:not(.blank) td:first-child{
2016-11-04 15:30:41 +01:00
color: #666;
2015-04-09 15:46:29 +02:00
vertical-align: top;
width: 90px;
padding: 3px;
border-right: 1px solid #ddd;
}
2017-04-05 17:19:23 +02:00
table.node-info tr:not(.blank) td:last-child{
2015-04-09 15:46:29 +02:00
padding-left: 5px;
color: #666;
}
div.node-info {
margin: 5px;
}
.node-help {
2015-07-13 12:26:29 +02:00
font-size: 14px;
line-height: 1.5em;
2015-04-09 15:46:29 +02:00
h1 {
2017-04-05 17:19:23 +02:00
font-weight: 500;
2015-07-13 12:26:29 +02:00
font-size: 23px;
2017-04-05 17:19:23 +02:00
line-height: 1.3em;
2015-04-09 15:46:29 +02:00
margin: 8px auto;
}
h2 {
2017-04-05 17:19:23 +02:00
font-weight: 500;
2015-07-14 00:21:03 +02:00
font-size: 18px;
margin: 8px auto;
2017-04-05 17:19:23 +02:00
line-height: 1.3em;
2015-07-14 00:21:03 +02:00
}
h3 {
2017-04-05 17:19:23 +02:00
font-weight: 500;
2015-07-13 12:26:29 +02:00
font-size: 16px;
2017-04-05 17:19:23 +02:00
margin: 7px auto 5px;
line-height: 1.3em;
2015-04-09 15:46:29 +02:00
}
h4,
h5 {
2017-04-05 17:19:23 +02:00
font-weight: 500;
2015-07-13 12:26:29 +02:00
font-size: 14px;
2017-04-05 17:19:23 +02:00
line-height: 1.3em;
margin: 8px auto 5px;
}
& > span > p:first-child {
2015-04-09 15:46:29 +02:00
}
2017-04-05 17:19:23 +02:00
dl.message-properties {
border: 1px solid #eee;
border-radius: 2px;
margin: 5px auto 10px;
&>dt {
padding: 0px 3px 2px 3px;
font-family: monospace;
font-weight: normal;
margin: 5px 3px 1px;
color: #AD1625;
white-space: nowrap;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 2px;
&.optional {
font-style: italic;
}
.property-type {
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
color: #666;
font-style: italic;
font-size: 11px;
float: right;
}
&:after {
content: "";
display: table;
clear: both;
}
}
&>dd {
margin: 1px 8px 10px 10px;
}
}
ol.node-ports {
margin: 0;
li {
border: 1px solid #eee;
border-radius: 2px;
list-style-position: inside;
padding: 3px;
margin-bottom: 5px;
}
}
2015-04-09 15:46:29 +02:00
}
.node-info-tip {
2017-01-06 00:33:19 +01:00
position: absolute;
top: 40%;
left:0;
right:0;
padding: 20px;
font-size: 16px;
text-align: center;
2017-01-06 00:33:19 +01:00
line-height: 1.9em;
color : #bbb;
background-color: #fff;
2017-01-06 00:33:19 +01:00
@include disable-selection;
cursor: default;
}