Skip to content

Commit

Permalink
Replace data SVGs with inline SVGs
Browse files Browse the repository at this point in the history
Taken from upstream v4-dev and adapted.
  • Loading branch information
XhmikosR committed Sep 20, 2020
1 parent ce6eeb0 commit 149cac6
Show file tree
Hide file tree
Showing 22 changed files with 88 additions and 22 deletions.
5 changes: 4 additions & 1 deletion docs/cerulean/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/cosmo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/cyborg/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/darkly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/flatly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/journal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/litera/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/lumen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/lux/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/materia/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/minty/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
5 changes: 4 additions & 1 deletion docs/pulse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,10 @@ <h3 class="card-header">Card header</h3>
<h5 class="card-title">Special title treatment</h5>
<h6 class="card-subtitle text-muted">Support card subtitle</h6>
</div>
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27318%27%20height%3D%27180%27%20preserveAspectRatio%3D%27none%27%20viewBox%3D%270%200%20318%20180%27%3E%3Cpath%20fill%3D%27%23777%27%20d%3D%27M0%200h318v180H0z%27%2F%3E%3Ctext%20x%3D%27129.359%27%20y%3D%2797.35%27%20fill%3D%27rgba(255%2C255%2C255%2C.75)%27%20font-family%3D%27Helvetica%2Cmonospace%27%20font-size%3D%2716pt%27%20font-weight%3D%27400%27%3EImage%3C%2Ftext%3E%3C%2Fsvg%3E" alt="Card image">
<svg xmlns="http://www.w3.org/2000/svg" class="d-block user-select-none" width="100%" height="200" aria-label="Placeholder: Image cap" focusable="false" role="img" preserveAspectRatio="xMidYMid slice" viewBox="0 0 318 180" style="font-size:1.125rem;text-anchor:middle">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" fill="#dee2e6" dy=".3em">Image cap</text>
</svg>
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
Expand Down
Loading

0 comments on commit 149cac6

Please sign in to comment.