diff options
| author | Mark Otto <[email protected]> | 2015-08-18 00:59:44 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-18 00:59:44 -0700 |
| commit | 47d334b28fff8e0e2cc7e7a6bb7d6f2f9ba42351 (patch) | |
| tree | b87b9edacbd2c004c21a58ae10213d406bf41c68 | |
| parent | 03f21a75e534e062a867807c4c74b673763bc8c1 (diff) | |
| download | bootstrap-47d334b28fff8e0e2cc7e7a6bb7d6f2f9ba42351.tar.xz bootstrap-47d334b28fff8e0e2cc7e7a6bb7d6f2f9ba42351.zip | |
shoutout navbar-divider
| -rw-r--r-- | scss/_navbar.scss | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index b845ff32d..630b99ed5 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -85,6 +85,21 @@ } +.navbar-divider { + float: left; + width: 1px; + padding-top: .425rem; + padding-bottom: .425rem; + overflow: hidden; + margin-left: $navbar-padding-horizontal; + margin-right: $navbar-padding-horizontal; + + &:before { + content: '\00a0'; + } +} + + // Navbar toggle // // Custom button for toggling the `.navbar-collapse`, powered by the collapse @@ -161,6 +176,10 @@ } } } + + .navbar-divider { + background-color: rgba(0,0,0,.075); + } } // White links against a dark background @@ -191,4 +210,8 @@ } } } + + .navbar-divider { + background-color: rgba(255,255,255,.075); + } } |
