diff --git a/bower.json b/bower.json index 344319a4..417f96dd 100644 --- a/bower.json +++ b/bower.json @@ -32,6 +32,10 @@ "test-infra" ], "dependencies": { + "bootstrap": "git@github.com:rosskevin/bootstrap.git#v4-tmp-flex-master", + "tether": "^1.1" + }, + "old-dependencies": { "bootstrap": "v4-dev", "tether": "^1.1" } diff --git a/docs/examples/dashboard-bs4/dashboard.scss b/docs/examples/dashboard-bs4/dashboard.scss deleted file mode 100644 index ed2cd340..00000000 --- a/docs/examples/dashboard-bs4/dashboard.scss +++ /dev/null @@ -1,110 +0,0 @@ ---- ---- - -/* - * Base structure - */ - -/* Move down content because we have a fixed navbar that is 50px tall */ -body { - padding-top: 50px; -} - - -/* - * Global add-ons - */ - -.sub-header { - padding-bottom: 10px; - border-bottom: 1px solid #eee; -} - -/* - * Top navigation - * Hide default border to remove 1px line. - */ -.navbar-fixed-top { - border: 0; -} - -/* - * Sidebar - */ - -/* Hide for mobile, show later */ -.sidebar { - display: none; -} -@media (min-width: 768px) { - .sidebar { - position: fixed; - top: 51px; - bottom: 0; - left: 0; - z-index: 1000; - display: block; - padding: 20px; - overflow-x: hidden; - overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ - background-color: #f5f5f5; - border-right: 1px solid #eee; - } -} - -/* Sidebar navigation */ -.nav-sidebar { - margin-right: -21px; /* 20px padding + 1px border */ - margin-bottom: 20px; - margin-left: -20px; -} -.nav-sidebar > li > a { - padding-right: 20px; - padding-left: 20px; -} -.nav-sidebar > .active > a { - &, - &:hover, - &:focus { - color: #fff; - background-color: #428bca; - } -} - - -/* - * Main content - */ - -.main { - padding: 20px; -} -@media (min-width: 768px) { - .main { - padding-right: 40px; - padding-left: 40px; - } -} -.main .page-header { - margin-top: 0; -} - - -/* - * Placeholder dashboard ideas - */ - -.placeholders { - margin-bottom: 30px; - text-align: center; -} -.placeholders h4 { - margin-bottom: 0; -} -.placeholder { - margin-bottom: 20px; -} -.placeholder img { - display: inline-block; - border-radius: 50%; -} diff --git a/docs/examples/dashboard-bs4/index.html b/docs/examples/dashboard-bs4/index.html deleted file mode 100644 index ef3bdf31..00000000 --- a/docs/examples/dashboard-bs4/index.html +++ /dev/null @@ -1,210 +0,0 @@ ---- -layout: example -title: Dashboard BS4 Template -group: material-design ---- - - - - - - - -
-
- -
-

Dashboard

- -
-
- Generic placeholder thumbnail -

Label

- Something else -
-
- Generic placeholder thumbnail -

Label

- Something else -
-
- Generic placeholder thumbnail -

Label

- Something else -
-
- Generic placeholder thumbnail -

Label

- Something else -
-
- -

Section title

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#HeaderHeaderHeaderHeader
1,001Loremipsumdolorsit
1,002ametconsecteturadipiscingelit
1,003IntegernecodioPraesent
1,003liberoSedcursusante
1,004dapibusdiamSednisi
1,005Nullaquissemat
1,006nibhelementumimperdietDuis
1,007sagittisipsumPraesentmauris
1,008Fuscenectellussed
1,009auguesemperportaMauris
1,010massaVestibulumlaciniaarcu
1,011egetnullaClassaptent
1,012tacitisociosquadlitora
1,013torquentperconubianostra
1,014perinceptoshimenaeosCurabitur
1,015sodalesligulainlibero
-
-
-
-
diff --git a/docs/examples/index.md b/docs/examples/index.md index 1b96899f..82f8d835 100644 --- a/docs/examples/index.md +++ b/docs/examples/index.md @@ -45,15 +45,3 @@ Components and templates to help folks quickly get started with Material Design launch Launch - -## Experiments - -Examples that focus on future-friendly features or techniques. - -
-
-

Offcanvas

-

Build a toggleable off-canvas navigation menu for use with Bootstrap.

- launch Launch -
-
diff --git a/docs/examples/offcanvas/index.html b/docs/examples/offcanvas/index.html deleted file mode 100644 index f8fa8f6d..00000000 --- a/docs/examples/offcanvas/index.html +++ /dev/null @@ -1,88 +0,0 @@ ---- -layout: example -title: Offcanvas -group: material-design ---- - - - - - - - -
- -
- -
-

- -

-
-

Hello, world!

-

This doesn't seem very as-is because the main content never uses all the space when shrunk. It also pushes content instead of overlaying, like you might want with a drawer.

-

This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.

-
-
-
-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

-

View details »

-
-
-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

-

View details »

-
-
-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

-

View details »

-
-
-
- - -
- -
- - - -
- - - - - - diff --git a/docs/examples/offcanvas/offcanvas.scss b/docs/examples/offcanvas/offcanvas.scss deleted file mode 100644 index 504454a6..00000000 --- a/docs/examples/offcanvas/offcanvas.scss +++ /dev/null @@ -1,62 +0,0 @@ ---- ---- - -/* - * Style tweaks - * ------- - */ -html, -body { - overflow-x: hidden; /* Prevent scroll on narrow devices */ -} -body { - padding-top: 70px; -} -footer { - padding: 30px 0; -} - -/* - * Off Canvas - * -------------------------------------------------- - */ -@media screen and (max-width: 767px) { - .row-offcanvas { - position: relative; - -webkit-transition: all .25s ease-out; - -o-transition: all .25s ease-out; - transition: all .25s ease-out; - } - - .row-offcanvas-right { - right: 0; - } - - .row-offcanvas-left { - left: 0; - } - - .row-offcanvas-right - .sidebar-offcanvas { - right: -50%; /* 6 columns */ - } - - .row-offcanvas-left - .sidebar-offcanvas { - left: -50%; /* 6 columns */ - } - - .row-offcanvas-right.active { - right: 50%; /* 6 columns */ - } - - .row-offcanvas-left.active { - left: 50%; /* 6 columns */ - } - - .sidebar-offcanvas { - position: absolute; - top: 0; - width: 50%; /* 6 columns */ - } -}