0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Commit Graph

998 Commits

Author SHA1 Message Date
Mark Otto
fa413aece1 prep the navbar for some old version stuff 2017-05-27 22:03:17 -07:00
Mark Otto
27a98e014a fix viewbox 2017-05-27 21:44:50 -07:00
Mark Otto
3b8202db93 update nav to use logo at all times 2017-05-27 21:43:52 -07:00
Mark Otto
ed3b308c27 purple nav 2017-05-27 20:10:35 -07:00
Mark Otto
07ef129fc6 always show docs search 2017-05-27 18:47:59 -07:00
Mark Otto
8627c506f7 more responsive docs nav 2017-05-27 18:12:45 -07:00
Mark Otto
ca6c23161f moved file 2017-05-27 17:35:52 -07:00
Mark Otto
480944e66e • Add SVGs for GitHub, Slack, and Twitter
• Move the Bootstrap SVG into the same folder
2017-05-27 17:34:17 -07:00
Mark Otto
bf0fcd7a96 drop navbar search for download button and social icons 2017-05-27 17:31:28 -07:00
Mark Otto
56415b18c6 full width navbar too 2017-05-27 17:30:28 -07:00
Mark Otto
8f67ac19a7 Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-27 15:26:48 -07:00
Geremia Taglialatela
db44e4b311 Update nav and navbar HTML markup
According to the docs, you just need to apply the `navbar-nav` to an
`<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to
override all the css properties set by `nav`.

Also, `nav-item` class should be used only for `<li>` tags, or in
conjunction with `<a>` tags to entirely avoid the list-based approach.

This commit removes the redundant `nav` class from `navbar-nav` `<ul>`
tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly
adds `nav-item` class to `<li>` tags where missing.

Refs:

* https://v4-alpha.getbootstrap.com/components/navs/
* https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-27 15:21:49 -07:00
Mark Otto
6c3f833076 Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined 2017-05-26 22:28:09 -07:00
Mark Otto
733c092681 Drop CSS icons for SVGs (#22708)
* add the svg icon as a partial so we can include it easily

* add the icon to the homepage

* drop .bd-booticon for svgs here

* rip out the import for .bd-booticon sass file

* Delete _booticon.scss

* indentation

* Update bootstrap-icon.html

* remove those
2017-05-26 20:54:12 -07:00
Johann-S
d5fabf8de5 Remove totaly Tether from documentation + dependencies 2017-05-14 11:41:19 +02:00
Pierre Vanduynslager
48c5efa4c3 Fix JS components console error "Error: <Component> is transitioning" 2017-03-28 23:43:15 +02:00
Mark Otto
90c5f6230b rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else 2017-03-23 23:02:28 -07:00
Bardi Harborow
cab6f7d16c More config tweaks. 2017-03-21 21:37:33 +11:00
Mark Otto
c6fdac9415 update instances of old classes in the docs 2017-03-05 12:25:41 -08:00
Waldson Moura
20389c10da Fix fallback jquery filename (#21940) 2017-02-07 19:22:48 -08:00
Patrick H. Lauke
f5745ab846 Add aria-label to docs search field 2017-01-26 11:12:39 +00:00
Christian Oliff
5eb67091b5 Update Search input to type="search" (#21617)
This is semantically correct and works just as well.
2017-01-15 21:44:27 -08:00
Mark Otto
e2b6badb86 v4: Rip out IE compatibility mode meta tags (#21483)
* Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8
* update and remove some IE bits from our supported browser page
* update introduction.md to match
* reword starter template intro
2016-12-31 12:20:32 -08:00
Mark Otto
a769542888 update navbar 2016-12-29 13:22:34 -08:00
Mark Otto
047d4a77da Merge branch 'v4-dev' into v4-docs-streamlined 2016-12-28 15:52:28 -08:00
Mark Otto
9d13fd3fe3 remove old flex utils, update docs to match 2016-12-24 14:21:04 -08:00
Mark Otto
d86a1dbfd4 redo custom docs navbar 2016-12-22 13:48:07 -08:00
Mark Otto
df566160e7 put new toggler markup to use 2016-12-22 13:48:07 -08:00
Mark Otto
eb2e1102be Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)
* remove the $enable-flex variable option

* remove bootstrap-flex.css dist file and it's grunt task

* remove the separate flex css file for docs; it's all the same now

* remove flexbox docs (porting some to the main grid docs in next commit)

* clean up few grid docs bits to simplify copy, start to mention flexbox

* port relevant flexbox-grid.md content to grid.md

- clean up mixins
- update how it works section
- bring over sizing and alignment sections

* remove the $enable-flex from the options.md page

* update lead paragraph to mention flexbox

* update migration to mention loss of ie9 support

* remove mention of flexbox dist file

* clarify IE support

* making a note

* remove flexbox variant mentions from component docs

- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default

* remove $enable-flex if/else from sass files

* remove flex dist files

* update scss lint property order to account for flex properties

* linting

* change to numberless classes for autosizing, wrap in highlighting div

* bump gruntfile and postcss to ie10

* redo intro sections

* rearrange

* phew, redo hella grid docs

- rearrange all the things
- consolidate some bits

* remove reference to flexbox mode

* more border action for demo

* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Bardi Harborow
a3567a119d Documentation navigation fixes. (#21288)
* Make /utilities/ redirect to /utilities/borders/.

* Rewrite sidebar active link logic to ensure superstrings are not selected.
2016-12-04 16:44:37 -08:00
Starsam80
54908a95a8 Rename .navbar-toggleable-xs to .navbar-toggleable + more cleanup (#21226)
* Clean up some utilities

- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies

* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication

* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Bardi Harborow
b4dbc69f0e Fix broken and redirected links. 2016-11-09 01:14:48 +11:00
Mark Otto
d5e153eac8 fix broken float 2016-10-24 16:05:39 -07:00
Mark Otto
e17a767a4c append trailing slash to slug so that page name matching is more accurate 2016-10-24 16:05:32 -07:00
Mark Otto
2c80f4d7cd make search work on homepage 2016-10-24 16:05:14 -07:00
Mark Otto
f7f3e62c66 Merge branch 'v4-dev' into v4-docs-streamlined 2016-10-24 14:27:52 -07:00
Christian Oliff
76af99eb4a Update Google Analytics snippet to always load via HTTPS
This is the official Google Analytics snippet.
2016-10-19 23:35:10 +09:00
Mark Otto
6c867667a1 Merge branch 'v4-dev' into v4-utils 2016-10-09 14:36:43 -07:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
7bf868a709 v4: Social meta tags (#20825)
* descriptions for getting started pages

* descriptions for layout

* add content page descriptions

* more descriptions, updates to some existing ones

* correct site url

* add social stuff to config for twitter cards

* add twitter meta tags; use large image for homepage and regular card for all others

* add the assets

* more site config

* more social shiz to partial, remove existing meta for the partial, remove page title from homepage for simpler if statements
2016-10-02 18:19:47 -07:00
Mark Otto
3dc4b3647c Rename pull-*-{left|right} classes to .float-*-left and .float-*-right 2016-09-26 00:54:10 -07:00
Mark Otto
818d1f53a5 Merge branch 'v4-hamburger-fix2' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-v4-hamburger-fix2 2016-09-11 21:57:38 -07:00
Kovah
076a950442 Docs: Breaks out Utilities into separate section and optimizes its pages (#20678) 2016-09-08 21:48:17 -07:00
Mark Otto
0af35cc6e7 nav changes 2016-09-05 22:40:44 -07:00
Mark Otto
4a63dc62bf Update ads code and styles (also fixes #20477 in different way) 2016-08-21 22:38:08 -07:00
Mark Otto
8e9a9a5960 Enable flexbox grid CSS on our docs page
- Creates new flexbox grid Sass file in our docs assets
- Updates the Gruntfile to compile said new Sass file and minify the output
- Update notice on flexbox docs page for how it works
- Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-26 21:09:39 -07:00
Patrick H. Lauke
a426c4951c remove navbar-toggler unicode symbol in HTML
remove current HTML-based symbol, add any missing aria-* attributes
2016-07-19 22:11:44 +01:00
Ivan Malopinsky
8d8df4e37a update theme parameters to fix #19333 2016-02-28 03:52:49 +02:00
XhmikosR
79067a6440 Fix validation errors.
[skip sauce]
2016-02-19 11:26:54 +02:00
Chris Rebert
88aa1082c8 Merge pull request #18987 from xcatliu/v4-dev-fix-search-json-prefix
Add prefix to footer.html search.json
[skip sauce]
2016-02-18 18:36:14 -08:00