aboutsummaryrefslogtreecommitdiff
path: root/examples/dashboard/dashboard.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 16:29:47 -0800
committerMark Otto <[email protected]>2013-12-14 16:29:47 -0800
commit323a40cc53dabf0561c588c8f8ccd690c5bb0a03 (patch)
tree0f4ab3c35f65a6f88a8b4a8a28001650cdf4ae7a /examples/dashboard/dashboard.css
parent89e0f1669f2b4166051affa4eec819475660ed72 (diff)
parent83c60ef3eec234b3dac94c841fd1f13f94aab36f (diff)
downloadbootstrap-323a40cc53dabf0561c588c8f8ccd690c5bb0a03.tar.xz
bootstrap-323a40cc53dabf0561c588c8f8ccd690c5bb0a03.zip
Merge branch 'master' into pr/11162
Conflicts: less/modals.less
Diffstat (limited to 'examples/dashboard/dashboard.css')
-rw-r--r--examples/dashboard/dashboard.css93
1 files changed, 93 insertions, 0 deletions
diff --git a/examples/dashboard/dashboard.css b/examples/dashboard/dashboard.css
new file mode 100644
index 000000000..750124bf8
--- /dev/null
+++ b/examples/dashboard/dashboard.css
@@ -0,0 +1,93 @@
+/*
+ * 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;
+}
+
+
+/*
+ * Sidebar
+ */
+
+/* Hide for mobile, show later */
+.sidebar {
+ display: none;
+}
+@media (min-width: 768px) {
+ .sidebar {
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ z-index: 1000;
+ display: block;
+ padding: 70px 20px 20px;
+ background-color: #f5f5f5;
+ border-right: 1px solid #eee;
+ }
+}
+
+/* Sidebar navigation */
+.nav-sidebar {
+ margin-left: -20px;
+ margin-right: -21px; /* 20px padding + 1px border */
+ margin-bottom: 20px;
+}
+.nav-sidebar > li > a {
+ padding-left: 20px;
+ padding-right: 20px;
+}
+.nav-sidebar > .active > a {
+ color: #fff;
+ background-color: #428bca;
+}
+
+
+/*
+ * Main content
+ */
+
+.main {
+ padding: 20px;
+}
+@media (min-width: 768px) {
+ .main {
+ padding-left: 40px;
+ pading-right: 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 {
+ border-radius: 50%;
+}