]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
adds progress links and vid times
authorRafiBomb <rafi@zurb.com>
Tue, 16 May 2017 06:26:37 +0000 (23:26 -0700)
committerRafiBomb <rafi@zurb.com>
Tue, 16 May 2017 06:26:37 +0000 (23:26 -0700)
docs/pages/progress-bar.md

index 2e4d9e67d6dd489f2f5e3b63ca4daea24d032668..d43b0da21ffcd0a74d3d13d304210f4e46e15fc4 100644 (file)
@@ -18,6 +18,14 @@ A progress bar has two elements: the container `.progress`, and the meter `.prog
 
 If the value of the progress bar is not numeric, also add the attribute `aria-valuetext`, which should include a human-readable version of the bar's value.
 
+<p>
+  <a class="" data-open-video="0:39"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+</p>
+
+<div class="docs-codepen-container">
+  <a class="codepen-logo-link" href="http://codepen.io/ZURBFoundation/pen/PmBqPB?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="progress" role="progressbar" tabindex="0" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
   <div class="progress-meter"></div>
@@ -38,6 +46,14 @@ Add a `width` CSS property to the inner meter to fill the progress bar.
 
 A progress bar can be styled with the `.secondary`, `.success`, `.warning`, and `.alert` colors.
 
+<p>
+  <a class="" data-open-video="3:22"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+</p>
+
+<div class="docs-codepen-container">
+  <a class="codepen-logo-link" href="http://codepen.io/ZURBFoundation/pen/mmjJPL?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="secondary progress" role="progressbar" tabindex="0" aria-valuenow="25" aria-valuemin="0" aria-valuetext="25 percent" aria-valuemax="100">
   <div class="progress-meter" style="width: 25%"></div>
@@ -62,6 +78,14 @@ A progress bar can be styled with the `.secondary`, `.success`, `.warning`, and
 
 You can add text inside the meter of a progress bar. Make sure the text you use in the meter is also used in the `aria-valuetext` attribute.
 
+<p>
+  <a class="" data-open-video="5:00"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+</p>
+
+<div class="docs-codepen-container">
+  <a class="codepen-logo-link" href="http://codepen.io/ZURBFoundation/pen/NjBqRm?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
 ```html_example
 <div class="progress" role="progressbar" tabindex="0" aria-valuenow="20" aria-valuemin="0" aria-valuetext="25 percent" aria-valuemax="100">
   <span class="progress-meter" style="width: 25%">