@defaultStrokeColor: #b7c3d1;
@defaultBackgroundColor: #ccc; // @defaultBackgroundColor: #fff;
@outputExistsBackgroundColor: #455263;
@selectBackgroundColor: @outputExistsBackgroundColor;
@defaultTextColor: #59595a;
@selectTextColor: #fff;

.x-output-circle {
    cursor: pointer;
    circle {
        fill: @defaultBackgroundColor; // fill: #fff;
        stroke: @defaultStrokeColor;
        stroke-width: 1px;
    }
    .x-output-detail {
        display: none;
        rect {
            fill: @defaultBackgroundColor;
            stroke: @defaultStrokeColor;
        }
        text {
            fill: @defaultTextColor;
            font-size: 10px;
        }
    }

    &.x-output-exists {
        circle {
            fill: @outputExistsBackgroundColor;
            stroke: none;
        }
        .x-output-detail {
            rect {
                stroke: none;
                fill: @outputExistsBackgroundColor;
            }
            text {
                fill: @selectTextColor;
            }
        }
    }
    &.x-output-circle-hover {
        .x-output-detail {
            display: inherit;
            rect {
                fill: @defaultBackgroundColor;
                stroke: @defaultStrokeColor;
            }
        }
    }
    &.x-output-circle-hover.x-output-exists {
        rect {
            fill: @outputExistsBackgroundColor;
            stroke: none;
        }
        text {
            fill: @selectTextColor;
        }
    }
    &.x-output-circle-select {
        .x-output-detail {
            display: inherit;
            rect {
                fill: @outputExistsBackgroundColor;
                stroke: none;
            }
            text {
                fill: @selectTextColor;
            }
        }
    }
}
