Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
9e502bed
Commit
9e502bed
authored
Mar 13, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_json_editor: Highlight invalid feedback
parent
ef735f9b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
bt5/erp5_json_editor/SkinTemplateItem/portal_skins/erp5_json_editor/json-editor.gadget.css.css
.../portal_skins/erp5_json_editor/json-editor.gadget.css.css
+10
-4
bt5/erp5_json_editor/SkinTemplateItem/portal_skins/erp5_json_editor/json-editor.gadget.less.txt
...portal_skins/erp5_json_editor/json-editor.gadget.less.txt
+9
-3
No files found.
bt5/erp5_json_editor/SkinTemplateItem/portal_skins/erp5_json_editor/json-editor.gadget.css.css
View file @
9e502bed
...
...
@@ -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
{
...
...
bt5/erp5_json_editor/SkinTemplateItem/portal_skins/erp5_json_editor/json-editor.gadget.less.txt
View file @
9e502bed
...
...
@@ -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 {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment