<commit_before>// ==========================================================================
// Groups
// ==========================================================================


.group {
    padding: 4px 8px;
    margin: 0 0 6px;
    background-color: rgba(233, 237, 240, 0.8);
    background-color: #e9edf0;
    border: 1px solid #c3cfd8;
    font-size: 13px;

    // make space for the .btn--addrow on the left
    .card, .row__questiontypes {
        margin-left: 0px;
    }

    > .card__settings {
        background-color: transparent;
        &:after {
            border-bottom-color: #E9EDF0;
        }
        &:before {
            border-width: 11px;
            margin-left: -11px;
        }
    }
    // settings wider than card in groups, EXPERIMENTAL
    // .survey__row .card__settings {
    //     margin-left: -20px;
    //     margin-right: -8px;
    //     border-right-width: 1px;
    //     border-left-width: 1px;
    // }
}

.group__name {
    font-weight: 600;
}

.group__header {
    border-bottom: 1px solid #ddd;
    position: relative;
    margin: -4px -8px 0;
    padding: 12px;
    min-height: 50px;
    .group__label {
        font-size: 16px;
        font-weight: 600;
    }
    input {
        width: 94%;
        font-weight: normal;
        display: inline;
        border: none;
        border-radius: none;
        background: none;
        font-size: 16px;
        font-weight: 600;
        padding:0px;
        height: auto;
        vertical-align: inherit;
    }
}

.group__rows {
    margin-top: 6px;
}

.group__header__buttons {
    border: $cardBorderStyle;
    border-width: 0 0 0 2px;
    position: absolute;
    top: 0px;
    right: 2px;
    width: 26px;
    height: 100%;
    cursor: pointer;
}

.group__header__buttons__button {
    display: block;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    width: 26px;
    text-align: center;

    &.gray {
        color: #858F98;
    }
    &.red {
        color: #D08B8C;
    }
    &.activated {
        color: #646D75;
        background-color: #D9DDE1;
    }
}




// Overrides
// --------------------------------------------------------------------------

.group {
    // .group__settings displayed only in .group--expanded-settings
    > .card__settings {
        display: none;
    }
    &.group--expanded-settings {
        > .card__settings {
            display: block;
        }
        > .group__header > .group__header__buttons > .group__header__buttons__button--settings {
            @extend %activated-card-button;
        }
    }
}

// when inside .group--shrunk, .group__caret is displayed differently
// when inside .group--shrunk, .group__rows is smaller, .survey__rows are hidden
.group__caret {
    cursor: pointer;
    color: #8595a6;
    @extend %caret-down;
}
.group--shrunk {
    .group__caret {
        @extend %caret-right;
    }
    .group__rows {
        margin-bottom: 4px;
        border: 1px solid #c3cfd8;
        border-width: 1px 0 0;
    }
    .survey__row {
        display: none;
    }
}

.group__rows .group {
    background: #CBD3D9;
}<commit_msg>=fix for #972 - settings box in groups doesnt use full width<commit_after>// ==========================================================================
// Groups
// ==========================================================================


.group {
    padding: 4px 8px;
    margin: 0 0 6px;
    background-color: rgba(233, 237, 240, 0.8);
    background-color: #e9edf0;
    border: 1px solid #c3cfd8;
    font-size: 13px;

    // make space for the .btn--addrow on the left
    .card, .row__questiontypes {
        margin-left: 0px;
    }
}

.group__name {
    font-weight: 600;
}

.group__header {
    border-bottom: 1px solid #ddd;
    position: relative;
    margin: -4px -8px 0;
    padding: 12px;
    min-height: 50px;
    .group__label {
        font-size: 16px;
        font-weight: 600;
    }
    input {
        width: 94%;
        font-weight: normal;
        display: inline;
        border: none;
        border-radius: none;
        background: none;
        font-size: 16px;
        font-weight: 600;
        padding:0px;
        height: auto;
        vertical-align: inherit;
    }
}

.group__rows {
    margin-top: 6px;
}

.group__header__buttons {
    border: $cardBorderStyle;
    border-width: 0 0 0 2px;
    position: absolute;
    top: 0px;
    right: 2px;
    width: 26px;
    height: 100%;
    cursor: pointer;
}

.group__header__buttons__button {
    display: block;
    font-size: 13px;
    height: 22px;
    line-height: 22px;
    width: 26px;
    text-align: center;

    &.gray {
        color: #858F98;
    }
    &.red {
        color: #D08B8C;
    }
    &.activated {
        color: #646D75;
        background-color: #D9DDE1;
    }
}




// Overrides
// --------------------------------------------------------------------------

.group {
    // .group__settings displayed only in .group--expanded-settings
    > .card__settings {
        display: none;
    }
    &.group--expanded-settings {
        background: #D2D7DC;
        padding:4px 0px;
        padding-bottom: 0px;
        > .card__settings {
            display: block;
            background-color: transparent;
            border:none;
            &:after {
                content: "";
                border:none;
            }
            &:before {
                content: "";
                border:none;
            }
        }
        .group__rows {
            display: none;
        }
        .group__header {
            border-bottom-color: #AAB3BC;
            margin:-4px 0px 0px;
        }
        .card__settings__content, 
        .group__header__buttons {
            border-left-color: #AAB3BC;
        }
        .card__settings__tabs .heading {
            border-bottom: none;
            margin-bottom: 0px;
        }
        .card__settings__tabs li.card__settings__tabs__tab--active {
            background: #AAB3BC;
        }
        .group__header__buttons__button--settings {
            color: white;
            background: none;
        }
    }

}

// when inside .group--shrunk, .group__caret is displayed differently
// when inside .group--shrunk, .group__rows is smaller, .survey__rows are hidden
.group__caret {
    cursor: pointer;
    color: #8595a6;
    @extend %caret-down;
}
.group--shrunk {
    .group__caret {
        @extend %caret-right;
    }
    .group__rows {
        margin-bottom: 4px;
        border: 1px solid #c3cfd8;
        border-width: 1px 0 0;
    }
    .survey__row {
        display: none;
    }
}

.group__rows .group {
    background: #CBD3D9;
}
{'fraction_non_alphanumeric': 0.17698713096139287, 'fraction_numerical': 0.033308099924299776, 'mean_word_length': 1.7040523945968071, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5625471', 'n_tokens_mistral': 2297, 'n_tokens_neox': 2085, 'n_words': 458}