diff options
| author | jpl | 2017-04-28 11:52:54 +0200 |
|---|---|---|
| committer | Xinhui | 2017-04-28 14:48:23 +0200 |
| commit | e408bcc3a5cb3ba13d51d5993cb77cccdaf669b5 (patch) | |
| tree | 12059615fc9c3ddb8b9cda737f68140b19b985c4 | |
| parent | fa4a372a0ef8b85bc4952a70cd8051392218f598 (diff) | |
| download | chouette-core-e408bcc3a5cb3ba13d51d5993cb77cccdaf669b5.tar.bz2 | |
Refs #3236: add styles to first step error system, for VJ
| -rw-r--r-- | app/assets/stylesheets/modules/_vj_collection.sass | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/assets/stylesheets/modules/_vj_collection.sass b/app/assets/stylesheets/modules/_vj_collection.sass index ea5f78b5a..50ad1cd54 100644 --- a/app/assets/stylesheets/modules/_vj_collection.sass +++ b/app/assets/stylesheets/modules/_vj_collection.sass @@ -78,3 +78,27 @@ &:after bottom: -6px + + // Errors + .table-2entries .t2e-item-list + .t2e-item + position: relative + + &.has-error + &:before + content: '' + position: absolute + top: 0 + left: 0 + right: 0 + bottom: 0 + z-index: 5 + border: 2px solid $red + + > .th + > div:first-child, > div:first-child + div + color: $red + + // Reset default behaviour + .form-control + border-color: #ccc |
