Skip to content

Commit

Permalink
Update provision warning
Browse files Browse the repository at this point in the history
* Update provision warning
  • Loading branch information
mkly committed Apr 1, 2024
1 parent c7bf9a5 commit 854354c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/coffee/templates/_provisional.html
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
<article class="mlc--provisional">{{ content("general", "provisional_disclaimer") }}</article>
<article class="mlc--provisional">
<img src="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='185.708' height='160.86' viewBox='0 0 49.135 42.561'%3e%3cg transform='translate(-80.432 -70.284)'%3e%3cpath d='m74.152 73.595 10.727 19.029 10.727 19.029-21.843-.225-21.843-.224 11.116-18.805Z' style='fill:none%3bfill-opacity:1%3bstroke:%23f29828%3bstroke-width:3.065%3bstroke-dasharray:none%3bstroke-opacity:1' transform='rotate(-.578 45.394 -3012.292)scale(1.00282)'/%3e%3cpath d='M104.924 89.014h.152v10.029h-.152z' style='fill:%23ffd098%3bfill-opacity:1%3bstroke:%23f29828%3bstroke-width:2.87803%3bstroke-dasharray:none%3bstroke-opacity:1'/%3e%3ccircle cx='105' cy='103.769' r='1.745' style='fill:%23f29828%3bfill-opacity:1%3bstroke:none%3bstroke-width:0%3bstroke-dasharray:none%3bstroke-opacity:1'/%3e%3c/g%3e%3c/svg%3e" />
<span>{{ content("general", "provisional_disclaimer") }}</span>
</article>
16 changes: 14 additions & 2 deletions src/coffee/templates/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -588,12 +588,24 @@
}

.pico .mlc--provisional {
background-color: var(--mlc-color-efficient-ember);
color: #fff;
display: flex;
gap: 2rem;
align-items: center;
background-color: var(--mlc-color-efficient-ember-150);
color: var(--mlc-color-deep-web-blue);
font-weight: 700;
font-size: 1.25rem;
}

.pico .mlc--provisional img {
width: 3.5rem;
height: 3.5rem;
}

.pico .mlc--provisional__icon {
margin-right: 0.5rem;
}

.pico .mlc--placeholder {
background: rgba(255, 255, 0, 0.4);
}
Expand Down

0 comments on commit 854354c

Please sign in to comment.