From: Aaron Arney Date: Sat, 16 Jun 2018 07:28:00 +0000 (+0200) Subject: Use pull request #11060 from ocularrhythm/patch-8 for v6.5.0 X-Git-Tag: v6.5.0-rc.1^2~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f783086a22dc618094277ed59c9f43240cce12e;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Use pull request #11060 from ocularrhythm/patch-8 for v6.5.0 d14a8f036 Replace single with double quote in code example 20ace7ccb style: replace single quote by double quotes in docs HTML attributes Co-Authored-By: Nicolas Coden Signed-off-by: Nicolas Coden --- diff --git a/docs/assets/partials/sticky-nav.html b/docs/assets/partials/sticky-nav.html index 5474a46a8..4fb4b4fa2 100644 --- a/docs/assets/partials/sticky-nav.html +++ b/docs/assets/partials/sticky-nav.html @@ -83,10 +83,10 @@ -
-

Creating a sticky Nav Menu with Title Bar, DropdownMenu, and Sticky!

-
-

It's important to note that sticky requires a bit of developer input to work properly. To create a sticky nav bar like this one, set the nav container width to 100%. It's also important to set the minimum top-anchor point to 1px, otherwise it'll never stick!

+
+

Creating a sticky Nav Menu with Title Bar, DropdownMenu, and Sticky!

+
+

It's important to note that sticky requires a bit of developer input to work properly. To create a sticky nav bar like this one, set the nav container width to 100%. It's also important to set the minimum top-anchor point to 1px, otherwise it'll never stick!

Here we're also having a bit of fun with transitions using event triggers from the sticky plugin. When the nav bar becomes sticky, it emits sticky.zf.stuckto:top, which we're listening to. Then we're adding a class to reduce the height and top padding of our nav bar.

diff --git a/docs/pages/accordion.md b/docs/pages/accordion.md index a46f52bd1..e24ad7ecf 100644 --- a/docs/pages/accordion.md +++ b/docs/pages/accordion.md @@ -91,7 +91,7 @@ By default, only one pane of an accordion can be open at a time. This can be cha ``` -

    +
    • Accordion 1
      @@ -132,7 +132,7 @@ By default, at least one pane in an accordion must be open. This can be changed
    ``` -
      +
      • Accordion 1
        diff --git a/docs/pages/forms.md b/docs/pages/forms.md index 6ab7561ac..211966a72 100644 --- a/docs/pages/forms.md +++ b/docs/pages/forms.md @@ -334,7 +334,7 @@ Custom inputs with labels or help text need the attributes `aria-labelledby` and ```html -
        +
        diff --git a/docs/pages/javascript-utilities.md b/docs/pages/javascript-utilities.md index 70d5c6be8..5020fd7f2 100644 --- a/docs/pages/javascript-utilities.md +++ b/docs/pages/javascript-utilities.md @@ -156,12 +156,12 @@ $('selector').spotSwipe().on('swipeleft', handleLeftSwipe); Provides a number of event listeners and triggers your script can hook into. Most are self-explanatory, and used in many Foundation plugins. ```html - - - + + + ``` ```js -// Add the data-open/close/toggle='idOfElement' tag to your markup. +// Add the data-open/close/toggle="idOfElement" tag to your markup. // When a click event is triggered on that element, these are the non-bubbling events directed at your element. // If you don't use an `id` selector, an event will be triggered that bubbles up to window. $('selector').on('open.zf.trigger', handleOpen); @@ -171,8 +171,8 @@ $('selector').on('toggle.zf.trigger', handleToggle); Besides these useful click triggers, there are also other listeners for you to tap into. Need to know when the window has been resized, but only when it's done resizing? How about a debounced scroll event? Add this markup and JavaScript and you're good to go! ```html -
        ...
        -
        ...
        +
        ...
        +
        ...
        ``` ```js $('#someId').on('scrollme.zf.trigger', handleScroll); diff --git a/docs/pages/kitchen-sink.md b/docs/pages/kitchen-sink.md index 7d501da53..0377d21e1 100644 --- a/docs/pages/kitchen-sink.md +++ b/docs/pages/kitchen-sink.md @@ -381,19 +381,19 @@ description: Everything but.
      • Item 1A Loooong
      • Item 1 sub -
```html_example -
+
-
+
-
+
@@ -1219,7 +1219,7 @@ description: Everything but.
```html_example -

The scarabaeus hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree.

+

The scarabaeus hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree.

``` --- diff --git a/docs/pages/reveal.md b/docs/pages/reveal.md index 481b3799f..b33d9e36b 100644 --- a/docs/pages/reveal.md +++ b/docs/pages/reveal.md @@ -212,7 +212,7 @@ To use animations from the Motion UI library, include the data-animation-i

Whoa, I'm dizzy!

-

There are many options for animating modals, check out the Motion UI library to see them all

+

There are many options for animating modals, check out the Motion UI library to see them all

diff --git a/docs/pages/starter-projects.md b/docs/pages/starter-projects.md index 196953a09..a76607006 100644 --- a/docs/pages/starter-projects.md +++ b/docs/pages/starter-projects.md @@ -42,7 +42,7 @@ Your project will be recompiled every time you save a Sass file in `dist/. ## ZURB Template
- +
diff --git a/docs/pages/switch.md b/docs/pages/switch.md index 0a18d325e..22a1ffea2 100644 --- a/docs/pages/switch.md +++ b/docs/pages/switch.md @@ -15,7 +15,7 @@ Give the `` a unique ID and point the `
-
+

Inspecting the value of the underlying input should be done by evaluating the checked property of said input.

diff --git a/docs/partials/footer-contact.html b/docs/partials/footer-contact.html index 2dd927f39..5fe8c4400 100644 --- a/docs/partials/footer-contact.html +++ b/docs/partials/footer-contact.html @@ -14,15 +14,15 @@
- +
- +
- +
diff --git a/test/visual/abide/hidden_and_ignored_fields.html b/test/visual/abide/hidden_and_ignored_fields.html index 4517cb3c6..7426b871a 100644 --- a/test/visual/abide/hidden_and_ignored_fields.html +++ b/test/visual/abide/hidden_and_ignored_fields.html @@ -19,7 +19,7 @@
- This field is required + This field is required @@ -31,11 +31,11 @@
- This field is required + This field is required
- You should never see this error! + You should never see this error!
diff --git a/test/visual/sticky/height-transition.html b/test/visual/sticky/height-transition.html index d0b69528f..11e15fffa 100644 --- a/test/visual/sticky/height-transition.html +++ b/test/visual/sticky/height-transition.html @@ -110,7 +110,7 @@
-
+

Sticky navbar height transition

The content should follow the nav-bar resizing without red flashing (sticky-container background)

diff --git a/test/visual/xy-grid/frame-grid.html b/test/visual/xy-grid/frame-grid.html index fdb9aebeb..ce72ed837 100644 --- a/test/visual/xy-grid/frame-grid.html +++ b/test/visual/xy-grid/frame-grid.html @@ -34,7 +34,7 @@ A medium 4 cell
-

A medium 4 cell block... on medium this content should overflow and let you horizontally scroll across... one might use this for an array of options

+

A medium 4 cell block... on medium this content should overflow and let you horizontally scroll across... one might use this for an array of options

A medium 4 cell