Commit bc1a34f4 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Kazuhiko Shiozaki

erp5_json_editor: Highlight invalid feedback

parent c6c8a6fc
......@@ -17,16 +17,22 @@ div.json-editor-container label {
div.json-editor-container label.visually-hidden {
display: none;
}
div.json-editor-container .alert-danger {
div.json-editor-container .invalid-feedback {
padding: 1px 10px 2px 10px;
border-radius: 0.25rem;
border-color: #f5c2c7;
border: 1px solid #f5c2c7;
}
div.json-editor-container .alert-danger,
div.json-editor-container .invalid-feedback {
color: #842029;
background-color: #f8d7da;
border-color: #f5c2c7;
}
div.json-editor-container .alert {
position: relative;
padding: 1rem 1rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border: 1px solid #f5c2c7;
border-radius: 0.25rem;
}
div.json-editor-container .form-label {
......@@ -101,4 +107,4 @@ div.json-editor-container .form-control:disabled,
div.json-editor-container .form-control[readonly] {
background-color: #e9ecef !important;
opacity: 1;
}
\ No newline at end of file
}
......@@ -22,17 +22,23 @@ div.json-editor-container {
display: none;
}
& .alert-danger {
& .invalid-feedback{
padding: 1px 10px 2px 10px;
border-radius: 0.25rem;
border-color: #f5c2c7;
border: 1px solid #f5c2c7;
}
& .alert-danger, .invalid-feedback{
color: #842029;
background-color: #f8d7da;
border-color: #f5c2c7;
}
& .alert {
position: relative;
padding: 1rem 1rem;
margin-bottom: 1rem;
border: 1px solid transparent;
border: 1px solid #f5c2c7;
border-radius: 0.25rem;
}
& .form-label {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment