0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

55 Commits

Author SHA1 Message Date
Mark Otto
dc7811520c Merge pull request #19874 from patrickhlauke/v4-links-not-anchors-focusable
Make named anchor/placeholder link style reset more specific
2016-05-12 11:16:24 -07:00
Patrick H. Lauke
64251a12a4 Make named anchor/placeholder link style reset more specific
This avoids applying the reset to named anchors/placeholder links (links
without an `href`) that have explicitly been made keyboard-focusable
(using `tabindex`). This is not fool-proof - it's not
easy/straightforward to check for the actual `tabindex` value itself, to
ensure it's positive, not will this apply if a link has been "blessed"
with `tabindex` via JS. However, this should catch most common uses (and
gives a reasonably valid way around the issue for developers who, for
whatever reason, DO want to use links without `href` - as side effect,
it forces best practice of at least ensuring these links can also be
focused with the keyboard)
2016-05-10 10:29:47 +01:00
Mark Otto
dde85e9888 Redo checkboxes and radios
- Move disabled radio and checkbox styles to Reboot
- Collapse .radio and .checkbox into single class, .form-check
- Collapse .radio-inline and .checkbox-inline into single class, .form-check-inline
- Require classes for sub-elements in both new classes
2016-05-08 16:05:27 -07:00
Mark Otto
4a064209ba Merge branch 'v4-dev' into v4-forms-cleanup 2016-05-08 15:25:26 -07:00
Mark Otto
4140620d3e remove unneeded, commented out border change for legends; it's handled in normalize 2016-05-08 13:57:39 -07:00
Mark Otto
ce249a555c document table border collapse change, move from old normalize to our reboot 2016-05-08 13:51:25 -07:00
Mark Otto
69219d4271 move that change to reboot 2016-05-08 13:50:45 -07:00
Mark Otto
6764171404 Avoid hacking around the temporal input bug in iOS
- Rather than use CSS hacks, let's avoid needing to hack anything
- Creates a new Reboot entry to simply reset the appear of the temporal inputs, thereby avoiding the problem entirely
- Less than ideal for conveying affordance on iOS, but given bugginess of the input itself, seems a decent tradeoff
2016-04-23 14:56:36 -07:00
Chris Rebert
9aed469be8 _reboot.scss: Capitalization & periods in comment
For consistency with the rest of the file
[ci skip]
2016-03-05 22:34:59 -08:00
Patrick H. Lauke
c4b087062d Neutralize link styles for placeholder links/named anchors 2016-03-05 01:01:09 +00:00
Chris Rebert
41977db43a Reboot: Update @viewport comment to account for de944e088b
[ci skip]
2016-02-07 00:28:23 -08:00
Mark Otto
de944e088b Fixes #17300: drop the unused at-viewports 2016-02-06 18:45:56 -08:00
Mark Otto
03ec195974 linter overhaul 2016-02-06 12:28:18 -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
Chris Rebert
739b51f264 Reboot: Remove now-unnecessary input[type="search"] box-sizing override
Revert "fixes #17379: override search input box-sizing to match our global overrides"

This reverts commits 468a9d9359 & 57998dc274.

https://github.com/necolas/normalize.css/pull/496 has made this override unnecessary.

[skip sauce]
2016-01-21 14:50:06 -08:00
Chris Rebert
0c9429a803 Set -ms-overflow-style:scrollbar to workaround apparent IE11+Edge @viewport bug
Closes #18543
2016-01-06 01:21:01 -08:00
Mark Otto
5a6a128728 fixes #18330 2015-12-07 21:57:06 -08:00
Mark Otto
c9eb483ca9 fixes #18320: pull in suit base reset for button focus styles in FF and IE 2015-12-07 21:47:40 -08:00
Mark Otto
d36686afee spacing 2015-12-07 21:46:03 -08:00
Mark Otto
db0f2df59c Merge pull request #18426 from twbs/label-reboot-comment-grammar
Fix grammar of comment for <label> in Reboot
2015-12-06 16:29:56 -08:00
Chris Rebert
0759d76bd2 Add 3 more font-weight variables
Refs #14368

[skip sauce]
[skip validator]
2015-12-06 12:32:49 -08:00
Chris Rebert
191c82dc38 Fix grammar of comment for <label> in Reboot 2015-12-04 01:46:45 -08:00
Mark Otto
f16ad22530 fixes #18188 2015-11-29 19:56:17 -08:00
Mark Otto
4005b316c6 rearrange comment lines for clarity 2015-11-29 19:55:51 -08:00
Chris Rebert
a9198d8385 scss/_reboot.scss: Add link to nice new docs regarding touch-action:manipulation
[ci skip]
2015-11-15 17:16:50 -08:00
Chris Rebert
25e42ade42 Add touch-action:manipulation on interactive elements to avoid 300ms click delay
Fixes #18044

[skip sauce]
[skip validator]
2015-11-13 01:07:18 -08:00
Chris Rebert
5abd4e0142 Ports c256aca13c to v4
Refs #15947, #17542

[ci skip]
2015-11-12 23:47:13 -08:00
Chris Rebert
920f7fd695 Revert "Drop cursor pointer for button role"
This reverts commit 61067304cd.

The normalize.css pull request (https://github.com/necolas/normalize.css/pull/379 )
was REJECTED, *NOT* merged!
2015-11-12 23:44:29 -08:00
Mark Otto
d18cc5f77b Merge branch 'reboot-cursor' of https://github.com/flexbox/bootstrap into flexbox-reboot-cursor 2015-11-12 23:31:19 -08:00
Chris Rebert
be5e223177 Move [hidden] style from _utilities.scss to _reboot.scss; fixes #18230
[skip sauce]
2015-11-12 19:15:54 -08:00
Chris Rebert
be1232c580 Add comments explaining why we don't make <img>s responsive by default
Refs #18178

[ci skip]
2015-11-05 13:18:42 -08:00
Chris Rebert
50df64797c https://github.com/necolas/normalize.css/pull/379 was rejected
Refs #15947
Somehow c256aca13c got lost during the SCSS translation...

[skip sauce]
2015-10-24 20:05:25 -07:00
Leslie
b13ef4a3d2 Reset iOS rounded inputs
They can be rounded later on if $enable-rounded: true.
2015-09-25 14:19:28 +01:00
David Leuliette
61067304cd Drop cursor pointer for button role 2015-09-09 17:14:34 +02:00
Mark Otto
57998dc274 linter 2015-09-01 21:23:26 -07:00
Mark Otto
cf70fce245 mention overrides too 2015-09-01 21:20:35 -07:00
Mark Otto
f8e13cb35f Merge pull request #17358 from tomByrer/patch-1
clarifies that normalize.css is a dependency of reboot
2015-09-01 21:19:12 -07:00
Mark Otto
468a9d9359 fixes #17379: override search input box-sizing to match our global overrides 2015-09-01 21:16:26 -07:00
Mark Otto
8f9e50c02d fixes #17385: add var for default link decoration 2015-09-01 21:14:51 -07:00
Tom Byrer
d2930ce1ad clarifies normalize.css is a dependency
Perhaps I'm a little slow & need to have things spelled out :)
https://github.com/twbs/bootstrap/issues/17301#issuecomment-134469886
2015-08-26 18:59:08 -06:00
Kevin Kirsche
d51f0a4f81 Use double colons for psuedo elements
Fix #17052
2015-08-24 13:22:10 -04:00
Paul Irish
291910402b reboot.scss: typo 2015-08-19 16:02:57 -07:00
Paul Irish
604dba1803 reboot.scss typo 2015-08-19 14:16:09 -07:00
Mark Otto
a90f6c7093 reorder variables, rename -color to -color 2015-08-10 23:38:41 -07:00
Mark Otto
ed42fc9b76 line-height-base to line-height var 2015-06-22 23:24:32 -07:00
Mark Otto
663576a7ae Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Conflicts:
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	docs/assets/css/docs.min.css
2015-05-27 15:49:55 -07:00
Mark Otto
a399d19dd3 add comments 2015-04-29 11:32:49 -07:00
Gleb Mazovetskiy
b832c3cb97 Wrap @viewport with @at-root for nested import
See https://github.com/twbs/bootstrap-sass/pull/805
2015-04-27 20:15:17 +01:00
Chris Rebert
78c18954a8 _reboot.scss: fix typo in comment 2015-04-23 16:27:03 -07:00
Mark Otto
dc3abb5f12 Update labels and form grid examples 2015-04-23 00:51:39 -07:00