0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-05 17:24:20 +01:00
Commit Graph

229 Commits

Author SHA1 Message Date
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
Teo Dell'Amico
a0a157db93 Finish killing .center-block; fixes #19443
Replace the leftover instances with .m-x-auto (and .d-block when necessary)
Closes #19665
Refs #19102
[skip sauce]
2016-04-06 15:55:27 -07:00
Mark Otto
1a011c34c3 don't shrink nav font-size 2016-03-21 22:59:26 -07:00
Mark Otto
d9acd09351 lighter active 2016-03-21 22:56:45 -07:00
Mark Otto
00e20c7aec Make active navbar link weight 500 again 2016-03-21 22:56:26 -07:00
Mark Otto
325c1d4c3c spacing in docs example" 2016-02-09 01:12:58 -08:00
Mark Otto
e06d6365f8 Strip out .err from our syntax highlighting styles because it fucks up our placeholders in code snippets 2016-02-06 15:32:00 -08:00
Mark Otto
f127bc68a3 Merge branch 'v4-dev' into v4-grid-redux 2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974 linter overhaul 2016-02-06 12:28:18 -08:00
Mark Otto
d043fe4eb2 disable linter 2016-02-06 12:27:44 -08:00
Mark Otto
414997baa8 flip things around again, no more base class, try out some new stuff to keep responsive flex grid working 2016-02-06 10:51:59 -08:00
Mark Otto
94999c98cf simpler, more specific docs example css 2016-02-06 01:47:40 -08:00
Mark Otto
44bcaffb95 Tweak docs example CSS for flexbox grid cols 2016-02-06 01:30:31 -08:00
Mark Otto
9a645ef51a Ensure docs grid example highlighting for flexbox mode 2016-02-06 00:47:19 -08:00
Mark Otto
ba37c37615 Redo line-height globally
- Rename -height to -height-base to match other vars
- Drop use of -height across the board and rely on it to be inherited
- Adjust padding of .dropdown-header to account for different line-height of h6 heading element (this needs refactoring for variables and rems also)
2016-02-03 19:45:13 -08:00
ruedap
d79cd56289 Fix typo in docs/assets/scss/docs.scss 2016-01-19 19:49:16 +09:00
Chris Rebert
22df55f24d Docs: Remove defunct Pager example styles
Refs #18782
[skip sauce]
2016-01-11 02:02:05 -08:00
Mark Otto
3c009add3b Merge pull request #18734 from tagliala/fix-highlight-docs
Fix margins in highlighted code in docs
2016-01-05 20:48:13 -08:00
Mark Otto
1364caf0b6 reformat syntax styles for linting 2016-01-03 18:28:07 -08:00
Mark Otto
b435894e2d basic linting 2016-01-03 18:27:54 -08:00
Mark Otto
7a582b2ffe basic linting changes, disable some id selector testing per file as needed 2016-01-03 18:17:58 -08:00
Mark Otto
ef5e2a5b5b property order linting 2016-01-03 18:12:33 -08:00
Mark Otto
26b4211c23 we nuked the focusedinput example awhile back, so nuking the styles too 2016-01-03 18:10:47 -08:00
Mark Otto
6e7a9c5a38 basic linting 2016-01-03 18:10:34 -08:00
Mark Otto
84cd41956f nuke vendor prefixes 2016-01-03 18:10:22 -08:00
Mark Otto
7a00b13b07 remove unused rule for ads css that was hiding an image that no longer exists (i think) 2016-01-03 18:09:36 -08:00
Chris Rebert
e9192f6de0 Update copyright years to 2016
[ci skip]
2016-01-01 12:31:38 -08:00
Geremia Taglialatela
ac77f5843a Fix margins in highlights 2015-12-31 20:00:28 +01:00
Mark Otto
0186ab5fff Merge pull request #18325 from twbs/tooltip-a-nowrap
Prevent anchors in tooltip example from splitting across lines
2015-12-07 21:58:35 -08:00
Mark Otto
4520b0f5d0 proper fix for #18439 w/ clippy placement and hover 2015-12-07 21:35:00 -08:00
Mark Otto
5a2318b68c fixes #18436 2015-12-06 16:41:38 -08:00
Chris Rebert
4a51f28e2c Prevent anchors in tooltip example from splitting across lines
So as to decrease the number of future inquiries about said edge case (which is already documented).
Refs #18304
[skip sauce]
2015-11-29 23:54:13 -08:00
Mark Otto
9f40178112 fix ads background color 2015-11-29 18:41:08 -08:00
Mark Otto
6421e27b6c darken docs nav selected state and un-semibold it so it's not dangling 2015-11-29 18:36:50 -08:00
XhmikosR
c343b9f59d Replace ZeroClipboard with clipboard.js.
Things left:
1. clear the selection after copy
2. add messages for success and error
2015-10-24 19:01:02 +03:00
Chris Rebert
4461884f69 Rename docs-specific static tooltip/popover classes for clarity; refs #18043
[skip sauce]
2015-10-23 23:17:19 -07:00
XhmikosR
7399607a03 Specify a filter gradient for IE 9. 2015-09-19 09:41:25 +03:00
XhmikosR
2c7e65a680 Use the individual background properties instead of the shorthand.
[ci skip]
2015-09-19 09:41:25 +03:00
Patrick H. Lauke
6a37ec3767 Port skiplink styling from v3 to v4 2015-09-05 08:56:47 +01:00
Kevin Kirsche
54fba7cbe5 Rename .img-responsive class to .img-fluid
Fix #17166
2015-09-01 21:12:28 -07:00
Mark Otto
0537c5a455 Merge pull request #17336 from petetnt/petetnt/v4-dev-patch-3
Document utility class .bg-inverse
2015-09-01 20:17:09 -07:00
XhmikosR
8328344212 Use https when possible.
[ci skip]
2015-08-29 18:50:20 +03:00
petetnt
6aebac8e38 Document .bg-inverse 2015-08-26 16:01:34 +03:00
XhmikosR
ab4c07dbdd Bump year.
[ci skip]
2015-08-25 18:52:27 +03:00
Mark Otto
912637f0d0 homepage docs callout 2015-08-22 18:32:18 -07:00
Kevin Kirsche
b35fc603fd v4 - Remove weird extra border from GitHub follow buttons on v4 Team page
Fix #17175

X-Ref Original Against Wrong Branch: #17179
2015-08-20 23:09:19 -04:00
Mark Otto
980d8ea2d8 docs tweaks for responsive 2015-08-19 00:07:59 -07:00
Mark Otto
5a905ef8a5 basic responsive top nav hacks for docs 2015-08-18 23:44:18 -07:00
Mark Otto
f83ca1c6b0 ads colors 2015-08-18 19:56:28 -07:00
Mark Otto
7de3b3eced fix footer to use new dropdown markup 2015-08-18 19:51:21 -07:00
Mark Otto
5ebc46cec3 fix dropdown fonts in header 2015-08-18 18:45:08 -07:00
Mark Otto
2685475919 downsize that nav 2015-08-18 01:27:33 -07:00
Mark Otto
ff72ea6b81 navbar positioning 2015-08-18 01:18:21 -07:00
Mark Otto
a3eecaadb0 fix main docs nav to use latest navbar changes 2015-08-18 01:06:36 -07:00
Mark Otto
a84e51a2dc don't let that interfere with the navbar 2015-08-18 00:47:10 -07:00
Mark Otto
a4e9a6845a space out form control sizing examples 2015-08-17 23:44:17 -07:00
Mark Otto
b68acc8938 redo hella docs scss
- clean out commented out code
- break apart homepage.scss into sub files by component
- rename a few files to reflect their new component names
2015-08-17 21:31:17 -07:00
Mark Otto
38efe5ae59 rip commented out old anchor js css 2015-08-17 21:24:39 -07:00
Mark Otto
1654f2a6e1 tweak docs spacing 2015-08-17 21:16:09 -07:00
Mark Otto
8cb0cd3106 tweak that margin 2015-08-17 21:08:07 -07:00
Mark Otto
8d8f3aa078 fix ads display on homepage 2015-08-17 20:41:10 -07:00
Mark Otto
bce36ae026 narrow homepage grid cols 2015-08-17 00:12:20 -07:00
Mark Otto
053853a4f5 custom padding on homepage 2015-08-16 18:11:23 -07:00
Mark Otto
18cbb7d695 semibold buttons 2015-08-16 18:11:10 -07:00
Mark Otto
0a78c48064 darken gradient 2015-08-16 18:10:53 -07:00
Mark Otto
a52b0d7b03 darken gradient 2015-08-16 18:10:31 -07:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
b388778f1f restyle zeroclipboard doodad 2015-08-14 00:47:41 -07:00
Mark Otto
575a886437 fix general page and page header layout 2015-08-12 17:45:47 -07:00
Mark Otto
8e8f8f54cd property order 2015-08-12 17:23:44 -07:00
Mark Otto
9998556556 fix widths on container diagrams 2015-08-10 23:18:45 -07:00
Mark Otto
28bcf047c8 container illustrations 2015-08-10 23:07:50 -07:00
Mark Otto
1624c5b594 remove commented out code 2015-08-10 22:47:50 -07:00
Mark Otto
b814a96aba ads spacing 2015-08-10 16:50:48 -07:00
Mark Otto
d1f06ffe83 light gray on docs search input 2015-08-10 16:47:43 -07:00
Mark Otto
f5008769a5 really fix that spacing and nesting 2015-08-10 16:46:21 -07:00
Mark Otto
d02017e0e5 more margin there 2015-08-10 16:44:47 -07:00
Mark Otto
c78965b47d clean up spacing of table of contents links in docs 2015-08-10 15:56:05 -07:00