From cec0c7c6d6c6926dd372a91172c0081bb09fcc09 Mon Sep 17 00:00:00 2001 From: Eric Nolte Date: Fri, 4 Nov 2016 10:54:34 -0600 Subject: Update docs to reflect new breakpoint naming convention --- docs/examples/dashboard/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index 1670e8557..b4bdcd3ac 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -62,22 +62,22 @@

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 -- cgit v1.2.3 From 91f70c538a7d4f31f3d6a8529c3ebb53b8d6eb67 Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Sat, 26 Nov 2016 15:23:11 +1100 Subject: Refactor Dashboard example. (#21140) --- docs/examples/dashboard/dashboard.css | 98 ++++++++++-------------------- docs/examples/dashboard/index.html | 111 +++++++++++++++++++++------------- 2 files changed, 103 insertions(+), 106 deletions(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css index e7c6a21df..99f2962b5 100644 --- a/docs/examples/dashboard/dashboard.css +++ b/docs/examples/dashboard/dashboard.css @@ -7,96 +7,64 @@ body { padding-top: 50px; } - /* - * Global add-ons + * Typography */ -.sub-header { - padding-bottom: 10px; +h1 { + margin-bottom: 20px; + padding-bottom: 9px; 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; - } + position: fixed; + top: 51px; + bottom: 0; + left: 0; + z-index: 1000; + padding: 20px; + overflow-x: hidden; + overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ + 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, -.nav-sidebar > .active > a:hover, -.nav-sidebar > .active > a:focus { - color: #fff; - background-color: #428bca; +.sidebar { + padding-left: 0; + padding-right: 0; } +.sidebar .nav { + margin-bottom: 20px; +} -/* - * Main content - */ - -.main { - padding: 20px; +.sidebar .nav-item { + width: 100%; } -@media (min-width: 768px) { - .main { - padding-right: 40px; - padding-left: 40px; - } + +.sidebar .nav-item + .nav-item { + margin-left: 0; } +.sidebar .nav-link { + border-radius: 0; +} /* - * Placeholder dashboard ideas + * Dashboard */ + /* Placeholders */ .placeholders { - margin-bottom: 30px; - text-align: center; -} -.placeholders h4 { - margin-bottom: 0; -} -.placeholder { - margin-bottom: 20px; + padding-bottom: 3rem; } + .placeholder img { - display: inline-block; - border-radius: 50%; + padding-top: 1.5rem; + padding-bottom: 1.5rem; } diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index b4bdcd3ac..cb9d880ec 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -19,70 +19,101 @@ - - + +

Dashboard

-
+
- Generic placeholder thumbnail + Generic placeholder thumbnail

Label

- Something else +
Something else
- Generic placeholder thumbnail + Generic placeholder thumbnail

Label

Something else
- Generic placeholder thumbnail + Generic placeholder thumbnail

Label

Something else
- Generic placeholder thumbnail + Generic placeholder thumbnail

Label

Something else
-
+

Section title

@@ -212,7 +243,7 @@
-
+
@@ -223,8 +254,6 @@ - - -- cgit v1.2.3 From b1e8d60348ab84895b7b722487a03264a53aedfb Mon Sep 17 00:00:00 2001 From: Starsam80 Date: Sat, 26 Nov 2016 21:33:46 -0700 Subject: Remove 'xs' from text utilities (#21217) --- docs/examples/dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index cb9d880ec..9abbcf19d 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -92,7 +92,7 @@

Dashboard

-
+
Generic placeholder thumbnail

Label

-- cgit v1.2.3 From 80674b0c58e3fd8ce76ba94d1075d62c2db6af37 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 21 Dec 2016 21:40:26 -0800 Subject: fixes #18115: move forward with one naming scheme for inversed color schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name) --- docs/examples/dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html index 9abbcf19d..96133e61a 100644 --- a/docs/examples/dashboard/index.html +++ b/docs/examples/dashboard/index.html @@ -19,7 +19,7 @@ -