Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit a03f4d6

Browse files
committed
Remove alert-warning from all components
1 parent 3f632f1 commit a03f4d6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

runestone/activecode/activecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setup(app):
4747
app.add_role("textfield", textfield_role)
4848
app.add_config_value(
4949
"activecode_div_class",
50-
"runestone explainer ac_section alert alert-warning",
50+
"runestone explainer ac_section",
5151
"html",
5252
)
5353
app.add_config_value("activecode_hide_load_history", False, "html")

runestone/clickableArea/clickable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def setup(app):
3333
app.add_node(ClickableAreaNode, html=(visit_ca_html, depart_ca_html),
3434
xml=(substitute_visitor, substitute_departure))
3535

36-
app.add_config_value("clickable_div_class", "runestone alert alert-warning", "html")
36+
app.add_config_value("clickable_div_class", "", "html")
3737

3838

3939
TEMPLATE = """

runestone/codelens/visualizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
def setup(app):
3030
app.add_directive("codelens", Codelens)
3131

32-
app.add_config_value("codelens_div_class", "alert alert-warning cd_section", "html")
32+
app.add_config_value("codelens_div_class", "cd_section", "html")
3333
app.add_config_value("trace_url", "http://tracer.runestone.academy:5000", "html")
3434
app.add_node(CodeLensNode, html=(visit_codelens_html, depart_codelens_html),
3535
xml=(visit_codelens_xml, depart_codelens_xml))

runestone/groupsub/groupsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
TEMPLATE = """
50-
<div class="runestone alert alert-warning sqcontainer %(optclass)s">
50+
<div class="runestone sqcontainer %(optclass)s">
5151
<div data-component="groupsub" id={component_id} {size_limit}>
5252
<div class="col-sm-6">
5353
<select id="assignment_group" multiple class="assignment_partner_select" style="width: 100%">

runestone/mchoice/assess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def setup(app):
2929
app.add_directive("addbutton", AddButton)
3030
app.add_directive("qnum", QuestionNumber)
3131

32-
app.add_config_value("mchoice_div_class", "runestone alert alert-warning", "html")
32+
app.add_config_value("mchoice_div_class", "runestone", "html")
3333

3434
app.add_node(MChoiceNode, html=(visit_mc_html, depart_mc_html),
3535
xml=(visit_mc_xml, depart_mc_xml))

runestone/parsons/parsons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def setup(app):
3737

3838
TEMPLATE_START = """
3939
<div class="%(divclass)s parsons-container %(optclass)s">
40-
<div data-component="parsons" id="%(divid)s" class="alert alert-warning parsons" >
40+
<div data-component="parsons" id="%(divid)s" class="parsons" >
4141
<div class="parsons_question parsons-text" >
4242
"""
4343

runestone/poll/poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def setup(app):
2929
app.add_node(PollNode, html=(visit_poll_html, depart_poll_html),
3030
xml=(visit_poll_xml, substitute_departure))
3131

32-
app.add_config_value("poll_div_class", "alert alert-warning", "html")
32+
app.add_config_value("poll_div_class", "", "html")
3333

3434

3535
TEMPLATE_START = """

runestone/selectquestion/selectone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848

4949
TEMPLATE = """
50-
<div class="runestone alert alert-warning sqcontainer %(optclass)s">
50+
<div class="runestone sqcontainer %(optclass)s">
5151
<div data-component="selectquestion" id={component_id} {selector} {points} {proficiency} {min_difficulty} {max_difficulty} {autogradable} {not_seen_ever} {primary} {AB} {toggle_options} {toggle_labels} {limit_basecourse}>
5252
<p>{message}</p>
5353
</div>

runestone/shortanswer/shortanswer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def setup(app):
3232
app.add_node(JournalNode, html=(visit_journal_html, depart_journal_html),
3333
xml=(visit_journal_xml, depart_journal_xml))
3434

35-
app.add_config_value("shortanswer_div_class", "journal alert alert-warning", "html")
35+
app.add_config_value("shortanswer_div_class", "journal", "html")
3636
app.add_config_value(
3737
"shortanswer_optional_div_class", "journal alert alert-success", "html"
3838
)

runestone/showeval/showeval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def setup(app):
2828
app.add_directive("showeval", ShowEval)
2929

3030
app.add_config_value(
31-
"showeval_div_class", "runestone explainer alert alert-warning", "html"
31+
"showeval_div_class", "runestone explainer", "html"
3232
)
3333
app.add_node(ShowEvalNode, html=(visit_showeval_html, depart_showeval_html),
3434
xml=(visit_showeval_xml, substitute_departure))

0 commit comments

Comments
 (0)