<commit_before>@import (reference) "./colortheme-all.less";
@import (reference) "./avatar.less";

.notifications_main() {
    --LessLoader_require: LessLoader_currentFile();
}
& {
    @notif-height: 50px;
    .cp-notifications-container {
        max-width: 300px;
        width: 300px;
        display: flex;
        flex-flow: column;
        & hr {
            margin: 0px !important;
        }
        .cp-notification {
            min-height: @notif-height;
            display: flex;
            .cp-broadcast {
                display: flex;
                font-size: 30px;
                align-items: center;
                padding: 0 5px;
                color: @cp_dropdown-fg;
                &.preview {
                    color: red; // XXX
                }
            }
            .cp-avatar {
                .avatar_main(30px);
                padding: 0 5px;
                cursor: pointer;
                &:hover {
                    background-color: @cp_dropdown-bg-hover;
                }
            }
            .cp-notification-content {
                flex: 1;
                align-items: stretch;
                min-width: 0;
                p {
                    word-break: break-word;
                }
                &.cp-clickable {
                    cursor: pointer;
                    &:hover {
                        background-color: @cp_dropdown-bg-hover;
                    }
                }
            }
            .cp-notification-dismiss {
                color: @cp_dropdown-fg;
                width: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                &:hover {
                    background-color: @cp_dropdown-bg-hover;
                }
            }
        }
    }
    .cp-notifications-gotoapp {
        p {
            padding: 10px 0 !important;
            text-align: center !important;
            font-weight: bold;
            cursor: pointer;
            &:hover {
                background-color: @cp_dropdown-bg-hover;
            }
        }
    }
    .cp-notifications-requestedit-verified {
        display: flex;
        align-items: center;
        &> span.cp-avatar {
            .avatar_main(30px);
        }
        &> span {
            margin-right: 10px;
        }
        &> p {
            margin: 0;
        }
    }
}


<commit_msg>Use existing red for preview notifications<commit_after>@import (reference) "./colortheme-all.less";
@import (reference) "./avatar.less";

.notifications_main() {
    --LessLoader_require: LessLoader_currentFile();
}
& {
    @notif-height: 50px;
    .cp-notifications-container {
        max-width: 300px;
        width: 300px;
        display: flex;
        flex-flow: column;
        & hr {
            margin: 0px !important;
        }
        .cp-notification {
            min-height: @notif-height;
            display: flex;
            .cp-broadcast {
                display: flex;
                font-size: 30px;
                align-items: center;
                padding: 0 5px;
                color: @cp_dropdown-fg;
                &.preview {
                    color: @cryptpad_color_red;
                }
            }
            .cp-avatar {
                .avatar_main(30px);
                padding: 0 5px;
                cursor: pointer;
                &:hover {
                    background-color: @cp_dropdown-bg-hover;
                }
            }
            .cp-notification-content {
                flex: 1;
                align-items: stretch;
                min-width: 0;
                p {
                    word-break: break-word;
                }
                &.cp-clickable {
                    cursor: pointer;
                    &:hover {
                        background-color: @cp_dropdown-bg-hover;
                    }
                }
            }
            .cp-notification-dismiss {
                color: @cp_dropdown-fg;
                width: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                &:hover {
                    background-color: @cp_dropdown-bg-hover;
                }
            }
        }
    }
    .cp-notifications-gotoapp {
        p {
            padding: 10px 0 !important;
            text-align: center !important;
            font-weight: bold;
            cursor: pointer;
            &:hover {
                background-color: @cp_dropdown-bg-hover;
            }
        }
    }
    .cp-notifications-requestedit-verified {
        display: flex;
        align-items: center;
        &> span.cp-avatar {
            .avatar_main(30px);
        }
        &> span {
            margin-right: 10px;
        }
        &> p {
            margin: 0;
        }
    }
}



{'fraction_non_alphanumeric': 0.10117599351175993, 'fraction_numerical': 0.011759935117599351, 'mean_word_length': 0.9421259842519685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6434031', 'n_tokens_mistral': 1418, 'n_tokens_neox': 1290, 'n_words': 236}