@import "../lib/extension.css";

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    min-width: 300px;
}

.hidden {
    display: none !important;
}

.panel-list-item:hover {
    border: none !important;
}

.panel-section-list {
    padding: 6px 0;
}
    .panel-list-item .text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .panel-list-item img.icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        margin: 0 6px 0 0;
    }
    .panel-list-item.toggle .text {
        font-weight: bold;
    }
    .panel-list-item.toggle img.icon {
        transform: scale(0.8);
    }

    .panel a {
        text-decoration: inherit;
        cursor: inherit;
        color: inherit;
    }

#no-rules {
    padding-top: 3px !important;
    padding-bottom: 15px !important;
    font-style: italic;
}

.split {
    display: flex;
    flex-direction: row;
}
    .split .panel-list-item.rule {
        width: 100%;
        overflow: hidden;
    }
    .split .panel-list-item.confirm-delete {
        flex-grow: 10;
        color: inherit;
    }
    .split .options {
        border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
        padding: 0 6px;
        background-clip: content-box;
        overflow: hidden;
        text-align: center;
        flex: 0 0 auto;
    }
    .split .option-delete {
        display: none;
        margin-left: 6px;
    }
    .split:hover .option-delete {
        display: block;
    }
    .split .options img {
        vertical-align: middle;
        box-sizing: content-box;
        width: 14px;
        height: 14px;
        padding: 6px;
    }
    .split .options .text {
        padding: 0 6px;
    }

.panel-section-footer-button {
    text-align: left;
    padding-left: 16px;
}
