This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Touched up mustache and made sure everything was dynamic
- Touched up mustache and made sure everything was dynamic - Still probably need to review some syntax
- Loading branch information
1 parent
abc8457
commit 69fecfe
Showing
114 changed files
with
489 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<input type="text" class="form-control" placeholder="{{ placeholder }}" aria-describedby="basic-addon1"> | ||
|
||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="progress"> | ||
<div class="progress-bar {{ progressBarClass }}" role="progressbar" aria-valuenow="{{ ariaNow }}" aria-valuemin="{{ ariaMin }}" aria-valuemax="{{ ariaMax }}" style="width: {{ ariaNow }}%;{{# progressMinWidth }}min-width: {{ progressMinWidth }}em{{/ progressMinWidth }}"> | ||
{{# removeProgressText }}<span class="sr-only">{{/ removeProgressText }}{{ progressCompleteText }}{{# removeProgressText }}</span>{{/ removeProgressText }} | ||
</div> | ||
</div> | ||
|
File renamed without changes.
88 changes: 88 additions & 0 deletions
88
dist/_patterns/00-atoms/07-media/05-progress-bars-variants.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<h2 id="progress-label">With label</h2> | ||
<p>Remove the <code><span></code> with <code>.sr-only</code> class from within the progress bar to show a visible percentage.</p> | ||
<div class="progress"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> | ||
60% | ||
</div> | ||
</div> | ||
|
||
<p>To ensure that the label text remains legible even for low percentages, consider adding a <code>min-width</code> to the progress bar.</p> | ||
<div class="progress"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;"> | ||
0% | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;"> | ||
2% | ||
</div> | ||
</div> | ||
|
||
<h2 id="progress-alternatives">Contextual alternatives</h2> | ||
<p>Progress bars use some of the same button and alert classes for consistent styles.</p> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> | ||
<span class="sr-only">40% Complete (success)</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> | ||
<span class="sr-only">20% Complete</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> | ||
<span class="sr-only">60% Complete (warning)</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> | ||
<span class="sr-only">80% Complete (danger)</span> | ||
</div> | ||
</div> | ||
|
||
|
||
<h2 id="progress-striped">Striped</h2> | ||
<p>Uses a gradient to create a striped effect. Not available in IE9 and below.</p> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> | ||
<span class="sr-only">40% Complete (success)</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> | ||
<span class="sr-only">20% Complete</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> | ||
<span class="sr-only">60% Complete (warning)</span> | ||
</div> | ||
</div> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> | ||
<span class="sr-only">80% Complete (danger)</span> | ||
</div> | ||
</div> | ||
|
||
<h2 id="progress-animated">Animated</h2> | ||
<p>Add <code>.active</code> to <code>.progress-bar-striped</code> to animate the stripes right to left. Not available in IE9 and below.</p> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%"><span class="sr-only">45% Complete</span></div> | ||
</div> | ||
|
||
|
||
<h2 id="progress-stacked">Stacked</h2> | ||
<p>Place multiple bars into the same <code>.progress</code> to stack them.</p> | ||
<div class="progress"> | ||
<div class="progress-bar progress-bar-success" style="width: 35%"> | ||
<span class="sr-only">35% Complete (success)</span> | ||
</div> | ||
<div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%"> | ||
<span class="sr-only">20% Complete (warning)</span> | ||
</div> | ||
<div class="progress-bar progress-bar-danger" style="width: 10%"> | ||
<span class="sr-only">10% Complete (danger)</span> | ||
</div> | ||
</div> | ||
|
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../00-atoms/08-media/06-thumbnails.mustache → .../00-atoms/07-media/06-thumbnails.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a href="#" class="thumbnail"> | ||
<a href="{{ url }}" class="thumbnail"> | ||
<img src="{{ src }}" alt="{{ alt }}"> | ||
</a> | ||
|
This file was deleted.
Oops, something went wrong.
98 changes: 0 additions & 98 deletions
98
dist/_patterns/00-atoms/08-media/05-progress-bars-variants.mustache
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.