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

922 Commits

Author SHA1 Message Date
Mark Otto
88bf5af896 Remove display from the .img-fluid utility
Creating max-width images is not dependent on the display, so setting it is redundant. Cleans up the comments and implementation of the mixin as well.

Fixes #20767
2016-10-09 14:14:39 -07:00
Mark Otto
3dc4b3647c Rename pull-*-{left|right} classes to .float-*-left and .float-*-right 2016-09-26 00:54:10 -07:00
Mark Otto
91992ac70a Add new border utils
- Move and rename .img-rounded to .rounded, .img-circle to .rounded-circle
- Add new .rounded-{direction} utils
- New docs pages for border utils with TBD comments for the border property
- Removes most image examples for rounding from the content/images docs in favor of new docs page
2016-09-08 23:21:40 -07:00
judetucker
25b718e5fd resolves #20266 2016-09-08 22:42:54 -07:00
Mark Otto
a96038b50a Revamp background utilities and add new .text-white utility
- Rather than mix multiple properties in our color utilities, this splits all color and all background utils into separate classes.
- Adds new .text-white class to help lighten text color for darker backgrounds
2016-09-08 22:18:40 -07:00
Mark Otto
ae784c9521 Rename margin and padding utilities from .{property}-{side} to .{property}{side} without the extra dash 2016-09-08 22:15:34 -07:00
Mark Otto
82e7abcdf3 v4: Custom checkbox and radio alignment (#20671)
* Allow text of custom form labels to wrap like the default ones
* Switch from using after to force line breaks to float/clear combo in stacked custom forms
2016-09-08 21:26:19 -07:00
Mark Otto
ed0f097cb8 Follow up fix for #20667 (#20672)
Use proper Sass variable interpolation to ensure the proper values are compiled and not the literal string of the variable name
2016-09-07 21:25:14 -07:00
Mark Otto
07752bab7b v4: Card image fixes (#20667)
* Add .img-fluid to card images in columns to ensure proper resizing
* change that variable from regular value to variable
* use calc to figure out a tighter border for card images
2016-09-07 20:40:12 -07:00
Mark Otto
5713077ba5 Fix #20654 by reverting #20447 (#20665)
Cards must be inline-block in columns, otherwise they can get split across columns
2016-09-07 20:38:11 -07:00
Mark Otto
5495a4b3d3 versions 2016-09-05 12:41:44 -07:00
Mark Otto
7e18498b64 Fixes #20608 and #20578: Consistent checkbox and radio markup (#20629)
- Update docs examples to use newer .form-check suite of classes
- Update form validation mixin to use newer classes as well
2016-09-05 11:39:37 -07:00
Mark Otto
dc5c1421c6 Disable important flag on Sass linter (#20627) 2016-09-04 17:58:20 -07:00
Mark Otto
9c720285b5 Fixes #20619: Add important to the hover/focus as well (#20626) 2016-09-04 17:55:34 -07:00
Bass Jobsen
99425321dc Make .card class inside .card-columns display: block too (#20447)
See: https://github.com/twbs/bootstrap/pull/18255#issuecomment-237034763
2016-09-04 17:47:18 -07:00
Franco Moya
833028a779 Remove unused $variables in grid mixins (#20597) 2016-09-04 17:43:38 -07:00
Mark Otto
910f3ec498 fixes #20485: use rem units in alert dismiss (#20625) 2016-09-04 17:41:38 -07:00
Mark Otto
1bdf6c4bd6 Fixes #20513: Remove all default margin on .media given it's utility purpose and our margin utils 2016-08-19 21:00:57 -07:00
Mark Otto
935e0ccbaf fixes #20469 and #20473 without misuing dash 2016-08-08 20:35:58 -07:00
Allan Chau
4f947f46ce Remove unused $size parameter 2016-07-30 18:09:11 +09:30
Mark Otto
7d2295ffaf Merge pull request #20130 from jeradrutnam/context-bg-fix
Contextual background-inverse text color fix
2016-07-27 21:32:18 -07:00
Mark Otto
c1b985a261 Merge pull request #20387 from twbs/v4-input-group-vars
Update variable usage for input group addon
2016-07-27 21:27:15 -07:00
Mark Otto
c52e1334a3 Fixes #20291: Update variable usage for input group addon
Instead of the regular border-radius var, use the input ones to match sizing with their associated controls.
2016-07-27 21:12:44 -07:00
Mark Otto
658c4c3084 Merge pull request #20333 from any-hn/v4-progress-bar-border-radius
Progress bar:fix use variable progress-border-radius instead of border-radius
2016-07-27 21:10:01 -07:00
Mark Otto
24e992a6ff bump versions 2016-07-27 09:31:24 -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
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
An Yang
af6eaf5438 Progress bar:fix border-radius to use variable progress-border-radius instead of border-radius 2016-07-20 01:03:40 +00: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
Jerad Rutnam
26731b3378 Contextual background-inverse text color fix 2016-06-16 22:44:39 +05:30
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