This version of the Bootstrap 3 library has been updated to reflect the states style guide. It is not meant to document all the features and aspects of Bootstrap. It just shows common bootstrap components and how they look with the states styles. For more information on bootstraps usage, see https://getbootstrap.com/docs/3.3/components/
There are a couple of ways you can leverage this framework:
You can included the required files directly from our file server:
https://files.dnr.state.mn.us/lib/bootstrap3/css/bootstrap.css
https://files.dnr.state.mn.us/lib/bootstrap3/javascripts/bootstrap.js
https://files.dnr.state.mn.us/lib/bootstrap3/javascripts/bootstrap.min.js
https://files.dnr.state.mn.us/lib/bootstrap3/download/state-branded-bootstrap-3.zip
or
click here
We are using
Roboto Slab, Arial, Helvetica, sans-serif
for all
header tags. The fonts are obtained from fonts.googleapis.com are
included in this package.
A slideshow component for cycling through elements, like a carousel. Nested carousels are not supported.
panel-default
panel-primary
panel-success
panel-info
panel-wanring
panel-danger
All Bootstrap Glyphicons should be accessible
All previous versions of Bootstrap table classes work as expected.
The only think that has changed is the state
color.
Column Heading | Column Heading | Column Heading |
---|---|---|
Content | Content | Content |
Content | Content | Content |
Content | Content | Content |
Content | Content | Content |
Content | Content | Content |
Tabs will work the way they have always working in Bootstrap
Home page stuff goes here...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Profile stuff...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Messages....
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Settings....
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Or you can use them in their Pill form:
Pill version - Home page stuff goes here...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Pill version - Profile stuff...
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Pill version - Messages....
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Pill version - Settings....
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
See below code example for usage.
- <div class="panel with-nav-tabs panel-danger">
-
- <div class="panel-heading">
-
- <ul class="nav nav-tabs">
-
-
<li class="active"><a href="#tab1default"
data-toggle="tab">Default 1</a></li>
-
<li><a href="#tab2default"
data-toggle="tab">Default 2</a></li>
-
<li><a href="#tab3default"
data-toggle="tab">Default 3</a></li>
-
<li><a href="#tab3default"
data-toggle="tab">Default 3</a></li>
- <li class="dropdown">
-
-
<a href="#"
data-toggle="dropdown">Dropdown <span
class="caret"></span></a>
-
<ul class="dropdown-menu" role="menu">
-
-
<li><a href="#tab4default"
data-toggle="tab">Default
4</a></li>
-
<li><a href="#tab5default"
data-toggle="tab">Default
5</a></li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="panel-body">
-
- <div class="tab-content">
-
-
<div class="tab-pane fade in active"
id="tab1default">Default 1</div>
-
<div class="tab-pane fade"
id="tab2default">Default 2</div>
-
<div class="tab-pane fade"
id="tab3default">Default 3</div>
-
<div class="tab-pane fade"
id="tab4default">Default 4</div>
-
<div class="tab-pane fade"
id="tab4default">Default 4</div>
-
<div class="tab-pane fade"
id="tab5default">Default 5</div>
- </div>
- </div>
- </div>
Plus / Minus
feature shown in this demo is not a
standard feature of bootstrap. It is also not in this library.
Custom javascript was added to the page to toggle those icons. It is
left up to the use case, to determin if such a feature is required
by your application.
HTML stands for HyperText Markup Language. HTML is the main markup language for describing the structure of Web pages.
Bootstrap is a powerful front-end framework for faster and easier web development. It is a collection of CSS and HTML conventions.
CSS stands for Cascading Style Sheet. CSS allows you to specify various style properties for a given HTML element such as colors, backgrounds, fonts etc.
You use the panel classes to change the look of the panels
HTML stands for HyperText Markup Language. HTML is the main markup language for describing the structure of Web pages.
Bootstrap is a powerful front-end framework for faster and easier web development. It is a collection of CSS and HTML conventions.
CSS stands for Cascading Style Sheet. CSS allows you to specify various style properties for a given HTML element such as colors, backgrounds, fonts etc.
- <div class="panel-group" id="accordion">
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
-
- <h4 class="panel-title">
-
-
<a data-toggle="collapse"
data-parent="#accordion"
href="#collapseOne"><span class="glyphicon
glyphicon-plus"></span> What is
HTML?</a>
- </h4>
- </div>
-
<div id="collapseOne" class="panel-collapse
collapse">
-
- <div class="panel-body">
-
-
<p>HTML stands for HyperText Markup
Language. HTML is the main markup language for
describing the structure of Web pages.</p>
- </div>
- </div>
- </div>
- </div>
A lot of contextual baseed classes have been added to the repo.
Bootstrap already leverages a contextual based system but we have
added extensively to it. The system has two main variants,
bg-{color}
and text-{color}
. The repo
still supports the 5 base state actions:
primary success info warning danger
but it also
supports all the minnesota state colors as well. All colors come
from the style guide.
There are two main types of Contextual Classes -
.bg-{color}
and .text-{color}
. These
classes use !important
to ensure that the colors are
overridden. All colors use the style guide naming convention. See
Style guide for color names.
Some color pairings have a default complementary color. If you don't specify a text color, the default will be used.
When dealing with Bootstrap components that have a normal bootstrap context, you can ommit the context and just use the contextual class.
<a class="btn btn-default bg-minnesota-blue"
href="#">Some button</a>
<a class="btn bg-minnesota-blue" href="#">Some
button</a>
Use the standard btn
and adjust the background-color.
Default accent color is used.
<a class="btn bg-minnesota-blue" href="#">Some
button</a>
Use the standard btn
and adjust the background-color
and text color accordingly. Use .bg-{color}
and
.text-{color}
<button class="btn bg-minnesota-blue
text-minnesota-green">Some button</button>
<a class="btn bg-minnesota-blue text-minnesota-green"
href="#">Some button</a>
Use the standard panel
and adjust the background-color.
Default accent color is used.
Just some random text
Just some random text
Just some random text
Just some random text
Just some random text
Just some random text
- <div class="panel bg-minnesota-blue" >
-
- <div class="panel-heading" >
-
- <h4 class="panel-title" >
-
- .text-white
- </h4 >
- </div >
- <div class="panel-body bg-white" >
-
- Make sure to style background white....
- </div >
- </div >
Use the standard panel
and adjust the background-color
and text color accordingly.
Just some random text
Just some random text
Just some random text
Just some random text
Just some random text
- <div class="panel bg-minnesota-blue" >
-
- <div class="panel-heading text-white" >
-
- <h4 class="panel-title" >
-
- .text-white
- </h4 >
- </div >
- <div class="panel-body bg-white" >
-
- Make sure to style background white....
- </div >
- </div >
Use the standard alert
and adjust the background-color
accordingly: alert bg-minnesota-blue
Use the standard alert
and adjust the background-color
and text accordingly:
alert bg-minnesota-blue text-minneesota-green
Most Bootstrap components should work just fine with the Contextual classes. Just try to use the default variant version and override accordingly.
Form controls support all the standard Bootstrap 3 form components
Field can't be blank
Callouts are for information that you would like to bring attention
to, without having the need to use a alert
.
<div class="callout callout-success">
You can put anything in here to draw attention to it, but without making it an alert.
You can put anything in here to draw attention to it, but without making it an alert.
You can put anything in here to draw attention to it, but without making it an alert.
You can put anything in here to draw attention to it, but without making it an alert.
You can put anything in here to draw attention to it, but without making it an alert.