<commit_before>/** CORE **/

$printBaseFontSize: 12px;

* {
    float: none;
}

body {
    overflow: visible;
    background: none;
    .main {
        overflow: visible;
        margin: 0;
        padding: 0;
        article {
            padding: 3px;
        }
    }
    .paper {
        overflow: visible;
        border: none;
        margin: 0;
    }
}

.drawer,
#feedback-bar,
#dialog-alert,
#dialog-confirm,
#dialog-save,
#form-languages,
.form-header,
.form-logo,
.form-footer,
.or-appearance-no-print,
button,
.paper #submit-form {
    display: none !important;
}

.or {
    .hint,
    .or-appearance-no-print,
    .question:not(.or-appearance-maps) .map-canvas-wrapper,
    .geopoint .search-bar,
    .or-constraint-msg,
    .required-subtle,
    .add-on,
    .file-feedback,
    video,
    audio,
    button,
    .invalid-required .or-required-msg.active,
    .invalid-constraint .or-constraint-msg.active {
        display: none;
    }
    .or-branch.disabled {
        opacity: 1;
        display: block;
    }
    input[type="file"] {
        // still let it take up space
        visibility: hidden;
    }
}


// font sizes  & line heights
h3 {
    font-size: 1.6 * $printBaseFontSize;
}
h4 {
    font-size: 1.3 * $printBaseFontSize;
}
label, legend, .trigger, .note {
    font-size: $printBaseFontSize;
}
.question-label, .option-label, label.geo {
    font-size: $printBaseFontSize;
}
.question input:not([type=radio]):not([type=checkbox]) {
    font-size: $printBaseFontSize;
}


.or {
    h2, h3, h4, .required {
        color: black;
    }
    h3, h4 {
        margin: 0;
    }
    h3 {

    }
    .question {
        margin-bottom: 0;
    }
    legend {
        margin-bottom: 5px;
        ~ label {
            padding: 0;
        }
        span:not(.or-output) {
            display: block;
        }
    }
    .note, .trigger {
        font-weight: normal;
        background: none;
        color: black;
        padding: 5px 5px 12px 5px;
    }
    label {
        > span.or-hint.active {
            color: black;
            display: block;
        }
    }
    .required {
        float: right;<commit_msg>remove ad from preview, closes https://github.com/MartijnR/enketo/issues/308<commit_after>/** CORE **/

$printBaseFontSize: 12px;

* {
    float: none;
}

body {
    overflow: visible;
    background: none;
    .main {
        overflow: visible;
        margin: 0;
        padding: 0;
        article {
            padding: 3px;
        }
    }
    .paper {
        overflow: visible;
        border: none;
        margin: 0;
    }
}

.drawer,
#feedback-bar,
#dialog-alert,
#dialog-confirm,
#dialog-save,
#form-languages,
.form-header,
.form-logo,
.form-footer,
.or-appearance-no-print,
button,
.ad,
.paper #submit-form {
    display: none !important;
}

.or {
    .hint,
    .or-appearance-no-print,
    .question:not(.or-appearance-maps) .map-canvas-wrapper,
    .geopoint .search-bar,
    .or-constraint-msg,
    .required-subtle,
    .add-on,
    .file-feedback,
    video,
    audio,
    button,
    .invalid-required .or-required-msg.active,
    .invalid-constraint .or-constraint-msg.active {
        display: none;
    }
    .or-branch.disabled {
        opacity: 1;
        display: block;
    }
    input[type="file"] {
        // still let it take up space
        visibility: hidden;
    }
}

// font sizes  & line heights
h3 {
    font-size: 1.6 * $printBaseFontSize;
}

h4 {
    font-size: 1.3 * $printBaseFontSize;
}

label, legend, .trigger, .note {
    font-size: $printBaseFontSize;
}

.question-label, .option-label, label.geo {
    font-size: $printBaseFontSize;
}

.question input:not([type=radio]):not([type=checkbox]) {
    font-size: $printBaseFontSize;
}

.or {
    h2, h3, h4, .required {
        color: black;
    }
    h3, h4 {
        margin: 0;
    }
    h3 {}
    .question {
        margin-bottom: 0;
    }
    legend {
        margin-bottom: 5px;
        ~ label {
            padding: 0;
        }
        span:not(.or-output) {
            display: block;
        }
    }
    .note, .trigger {
        font-weight: normal;
        background: none;
        color: black;
        padding: 5px 5px 12px 5px;
    }
    label {
        > span.or-hint.active {
            color: black;
            display: block;
        }
    }
    .required {
        float: right;
{'fraction_non_alphanumeric': 0.1396583564173592, 'fraction_numerical': 0.013619575253924284, 'mean_word_length': 1.7406704617330804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '891837', 'n_tokens_mistral': 1566, 'n_tokens_neox': 1510, 'n_words': 307}