Skip to content

Commit

Permalink
remove bullter and color the NOTE message
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Nov 28, 2024
1 parent 4024976 commit efbefbc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/aiidalab_qe/common/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,16 @@ def __init__(self, title="", **kwargs):
"<b>Define periodicity</b>",
),
ipw.HTML("""
<p>Select the periodicity of your system:</p>
<ul>
<li><b>NOTE:</b> For <b>2D</b> systems (e.g., surfaces, slabs, ...), the non-periodic direction must be the third lattice vector (z-axis).</li>
<li><b>NOTE:</b> For <b>1D</b> systems (e.g., wires), the periodic direction must be the first lattice vector (x-axis).</li>
<p>Select the periodicity of your system.</p>
<ul style="padding-left: 1em; list-style-type: disc; margin: 0;">
<li style="display: flex; align-items: flex-start; list-style-position: outside;">
<span style="font-weight: bold; color: #1f77b4; margin-right: 0.5em;">NOTE:</span>
<span>For <b>2D</b> systems (e.g., surfaces, slabs, ...), the non-periodic direction must be the third lattice vector (z-axis).</span>
</li>
<li style="display: flex; align-items: flex-start; list-style-position: outside;">
<span style="font-weight: bold; color: #1f77b4; margin-right: 0.5em;">NOTE:</span>
<span>For <b>1D</b> systems (e.g., wires), the periodic direction must be the first lattice vector (x-axis).</span>
</li>
</ul>
"""),
self.periodicity,
Expand Down

0 comments on commit efbefbc

Please sign in to comment.