Mark Otto
08d612f3e4
correct inverse table border color, add new var
2017-03-19 18:39:48 -07:00
Gaël Poupard
2085c14267
Update _screen-reader.scss ( #22154 )
...
* Update _screen-reader.scss
Small improvements that could be important:
* `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property ). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992 );
* [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg ) solved with `white-space`.
See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ ).
Also kinda related to issue #20732 :)
Please let me know if you find any trouble with this technique. Thanks a lot!
* Reorder declarations
To pass Hound.
Didn't think `clip` and `clip-path` would be considered as unrelated…
* Trailing spaces
* Last trailing space?
* Remove margin: -1px
2017-03-19 16:05:45 -07:00
Mark Otto
caebfcd246
Fix justified nav styles and update nav docs for fill/justify
...
- Justified and fill nav variants need .nav-item classes on the anchors in addition to .nav-link
- Fix broken styles for the .nav-justified class which wasn't actually doing what we needed it to
2017-03-19 15:47:34 -07:00
Mark Otto
bfcfbb7d5c
link to caniuse for context
2017-03-19 15:24:20 -07:00
Mark Otto
bbffcb7d22
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-19 15:21:18 -07:00
Bardi Harborow
95841f7432
Change duplicate id.
2017-03-19 22:57:17 +11:00
Mark Otto
ae50bb7845
grunt
2017-03-18 18:47:57 -07:00
Pierre Vanduynslager
275821bbb0
HTMLElement.offset* by getBoundingClientRect() ( #21788 )
...
* Replace element.offet* by getBoundingClientRect()
* Use variable to store BoundingClientRect
* Fix cc issue...
2017-03-18 18:24:54 -07:00
Johann
f2f2e39a45
Fix getSelectorFromElement when # is a selector ( #21615 )
...
* Fix getSelectorFromElement when # is a selector
* Thanks to @vanduynslagerp remove regex to validate selector
2017-03-18 17:42:11 -07:00
Pierre Vanduynslager
f2f8051285
Fix backdrop for dropdown menu on mobile ( #21578 )
...
- Create backdrop only if the menu is actually open (do not create it if the show event is prevented)
- Drop the backdrop only when the corresponding menu is closed (do not remove if there is no menu to close or if the hide event is prevented)
2017-03-18 17:41:13 -07:00
Mark Otto
5a5ab4c0de
grunt
2017-03-18 16:51:32 -07:00
Mark Otto
eb2a9da5b4
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:50:02 -07:00
Mark Otto
5f3473258e
add header and footer to example
2017-03-18 16:49:55 -07:00
Johann
1a46d8c730
Allow to use Tab.js with list-group ( #21756 )
...
* Allow to use Tab.js with list-group
* Allow to use list-group with div parent instead of an ul parent
2017-03-18 16:36:33 -07:00
Mark Otto
ab77282004
grunt
2017-03-18 16:31:26 -07:00
Mark Otto
e1c561a723
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:30:24 -07:00
Mark Otto
ec8c251928
fixes #21584
...
- revert back to display block for list items to prevent unwanted behaviors
- fixes a handful of other linked issues (see main thread)
- updates docs to include more utilities for the one example
2017-03-18 16:30:12 -07:00
Theriault
6f42daf747
Add :empty to .custom-file-control selector ( #22176 )
...
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control"></span></label>
VS
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control">test.txt</span></label>
2017-03-18 13:23:10 -07:00
jak
860181212d
docs: add text-truncate and extend on text-nowrap
2017-03-18 13:18:05 -07:00
naicko
890c6041f3
Update scss mixins to comply with scss-linting rules ( #22151 )
...
* Fixed some linting issues
* Run npm tasks after scss cleanup
* Revert "Run npm tasks after scss cleanup"
This reverts commit 1103a0da68
.
* Property sort order for grid
* Let's respest the property order in the mixins
* Respect property sort order in reboot file
* ::-ms-expand is a vendor-prefix, add it to the scss-lint disable
* Revert hover mixin comment
* Fixed missing mixin hover-focus
2017-03-18 13:06:05 -07:00
Mark Otto
f61fb70eb1
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-14 20:00:39 -07:00
Mark Otto
08984ac8cd
Remove the outline override from dropdown toggles
...
fixes #17573
2017-03-12 18:26:53 -07:00
Dominic Watson
b3aa5ec360
Use btn-$variant-color variables for outlined btns ( #22164 )
...
Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff
Related: https://github.com/twbs/bootstrap/pull/20734
2017-03-12 18:25:56 -07:00
Mark Otto
7180b42aa1
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-12 17:56:09 -07:00
Bardi Harborow
84ce248f06
Update config files across the board.
2017-03-12 16:15:00 +11:00
Bardi Harborow
348c770a6c
Update dependencies.
2017-03-12 14:41:41 +11:00
Johann-S
21b537cc24
Add unit test
2017-03-09 11:08:47 +01:00
Johann-S
fa1504e6f6
Fix code style
2017-03-08 11:15:58 +01:00
Mark Otto
7e07d5bf2e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-07 20:44:42 -08:00
Johann-S
099486f294
Detach accordions from .card
2017-03-07 10:46:08 +01:00
Starsam80
95f37e4c40
Clean up spacers a bit more
2017-03-05 16:05:12 -06:00
Mark Otto
9a93671b75
Move box-shadow and transition mixins out of the main mixins file and into their own files
2017-03-05 12:40:01 -08:00
Mark Otto
ac3a2fe9bf
add more
2017-03-05 12:25:41 -08:00
Mark Otto
a607ead34c
fill in docs for layout utils page
2017-03-05 12:25:41 -08:00
Mark Otto
78937cbb39
move visibility docs and add .visible mention
2017-03-05 12:25:41 -08:00
Mark Otto
b7bf343958
update the migration docs
2017-03-05 12:25:41 -08:00
Mark Otto
22ee8c1aee
clear out docs css
2017-03-05 12:25:41 -08:00
Mark Otto
c6fdac9415
update instances of old classes in the docs
2017-03-05 12:25:41 -08:00
Mark Otto
4778190d78
Drop the .hidden and .visible classes, save for the print ones
...
— Moves print display utils to display utils file
— Removes all other .hidden- utils
— Expands on .invisible and it's mixin to provide options for visibility: visible and visibility: hidden
2017-03-05 12:25:41 -08:00
Mark Otto
ebe405a01b
Start rearranging the docs for a utilities update
...
— Rename display docs page
— Move print display utils to display utils page
— Drop remaining of responsive utils page as it's being replaced with display utils
— Update nav to reflect changes
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
Patrick H. Lauke
192a8af0df
Merge pull request #22116 from Devinsuit/v4-dev
...
Update Google sourcemap resources link
2017-03-04 19:57:00 +00:00
Devinsuit
9fbaa4d160
Update link
2017-03-04 22:07:05 +03:00
Mark Otto
a60542cf15
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-03 13:09:08 -08:00
Catalin Zalog
70a57902ce
Change sticky order ( #22027 )
...
Based on this pen: http://codepen.io/zalog/pen/jyoyoR
2017-03-03 13:02:17 -08:00
Mark Otto
66a1f1d360
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-03 11:32:34 -08:00
Mark Otto
4a1b8919d1
grunt
2017-03-03 11:31:47 -08:00
Rutger Laurman
0a997795b4
Fix border width calculation for custom-select ( #22068 )
...
In addition to #22011 and #21994
2017-03-03 11:19:02 -08:00
Sean Beyer
e02597519a
Remove 'hover' from nav-tabs-active-link-hover-color et al ( #22087 )
...
* Remove 'hover' from variable names
* Fix indentation in variables
2017-03-03 11:15:41 -08:00
Alex Neises
c10200267b
Fixed spelling error. ( #22102 )
2017-03-02 16:32:21 -08:00