burningpony/phd_checker

View on GitHub
app/assets/stylesheets/essays.scss

Summary

Maintainability
Test Coverage
/*seems to be overlapping styling here with essay_fields, i ignore for now*/
.unmodified input{
    background-color: cyan;
    border: none;
}

.modified input{
  background-color: red;
  border: none;
}

/* styles for string diff */
del {
  background: #FFE6E6;
}
ins {
  background: #E6FFE6;
}

/* classes for result */
.result ol li{
  padding: 5px;
}
.status {
  padding-right: 10px;
  width: 80px;
}

.state_correct {
  background-color: yellow;
}

.state_modified {
  background-color: cyan;
}

.state_reverted {
  background-color: gray;
}

.state_no_change {
  background-color: tan;
}