1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

Add newer version 5 alert on top of v4 and v5 pages (#38410)

* Change newer version label of v3.3

* Change newer version label of v3.4

* Change newer version label of v4.0/v4.1/v4.2

* Add newer version alert for v4.3

* Add newer version alert for v4.4

* Add newer version alert for v4.5/v4.6 (using `.skippy` bg color)

* Add newer version alert for v5.0 (using `.skippy` bg color)

* Add newer version alert for v5.1 (using `.skippy` bg color)

* Add newer version alert for v5.2 (using `.skippy` bg color)

* Change some copy

- v4 gets 'Bootstrap 5 is here'
- v5 gets 'Theres a newer version of Bootstrap 5'

* Unique message: 'There\'s a newer version of Bootstrap!'

* Change HTML structure for focus visible

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
This commit is contained in:
Julien Déramond
2023-05-17 18:39:05 +02:00
committed by GitHub
parent 42ec3773d3
commit 87498ceeb2
812 changed files with 3788 additions and 1445 deletions

View File

@@ -29,7 +29,7 @@
<body class=bs-docs-home>
<a href=#content class="sr-only sr-only-focusable" id=skippy>
<div class=container><span class=skiplink-text>Skip to main content</span></div>
</a> <a href=https://getbootstrap.com/ class=v4-tease>Bootstrap 4 is here!</a>
</a> <a href=https://getbootstrap.com/ class=v4-tease>There's a newer version of Bootstrap!</a>
<header class="bs-docs-nav navbar navbar-static-top" id=top>
<div class=container>
<div class=navbar-header>