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

220 Commits

Author SHA1 Message Date
Mark Otto
fdf4b7be5f hide third level toc and deeper 2017-05-27 22:12:18 -07:00
Mark Otto
a3f7639728 swap kramdown toc for jekyll-toc plugin, update page layout to only show on xl and above 2017-05-27 21:44:42 -07:00
Mark Otto
ed3b308c27 purple nav 2017-05-27 20:10:35 -07:00
Mark Otto
0322e7e83b remove top/bottom padding 2017-05-27 20:10:02 -07:00
Mark Otto
f6b7c38c9b finesse the docs layout 2017-05-27 18:47:45 -07:00
Mark Otto
3c838067a6 redesign sidebar a bit 2017-05-27 18:30:58 -07:00
Mark Otto
5b66579e4d make it big screen friendly 2017-05-27 18:24:00 -07:00
Mark Otto
8627c506f7 more responsive docs nav 2017-05-27 18:12:45 -07:00
Mark Otto
7c9efe786a move .scss-lint.yml to route dir instead of symlink (which didn't work) 2017-05-27 17:54:23 -07:00
Mark Otto
9dbe77a0b0 explicit styles 2017-05-27 17:37:34 -07:00
Mark Otto
6bf63cbe67 hack the headings for sticky header so shit doesn't overlap 2017-05-27 17:37:25 -07:00
Mark Otto
33b322e9b5 position the markdown toc on the right for larger screens 2017-05-27 17:37:03 -07:00
Mark Otto
ded32a682a new nav styles 2017-05-27 17:36:35 -07:00
Mark Otto
4564f7e3ef give the navbar a fixed height so we can position other sticky elements more reliably 2017-05-27 17:36:20 -07:00
Mark Otto
1029a35f74 Add a symlink to the scss-lint for doing local dev 2017-05-27 17:34:32 -07:00
Mark Otto
456d6a07f0 style our svg icons in the navbar 2017-05-27 17:31:55 -07:00
Mark Otto
8f67ac19a7 Merge branch 'v4-dev' into v4-docs-streamlined 2017-05-27 15:26:48 -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
460ff235fa Documentation display tooltips/popovers arrows with css for static examples 2017-05-23 15:19:54 +02:00
Patrick H. Lauke
ea1d69c64b Make "Copy" buttons actual buttons
This makes them keyboard-accessible. For mouse users, the only change
here is that the focus outline will remain on the button once clicked
(in future, this can be solved with :focus-ring, but for now this would
require a polyfill). the tooltip is explicitly hidden on `mouseleave`,
so even though the `<button>` retains focus after clicking, the tooltip
won't stay visible once mouse user moves away.
the mouse hover styles have explicitly not been make to also apply to
:focus, so as to minimise the visual impact for
mouse users (though the tooltip remains visible)
 - but due to the default outline and the custom tooltip, it
should be fairly clear when keyboard users set focus to a copy button
too.
2017-04-16 13:57:33 -07:00
Pierre Vanduynslager
91b62941af Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...) 2017-04-02 11:21:04 +02:00
Mark Otto
1a264be8b3 Redo semantic grid example and make it real in the docs 2017-03-26 13:23:49 -07:00
Mark Otto
b1b2cfbc9d fix markdown docs tables 2017-03-19 18:39:48 -07:00
Mark Otto
22ee8c1aee clear out docs css 2017-03-05 12:25:41 -08:00
Mark Otto
ed1de86794 Update spacer utilities (#22123)
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Geremia Taglialatela
2a45ca5106 Fix horizontal scrollbar appearing in docs (#21747)
On small screens (< 576px), all documentation pages containing
`.bd-example` styled tags, show the horizontal scrollbar because of a
wrong horizontal margin property.

This PR sets the horizontal margin on gutter width basis instead of rem.
2017-01-16 10:24:59 -08:00
Patrick H. Lauke
4adaa64d9a Add missing :focus styles
Double up :hover styles to also apply on :focus (particularly the
masthead button needs this, as otherwise it gives no visible indication
of being focused)
2017-01-14 22:54:55 +00:00
Mark Otto
f3d0fee91e fixes #21454 by revamping some docs styles for dropdowns 2017-01-03 19:24:24 -08:00
Mark Otto
f1229e8c47 autohide scrollbar for IE 2017-01-03 12:53:01 -08:00
Mark Otto
20b05e42e3 update rest of docs, remove navbar specific modifiers, fix docs example css 2017-01-02 11:48:51 -08:00
Nuno Arruda
c767a00d5d Update copyright years to 2017 2017-01-01 12:56:11 +11:00
Mark Otto
5d7db50739 redo and make sticky 2016-12-29 13:22:45 -08:00
Mark Otto
047d4a77da Merge branch 'v4-dev' into v4-docs-streamlined 2016-12-28 15:52:28 -08:00
Mark Otto
dac31ebf35 fixes #21445
remove broken example class from grid docs
2016-12-27 14:11:48 -08:00
Starsam80
7fdedbd5e6 Remove some leftover IE9/flex stuff 2016-12-25 15:32:34 -08:00
Mark Otto
6b419fdc3a nest modal examples css 2016-12-24 14:21:04 -08:00
Mark Otto
6fa6bf7123 add docs class for highlighting 2016-12-24 14:21:04 -08:00
Mark Otto
51f723d669 no more need for this 2016-12-22 16:52:25 -08:00
Mark Otto
d86a1dbfd4 redo custom docs navbar 2016-12-22 13:48:07 -08:00
Mark Otto
fd79471e8a override pos-f-t in examples 2016-12-22 13:48:07 -08:00
Mark Otto
c7be14d66b no need for this; we have max-width 100% on them now 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
Starsam80
08e36a3cc9 Rename .col-xs to .col + some other cleanup (#21222)
* Use `breakpoint-min` instead of a counter

* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Starsam80
8d031090d0 Rename .flex-xs-* and .flex-items-xs-* to .flex-* and .flex-items-* (#21218)
* Clean up _flex.scss a little

This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.

* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Mark Otto
095ea0b795 Border utilities (#21213)
* grunt

* add border utilities for removing borders

* clean up comments

* add basic border docs

* docs styles for border utils
2016-11-26 16:44:16 -08:00
Bardi Harborow
c104709193 Fix padding on .bg-faded demo. 2016-11-16 16:16:35 +11:00
Mark Otto
c581564a78 nav styles 2016-10-24 16:06:32 -07:00
Mark Otto
99d1cb0b0d make masthead sit below nav 2016-10-24 16:06:22 -07:00
Mark Otto
f7f3e62c66 Merge branch 'v4-dev' into v4-docs-streamlined 2016-10-24 14:27:52 -07:00