aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-04-28 11:52:54 +0200
committerjpl2017-04-28 11:53:04 +0200
commitbbe7f01274815cc50e95282f33dcc04a706fd388 (patch)
tree964c9eb3aa3e6c469f218c6e07b4c6ece27251b7
parent25963e147673c465298fb0e15a3786993e5c70ee (diff)
downloadchouette-core-bbe7f01274815cc50e95282f33dcc04a706fd388.tar.bz2
Refs #3236: add styles to first step error system, for VJ
-rw-r--r--app/assets/stylesheets/modules/_vj_collection.sass24
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