<commit_before>/* TODO remove when done debugging*/
body {
    font-size: 24px;
}

#debug-log {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .7;
    width: 100%;
    background: blanchedalmond;
    word-break: break-all;
}

.hide {
    display: none;
}
#toggle-debug-log {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
    width: inherit;
    z-index: 10;
    height: 60px;
}

#field {
    background: antiquewhite;
}

.pin {
    width: 70%;
    height: 150px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin: 50px inherit;
}
.pin.sensor {
    margin-left: 5%;
    margin-right: 25%;
}
.pin.actuator {
    margin-left: 25%;
    margin-right: 5%;
}

.pin-box {
    position: relative;
    height: 100%;
    background: rgb(107,48,0);
    width: 90%;
}
.actuator .pin-box {
    float: right;
    text-align: right;
}

.pin-label {
    position: absolute;
    top: 5%;
    z-index: 5;
    color: black;
    text-shadow: none;
}
.sensor .pin-label {
    left: 4px;
}
.actuator .pin-label {
    right: 4px;
}

.pin-value-container {
    height: 90%;
    position: absolute;
    top: 5%;
    z-index: 0;
    width: 65%;
    background-color: rgba(245, 245, 245, .2);
}
.sensor .pin-value-container {
    left: 2px;
}
.actuator .pin-value-container {
    right: 2px;
}

.pin-value {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background: blueviolet;
}
.analog .pin-value {
    transition: height 5s;
    -webkit-transition: height 5s;
    -moz-transition: height 5s;
    -o-transition: height 5s;
}

.pin-port {
    position: absolute;
    top: 50%;
    height: 140px;
    width: 140px;
    margin-top: -70px;
    z-index: 5;
}
.sensor .pin-port {
    right: -70px;
}
.actuator .pin-port {
    left: -70px;
}

.endpoint {
    width: 100px;
    height: 100px;
    border-width: 20px;
    border-style: solid;
    border-radius: 70px;
}
.sensor .endpoint {
    border-color: rgb(0, 102, 24);
    background: rgb(232, 189, 0);
}
.actuator .endpoint {
    border-color: rgb(232, 52, 8);
    background: antiquewhite;
}
.sensor.activated .endpoint {
    background: rgb(250, 250, 60);
}
.actuator.activated .endpoint,
.actuator.activated.connected .endpoint {
    background: rgb(250, 250, 60);
}
.actuator.connected .endpoint {
    background: rgb(232, 189, 0);
}


.settings {
    position: fixed;
    width: 90%;
    height: 94%;
    top: 3%;
    left: 5%;
    z-index: 10;
    background: rgb(224, 153, 87);
}
.settings-inner {
    position: relative;
    width: 100%;
    height: 100%;
}
.settings-inner .pin-label {
    position: absolute;
    top: 75px;
    left: 0;
    width: 87%;
    height: 30px;
    line-height: 1em;
    padding: .3em 1%;
    margin-left: 5%;
    border-width: 0;
    background: rgb(245, 191, 141);
}
.settings-inner .pin-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 30px;
    padding-top: 15px;
    padding-bottom: 15px
    line-height: 1em;
    text-align: center;
    line-height: 1em;
    color: rgb(240, 218, 191);
}
.settings-inner .exit {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.3%;
    height: 30px;
    text-align: center;
    line-height: 1em;
    color: green;
    padding-top: 15px;
    padding-bottom: 15px;
    background: rgb(86, 199, 86);
}
/* TODO use javascript to make this look ok */
.settings-inner .sensitivity {
    -webkit-appearance: none;<commit_msg>bigger hit target to close settings window<commit_after>/* TODO remove when done debugging*/
body {
    font-size: 24px;
}

#debug-log {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .7;
    width: 100%;
    background: blanchedalmond;
    word-break: break-all;
}

.hide {
    display: none;
}
#toggle-debug-log {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    border-width: 0;
    width: inherit;
    z-index: 10;
    height: 60px;
}

#field {
    background: antiquewhite;
}

.pin {
    width: 70%;
    height: 150px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin: 50px inherit;
}
.pin.sensor {
    margin-left: 5%;
    margin-right: 25%;
}
.pin.actuator {
    margin-left: 25%;
    margin-right: 5%;
}

.pin-box {
    position: relative;
    height: 100%;
    background: rgb(107,48,0);
    width: 90%;
}
.actuator .pin-box {
    float: right;
    text-align: right;
}

.pin-label {
    position: absolute;
    top: 5%;
    z-index: 5;
    color: black;
    text-shadow: none;
}
.sensor .pin-label {
    left: 4px;
}
.actuator .pin-label {
    right: 4px;
}

.pin-value-container {
    height: 90%;
    position: absolute;
    top: 5%;
    z-index: 0;
    width: 65%;
    background-color: rgba(245, 245, 245, .2);
}
.sensor .pin-value-container {
    left: 2px;
}
.actuator .pin-value-container {
    right: 2px;
}

.pin-value {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    background: blueviolet;
}
.analog .pin-value {
    transition: height 5s;
    -webkit-transition: height 5s;
    -moz-transition: height 5s;
    -o-transition: height 5s;
}

.pin-port {
    position: absolute;
    top: 50%;
    height: 140px;
    width: 140px;
    margin-top: -70px;
    z-index: 5;
}
.sensor .pin-port {
    right: -70px;
}
.actuator .pin-port {
    left: -70px;
}

.endpoint {
    width: 100px;
    height: 100px;
    border-width: 20px;
    border-style: solid;
    border-radius: 70px;
}
.sensor .endpoint {
    border-color: rgb(0, 102, 24);
    background: rgb(232, 189, 0);
}
.actuator .endpoint {
    border-color: rgb(232, 52, 8);
    background: antiquewhite;
}
.sensor.activated .endpoint {
    background: rgb(250, 250, 60);
}
.actuator.activated .endpoint,
.actuator.activated.connected .endpoint {
    background: rgb(250, 250, 60);
}
.actuator.connected .endpoint {
    background: rgb(232, 189, 0);
}


.settings {
    position: fixed;
    width: 90%;
    height: 94%;
    top: 3%;
    left: 5%;
    z-index: 10;
    background: rgb(224, 153, 87);
}
.settings-inner {
    position: relative;
    width: 100%;
    height: 100%;
}
.settings-inner .pin-label {
    position: absolute;
    top: 56px;
    left: 0;
    width: 60%;
    height: 30px;
    line-height: 1em;
    padding: .3em 1%;
    margin-left: 2%;
    border-width: 0;
    background: rgb(245, 191, 141);
}
.settings-inner .pin-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 30px;
    padding-top: 15px;
    padding-bottom: 15px
    line-height: 1em;
    text-align: center;
    line-height: 1em;
    color: rgb(240, 218, 191);
}
.settings-inner .exit {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.3%;
    height: 30px;
    text-align: center;
    line-height: 1em;
    color: green;
    padding: 35px 0;
    background: rgb(86, 199, 86);
}
/* TODO use javascript to make this look ok */
.settings-inner .sensitivity {
    -webkit-appearance: none;
{'fraction_non_alphanumeric': 0.15127503241607837, 'fraction_numerical': 0.06497622820919176, 'mean_word_length': 2.353623188405797, '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': '3904343', 'n_tokens_mistral': 3065, 'n_tokens_neox': 2604, 'n_words': 678}