<commit_before>@import "mixins.scss";

$black: #333;
$grey: #777;
$darkgrey: #555;
$green: #58b69b;

@keyframes messageAppearLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
}

@keyframes messageAppearRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
}

*, :before, :after {
    box-sizing: inherit;
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    
    max-width: 100%;
    
    background-repeat: no-repeat;
    background-position: center;
    
    transition-duration: .3s;
}

body {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    background-color: $green;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

input, textarea, button {
    border: none;
}

button {
    cursor: pointer;
}

.showonlogin {
    display: none;
    
    &.visible {
        display: block;
    }
}

.notouch {
    pointer-events: none;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: rgba(127, 127, 127, .3);
    margin: 20px 0;
}

aside {
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    padding: 0 20px;
    background-color: $black;
    color: #fff;
    z-index: 1;
    
    label {
        position: relative;
        
        input {
            background: none;
            display: block;
            margin: 10px 0;
            padding: 10px 0;
            
            &:focus, &:valid, &[readonly] {
                + div {
                    transform: scale(0.5) translateY(-35px);
                }
            }
        }
        
        div {
            position: absolute;
            left: 0;
            top: 0;
            margin-top: -50px;
            pointer-events: none;
            color: $grey;
        }
    }
    
    header {
        padding: 20px;
    }
    
    .logo {
        color: $green;
        font-size: 2.5em;
        font-weight: 700;
        position: relative;
        padding-left: 30px;
        
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 50px;
            height: 100%;
            margin-left: -20px;
            background-image: url(img/icon.svg);
            background-size: 1em;
        }
    }
    
    form {
        font-size: 1.5em;
    }
    
    button {
        font-size: 0.7em;
        background: rgba(127, 127, 127, .2);
        border-radius: 4px;
        padding: 10px 15px;
    }
    
    ol, ul {
        list-style: none;
        
        li {
            display: block;
            padding: 5px 0;
            
            &.user-self {
                font-weight: 700;
            }
        }
    }
    
    h2 {
        color: rgba(255, 255, 255, .8);
        margin-bottom: 10px;
    }
}

.sendbar {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: calc(100% - 250px);
    height: 70px;
    background-color: $green;
    
    &.float {
        box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.16), 0 -3px 6px rgba(0, 0, 0, 0.23);
    }
}

.sendbar_compose_input {
    min-height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    margin: 10px;
    
    background-color: #fff;
    color: $black;
    padding: 10px;
    
    @include material-shadow(1);
    
    &:empty:before {
        content: attr(placeholder);
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
        color: $grey;
        pointer-events: none;
    }
}

.messages {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 250px);
    height: calc(100% - 70px);
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.message {
    margin: 10px;
    clear: both;
    word-wrap: break-word;
    position: relative;<commit_msg>Increase shadow of compose box on focus<commit_after>@import "mixins.scss";

$black: #333;
$grey: #777;
$darkgrey: #555;
$green: #58b69b;

@keyframes messageAppearLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
}

@keyframes messageAppearRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
}

*, :before, :after {
    box-sizing: inherit;
    font: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    
    max-width: 100%;
    
    background-repeat: no-repeat;
    background-position: center;
    
    transition-duration: .3s;
}

body {
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    background-color: $green;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

input, textarea, button {
    border: none;
}

button {
    cursor: pointer;
}

.showonlogin {
    display: none;
    
    &.visible {
        display: block;
    }
}

.notouch {
    pointer-events: none;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: rgba(127, 127, 127, .3);
    margin: 20px 0;
}

aside {
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    padding: 0 20px;
    background-color: $black;
    color: #fff;
    z-index: 1;
    
    label {
        position: relative;
        
        input {
            background: none;
            display: block;
            margin: 10px 0;
            padding: 10px 0;
            
            &:focus, &:valid, &[readonly] {
                + div {
                    transform: scale(0.5) translateY(-35px);
                }
            }
        }
        
        div {
            position: absolute;
            left: 0;
            top: 0;
            margin-top: -50px;
            pointer-events: none;
            color: $grey;
        }
    }
    
    header {
        padding: 20px;
    }
    
    .logo {
        color: $green;
        font-size: 2.5em;
        font-weight: 700;
        position: relative;
        padding-left: 30px;
        
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 50px;
            height: 100%;
            margin-left: -20px;
            background-image: url(img/icon.svg);
            background-size: 1em;
        }
    }
    
    form {
        font-size: 1.5em;
    }
    
    button {
        font-size: 0.7em;
        background: rgba(127, 127, 127, .2);
        border-radius: 4px;
        padding: 10px 15px;
    }
    
    ol, ul {
        list-style: none;
        
        li {
            display: block;
            padding: 5px 0;
            
            &.user-self {
                font-weight: 700;
            }
        }
    }
    
    h2 {
        color: rgba(255, 255, 255, .8);
        margin-bottom: 10px;
    }
}

.sendbar {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: calc(100% - 250px);
    height: 70px;
    background-color: $green;
    
    &.float {
        box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.16), 0 -3px 6px rgba(0, 0, 0, 0.23);
    }
}

.sendbar_compose_input {
    min-height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    margin: 10px;
    
    background-color: #fff;
    color: $black;
    padding: 10px;
    transition-property: box-shadow;
    
    @include material-shadow(1);
    
    &:focus {
        @include material-shadow(2);
    }
    
    &:empty:before {
        content: attr(placeholder);
        position: absolute;
        top: 0;
        left: 0;
        margin: 10px;
        color: $grey;
        pointer-events: none;
    }
}

.messages {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 250px);
    height: calc(100% - 70px);
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.message {
    margin: 10px;
    clear: both;
    word-wrap: break-word;
    position: relative;
{'fraction_non_alphanumeric': 0.12526699334087196, 'fraction_numerical': 0.04736775976881518, 'mean_word_length': 1.4268292682926829, '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': '4375443', 'n_tokens_mistral': 3039, 'n_tokens_neox': 2683, 'n_words': 634}