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

894 Commits

Author SHA1 Message Date
Mark Otto
d506bd8e50 Update navbar-toggleable-* styles to incorporate changes from #20083 2016-07-26 20:16:23 -07:00
Mark Otto
adba459749 restore the .col-{bp} class for flexbox auto layout 2016-07-25 17:22:06 -07:00
Mark Otto
0a31dacf3e Simplify system font stack to remove Linux fonts as they're too varied for our purposes 2016-07-25 12:34:00 -07:00
Mark Otto
cdc55a46c2 linting 2016-07-23 17:21:00 -07:00
Mark Otto
a8879c8f82 Follow-up to #19099 for grid fixes
- Restores two-mixin approach to generating semantic grid columns (now with 'make-col-ready' and 'make-col')
- Removes need for .col-xs-12 by restoring the mass list of all grid tier classes to set position, min-height, and padding
- Adds an initial 'width: 100%' to flexbox grid column prep (later overridden by the column sizing in 'flex' shorthand or 'width') to prevent flexbox columns from collapsing in lower viewports
2016-07-23 17:12:43 -07:00
Chris Rebert
873cf751c0 Remove forced default focus outline (#20275)
As this causes non-standard dotted outline on checkboxes/radio buttons
in OS X Firefox

Ports #19935 to v4
Refs #19933

[skip sauce]
2016-07-11 20:50:27 -07:00
Geremia Taglialatela
1347cb0152 Update SCSS-Lint to v0.49.0 (#20250)
SCSS-Lint 0.49.0 modifies Shorthand linter to report lint if a shorthand
of a length not specified in the allowed_shorthands option is used.

New defaults include "4" in the list of allowed shorthands, so we are changing our configuration accordingly.

Ref: e283d16896
2016-07-07 20:38:44 -07:00
Chris Rebert
a358fc9dc1 Replace grunt-postcss with postcss-cli (#20140)
Refs #19990
Continues the degruntification process.

Also removes mq4-hover-shim for now,
since it doesn't yet implement the standard PostCSS plugin interface.
2016-06-20 16:18:21 -07:00
Chris Rebert
b17008c771 Add comparability guard to _assert-ascending(); fixes #20123 (#20142)
[skip sauce]
[skip validator]
2016-06-19 22:23:16 -07:00
Catalin Zalog
50e2225bd5 Update _flex.scss 2016-05-28 03:25:24 +03: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
9a50b1f04f Merge pull request #19889 from twbs/v4-popovers
v4: Couple popover fixes
2016-05-12 12:54:02 -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
Mark Otto
a6b797d17b Restore hiding of the .popover-title with :empty 2016-05-12 11:12:40 -07:00
Mark Otto
df6facf66e Alternate fix to #19006: Add a single variable for controlling that inner 1px padding on .popover 2016-05-12 11:12:22 -07:00
Mark Otto
64e7230d33 Fixes #19563: Add variable for setting background-color on .bg-inverse 2016-05-11 23:26:39 -07:00
Mark Otto
56a5b19cdb Fixes #17911: Explicitly remove margin-bottom from cards in .card-deck
Here we're doing some margin swapping, so it looks a little funky. All this does is match the margin implementation and rendering across our table and flex versions of card decks.
2016-05-11 22:14:05 -07:00
Mark Otto
de91c5e0be fixes #19650: improve non-flexbox card deck behavior so columns are always the same width 2016-05-11 21:18:35 -07:00
Mark Otto
5ff8d0f66e Fixes #19840: Invert the .card-subtitle color as well for .card-inverse 2016-05-11 20:41:33 -07:00
Mark Otto
f68b06a123 Update card variants
- Remove background-color from header and footer in inverse cards (fixes #19841)
- Update border override for header and footer in cards; only need to declare a new color
- Update the selector for targetting blockquote footers in cards
2016-05-11 20:32:20 -07:00
Mark Otto
964811d48d Update card header and footer
- Remove the box-shadow and switch back to border to match .card basics
- Update the header nav margin override--since we restored the border, we need that default negative margin at the bottom
2016-05-11 20:22:07 -07:00
Mark Otto
d74a897f55 Overhaul tables docs and use rgba() colors for inverse tables
- Add inverse examples for all variants
- Use rgba() colors for hover and accent states for easy usage in inverse styles
2016-05-11 16:28:28 -07:00
Mark Otto
6e7d450e1c linting order 2016-05-11 14:28:59 -07:00
Mark Otto
575769c34d rest in peace _functions.scss 2016-05-11 11:36:40 -07:00
Mark Otto
fda92d02a3 Unfuck those split button dropdowns
- Really we didn't need to do any of that strip units stuff to generate six new variables, two for each button size
- Using sibling selectors, we can target those split button dropdown toggles using the .dropdown-toggle-split class, and adjust padding and margin as needed
- Now, we nuke the margin-left from the ::after generated caret and tighten up the padding so that those split toggles don't look huge next to their main button
2016-05-11 11:36:09 -07:00
Mark Otto
b280e36b78 Merge branch 'v4-dev' into v4-split-buttons 2016-05-11 11:07:06 -07:00
Mark Otto
9d6b41c127 Merge pull request #19141 from twbs/v4-forms-cleanup
v4: Forms cleanup
2016-05-11 10:49:31 -07:00
Mark Otto
425e3d407e Bring back some 'help text' love for forms with .form-text
- Includes new class
- New docs to support it
- Rearranged older docs
2016-05-10 08:24:38 -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
73d9815343 Merge branch 'v4-forms-cleanup' of https://github.com/twbs/bootstrap into v4-forms-cleanup 2016-05-09 19:25:42 -07:00
Mark Otto
35c11b69df Update checkboxes and radios docs
- Add lighter gray text to disabled state for .form-check
- Separate radios and checkboxes example
- Clarify docs
2016-05-09 11:00:36 -07:00
Mark Otto
1b17ee4062 property order 2016-05-09 10:18:41 -07:00
Mark Otto
3daeb58ac3 Merge branch 'add-input-focus-variables' of https://github.com/kevinkucharczyk/bootstrap into kevinkucharczyk-add-input-focus-variables 2016-05-09 10:17:27 -07:00
Mark Otto
6b33c08310 Merge pull request #19667 from vsn4ik/v4-dev-use-border-radius-mixin
Use @border-radius and add $nav-tabs-border-radius variable
2016-05-09 09:56:28 -07:00
Mark Otto
f5d889c385 update classes for inline form to new checkbox options 2016-05-08 23:14:48 -07:00
Mark Otto
546149f004 Fixes #19771: Enable .form-control-sm/lg on select.form-control 2016-05-08 17:31:02 -07:00
Mark Otto
d8c898b172 linting 2016-05-08 17:11:17 -07: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
399fdb8ebe Merge pull request #19735 from MatthewRayfield/v4-custom-select-disabled-styling
Add disabled styling for .custom-select
2016-05-08 14:20:54 -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
d1b8166374 Fix overflow auto removal on pre elements 2016-05-08 13:48:21 -07:00
Mark Otto
3547164f61 Fix up linter to ignore all other Normalize upstream shenanigans 2016-05-08 13:46:29 -07:00
Mark Otto
637d930d8f Merge branch 'patch-1' of https://github.com/marktopper/twitter-bootstrap into marktopper-patch-1 2016-05-08 13:43:54 -07:00
Mark Otto
3b62fc0806 Merge pull request #19861 from twbs/card-borders
Jank card borders were too janky
2016-05-08 13:38:51 -07:00
Mark Otto
017258d1dc Merge pull request #19252 from twbs/card-img-overlay-padding
Add $card-img-overlay-padding variable
2016-05-08 13:36:13 -07:00
Mark Otto
d6412cddc8 Merge pull request #19236 from twbs/carousel-icon-width
Extract $carousel-icon-width variable
2016-05-08 13:33:05 -07:00
Mark Otto
83182ad82e Jank card borders were too janky
- Drops the experiment I had going for `box-shadow`-powered borders
- Reinstates regular `border` using existing variables

Fixes  #19097 and #19143. Nullifies #19828.
2016-05-08 13:24:45 -07:00