<commit_before>/* Forms
   ========================================================================== */

/* define consistent fieldset margin, border and padding */
fieldset {
    margin: 1em 0;
    border: 1px solid $color-border;
    padding: 1px 1em;
    min-width: 0; // address width being affected by wide descendants in Chrome and Firefox
}

/* remove padding so people aren't caught out if they zero out fieldsets */
legend {
    border: 0;
    padding: 0;
}

button,
input,
select,
optgroup,
textarea,
a.button,
span.button {
    @include box-sizing;

    /* correct font size not being inherited in all browsers */
    font-size: 100%;
    @include adjust-font-size-to(14px, 0.875);

    margin: 0; // address margins set differently in Firefox4+, Safari5+ and Chrome
    font-family: $font-sans-serif;
    vertical-align: baseline;
}

/* colour placeholder text */
input,
textarea {
    @include input-placeholder {
        color: $color-text-footnote;
    }
}

/* styling for placeholder polyfill fallback */
.placeholder {
    color: $color-text-footnote;
}

/* remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* remove inner padding and search cancel button in Safari5+ and Chrome on OS X */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input[type="color"],<commit_msg>Prevent form elements from spilling out of their parent<commit_after>/* Forms
   ========================================================================== */

/* define consistent fieldset margin, border and padding */
fieldset {
    margin: 1em 0;
    border: 1px solid $color-border;
    padding: 1px 1em;
    min-width: 0; // address width being affected by wide descendants in Chrome and Firefox
}

/* remove padding so people aren't caught out if they zero out fieldsets */
legend {
    border: 0;
    padding: 0;
}

button,
input,
select,
optgroup,
textarea,
a.button,
span.button {
    @include box-sizing;

    /* correct font size not being inherited in all browsers */
    font-size: 100%;
    @include adjust-font-size-to(14px, 0.875);

    margin: 0; // address margins set differently in Firefox4+, Safari5+ and Chrome
    max-width: 100%; // prevent elements from spilling out of their parent
    font-family: $font-sans-serif;
    vertical-align: baseline;
}

/* colour placeholder text */
input,
textarea {
    @include input-placeholder {
        color: $color-text-footnote;
    }
}

/* styling for placeholder polyfill fallback */
.placeholder {
    color: $color-text-footnote;
}

/* remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* remove inner padding and search cancel button in Safari5+ and Chrome on OS X */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input[type="color"],
{'fraction_non_alphanumeric': 0.16452780519907864, 'fraction_numerical': 0.01678183613030602, 'mean_word_length': 3.5170876671619613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3380759', 'n_tokens_mistral': 968, 'n_tokens_neox': 876, 'n_words': 293}