Skip to content

Commit

Permalink
Improved required question star contrast.
Browse files Browse the repository at this point in the history
  • Loading branch information
r-xyz committed Nov 11, 2024
1 parent e15dafc commit 6611f8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEMO/static/nemo.css
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,11 @@ li.area-tree-node a, li.area-tree-node a:hover, li.area-tree-node a:focus
#additional_event_parameters input:invalid, #additional_event_parameters select:invalid, #additional_event_parameters textarea:invalid
{
border-color: #dc3545!important;
.required-question-star
{
color:red;
font-size: 20px;
font-weight: bold;
}

/* Make form-control look like plain text */
Expand Down
2 changes: 1 addition & 1 deletion NEMO/widgets/dynamic_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class PostUsageQuestion:
question_type = "Question"

required_span = '<span style="color:red">*</span>'
required_span = '<span class="required-question-star">*</span>'

def __init__(self, properties: Dict, index: int = None, initial_data=None):
self.properties = properties
Expand Down

0 comments on commit 6611f8e

Please sign in to comment.