/*!
 * Waltz - Enterprise Architecture
 * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
 * See README.md for more information
 *
 * 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
 *
 */

.wesd-viewer {
    svg {
        border: 1px solid #eee;
        overflow: hidden;

        text {
            font-family: Arial, serif;
            font-size: 10px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        text::selection {
            background: none;
        }
    }


    [data-wesd-node-entity-link] {
        path {
            transition: 300ms linear all;
            stroke: blue;
            stroke-width: 2;
            stroke-opacity: 0.5;
            cursor: pointer;
        }

        path:hover {
            stroke-width: 4;
            stroke-opacity: 0.8;
        }

        text {
            pointer-events: none;
        }
    }
}

.wesd-popup {
    border: 3px solid #ddd;
    border-radius: 1.5px;
    padding: 12px;
    opacity: 0.93;
    position: absolute;
    background: #fafafa;
    z-index: 100;
    width: 30%;
    max-width: 300px;
    pointer-events: none;
}