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

206 Commits

Author SHA1 Message Date
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
Bardi Harborow
3ae450e74c Render bash and powershell prompts with ::before. 2016-10-10 14:31:34 +11:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Kovah
0ef64d89f7 Add breakpoint-specific gutters. 2016-09-13 23:02:56 -05:00
Mark Otto
11d52ba949 ads in content, sidebar changes, etc 2016-09-05 22:41:10 -07:00
Mark Otto
22afc82a91 hide page header for now, border top nav, sticky sidebar 2016-09-05 16:12:29 -07:00
Mark Otto
f235da05fd flip the columns, tweak some of the styles 2016-09-04 22:04:58 -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
7efdd7720a Fixes #20382: Import the flexbox utilities into the docs flex stylesheet 2016-07-30 10:36:14 -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
Mark Otto
2f38e5167d fix doubled up padding in docs navbar 2016-07-25 12:30:10 -07:00
XhmikosR
47dc87e6c7 Fix typo in comment.
[ci skip]
2016-07-20 10:07:31 +03:00
Mark Otto
7071fe9c1b Fixes #17089 a bit 2016-06-12 21:18:23 -07:00
Chris Rebert
a90b36918f Add "The Bootstrap Authors" to copyright notices (#19936)
❤️❤️❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-05-20 09:04:31 -07:00
Mark Otto
80144d74d7 Merge branch 'v4-dev' into v4-forms-cleanup 2016-04-08 20:55:19 -05:00