mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Use https
when possible.
[ci skip]
This commit is contained in:
parent
232469549c
commit
8328344212
@ -20,8 +20,8 @@
|
|||||||
<link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet">
|
<link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Google Web fonts -->
|
<!-- Google Web fonts -->
|
||||||
<link href="http://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500" rel="stylesheet">
|
||||||
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,400italic,600' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,400italic,600' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
||||||
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
|
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Source: http://stackoverflow.com/questions/19169849/how-to-get-markdown-processed-content-in-jekyll-tag-plugin
|
# Source: https://stackoverflow.com/questions/19169849/how-to-get-markdown-processed-content-in-jekyll-tag-plugin
|
||||||
|
|
||||||
module Jekyll
|
module Jekyll
|
||||||
module Tags
|
module Tags
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Bootstrap Docs (http://getbootstrap.com)
|
* Bootstrap Docs (http://getbootstrap.com)
|
||||||
* Copyright 2011-2015 Twitter, Inc.
|
* Copyright 2011-2015 Twitter, Inc.
|
||||||
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
|
||||||
* details, see http://creativecommons.org/licenses/by/3.0/.
|
* details, see https://creativecommons.org/licenses/by/3.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Dev notes
|
// Dev notes
|
||||||
|
@ -603,7 +603,7 @@ We hide the default `<input>` with `opacity` and use the `.c-indicator` to build
|
|||||||
|
|
||||||
With the sibling selector (`~`), we use the `:checked` state to trigger a makeshift checked state on the custom control.
|
With the sibling selector (`~`), we use the `:checked` state to trigger a makeshift checked state on the custom control.
|
||||||
|
|
||||||
In the checked states, we use **base64 embedded SVG icons** from [Open Iconic](http://useiconic.com/open). This provides us the best control for styling and positioning across browsers and devices.
|
In the checked states, we use **base64 embedded SVG icons** from [Open Iconic](https://useiconic.com/open). This provides us the best control for styling and positioning across browsers and devices.
|
||||||
|
|
||||||
#### Checkboxes
|
#### Checkboxes
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@ Additionally, you may give a description of your modal dialog with `aria-describ
|
|||||||
{% callout info %}
|
{% callout info %}
|
||||||
#### Embedding YouTube videos
|
#### Embedding YouTube videos
|
||||||
|
|
||||||
Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. [See this helpful Stack Overflow post](http://stackoverflow.com/questions/18622508/bootstrap-3-and-youtube-in-modal) for more information.
|
Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. [See this helpful Stack Overflow post](https://stackoverflow.com/questions/18622508/bootstrap-3-and-youtube-in-modal) for more information.
|
||||||
{% endcallout %}
|
{% endcallout %}
|
||||||
|
|
||||||
## Optional sizes
|
## Optional sizes
|
||||||
@ -316,7 +316,7 @@ To take advantage of the Bootstrap grid system within a modal, just nest `.conta
|
|||||||
|
|
||||||
## Varying modal content based on trigger button
|
## Varying modal content based on trigger button
|
||||||
|
|
||||||
Have a bunch of buttons that all trigger the same modal, just with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes) (possibly [via jQuery](http://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. See the Modal Events docs for details on `relatedTarget`.
|
Have a bunch of buttons that all trigger the same modal, just with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes) (possibly [via jQuery](https://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. See the Modal Events docs for details on `relatedTarget`.
|
||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<div class="bd-example">
|
<div class="bd-example">
|
||||||
|
@ -96,7 +96,7 @@ Navbar links must have resolvable id targets. For example, a `<a href="#home">ho
|
|||||||
{% callout info %}
|
{% callout info %}
|
||||||
#### Non-`:visible` target elements ignored
|
#### Non-`:visible` target elements ignored
|
||||||
|
|
||||||
Target elements that are not [`:visible` according to jQuery](http://api.jquery.com/visible-selector/) will be ignored and their corresponding nav items will never be highlighted.
|
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.
|
||||||
{% endcallout %}
|
{% endcallout %}
|
||||||
|
|
||||||
### Methods
|
### Methods
|
||||||
|
@ -143,7 +143,7 @@ As of v4, Bootstrap no longer supports IE8. **If you require IE8 support, we rec
|
|||||||
|
|
||||||
Alternatively, you may add some third party JavaScript to backfill support for IE8 to Bootstrap 4. You'll need the following:
|
Alternatively, you may add some third party JavaScript to backfill support for IE8 to Bootstrap 4. You'll need the following:
|
||||||
|
|
||||||
* [The HTML5 shiv](http://en.wikipedia.org/wiki/HTML5_Shiv)
|
* [The HTML5 shiv](https://en.wikipedia.org/wiki/HTML5_Shiv)
|
||||||
* [Respond.js](https://github.com/scottjehl/Respond)
|
* [Respond.js](https://github.com/scottjehl/Respond)
|
||||||
* [Rem unit polyfill](https://github.com/chuckcarpenter/REM-unit-polyfill)
|
* [Rem unit polyfill](https://github.com/chuckcarpenter/REM-unit-polyfill)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user