Skip to content

Commit

Permalink
better colors for warning, see phetsims/joist#941
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Sep 16, 2024
1 parent 6d22117 commit 1eafa62
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ph-scale-basics_description_editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@
}

.load-details {
color: #FF4500;
}

.load-details-description {
border: 1px solid red;
background-color: rgba(255, 0, 0, 0.3);
}

.syntax-error {
border: 1px solid red;
background-color: rgba(255,0,0,0.3);
background-color: rgba(255, 0, 0, 0.3);
}

/* This class was found online as a way to preserve an iframe aspect ratio,
Expand Down Expand Up @@ -219,7 +223,8 @@
<div id="error-container"></div>
<details class='load-details'>
<summary>Load Logic and English Strings</summary>
<p><b>Warning:</b> Loading logic or English strings will overwrite any changes you have made.</p>
<p class="load-details-description"><b>Warning:</b> Loading logic or English strings will overwrite any changes
you have made.</p>
<div id="load-buttons">
<button id="load-logic">Load Logic</button>
<button id="load-english-strings">Load English Strings</button>
Expand Down

0 comments on commit 1eafa62

Please sign in to comment.