1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

redo sidenav

This commit is contained in:
Mark Otto
2015-04-13 19:00:59 -07:00
parent 982c255c28
commit 53a3ff74ca
11 changed files with 86 additions and 52 deletions

View File

@@ -194,24 +194,16 @@ td, th {
@media print {
*, *:before, *:after {
color: #000 !important;
text-shadow: none !important;
background: transparent !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
a, a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
a[href^="#"]:after, a[href^="javascript:"]:after {
content: "";
}
pre, blockquote {
border: 1px solid #999;
@@ -3243,6 +3235,19 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
bottom: 0;
}
.navbar-sticky-top {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1030;
width: 100%;
}
@media (min-width: 34em) {
.navbar-sticky-top {
border-radius: 0;
}
}
.navbar-brand {
float: left;
padding: .725rem .75rem;