EricLavoieSandbox

Revision as of 12:21, 11 March 2019 by Eric.lavoie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template:GCb-head-yourfile-eng Template:GCb-nav-yourfile-eng <html>

<nav aria-label="breadcrumb" class="mb-2">

</nav>

Style Guide

Below are most of the default <a href="http://www.gcpedia.gc.ca/wiki/GCbootstrap">GCbootstrap</a> styles and how they should look when on your page. Keep this page as your master template!

Experience with HTML, CSS, JS and GCpedia recommended!

Last updated: 2018-12-14


<button type="button" class="btn btn-primary">Primary</button> <button type="button" class="btn btn-secondary">Secondary</button> <button type="button" class="btn btn-success">Success</button> <button type="button" class="btn btn-info">Info</button> <button type="button" class="btn btn-warning">Warning</button> <button type="button" class="btn btn-danger">Danger</button> <button type="button" class="btn btn-link">Link</button>

<button type="button" class="btn btn-primary disabled">Primary</button> <button type="button" class="btn btn-secondary disabled">Secondary</button> <button type="button" class="btn btn-success disabled">Success</button> <button type="button" class="btn btn-info disabled">Info</button> <button type="button" class="btn btn-warning disabled">Warning</button> <button type="button" class="btn btn-danger disabled">Danger</button> <button type="button" class="btn btn-link disabled">Link</button>

<button type="button" class="btn btn-outline-primary">Primary</button> <button type="button" class="btn btn-outline-secondary">Secondary</button> <button type="button" class="btn btn-outline-success">Success</button> <button type="button" class="btn btn-outline-info">Info</button> <button type="button" class="btn btn-outline-warning">Warning</button> <button type="button" class="btn btn-outline-danger">Danger</button>

           <button type="button" class="btn btn-primary">Primary</button>
             <button id="btnGroupDrop1" type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
           <button type="button" class="btn btn-success">Success</button>
             <button id="btnGroupDrop2" type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
           <button type="button" class="btn btn-info">Info</button>
             <button id="btnGroupDrop3" type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
           <button type="button" class="btn btn-danger">Danger</button>
             <button id="btnGroupDrop4" type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
         <button type="button" class="btn btn-primary btn-lg">Large button</button>
         <button type="button" class="btn btn-primary">Default button</button>
         <button type="button" class="btn btn-primary btn-sm">Small button</button>

<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>

           <label class="btn btn-primary active">
             <input type="checkbox" checked="" autocomplete="off"> Active
           </label>
           <label class="btn btn-primary">
             <input type="checkbox" autocomplete="off"> Check
           </label>
           <label class="btn btn-primary">
             <input type="checkbox" autocomplete="off"> Check
           </label>
           <label class="btn btn-primary active">
             <input type="radio" name="options" id="option1" autocomplete="off" checked=""> Active
           </label>
           <label class="btn btn-primary">
             <input type="radio" name="options" id="option2" autocomplete="off"> Radio
           </label>
           <label class="btn btn-primary">
             <input type="radio" name="options" id="option3" autocomplete="off"> Radio
           </label>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-primary">Button</button>
           <button type="button" class="btn btn-secondary">Left</button>
           <button type="button" class="btn btn-secondary">Middle</button>
           <button type="button" class="btn btn-secondary">Right</button>


Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Heading with muted text

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Example body text

Nullam quis risus eget <a href="#">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

This line of text is meant to be treated as fine print.

The following is rendered as bold text.

The following is rendered as italicized text.

An abbreviation of the word attribute is attr.

Emphasis classes

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

Nullam id dolor id nibh ultricies vehicula ut id elit.

Etiam porta sem malesuada magna mollis euismod.

Donec ullamcorper nulla non metus auctor fringilla.

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

Maecenas sed diam eget risus varius blandit sit amet non magna.


Blockquotes

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

<footer class="blockquote-footer">Someone famous in Source Title </footer>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

<footer class="blockquote-footer">Someone famous in Source Title </footer>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

<footer class="blockquote-footer">Someone famous in Source Title </footer>

<thead> </thead> <tbody> </tbody>
Type Column heading Column heading Column heading
Active Column content Column content Column content
Default Column content Column content Column content
Primary Column content Column content Column content
Secondary Column content Column content Column content
Success Column content Column content Column content
Danger Column content Column content Column content
Warning Column content Column content Column content
Info Column content Column content Column content
Light Column content Column content Column content
Dark Column content Column content Column content
         <form>
           <fieldset>
             <legend>Legend</legend>
               <label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
                 <input type="text" readonly="" class="form-control-plaintext" id="staticEmail" value="email@example.com">
               <label for="exampleInputEmail1">Email address</label>
               <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
               We'll never share your email with anyone else.
               <label for="exampleInputPassword1">Password</label>
               <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
               <label for="exampleSelect1">Example select</label>
               <select class="form-control" id="exampleSelect1">
                 <option>1</option>
                 <option>2</option>
                 <option>3</option>
                 <option>4</option>
                 <option>5</option>
               </select>
               <label for="exampleSelect2">Example multiple select</label>
               <select multiple="" class="form-control" id="exampleSelect2">
                 <option>1</option>
                 <option>2</option>
                 <option>3</option>
                 <option>4</option>
                 <option>5</option>
               </select>
               <label for="exampleTextarea">Example textarea</label>
               <textarea class="form-control" id="exampleTextarea" rows="3"></textarea>
               <label for="exampleInputFile">File input</label>
               <input type="file" class="form-control-file" id="exampleInputFile" aria-describedby="fileHelp">
               This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to
                 a new line.
             <fieldset class="form-group">
               <legend>Radio buttons</legend>
                 <label class="form-check-label">
                   <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios1" value="option1" checked=""> Option one is this and that—be sure to include why it's great
                 </label>
                 <label class="form-check-label">
                   <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios2" value="option2"> Option two can be something else and selecting it will deselect option one
                 </label>
                 <label class="form-check-label">
                   <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios3" value="option3" disabled=""> Option three is disabled
                 </label>
             </fieldset>
             <fieldset class="form-group">
               <legend>Checkboxes</legend>
                 <label class="form-check-label">
                   <input class="form-check-input" type="checkbox" value="" checked=""> Option one is this and that—be sure to include why it's great
                 </label>
                 <label class="form-check-label">
                   <input class="form-check-input" type="checkbox" value="" disabled=""> Option two is disabled
                 </label>
             </fieldset>
             <button type="submit" class="btn btn-primary">Submit</button>
           </fieldset>
         </form>
       <form class="bs-component">
           <fieldset disabled="">
             <label class="control-label" for="disabledInput">Disabled input</label>
             <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled="">
           </fieldset>
           <fieldset>
             <label class="control-label" for="readOnlyInput">Readonly input</label>
             <input class="form-control" id="readOnlyInput" type="text" placeholder="Readonly input here…" readonly="">
           </fieldset>
           <label class="form-control-label" for="inputSuccess1">Valid input</label>
           <input type="text" value="correct value" class="form-control is-valid" id="inputValid">
Success! You've done it.
           <label class="form-control-label" for="inputDanger1">Invalid input</label>
           <input type="text" value="wrong value" class="form-control is-invalid" id="inputInvalid">
Sorry, that username's taken. Try another?
           <label class="col-form-label col-form-label-lg" for="inputLarge">Large input</label>
           <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" id="inputLarge">
           <label class="col-form-label" for="inputDefault">Default input</label>
           <input type="text" class="form-control" placeholder="Default input" id="inputDefault">
           <label class="col-form-label col-form-label-sm" for="inputSmall">Small input</label>
           <input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" id="inputSmall">
           <label class="control-label">Input addons</label>
                 $
               <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
                 .00
       </form>
         <fieldset>
           <legend>Custom forms</legend>
               <input type="radio" id="customRadio1" name="customRadio" class="custom-control-input" checked="">
               <label class="custom-control-label" for="customRadio1">Toggle this custom radio</label>
               <input type="radio" id="customRadio2" name="customRadio" class="custom-control-input">
               <label class="custom-control-label" for="customRadio2">Or toggle this other custom radio</label>
               <input type="radio" id="customRadio3" name="customRadio" class="custom-control-input" disabled="">
               <label class="custom-control-label" for="customRadio3">Disabled custom radio</label>
               <input type="checkbox" class="custom-control-input" id="customCheck1" checked="">
               <label class="custom-control-label" for="customCheck1">Check this custom checkbox</label>
               <input type="checkbox" class="custom-control-input" id="customCheck2" disabled="">
               <label class="custom-control-label" for="customCheck2">Disabled custom checkbox</label>
             <select class="custom-select">
               <option selected="">Open this select menu</option>
               <option value="1">One</option>
               <option value="2">Two</option>
               <option value="3">Three</option>
             </select>
             <label class="custom-file">
               <input type="file" id="file2" class="custom-file-input">
               
             </label>
         </fieldset>

Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.

Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.

       

Pagination

  • <a class="page-link" href="#">«</a>
  • <a class="page-link" href="#">1</a>
  • <a class="page-link" href="#">2</a>
  • <a class="page-link" href="#">3</a>
  • <a class="page-link" href="#">4</a>
  • <a class="page-link" href="#">5</a>
  • <a class="page-link" href="#">»</a>
  • <a class="page-link" href="#">«</a>
  • <a class="page-link" href="#">1</a>
  • <a class="page-link" href="#">2</a>
  • <a class="page-link" href="#">3</a>
  • <a class="page-link" href="#">4</a>
  • <a class="page-link" href="#">5</a>
  • <a class="page-link" href="#">»</a>
  • <a class="page-link" href="#">«</a>
  • <a class="page-link" href="#">1</a>
  • <a class="page-link" href="#">2</a>
  • <a class="page-link" href="#">3</a>
  • <a class="page-link" href="#">4</a>
  • <a class="page-link" href="#">5</a>
  • <a class="page-link" href="#">»</a>

Alerts

           <button type="button" class="close" data-dismiss="alert">×</button>

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, <a href="#" class="alert-link">vel scelerisque nisl consectetur et</a>.

           <button type="button" class="close" data-dismiss="alert">×</button>
           Oh snap!
           <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
           <button type="button" class="close" data-dismiss="alert">×</button>
           Well done! You successfully read
           <a href="#" class="alert-link">this important alert message</a>.
           <button type="button" class="close" data-dismiss="alert">×</button>
           Heads up! This
           <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important.
           <button type="button" class="close" data-dismiss="alert">×</button>
           Oh snap!
           <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
           <button type="button" class="close" data-dismiss="alert">×</button>
           Well done! You successfully read
           <a href="#" class="alert-link">this important alert message</a>.
           <button type="button" class="close" data-dismiss="alert">×</button>
           Heads up! This
           <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important.

Badges

       Primary
       Secondary
       Success
       Danger
       Warning
       Info
       Light
       Dark
       Primary
       Secondary
       Success
       Danger
       Warning
       Info
       Light
       Dark

Basic

Contextual alternatives

Multiple bars

Striped

Animated

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.


It uses utility classes for typography and spacing to space content out within the larger container.

<a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>


List groups

  • Cras justo odio 14
  • Dapibus ac facilisis in 2
  • Morbi leo risus 1
           <a href="#" class="list-group-item list-group-item-action active">
             Cras justo odio
           </a>
           <a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in
           </a>
           <a href="#" class="list-group-item list-group-item-action disabled">Morbi leo risus
           </a>
           <a href="#" class="list-group-item list-group-item-action flex-column align-items-start active">
List group item heading
               3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

             Donec id elit non mi porta.
           </a>
           <a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
List group item heading
               3 days ago

Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.

             Donec id elit non mi porta.
           </a>

Cards

Header

Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card header

Special title treatment
Support card subtitle
           <img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22318%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20318%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_158bd1d28ef%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A16pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_158bd1d28ef%22%3E%3Crect%20width%3D%22318%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22129.359375%22%20y%3D%2297.35%22%3EImage%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Card image">

Some quick example text to build on the card title and make up the bulk of the card's content.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros
             <a href="#" class="card-link">Card link</a>
             <a href="#" class="card-link">Another link</a>

Card title

Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

             <a href="#" class="card-link">Card link</a>
             <a href="#" class="card-link">Another link</a>

Modals


<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal"> Launch demo modal (normal size) </button>

<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-lg">Large modal</button>

<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-sm">Small modal</button>


Popovers

         <button type="button" class="btn btn-secondary" title="" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." data-original-title="Popover Title">Left</button>
         <button type="button" class="btn btn-secondary" title="" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." data-original-title="Popover Title">Top</button>
         <button type="button" class="btn btn-secondary" title="" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus
             sagittis lacus vel augue laoreet rutrum faucibus." data-original-title="Popover Title">Bottom</button>
         <button type="button" class="btn btn-secondary" title="" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." data-original-title="Popover Title">Right</button>

Tooltips

         <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Left</button>
         <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Top</button>
         <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Bottom</button>
         <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Right</button>


<button class="btn btn-link" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> Collapsible Group Item #1 </button>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> Collapsible Group Item #2 </button>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> Collapsible Group Item #3 </button>

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.

</html> Template:GCb-footer-yourfile-eng Template:GCb-css-yourfile-core Template:GCb-css-yourfile-override