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

93 Commits

Author SHA1 Message Date
nickg
755fdacd40 Replace reboot monospace hack with system font stack 2018-04-23 21:53:37 -07:00
Patrick H. Lauke
e000933c17
Remove dialog from the HTML5 shim style (#26269)
`<dialog>`, in browsers that support it, has user agent styles of `dialog { display:block; ...} dialog:not([open]) { display:none; }`
by forcing it to `display:block` in the shim, the dialog is shown even when closed. There's no clean way to shim this for non-supporting browsers,
but arguably these browsers would have further problems with pure `<dialog>` usage anyway, and it's up to authors to then use different elements/shims.
2018-04-16 00:25:39 +01:00
Jacob Müller
27f553c965 Replace "loose" HEX values with their respective variables (#25672) 2018-03-12 19:19:37 +02:00
ysds
33f3ba33c2 Add color variable for caption (#25657) 2018-02-19 14:42:54 -08:00
Andres Galante
49954d5e6c Create a variable for label margin bottom (#25561) 2018-02-11 02:21:42 +02:00
Patrick H. Lauke
2e15b94888
Remove touch-action:manipulation click optimization (#25250)
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed.

Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-11 09:51:44 +00:00
Andres Galante
a5232abefc Set cursor:pointer for <summary> 2017-12-28 02:08:10 +00:00
XhmikosR
34d745540d
Minor Sass consistency changes. (#24677)
* use `background-color` instead of the shorthand
* use `outline: 0` consistently
* fix transform order
* remove quotes from `SFMono-Regular`
2017-11-06 02:23:36 +02:00
XhmikosR
29d58fb758 Enable stylelint's function-comma-space-after. (#24501)
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-23 00:00:00 +03:00
XhmikosR
7e149e20a9 Enable stylelint for _reboot.scss. 2017-10-07 00:11:40 +03:00
Simon Knox
e731353aac Use variable for heading margin bottom in reboot 2017-10-03 22:18:48 -07:00
XhmikosR
7b766e1ad5 Switch to stylelint. (#23572) 2017-10-02 20:34:56 -07:00
Mark Otto
27a015ba15 Reset button element border-radius in Reboot (#24126) 2017-09-27 17:01:00 +03:00
Prateek Goel
0e054fb9c8 Add style for non-overlapping scrollbar in IE (#24081) 2017-09-26 22:44:00 +03:00
XhmikosR
31c8721913 Normalize all links. (#24109)
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/`
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
2017-09-26 15:24:14 +03:00
Patrick H. Lauke
6b6f45ad67 Exclude input type=range from touch-action:manipulation 2017-08-21 22:45:11 +01:00
Jacob Müller
63909cacb1 Remove remaining v4 alpha references (#23414)
* Remove remaining references to v4 Alpha

This commit removes the remaining refrences to the v4 Alpha website and replaces them with the
corresponding v4 Beta ones.

**Note:** We have to hard code the current docs version at some places. Wouldn't it be good to have a `/docs/latest/` redirect to solve this "issue" in the future?

* Don't update the domain in the CNAME file
2017-08-14 18:08:31 -07:00
Prateek Goel
7b66aeb2f6 Fix to Chrome inheritance bug (#22872) (#23118)
* Fix to Chrome inheritance bug (#22872)

* Remove box-sizing from html

box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
2017-08-10 23:05:32 -07:00
Prateek Goel
7c452ac607 Add margin variable for paragraphs (#23140) 2017-08-10 23:00:01 -07:00
Mark Otto
09019a8ecd Set explicit text-align on <body> element so we can use inherit to override the default <th> text-align value 2017-08-10 22:43:50 -07:00
Patrick H. Lauke
7338da0cdb Add shim for "new" HTML5 structural elements (#22573)
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
2017-05-05 09:53:45 +01:00
Patrick H. Lauke
7056f70240 Remove cursor: not-allowed styles 2017-04-10 22:10:20 +01: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
02e0fdbd52 Remove cursor: pointer; (#21812)
* Remove most of custom cursor: pointer; implementations

* turns out that's not so much of a thing
2017-01-23 22:15:28 -08:00
Mark Otto
4fa7749442 Drop Normalize, port relevant parts to Reboot (#21741)
* Get this party started by removing mention of Normalize.css

* Nuke the old comment, consolidate to a single line and number as appropriate

* Bring over styles for HTML element from Normalize to Reboot

* Move margin override for body element from Normalize to Reboot

* Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support

* Building on previous commit, do the same thing for figure, figcaption, and main

* Remove IE9- display from Normalize given our browser support

* Drop IE8 figure margin because we're IE10+

* No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already

* Drop Safari 6 b and strong normalization because we're Safari 8+

* Remove mark styles for IE9- from Normalize

* Remove old iOS audio fixes from Normalize

* Remove IE9- display for progress from Normalize

* Remove more IE9- rules from Normalize

* One more IE9- display removal for canvas element

* Move pre overrides from Normalize to Reboot

* Move over some link resets to Reboot, drop others

- Move over background-color and text-decoration
- Drop focus outline change given it affects the offset on hover of
focused links

* Move over more code element resets, consolidate with pre overrides, too

* Move over sub and sup wholesale

* Move over img normalization to Reboot

* Move over SVG override too

* - Drop dupe hidden, but add comment for it
- Move over template
- Move over summary

* Remove bulk of @viewport comment

* edit down that code comment

* consolidate html-based normalizations

* update comments

* Consolidate abbr styles

* move over more type elements

* move over hr changes

* move over form controls and more

* move over button resets

* move over firefox button changes

* move over search changes and more

* we nuke all these styles for fieldsets anyway, so outright remove them

* no need for those, we override them

* move over legend, fieldset, progress

* line break

* delete normalize file

* linting

* update comment

* clarify docs mentions of normalize and reboot

* remove normalize excludes from linter

* remove normalize excludes from cli task

* linting

* callout license since we forked part of normalize

* Improve comments, move table background reset to .table class instead of in reboot

* trailing space
2017-01-21 14:14:25 -08:00
Mark Otto
fc82352594 fixes #21625, closes #21539
don't set focus styles on the anchor, just set hover styles
2017-01-15 17:51:26 -08:00
Mark Otto
bd38a2a218 Remove -size-root so we can respect user prefs on browser default font-size 2017-01-03 19:32:57 -08:00
Mark Otto
22fcac2cea Rip out the tab-focus mixin, remove application to anchors in reboot 2016-12-31 12:47:03 -08:00
Chris Rebert
f1b732031e Reboot: Update <fieldset> comment to clarify that the default weirdness is part of the standard. (#21261)
Refs https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
[skip sauce]
2016-12-02 09:57:22 -08:00
Chris Rebert
1fb6d8c46a Reboot: Add direct link to Edge scrollbar bug
Refs https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7165383/
[ci skip]
2016-11-30 21:43:42 -08:00
Chris Rebert
2404fec198 Reboot: Link directly to the temporal inputs WebKit bug
Refs https://bugs.webkit.org/show_bug.cgi?id=139848
[ci skip]
2016-11-30 21:37:45 -08:00
Mark Otto
af937836d9 Fix #20908 (#21244)
Remove the border-bottom from abbr elements since that's covered with an underline in Normalize.css. Updates the docs to match and tweaks some code comments, too.
2016-11-28 20:26:28 -08:00
tomhorvat
e5bb0c40f4 Body font weight variable 2016-10-25 15:05:51 +02:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
44b49d1dd8 update comment 2016-10-02 20:36:49 -07:00
Mark Otto
5d04353d6b remove the margin there since it's in normalize 2016-10-02 20:36:31 -07:00
Mark Otto
59d0679250 Only override input border-radius as part of .form-control to avoid bug with iOS Safari (alt fix for #20247) (#20695) 2016-10-02 18:28:37 -07:00
Mark Otto
dc5c1421c6 Disable important flag on Sass linter (#20627) 2016-09-04 17:58:20 -07:00
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