blob: d214c7ac77ac962bdd7a8a85794ba6587a406832 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
@import "theme";
:host {
cursor: pointer;
.node-label-wrapper {
display: inline-block;
vertical-align: top;
cursor: pointer;
pointer-events: all;
font-size: 12px;
width: 100%;
height: 100%;
line-height: 1.2;
border-radius: 6px;
padding: 15px;
color: @text-color;
background: lighten(@primary-color, 50%);
text-align: left;
word-break: break-all;
box-shadow: 0px 0px 0 3px @primary-color;
&.error {
box-shadow: 0px 0px 0 3px @error-color;
}
.content-wrap {
font-size: 12px;
}
.node-label {
text-align: center;
width: 100%;
margin-bottom: 12px;
font-weight: bold;
&:first-child {
margin-top: 24px;
}
&.error {
color: @error-color;
}
}
.detail {
margin-bottom: 12px;
color: @text-color;
&.dark {
color: @heading-color;
}
&.last {
margin-bottom: 0;
}
}
}
}