<commit_before>to-do h1 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: .612em;
}

to-do form {
}

to-do button, to-do footer > label { cursor: pointer }

to-do button,
to-do form button[type=submit] {
  margin: 0;
  padding: 0;
  width: 10vw;
  height: 10vw;
  display: block;
  overflow: hidden;
  min-width: initial;
  border-radius: 10em;
  text-indent: -9999px;
}

to-do form
  > header {
    display: flex;
    background: red;
    margin-bottom: 1.612em;
    justify-content: stretch;
  }

to-do form
  > header input[required] {
    height: 10vw;
    font-size: 320%;
    flex-basis: 80vw;
    margin: 0 0 0 10vw; /* width of Add button */
  }

to-do form
  > header button[type=submit]
      { margin-left: 2vw }

to-do form > article {
  padding: 0;
  border: none;
  display: flex;
  flex-direction: row;

  line-height: 2em;
  background: rgba(230,230,230,.5);
// Flexbox bug for fieldset - https://stackoverflow.com/questions/28078681/why-cant-fieldset-be-flex-containers
}

to-do form
   > article input[type=checkbox]
       { display: none }

to-do form > article label {
  font-size: 320%;
  flex-basis: 80vw;
  text-align: center;
  display: inline-block;
  background: white;
  margin: 0 0 0 10vw; /* width of Add button */
}

to-do footer  {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

to-do footer header button { display: block }

to-do footer > label {
  flex: 1;
  margin: 0 2em;
  text-align: center;
  border-radius: 0.2em;
}

to-do input#all:checked
  ~ footer > label[for=all],

to-do input#active:checked
  ~ footer > label[for=active],

to-do input#completed:checked
  ~ footer > label[for=completed]
    { background: #ddd }
<commit_msg>✅ ✅ ✅ Add svg icon for article label background toggling green check<commit_after>to-do h1 {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: .612em;
}

to-do form {
}

to-do button, to-do footer > label { cursor: pointer }

to-do button,
to-do form button[type=submit] {
  margin: 0;
  padding: 0;
  width: 10vw;
  height: 10vw;
  display: block;
  overflow: hidden;
  min-width: initial;
  border-radius: 10em;
  text-indent: -9999px;
}

to-do form
  > header {
    display: flex;
    background: red;
    margin-bottom: 1.612em;
    justify-content: stretch;
  }

to-do form
  > header input[required] {
    height: 10vw;
    font-size: 320%;
    flex-basis: 80vw;
    margin: 0 0 0 10vw; /* width of Add button */
  }

to-do form
  > header button[type=submit]
      { margin-left: 2vw }

to-do form > article {
  padding: 0;
  border: none;
  display: flex;
  flex-direction: row;

  line-height: 2em;
  background: rgba(230,230,230,.5);
// Flexbox bug for fieldset - https://stackoverflow.com/questions/28078681/why-cant-fieldset-be-flex-containers
}

to-do form
   > article input[type=checkbox]
       { display: none }

to-do form > article label {
  font-size: 320%;
  flex-basis: 80vw;
  text-align: center;
  display: inline-block;
  line-height:  10vw;
  padding-left: 10vw; /* width of Add button */
}
to-do form > article input:checked ~ label {
  background: url(data:image/svg+xml;utf8;base64,<KEY>5LjE1MyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjI5LjE1MyAyMjkuMTUzOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTkyLjM1NiwyMjMuNTQ5YzcuNDEsNy41LDIzLjkxNCw1LjAxNCwyNS42OTEtNi43NzljMTEuMDU2LTczLjIxNyw2Ni4zNzgtMTM0Ljk4NSwxMDguMjQzLTE5My4xODkgICBDMjM3Ljg5OCw3LjQ1MiwyMTEuMjA3LTcuODcsMTk5Ljc1LDguMDY3QzE2MS40OTMsNjEuMjQ5LDExMy4yNzQsMTE3LjIxLDk0LjQxLDE4MS43NDQgICBjLTIxLjU1Ny0yMi4wMzEtNDMuMjAxLTQzLjg1My02Ny4zNzktNjMuMjEyYy0xNS4zMTItMTIuMjY1LTM3LjIxNSw5LjM0My0yMS43MzgsMjEuNzM3ICAgQzM2Ljc5NCwxNjUuNTAxLDY0LjAxNywxOTQuOTI0LDkyLjM1NiwyMjMuNTQ5eiIgZmlsbD0iIzkxREM1QSIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat 2.5vw center;
  background-size: 10%;
}


to-do footer  {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

to-do footer header button { display: block }

to-do footer > label {
  flex: 1;
  margin: 0 2em;
  text-align: center;
  border-radius: 0.2em;
}

to-do input#all:checked
  ~ footer > label[for=all],

to-do input#active:checked
  ~ footer > label[for=active],

to-do input#completed:checked
  ~ footer > label[for=completed]
    { background: #ddd }

{'fraction_non_alphanumeric': 0.11773940345368916, 'fraction_numerical': 0.0565149136577708, 'mean_word_length': 3.961067853170189, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 27, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '890685', 'n_tokens_mistral': 2176, 'n_tokens_neox': 1990, 'n_words': 355}