Mark Otto
5a0ba42a7b
fix up inverse navbar form styles
2013-08-15 11:47:56 -07:00
Mark Otto
1b6a5bbca2
fixes #9507 : remove padding on navbar-collapse as any padding on an animated object screws it up; instead use some padding on the navbar nav
2013-08-15 00:08:21 -07:00
Mark Otto
0456e5e4b3
fixes #9508 : use navbar align mixin for buttons to get correct top/bottom spacing
2013-08-14 23:02:58 -07:00
Mark Otto
c5ca743cb7
Merge branch 'navbar-brand-margin' of https://github.com/Luis-TP/bootstrap into Luis-TP-navbar-brand-margin
...
Conflicts:
dist/css/bootstrap.min.css
2013-08-14 22:59:02 -07:00
Mark Otto
9de788134f
refactor navbar file to better nest css and restore navbar-color to navbar text ( fixes #9500 )
2013-08-14 21:32:23 -07:00
Luis Aleman
ef60b0e5fb
Get rid of navbar-brand margin-right
2013-08-14 13:03:00 -04:00
Luis Aleman
1b3896fabf
Remove .navbar-collapse padding when not in mobile context
2013-08-14 11:39:38 -04:00
Luis Aleman
c79fa6ad04
Apply mixin to correct class
2013-08-13 22:53:23 -04:00
Luis Aleman
e29c2d0c24
Fix .navbar-right > .dropdown-menu alignment
2013-08-13 22:30:02 -04:00
Mark Otto
5b4fe08f42
fixes #9439 : use overflow: auto on navbar collapse
2013-08-13 15:22:05 -07:00
Mark Otto
fa330f308a
Overhaul navbar alignment (.pull-) utilities ( fixes #9440 )
...
Now navbars have their own float utility classes, mixin-ed versions of
`.pull-left` and `.pull-right`.
* Removed chained `.navbar-nav.pull-right`
* Added `.navbar-left` and `.navbar-right` as mixins of the default
float utilities, but only above the `@grid-float-breakpoint` to match
the new navbar behavior
* Updated components docs to match the new changeas
* Added callout about component alignment here to explain the new
classes
2013-08-13 15:19:59 -07:00
Mark Otto
2bc67b334d
nuke the box-shadow on uncollapsed navbar-collapse
2013-08-13 14:46:34 -07:00
Mark Otto
3c772b1ceb
lighter default navbar, add borders to navbars, tweak padding and alignments
2013-08-13 13:39:21 -07:00
Mark Otto
48e7468e3a
invert dropdown styles in navbar for inverse variation
2013-08-12 21:43:59 -07:00
Mark Otto
8bb7def26c
Navbar refactor
...
* Now responsive by default (fits better with mobile-first approach)
* Requires `.nav-header` to group `.navbar-brand` and `.navbar-toggle`
for proper mobile display.
* Changed `.nav-collapse` to `.navbar-collapse`
* Simplified examples in docs
2013-08-12 21:23:28 -07:00
Mark Otto
85ec6e741d
Follow up commit: fix collapse clearing and navbar brand/nav spacing
2013-08-11 19:19:44 -07:00
Mark Otto
ba8026e00f
Refactor navbars to simplify things
...
* `.navbar-brand` is no longer centered, thus removing need for
max-width and a few lines of code
* Clear floats of `.navbar-brand` in the `.nav-collapse` like we did in
2.x, thus simplifying some clearing and other things.
* Restyle the `.navbar-toggle` button to align it's bars up with the
text and flow of the document.
* Restyle the `.navbar-brand` to not use padding on left/right as to
avoid negative margin and other fuckery. This limits the ability to put
a bg color on the brand, but I think that's fine for now.
2013-08-11 19:06:26 -07:00
Mark Otto
c2cfd3153b
addressing #9189 manually, part 6: add a navbar margin var, but avoid the navbar-nav var because that should really be customizable
2013-08-11 18:32:52 -07:00
liuyl
d557fa2839
navbar.less
2013-08-09 15:44:10 +08:00
Mark Otto
c3ac95333d
Fixes #8749 : prevent navbar nav from overlapping navbar toggle
2013-08-06 17:28:02 -07:00
Mark Otto
223e032150
Fix #9174 : pad bottom of navbar collapsed content and clear floated contents
2013-08-06 16:39:18 -07:00
Mark Otto
844df9e001
Fixes #8732 : unfucks disabled fieldset form example with form groups
2013-08-05 14:45:00 -07:00
Mark Otto
c15f5a89a0
Enable scrollable responsive nav bar
...
Fixes #9007 in a hopefully decent way
2013-08-05 14:19:32 -07:00
Mark Otto
96136dbb56
Merge branch 'pullright' of https://github.com/liuyl/bootstrap into liuyl-pullright
...
Conflicts:
dist/css/bootstrap.min.css
2013-08-05 12:20:52 -07:00
Mark Otto
d2389ec7c4
fixes #8832 and #8823 : remove max-width from .navbar-brand when not mobile
2013-08-05 00:50:40 -07:00
Mark Otto
11e46845b2
fixes #9063 : add var for navbar border radius
2013-08-05 00:47:23 -07:00
Mark Otto
2a2acb6bf2
Merge branch 'patch-1' of https://github.com/jholl/bootstrap into jholl-patch-1
2013-08-05 00:07:19 -07:00
Maurice Fonk
bf0f3c7c1c
using @line-height-computed in .navbar-nav link
...
When a user changed the @line-height-base/@line-height-computed var, the
nav-bar items would not scale appropriately.
2013-08-03 15:09:56 -04:00
James Holland
744b79a666
Update .navbar-toggle to match other navbar el
...
In place of commit #9040 , fix #8844
And sizing .navbar-toggle more like .btn elem
+ change `position:absolute` to `position:relative`
+ remove `right: 10px` in favor of `float:right`
+ change to `height: 34px`
+ remove `top:` in favor of `.navbar-vertical-align` basis new height
+ change `padding:` to match `.btn` el
2013-08-03 10:28:17 -04:00
liuyl
7cfcfdfe64
make navbar-text float left
2013-07-30 09:30:21 +08:00
liuyl
efac0bf8d6
make pull-right !important
2013-07-28 14:05:47 +08:00
fat
38044e55ae
rebuild + fix #2539
2013-07-26 20:44:35 -07:00
Mark Otto
f94d9ce096
Merge branch '3.0.0-wip' of https://github.com/saas786/bootstrap into 3.0.0-wip
2013-07-25 10:11:30 -07:00
Geremia Taglialatela
0017f7fca4
Navbar toggle is not vertically aligned (3.0.0-wip) with custom navbar height
...
When using navbar heights higher that default, the navbar-toggle button is not centered.
Fiddle demonstrating this issue (compiled with `@navbar-height: 60px;`): http://jsfiddle.net/tagliala/mRVMe/2/
Another fiddle with the proposed fix: http://jsfiddle.net/tagliala/mRVMe/3/
2013-07-25 17:09:12 +02:00
syed
f8d5a974bc
Moving navbar inline properties to variables.less and customize.html
2013-07-25 11:58:25 +05:00
Mark Otto
64efa86036
for some reason iOS is shitting the bed on the .navbar-toggle unless it gets fixed dimensions
2013-07-18 02:19:13 -07:00
Mark Otto
898ee8f13b
twerk comment
2013-07-18 01:46:31 -07:00
Mark Otto
e72b524d41
Fixes #8374 : ensure navbar is always at least 50px
2013-07-18 01:25:08 -07:00
Mark Otto
181b276774
Fixes #8397 : better navbar padding with grid gutter stuff
2013-07-18 01:04:54 -07:00
Chris Rebert
d9cd5e4e0c
more nesting in navbar.less
2013-07-07 19:22:18 -07:00
Aristeides Stathopoulos
aad76f21f6
Update navbar.less
2013-06-22 18:44:04 +03:00
Aristeides Stathopoulos
b51e1e0d8c
Update navbar.less
2013-06-22 14:41:31 +03:00
Aristeides Stathopoulos
2ba3b47dc6
Update navbar.less
...
navbar padding-left and padding-right should be calculated from the grid-gutter-width variable.
2013-06-22 14:34:17 +03:00
Mark Otto
b0e943399d
Improve alignment of navbar brand and fix up left padding on list groups
2013-06-21 17:21:44 -07:00
Mark Otto
ef8e5853cb
Fixes #8154 : enforce full width .navbar-nav.pull-right
in mobile
...
Prevents an odd alignment issue in mobile views by forcing the nav
links to be full width without undoing the float.
2013-06-20 17:15:09 -07:00
nextgenthemes
110fc88601
rename '.navbar .nav' to '.navbar-nav'
2013-06-20 19:40:30 +03:00
Mark Otto
2f70477621
fixes #8059 : update navbar responsive break variable
2013-06-02 15:51:28 -07:00
Mark Otto
0c167a1d9d
Fixes #7474 : Use @input-height-base
in .navbar-vertical-align()
for .navbar-form
2013-05-19 22:12:48 -07:00
Mark Otto
a41d566d5e
margin on bottom of navbar nav by default, also round links in mobile views (unround in desktop)
2013-05-14 22:08:56 -07:00
Mark Otto
41a76e8e7a
Less specific dropdown styles, change up navbar dropdown styles
2013-05-12 16:30:54 -07:00
Mark Otto
6fba68eb8b
Unitless line-height
...
* Instead of 20px as @line-height-base, use 1.5
* Update typographic scale for headings to use unitless as well--required some twerking of decimals a bit and some rounding
* Introduce new @line-height-computed value, which takes base font-size and multiplies it by 1.5, for use in padding and margin on components
2013-05-09 17:20:46 -07:00
Mark Otto
7b6352d2cf
Fix up navbar forms by using inline form as a mixin; fix docs for those
2013-05-09 16:41:35 -07:00
Mark Otto
1cb880b4f1
Fixes #7816 : revert negative margin on .navbar-nav
2013-05-08 19:55:20 -07:00
Mark Otto
f06294d80f
Outdent nav links a bit more so they line up in navbar
2013-05-07 10:33:41 -07:00
Mark Otto
dcf7cc084d
Fixes #7783 : nuke bottom margin on fixed-bottom-navbar
2013-05-04 13:11:20 -07:00
Mark Otto
ee0789ff8f
Fixes #7721 : change @navbar-text to @navbar-color, along with inverse options
2013-05-03 15:29:32 -07:00
Mark Otto
747e108e0b
Merge pull request #7670 from DarDar/3.0.0-wip
...
Use @font-size-... variables instead of hardcoded font-size in px
2013-05-03 15:05:29 -07:00
Mark Otto
e1c67b149f
More navbar CSS and docs cleanup
...
* Rearrange sections
* Add code snippets for text and links in navbars
* Add .navbar-link back in
* Add mention of .navbar-text, but it still needs to be re-implemented
* Update nav to reflect new order
2013-05-02 23:13:43 -07:00
Mark Otto
94792b9dae
Improve buttons in navbars
...
* Add top margin, calculated by subtracting height of an input from height of a navbar, and dividing by two
* Uses the same method as .navbar-form
* To use, add .navbar-btn to any button outside a form element
* Also add section to docs detailing buttons in navbars, and add more ids for the other unlinked and unmentioned sections in the side nav
2013-05-02 23:05:09 -07:00
Mark Otto
23ae6405f5
delete lingering navbar dividers code since we nuked that awhile back
2013-05-02 22:58:30 -07:00
Mark Otto
bec8c90fd7
Cleanup .navbar-form styles
...
* Nuke the commented out navbar forms code that's not currently needed
* Add a few more examples to the .navbar-form docs section
* Remove (for now at least) top padding on checkbox and radios
2013-05-02 22:54:14 -07:00
DarDar
9cd3a92713
Use @font-size-... variables instead of hardcoded font-size in px
2013-05-02 08:05:00 +02:00
Mark Otto
0780faad45
make that left/right padding, not top/bottom on navbar
2013-04-30 19:20:41 -07:00
Mark Otto
69f5447afa
add back bottom margin to navbars
2013-04-30 19:12:48 -07:00
Mark Otto
e8b7318646
no need for zero padding on navbar top/bottom; better comment
2013-04-30 19:07:28 -07:00
Mark Otto
6dd4cbd20b
no units on 0 values
2013-04-30 19:06:30 -07:00
Robert Burns
c087e383ed
Fix navbar-toggle after commit bbee78b30b
...
The following commit introduced an issue with the navbar toggle placement:
bbee78b30b
2013-04-28 20:45:42 -04:00
Mark Otto
5edfdc02f2
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
2013-04-28 14:27:58 -07:00
Mark Otto
bbee78b30b
derp on navbar toggle and docs positions
2013-04-28 14:27:48 -07:00
Robert Burns
3326e1b21e
Fix navbar on phone/tablet devices after navbar overhaul
2013-04-28 10:09:57 -04:00
Mark Otto
8b3a1702d4
Overhaul navbar navs
...
* Switch from to to eliminate an element in selectors
* Drop .navbar-divider entirely
2013-04-27 18:28:39 -07:00
Kevin
9ce7f22e99
Adding media queries breakpoints variables
2013-04-27 18:47:47 +02:00
Tom Pietschker
c4d8aa2b0f
rename the navbar-inverse-brand variables for consistency
2013-04-07 17:47:53 -04:00
Mark Otto
db284a97d6
more consistent navbar vars
2013-03-31 17:56:31 -07:00
Mark Otto
aee25786a7
fuck everything about .clear_float() -- restore .clearfix() as mixin
2013-03-30 13:23:18 -07:00
Mark Otto
ba46d859e3
none of that
2013-03-28 01:12:07 -07:00
Mark Otto
fe414d8566
turn docs navbar into left navbar
2013-03-27 23:33:45 -07:00
Luke Page
5054c17ab8
make less files compile with strict maths in 1.4.0
2013-03-06 16:38:20 +00:00
Mark Otto
77e8e2aee9
Fix alignment of .navbar-brand
2013-03-01 00:50:08 -08:00
Mark Otto
492c249537
improve navbar toggle and hide code snippets on mobile devices for now
2013-03-01 00:18:10 -08:00
Mark Otto
5a30e52aac
Fixes #6995 : Add disabled navbar nav link support
2013-02-28 23:20:58 -08:00
Mark Otto
023568fe3d
Navbar realignment:
...
* Change .brand to .navbar-brand
* Change .btn-navbar to .navbar-toggle
* Redesign navbar toggle to be a bit lighter and wider
* Center align the navbar brand with a max-width of 200px (to minimize hit area) while still centering
2013-02-18 01:28:35 -08:00
Mark Otto
36aec5e484
decrease top/bottom padding a bit in mobile fixed navbars
2013-02-17 18:47:44 -08:00
Mark Otto
c0ea077fb4
Revert the statis navbar in mobile views--they're back to being fixed all the time
2013-02-17 18:33:55 -08:00
Mark Otto
f38e50cdf1
Don't affix the fixed navbars in mobile views
2013-02-16 00:19:17 -08:00
Mark Otto
43da258bd9
Merge branch '2.3.0-wip' into 3.0.0-wip
...
Conflicts:
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
docs/examples/hero.html
less/buttons.less
less/carousel.less
less/close.less
less/dropdowns.less
less/labels-badges.less
less/mixins.less
less/navbar.less
less/navs.less
less/pagination.less
less/responsive-navbar.less
less/scaffolding.less
less/sprites.less
less/thumbnails.less
less/type.less
2013-02-05 19:53:44 -08:00
Mark Otto
c97d304c0c
derp, fix broke css and recompile
2013-02-05 19:43:49 -08:00
Mark Otto
15c7e73abd
Merge branch '2.3.0-wip' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-2.3.0-wip
...
Conflicts:
docs/assets/css/bootstrap.css
less/navbar.less
2013-02-05 19:39:49 -08:00
Mark Otto
94e256c016
Refactor navbar dividers
...
* Instead of .divider-vertical, use .divider
* Makes use of .nav-divider mixin
* Dividers are horizontal to start, matching the default state of navbar nav links
* Dividers become vertical above 768px via media queries
2013-02-01 22:56:09 -08:00
Mark Otto
b02a0fe768
Button up navbar form which was adding 2px padding to .navbar
2013-01-31 18:09:49 -08:00
Mark Otto
5075f4973b
Semibold dat .navbar .brand
2013-01-17 20:30:40 -08:00
Mark Otto
26f9f4e3a5
Remove navbar search
2013-01-17 12:02:17 -08:00
Mark Otto
32ebe2efd1
mo betta navbar dropdowns
2013-01-17 11:55:37 -08:00
Mark Otto
597a248d4a
Rearrange navbar.less and improve vertical divider support
2013-01-17 11:34:46 -08:00
Mark Otto
360f0c5359
Fix floats in navbar
2013-01-17 11:20:19 -08:00
Mark Otto
630005687d
Remove ported navbar css that was already commented out
2013-01-17 00:13:12 -08:00
Mark Otto
f535201781
improve navbar vars and fix side nav alignment
2013-01-16 23:33:26 -08:00
Mark Otto
6b193dc22d
More navbar tweaks, including making fixed navbars work in the docs by adding padding to body
2013-01-16 16:20:29 -08:00
Mark Otto
9ba14cfb7c
More navbar derping
2013-01-16 16:14:41 -08:00
Mark Otto
960804cea3
mo betta new navbar styles; hook up some changed vars
2013-01-16 15:35:41 -08:00