Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-11-28 20:49:34 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-11-28 22:09:50 +0300
commit24eb9a75e9b6f78c70ead8de88009729970f3005 (patch)
tree3747a228dfb41efa8b59ca1381c32ddc499a0ae0
parent0b96d62fb390857d9377c353a0fc0c7a0c780935 (diff)
Revert "Use `h5` for callouts so that they are not included in ToC."
This reverts commit 11da1601140174e4fa4e0e25e7f66fc21c08e927. This is no longer needed with jekyll-toc 0.9.1.
-rw-r--r--site/_includes/callout-danger-async-methods.md2
-rw-r--r--site/docs/4.1/components/forms.md2
-rw-r--r--site/docs/4.1/components/popovers.md4
-rw-r--r--site/docs/4.1/components/scrollspy.md4
-rw-r--r--site/docs/4.1/components/tooltips.md2
-rw-r--r--site/docs/4.1/getting-started/javascript.md2
-rw-r--r--site/docs/4.1/utilities/colors.md2
7 files changed, 9 insertions, 9 deletions
diff --git a/site/_includes/callout-danger-async-methods.md b/site/_includes/callout-danger-async-methods.md
index 951ba76ccf..083f28f238 100644
--- a/site/_includes/callout-danger-async-methods.md
+++ b/site/_includes/callout-danger-async-methods.md
@@ -1,5 +1,5 @@
{% capture callout %}
-##### Asynchronous methods and transitions
+#### Asynchronous methods and transitions
All API methods are **asynchronous** and start a **transition**. They return to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
diff --git a/site/docs/4.1/components/forms.md b/site/docs/4.1/components/forms.md
index 1ea3e1a4d3..29f7fc10bc 100644
--- a/site/docs/4.1/components/forms.md
+++ b/site/docs/4.1/components/forms.md
@@ -737,7 +737,7 @@ By default, browsers will treat all native form controls (`<input>`, `<select>`
{% include callout.html content=callout type="warning" %}
{% capture callout %}
-##### Cross-browser compatibility
+#### Cross-browser compatibility
While Bootstrap will apply these styles in all browsers, Internet Explorer 11 and below don't fully support the `disabled` attribute on a `<fieldset>`. Use custom JavaScript to disable the fieldset in these browsers.
{% endcapture %}
diff --git a/site/docs/4.1/components/popovers.md b/site/docs/4.1/components/popovers.md
index d26cb278a6..f55826d7ca 100644
--- a/site/docs/4.1/components/popovers.md
+++ b/site/docs/4.1/components/popovers.md
@@ -99,7 +99,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
Use the `focus` trigger to dismiss popovers on the user's next click of a different element than the toggle element.
{% capture callout %}
-##### Specific markup required for dismiss-on-next-click
+#### Specific markup required for dismiss-on-next-click
For proper cross-browser and cross-platform behavior, you must use the `<a>` tag, _not_ the `<button>` tag, and you also must include a [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) attribute.
{% endcapture %}
@@ -253,7 +253,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</table>
{% capture callout %}
-##### Data attributes for individual popovers
+#### Data attributes for individual popovers
Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.
{% endcapture %}
diff --git a/site/docs/4.1/components/scrollspy.md b/site/docs/4.1/components/scrollspy.md
index 015e0ca42d..3c52f82510 100644
--- a/site/docs/4.1/components/scrollspy.md
+++ b/site/docs/4.1/components/scrollspy.md
@@ -257,14 +257,14 @@ $('body').scrollspy({ target: '#navbar-example' })
{% endhighlight %}
{% capture callout %}
-##### Resolvable ID targets required
+#### Resolvable ID targets required
Navbar links must have resolvable id targets. For example, a `<a href="#home">home</a>` must correspond to something in the DOM like `<div id="home"></div>`.
{% endcapture %}
{% include callout.html content=callout type="danger" %}
{% capture callout %}
-##### Non-`:visible` target elements ignored
+#### Non-`:visible` target elements ignored
Target elements that are not [`:visible` according to jQuery](https://api.jquery.com/visible-selector/) will be ignored and their corresponding nav items will never be highlighted.
{% endcapture %}
diff --git a/site/docs/4.1/components/tooltips.md b/site/docs/4.1/components/tooltips.md
index fffa795fd1..aa3ebe077c 100644
--- a/site/docs/4.1/components/tooltips.md
+++ b/site/docs/4.1/components/tooltips.md
@@ -254,7 +254,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</table>
{% capture callout %}
-##### Data attributes for individual tooltips
+#### Data attributes for individual tooltips
Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.
{% endcapture %}
diff --git a/site/docs/4.1/getting-started/javascript.md b/site/docs/4.1/getting-started/javascript.md
index 534e2fd420..7f59ac213a 100644
--- a/site/docs/4.1/getting-started/javascript.md
+++ b/site/docs/4.1/getting-started/javascript.md
@@ -35,7 +35,7 @@ $(document).off('.alert.data-api')
{% endhighlight %}
{% capture callout %}
-##### Selectors
+## Selectors
Currently to query DOM elements we use the native methods `querySelector` and `querySelectorAll` for performance reasons, so you have to use [valid selectors](https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier).
If you use special selectors, for example: `collapse:Example` be sure to escape them.
diff --git a/site/docs/4.1/utilities/colors.md b/site/docs/4.1/utilities/colors.md
index a1b1a9816f..55699adb8c 100644
--- a/site/docs/4.1/utilities/colors.md
+++ b/site/docs/4.1/utilities/colors.md
@@ -49,7 +49,7 @@ When `$enable-gradients` is set to `true` (default is `false`), you can use `.bg
- `.bg-gradient-{{ color.name }}`{% endfor %}
{% capture callout %}
-##### Dealing with specificity
+#### Dealing with specificity
Sometimes contextual classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a `<div>` with the class.
{% endcapture %}