/*
 * Author: Jean-Baptiste Louvet-Daniel
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

/* GLOBAL CONTROLS */

.notification.warning.csb-warning {
    color: unset;
    text-shadow: unset;
}

.custom-system-template-tab-controls {
    margin-left: 8px;
    flex-grow: 0;
    flex-shrink: 1;
}

.custom-system-template-tab-controls > * {
    margin-left: 2px;
    margin-right: 2px;
}

.custom-system-editable-field {
    pointer-events: none;
}

/* PANELS STYLING */

.custom-system-editable-panel {
    border: solid grey 1px;
    border-radius: 8px;
}

.custom-system-editable-panel-title {
    width: 100%;
    text-align: center;
    font-weight: bold;
    background-color: #61605b;
    color: white;
    border-radius: 4px 4px 0 0;
}

/* FIELDS STYLING */

.custom-system-sheet-actions > input {
    margin-right: 5px;
    margin-bottom: 5px;
}

.custom-system-hidden-row {
    border: 2px dotted darkslategrey;
    background-color: darkgrey;
}

input.custom-system-modifier-key {
    width: 100px;
}

input.custom-system-modifier-priority {
    width: 30px;
}

.custom-system-droppable-container {
    position: relative;
}

.custom-system-droppable-container.custom-system-template-dragged-over,
.custom-system-drop-target {
    border: 3px black dashed !important;
    border-radius: 6px;
}

.custom-system-droppable-container.custom-system-template-dragged-eligible::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.custom-system-link-disabled {
    color: #7a7971;
}
