/*
 * 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.
 */

.relationship-box {
    .relatioship-link {
        fill: none;
        stroke-width: 1.5px;
    }
    .relationship-details {
        position: absolute;
        left: 0;
        overflow: auto;
        top: 0px;
        max-height: 100%;
        box-shadow: 4px 13px 14px -12px;
        background: #e7e7e7;
        transform: scaleX(0);
        width: 240px;
        transition: transform 0.3s ease-in;
        &.open {
            transform: scaleX(1);
        }
        .title {
            background: black;
            color: white;
            padding: 10px;
            margin-top: 0;
        }
        .close-details {
            position: absolute;
            top: 0;
            color: white;
            left: 0;
            height: 21px;
            width: 21px;
            cursor: pointer;
            font-size: 16px;
        }
        .entity-list {
            overflow: auto;
            list-style-type: decimal;
            list-style-position: outside;
            padding-left: 15px;
        }
        ul>li {
            word-wrap: break-word;
            margin-bottom: 5px;
            text-align: left;

            &.deleted-relation {
                a {
                    color: #BB5838 !important;
                }
                .deleteBtn {
                    padding: 2px 8px !important;
                    margin: 5px 5px !important;
                }
            }
        }
    }
}