<commit_before>// Copyright (C) 2010 Orbeon, Inc.
//
// This program is free software; you can redistribute it and/or modify it under the terms of the
// GNU Lesser General Public License as published by the Free Software Foundation; either version
// 2.1 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// The full text of the license is available at http://www.gnu.org/copyleft/lesser.html

@import (reference)  "../../../apps/fr/style/form-runner-common";

.orbeon {
    .xbl-fr-section {

        display: block;

        padding-top: 20px;   // Spacing between section, so the new section doesn't start right after the previous grid
        padding-bottom: 4px; // In Form Builder, when sections are collapsed, some spacing is helpful

        &:first-of-type {
            padding-top: 0;
        }
        &:last-of-type {
            padding-bottom: 0;
        }

        h2, h3, h4, h5, h6 {
            &.fr-section-title {
                #gradient > .vertical(@grayLighter, @grayLighter);
                margin: 0;
                font-weight: normal;
                padding: 0;
                color: @frHeaderColor;
                font-size: @frSectionTitleHeight;
                line-height: @frSectionTitleLineHeight;
            }
        }

        .fr-section-title {
            .xforms-help {
                float: left;                       // Help on the same line as section title in display: block
                margin-top: (@frSectionTitleLineHeight - @frGridPlusMinusIconWidth) / 2;    // To make it vertically centered
                margin-right: 5px;                 // Space between help icon and section title

                .help-icon();
                margin-bottom: -1px;               // as `.help-icon()` sets a different margin
            }
        }

        .fr-section-open-close img { margin-right: 0 }
        .fr-section-open-close {
            // Padding is designed to make the <a> box around the section open/close images a square
            padding: 0 7px 0 7px;
        }

        .fr-section-content {
            display: block;
            padding-left:  @frSectionTitleLeftPadding - @frGridCellPadding; // To be aligned with the start of the text of the titles
            padding-right: @frSectionTitleLeftPadding - @frGridCellPadding; // To have the same margin on both side, especially visible with tables
            padding-top: 10px;                                              // At the top/bottom of a section, less space
            padding-bottom: 10px;
        }

        background-color: white;

        .fr-section-title {
<commit_msg>More cosmetic help icon adjustements<commit_after>// Copyright (C) 2010 Orbeon, Inc.
//
// This program is free software; you can redistribute it and/or modify it under the terms of the
// GNU Lesser General Public License as published by the Free Software Foundation; either version
// 2.1 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// The full text of the license is available at http://www.gnu.org/copyleft/lesser.html

@import (reference)  "../../../apps/fr/style/form-runner-common";

.orbeon {
    .xbl-fr-section {

        display: block;

        padding-top: 20px;   // Spacing between section, so the new section doesn't start right after the previous grid
        padding-bottom: 4px; // In Form Builder, when sections are collapsed, some spacing is helpful

        &:first-of-type {
            padding-top: 0;
        }
        &:last-of-type {
            padding-bottom: 0;
        }

        h2, h3, h4, h5, h6 {
            &.fr-section-title {
                #gradient > .vertical(@grayLighter, @grayLighter);
                margin: 0;
                font-weight: normal;
                padding: 0;
                color: @frHeaderColor;
                font-size: @frSectionTitleHeight;
                line-height: @frSectionTitleLineHeight;
            }
        }

        .fr-section-title {
            .xforms-help:not(:empty) {
                float: left;                       // Help on the same line as section title in display: block
                margin-top: (@frSectionTitleLineHeight - @frGridPlusMinusIconWidth) / 2;    // To make it vertically centered
                margin-right: 5px;                 // Space between help icon and section title

                .help-icon();
                margin-bottom: -1px;               // as `.help-icon()` sets a different margin
            }
        }

        .fr-section-open-close img { margin-right: 0 }
        .fr-section-open-close {
            // Padding is designed to make the <a> box around the section open/close images a square
            padding: 0 7px 0 7px;
        }

        .fr-section-content {
            display: block;
            padding-left:  @frSectionTitleLeftPadding - @frGridCellPadding; // To be aligned with the start of the text of the titles
            padding-right: @frSectionTitleLeftPadding - @frGridCellPadding; // To have the same margin on both side, especially visible with tables
            padding-top: 10px;                                              // At the top/bottom of a section, less space
            padding-bottom: 10px;
        }

        background-color: white;

        .fr-section-title {

{'fraction_non_alphanumeric': 0.08938740293356341, 'fraction_numerical': 0.010353753235547885, 'mean_word_length': 1.727529411764706, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2013942', 'n_tokens_mistral': 1560, 'n_tokens_neox': 1456, 'n_words': 554}