<commit_before>/* DuiDialogStyle : DuiSceneWindowStyle */
DuiDialogStyle {

    show-animation: "DuiWidgetSlideInAnimation";
    hide-animation: "DuiWidgetSlideOutAnimation";

    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;

    vertical-align: center;
    horizontal-align: center;

    minimum-size: 100% 100%;
    preferred-size: 100% 100%;
    maximum-size: 100% 100%;

    vertical-spacing: $PADDING_XLARGE;
    button-spacing: $PADDING_DEFAULT;

    title-bar-height: 5.2mm;

    /* supports only "bottom" or "center" */
    dialog-vertical-alignment: bottom;

    dialog-top-margin: $HEIGHT_TOPBARS;
    dialog-bottom-margin: 0;
    dialog-left-margin: $MARGIN_LARGE;
    dialog-right-margin: $MARGIN_LARGE;

    dialog-minimum-size: 1mm 1mm;
    dialog-preferred-size: 100% -1;
}

/* Animations */
DuiDialog DuiWidgetSlideInAnimationStyle {
    from: "bottom";
    duration: 300;
}

DuiDialog DuiWidgetSlideOutAnimationStyle {
    to: "bottom";
    duration: 300;
}

DuiDialogStyle.Landscape {
    button-box-orientation: horizontal;
}

DuiDialogStyle.Portrait {
    button-box-orientation: vertical;
}

#DuiDialogContentsViewport {
    /* inherited from DuiWidgetStyle */

    /* let the viewport grow along with its panned widget  */
    preferred-size: -1 -1;

    /* TODO: replace with some proper value */
    background-image: "duidialog-background" 0px 0px 4px 0px;
    background-color: #575252;

    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: $PADDING_MEDIUM;
    padding-right: $PADDING_MEDIUM;
    padding-top: $PADDING_MEDIUM;
    padding-bottom: $PADDING_MEDIUM;

}

DuiPannableWidgetStyle[titlebarless]#DuiDialogContentsViewport {
    background-image: "duidialog-query-background" 14px 14px 14px 14px;
}


DuiButtonStyle[first].Landscape {
    margin-right: 0;
    background-image: "duidialog-left-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Landscape {
   margin-left: 0;
   margin-right: 0;
   background-image: "duidialog-center-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Landscape {
   margin-left: 0;
   background-image: "duidialog-right-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Landscape {
   background-image: "duidialog-single-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[first].Portrait {
   margin-bottom: 0;
   background-image: "duidialog-top-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Portrait {
   margin-top: 0;
   margin-bottom: 0;
   background-image: "duidialog-middle-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Portrait {
   margin-top: 0;
   background-image: "duidialog-bottom-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Portrait {
   background-image: "duidialog-top-button-background" 14px 14px 14px 14px;
}


DuiButtonStyle[first].Landscape:pressed {
    background-image: "duidialog-left-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Landscape:pressed {
   background-image: "duidialog-center-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Landscape:pressed {
   background-image: "duidialog-right-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Landscape:pressed {
   background-image: "duidialog-single-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[first].Portrait:pressed {
   background-image: "duidialog-top-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Portrait:pressed {
   background-image: "duidialog-middle-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Portrait:pressed {
   background-image: "duidialog-bottom-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Portrait:pressed {
   background-image: "duidialog-top-button-background-pressed" 14px 14px 14px 14px;
}


#DuiDialogCloseButton {
    icon-size: $SIZE_ICON_SMALL $SIZE_ICON_SMALL;
    preferred-size: 5.2mm 5.2mm;
    minimum-size: 5.2mm 5.2mm;
    maximum-size: 5.2mm 5.2mm;
                                                        
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    
    reactive-margin-left: 2mm;   
    reactive-margin-top: 2mm;
    reactive-margin-bottom: 2mm;
}

#DuiDialogTitleLabel {
    margin-left: $MARGIN_XLARGE;
    margin-right: $MARGIN_XLARGE;
    color: $COLOR_FOREGROUND;
    font: $FONT_DEFAULT;
}

#DuiDialogTitleBar {
    background-image: "duidialog-header-background" 14px 14px 14px 14px;
    background-color: #818080;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}
<commit_msg>Changes: Fixed dialog header text color from dark to light RevBy: JaniYlinen<commit_after>/* DuiDialogStyle : DuiSceneWindowStyle */
DuiDialogStyle {

    show-animation: "DuiWidgetSlideInAnimation";
    hide-animation: "DuiWidgetSlideOutAnimation";

    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;

    vertical-align: center;
    horizontal-align: center;

    minimum-size: 100% 100%;
    preferred-size: 100% 100%;
    maximum-size: 100% 100%;

    vertical-spacing: $PADDING_XLARGE;
    button-spacing: $PADDING_DEFAULT;

    title-bar-height: 5.2mm;

    /* supports only "bottom" or "center" */
    dialog-vertical-alignment: bottom;

    dialog-top-margin: $HEIGHT_TOPBARS;
    dialog-bottom-margin: 0;
    dialog-left-margin: $MARGIN_LARGE;
    dialog-right-margin: $MARGIN_LARGE;

    dialog-minimum-size: 1mm 1mm;
    dialog-preferred-size: 100% -1;
}

/* Animations */
DuiDialog DuiWidgetSlideInAnimationStyle {
    from: "bottom";
    duration: 300;
}

DuiDialog DuiWidgetSlideOutAnimationStyle {
    to: "bottom";
    duration: 300;
}

DuiDialogStyle.Landscape {
    button-box-orientation: horizontal;
}

DuiDialogStyle.Portrait {
    button-box-orientation: vertical;
}

#DuiDialogContentsViewport {
    /* inherited from DuiWidgetStyle */

    /* let the viewport grow along with its panned widget  */
    preferred-size: -1 -1;

    /* TODO: replace with some proper value */
    background-image: "duidialog-background" 0px 0px 4px 0px;
    background-color: #575252;

    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: $PADDING_MEDIUM;
    padding-right: $PADDING_MEDIUM;
    padding-top: $PADDING_MEDIUM;
    padding-bottom: $PADDING_MEDIUM;

}

DuiPannableWidgetStyle[titlebarless]#DuiDialogContentsViewport {
    background-image: "duidialog-query-background" 14px 14px 14px 14px;
}


DuiButtonStyle[first].Landscape {
    margin-right: 0;
    background-image: "duidialog-left-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Landscape {
   margin-left: 0;
   margin-right: 0;
   background-image: "duidialog-center-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Landscape {
   margin-left: 0;
   background-image: "duidialog-right-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Landscape {
   background-image: "duidialog-single-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[first].Portrait {
   margin-bottom: 0;
   background-image: "duidialog-top-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Portrait {
   margin-top: 0;
   margin-bottom: 0;
   background-image: "duidialog-middle-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Portrait {
   margin-top: 0;
   background-image: "duidialog-bottom-button-background" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Portrait {
   background-image: "duidialog-top-button-background" 14px 14px 14px 14px;
}


DuiButtonStyle[first].Landscape:pressed {
    background-image: "duidialog-left-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Landscape:pressed {
   background-image: "duidialog-center-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Landscape:pressed {
   background-image: "duidialog-right-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Landscape:pressed {
   background-image: "duidialog-single-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[first].Portrait:pressed {
   background-image: "duidialog-top-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[middle].Portrait:pressed {
   background-image: "duidialog-middle-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[last].Portrait:pressed {
   background-image: "duidialog-bottom-button-background-pressed" 14px 14px 14px 14px;
}

DuiButtonStyle[single].Portrait:pressed {
   background-image: "duidialog-top-button-background-pressed" 14px 14px 14px 14px;
}


#DuiDialogCloseButton {
    icon-size: $SIZE_ICON_SMALL $SIZE_ICON_SMALL;
    preferred-size: 5.2mm 5.2mm;
    minimum-size: 5.2mm 5.2mm;
    maximum-size: 5.2mm 5.2mm;
                                                        
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;

    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    
    reactive-margin-left: 2mm;   
    reactive-margin-top: 2mm;
    reactive-margin-bottom: 2mm;
}

#DuiDialogTitleLabel {
    margin-left: $MARGIN_XLARGE;
    margin-right: $MARGIN_XLARGE;
    color: $COLOR_INVERTED_FOREGROUND;
    font: $FONT_DEFAULT;
}

#DuiDialogTitleBar {
    background-image: "duidialog-header-background" 14px 14px 14px 14px;
    background-color: #818080;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

{'fraction_non_alphanumeric': 0.11658556366585564, 'fraction_numerical': 0.049067315490673155, 'mean_word_length': 3.618445692883895, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7473701', 'n_tokens_mistral': 3968, 'n_tokens_neox': 3448, 'n_words': 661}