Skip to content

Commit 6dcac07

Browse files
hansellerduboisp
authored andcommitted
updating display & layout html files
1 parent 2d5c36a commit 6dcac07

File tree

4 files changed

+28
-63
lines changed

4 files changed

+28
-63
lines changed

common/display/display-en.html

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<p>This page showcases Bootstrap display utility features including some integration from wet-boew like toggling content.</p>
1212

13+
<nav>
1314
<h2>On this page:</h2>
1415

1516
<ul>
@@ -22,35 +23,36 @@ <h2>On this page:</h2>
2223
<li><a href="#col-count">Col count</a></li>
2324
<li><a href="#sizing-controls">Sizing controls</a></li>
2425
</ul>
25-
26+
</nav>
2627
<h2 id="bootstrap">Bootstrap</h2>
2728

28-
<h3 id="float">Float</h3>
29-
30-
<h4>Bootstrap 3 <code> .clearfix</code>working example</h4>
29+
<h2>Float</h2>
30+
<h3><code>.clearfix</code>working example</h3>
3131
<div class="well">
3232
<div class="row">
33-
<div class="pull-left bg-info col-md-3 well">Column 1</div>
34-
<div class="pull-left bg-info col-md-3 well">Column 2</div>
35-
<div class="pull-left bg-info col-md-3 well">Column 3</div>
33+
<div class="pull-left bg-darker text-white col-md-3 well">Column 1</div>
34+
<div class="pull-left bg-darker text-whitecol-md-3 well">Column 2</div>
35+
<div class="pull-left bg-darker text-white col-md-3 well">Column 3</div>
3636
<!-- Add clearfix class to clear floated elements -->
3737
<div class="clearfix"></div>
3838
</div>
39+
<p class="well">This is some content below the floated columns. Without clearfix, this content would overlap with the floated columns. But clearfix ensures proper layout by clearing the floats.</p>
40+
</div>
3941

4042
</div>
4143
<h4>Code sample</h4>
4244
<pre><code>&lt;div class="well"&gt;
4345
&lt;div class="row"&gt;
44-
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 1&lt;/div&gt;
45-
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 2&lt;/div&gt;
46-
&lt;div class="col-md-3 well pull-left bg-darker"&gt;Column 3&lt;/div&gt;
46+
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Column 1&lt;/div&gt;
47+
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Column 2&lt;/div&gt;
48+
&lt;div class="pull-left bg-darker text-white col-md-3 well"&gt;Column 3&lt;/div&gt;
4749
&lt;!-- Add clearfix class to clear floated elements --&gt;
4850
&lt;div class="<strong>clearfix</strong>"&gt;&lt;/div&gt;
4951
&lt;/div&gt;
5052
&lt;p class="well"&gt;This is some content below the floated columns. Without clearfix, this content would overlap with the floated columns. But clearfix ensures proper layout by clearing the floats.&lt;/p&gt;
5153
&lt;/div&gt;</code></pre>
5254

53-
<h4>Bootstrap 3 <code>.center-block</code> class working example</h4>
55+
<h3><code>.center-block</code> class working example</h3>
5456
<div class="well">
5557
<div class="center-block well bg-darker">
5658
This element is centered horizontally within its parent container.
@@ -63,7 +65,7 @@ <h4>Code sample</h4>
6365
&lt;/div&gt;
6466
&lt;/div&gt;</code></pre>
6567

66-
<h4>Bootstrap 3 <code>.pull-right</code> class working example</h4>
68+
<h3><code>.pull-right</code> class working example</h3>
6769
<div class="well">
6870
<div class="pull-right well">
6971
This element is floated to the right within its parent container.
@@ -76,7 +78,7 @@ <h4>Code sample</h4>
7678
&lt;/div&gt;
7779
&lt;/div&gt;</code></pre>
7880

79-
<h4>Bootstrap 3 <code>.pull-left</code> class working example</h4>
81+
<h3><code>.pull-left</code> class working example</h3>
8082
<div class="well">
8183
<div class="pull-left well">
8284
This element is floated to the left within its parent container.
@@ -144,7 +146,7 @@ <h4>Code sample</h4>
144146

145147
<h3 id="toggling-content">Toggling content</h3>
146148

147-
<h4>Bootstrap 3 <code>.hide</code> class working example</h4>
149+
<h3><code>.hide</code> class working example</h3>
148150
<div class="well">
149151
<div class="hide well">
150152
This element is hidden on all screen sizes.
@@ -157,7 +159,7 @@ <h4>Code sample</h4>
157159
&lt;/div&gt;
158160
&lt;/div&gt;</code></pre>
159161

160-
<h4>Bootstrap 3 <code>.show</code> class working example</h4>
162+
<h3><code>.show</code> class working example</h3>
161163
<div class="well">
162164
<div class="show well">
163165
This element is visible on all screen sizes.
@@ -170,7 +172,7 @@ <h4>Code sample</h4>
170172
&lt;/div&gt;
171173
&lt;/div&gt;</code></pre>
172174

173-
<h4>Bootstrap 3 <code>.invisible</code> class working example</h4>
175+
<h3><code>.invisible</code> class working example</h3>
174176
<div class="well">
175177
<div class="invisible well">
176178
This element is invisible but still takes up space in the layout.
@@ -183,7 +185,7 @@ <h4>Code sample</h4>
183185
&lt;/div&gt;
184186
&lt;/div&gt;</code></pre>
185187

186-
<h4>Bootstrap 3 <code>.text-hide</code> class working example</h4>
188+
<h3><code>.text-hide</code> class working example</h3>
187189
<div class="well">
188190
<div class="text-hide well">
189191
This text is hidden visually but remains accessible to screen readers.
@@ -196,7 +198,7 @@ <h4>Code sample</h4>
196198
&lt;/div&gt;
197199
&lt;/div&gt;</code></pre>
198200

199-
<h4>Bootstrap 3 <code>.hidden</code> class working example</h4>
201+
<h3><code>.hidden</code> class working example</h3>
200202
<div class="well">
201203
<div class="hidden well">
202204
This element is hidden on all screen sizes.
@@ -225,7 +227,7 @@ <h4>Code sample</h4>
225227
<h4><code>.sr-only-focusable</code> class working example</h4>
226228
<div class="well">
227229
<div class="sr-only-focusable well">
228-
This element is visually hidden but remains accessible to screen readers, and it can be focused by keyboard navigation.
230+
<a href="#">This element is visually hidden but remains accessible to screen readers, and it can be focused by keyboard navigation.</a>
229231
</div>
230232
</div>
231233
<h4>Code sample</h4>
@@ -774,17 +776,6 @@ <h4>Code sample</h4>
774776
&lt;/div&gt;
775777
&lt;/div&gt;</code></pre>
776778

777-
<h4><code>.mfp-hide </code>class working example</h4><div class="well">
778-
<div class="mfp-hide well">
779-
This element is hidden as part of a Magnific Popup modal.
780-
</div>
781-
</div>
782-
<h4>Code sample</h4>
783-
<pre><code>&lt;div class="well"&gt;
784-
&lt;div class="<strong>mfp-hide</strong> well"&gt;
785-
This element is hidden as part of a Magnific Popup modal.
786-
&lt;/div&gt;
787-
&lt;/div&gt;</code></pre>
788779

789780
<h4><code>.wb-inv </code>class working example</h4><div class="well">
790781
<div class="wb-inv well">

common/display/display-fr.html

Lines changed: 5 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<p>Cette page présente des fonctionnalités utilitaires d'affichage de Bootstrap, y compris certaines intégrations de wet-boew pour la bascule du contenu.</p>
1212

13+
<nav>
1314
<h2>Sur cette page :</h2>
1415

1516
<ul>
@@ -22,6 +23,7 @@ <h2>Sur cette page :</h2>
2223
<li><a href="#nombre-colonnes">Nombre de colonnes (Col count)</a></li>
2324
<li><a href="#controles-de-dimensionnement">Contrôles de dimensionnement</a></li>
2425
</ul>
26+
</nav>
2527

2628
<h2 id="bootstrap">Bootstrap</h2>
2729

@@ -58,7 +60,7 @@ <h4>Exemple de fonctionnement de la classe Bootstrap 3 <code>.center-block</code
5860
</div>
5961
<h4>Exemple de code</h4>
6062
<pre><code>&lt;div class="well"&gt;
61-
&lt;div class="<strong>center-block</strong> well" style="width: 200px; height: 200px; background-color: #ffffff;"&gt;
63+
&lt;div class="<strong>center-block</strong> well bg-darker text-white"&gt;
6264
Cet élément est centré horizontalement dans son conteneur parent.
6365
&lt;/div&gt;
6466
&lt;/div&gt;</code></pre>
@@ -226,7 +228,7 @@ <h4>Exemple de code</h4>
226228
<h4>Exemple de fonctionnement de la classe <code>.sr-only-focusable</code></h4>
227229
<div class="well">
228230
<div class="sr-only-focusable well">
229-
Cet élément est masqué visuellement mais reste accessible aux lecteurs d'écran et peut être mis au focus par la navigation au clavier.
231+
<a href="#">Cet élément est masqué visuellement mais reste accessible aux lecteurs d'écran et peut être mis au focus par la navigation au clavier.</a>
230232
</div>
231233
</div>
232234
<h4>Exemple de code</h4>
@@ -679,7 +681,7 @@ <h4>Exemple de fonctionnement de la classe <code>.opct-40</code></h4>
679681
</div>
680682
<h4>Exemple de code</h4>
681683
<pre><code>&lt;div class="well"&gt;
682-
&lt;div class="<strong>opct-30</strong> well"&gt;
684+
&lt;div class="<strong>opct-40</strong> well"&gt;
683685
Cet élément a une opacité de 0.4 (40%).
684686
&lt;/div&gt;
685687
&lt;/div&gt;</code></pre>
@@ -790,34 +792,6 @@ <h4>Exemple de code</h4>
790792
&lt;/div&gt;
791793
&lt;/div&gt;</code></pre>
792794

793-
<h4>Exemple de fonctionnement de la classe <code>.lbx-hide-gal</code></h4>
794-
<div class="well">
795-
<div class="lbx-hide-gal well">
796-
Cet élément est masqué dans le cadre d'une galerie lightbox.
797-
</div>
798-
</div>
799-
<h4>Exemple de code</h4>
800-
<pre><code>&lt;div class="well"&gt;
801-
&lt;div class="<strong>lbx-hide-gal</strong> well"&gt;
802-
Cet élément est masqué dans le cadre d'une galerie lightbox.
803-
&lt;/div&gt;
804-
&lt;/div&gt;</code></pre>
805-
806-
<h4>Exemple de fonctionnement de la classe <code>.mfp-hide</code></h4>
807-
<div class="well">
808-
<div class="mfp-hide well">
809-
Cet élément est masqué dans le cadre d'une fenêtre modale Magnific Popup.
810-
</div
811-
812-
>
813-
</div>
814-
<h4>Exemple de code</h4>
815-
<pre><code>&lt;div class="well"&gt;
816-
&lt;div class="<strong>mfp-hide</strong> well"&gt;
817-
Cet élément est masqué dans le cadre d'une fenêtre modale Magnific Popup.
818-
&lt;/div&gt;
819-
&lt;/div&gt;</code></pre>
820-
821795
<h4>Exemple de fonctionnement de la classe <code>.wb-inv</code></h4>
822796
<div class="well">
823797
<div class="wb-inv well">

common/grid-layout/layout-en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h4><code>.d-flex</code> class working example</h4>
2727
You can add multiple children to the flex container to see them aligned horizontally.
2828
</div>
2929
</div>
30-
<h4>Code sample</h4>
30+
<h5>Code sample</h5>
3131
<pre><code>&lt;div class="well <strong>d-flex</strong>"&gt;
3232
&lt;div class="child"&gt;
3333
This is a flex container with the <code>.d-flex</code> class. Its children are aligned in a row by default.

common/grid-layout/layout-fr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h4>Exemple d'utilisation de la classe <code>.d-flex</code></h4>
2727
Vous pouvez ajouter plusieurs enfants au conteneur flexible pour les aligner horizontalement.
2828
</div>
2929
</div>
30-
<h4>Exemple de code</h4>
30+
<h5>Exemple de code</h5>
3131
<pre><code>&lt;div class="well <strong>d-flex</strong>"&gt;
3232
&lt;div class="child"&gt;
3333
Il s'agit d'un conteneur flexible avec la classe <code>.d-flex</code>. Ses enfants sont alignés en ligne par défaut.

0 commit comments

Comments
 (0)