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

526 Commits

Author SHA1 Message Date
Leslie Hoare
cc814f4d76 Create a mixin for creating new card styles.
I'm aware that currently cards are a lot simpler than buttons right now
but this may change in future and it feels cleaner to be able to create
new card styles without needing to know the internals of how they're
implemented.
2015-11-26 13:21:07 +00:00
Richard Kraaijenhagen
c960169807 Add responsive embed class for 1:1 aspect ratio
Closes #18141
2015-11-23 19:54:55 -08:00
Chris Rebert
ade2ab1341 Remove non-responsive text alignment classes
These can be replaced by their `.text-xs-*` parallels.
This also avoids any complications from interactions between the responsive and non-responsive classes.
(e.g. `<div class="text-left text-md-right">`)

Refs #18300
[skip sauce]
2015-11-22 21:33:42 -08:00
Deilv
2c3a592a6e Add missing !important-s to responsive text alignment classes; fixes #18300
Closes #18314 by merging a tweaked version of it.
2015-11-22 20:41:34 -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
5923e6fc58 Merge pull request #18051 from twbs/impl-18044
Add touch-action:manipulation on interactive elements to avoid 300ms click delay
2015-11-15 17:08:01 -08:00
Chris Rebert
1e6f23ce92 Fix #17001 in v4
Refs #18253
[skip sauce]
2015-11-15 14:20:44 -08:00
Chris Rebert
ca68331b8b Add $list-group-border-width; refs #18150
[skip sauce]
2015-11-15 12:46:46 -08:00
Chris Rebert
e54a9d7e8d $list-group-border => $list-group-border-color
[skip sauce]
2015-11-15 12:43:43 -08:00
Chris Rebert
9da0b7140a Move viewport-dependent padding tweak into main .jumbotron block
Refs #18259
[skip sauce]
2015-11-15 01:25:38 -08:00
Chris Rebert
85c9cc806b .form-control: Use $input-border-width instead of $border-width
[skip sauce]
2015-11-15 01:18:40 -08:00
Chris Rebert
6a66d2dd92 Add $table-border-width; refs #18150 2015-11-14 23:24:48 -08:00
Chris Rebert
c174d7ab4e Add $popover-border-width; refs #18150 2015-11-14 23:11:20 -08:00
Chris Rebert
8b91f95d98 Use $border-width in misc border print styles
[skip sauce]
2015-11-14 23:06:40 -08:00
Chris Rebert
e3eaeb96e8 Add $thumbnail-border-width; refs #18150 2015-11-14 22:56:20 -08:00
Chris Rebert
13ac07a862 $thumbnail-border => $thumbnail-border-color 2015-11-14 22:54:53 -08:00
Chris Rebert
203264d7af Add $pagination-border-width; refs #18150 2015-11-14 22:53:18 -08:00
Chris Rebert
5f45f652f7 Rename $pagination-border => $pagination-border-color for clarity 2015-11-14 22:51:18 -08:00
Chris Rebert
687610e6f1 Add $pager-border-width; refs #18150 2015-11-14 22:50:40 -08:00
Chris Rebert
a4594bd445 $pager-border => $pager-border-color 2015-11-14 22:48:18 -08:00
Chris Rebert
a420b66210 Add $nav-tabs-link-border-width; refs #18150 2015-11-14 22:40:43 -08:00
Chris Rebert
1f29c306a6 Add $input-border-width; refs #18150 2015-11-14 22:40:43 -08:00
Chris Rebert
2d02910e01 $input-border => $input-border-color 2015-11-14 22:40:43 -08:00
Chris Rebert
2ea8950b26 Add $dropdown-border-width; refs #18150 2015-11-14 22:40:43 -08:00
Chris Rebert
76f7056321 $dropdown-border => $dropdown-border-color 2015-11-14 22:28:45 -08:00
Mark Otto
0e77265c00 fixes #18170, make cards block level by default so anchors can be used as base element 2015-11-14 21:40:17 -08:00
Mark Otto
36b33bd145 fixes #18241: bump up border-radius values on .label-pill for when customization means the 1rem value doesn't cut it 2015-11-14 21:29:09 -08:00
Mark Otto
925f0ca018 fix error to danger 2015-11-14 19:45:48 -08:00
Mark Otto
1a3acc8a4b Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-11-14 17:23:22 -08:00
Mark Otto
23e746d479 nuke unhelpful comments 2015-11-14 17:23:16 -08:00
Bass Jobsen
0d34169e1f Refactor figure image styles to use CSS class instead of child selector
Refactoring according the comments on https://github.com/twbs/bootstrap/pull/18104.
Closes #18131
2015-11-14 15:00:08 -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
6d591edcb7 .dropdown-menu: Swap color and font-size property order to make SCSS Lint happy 2015-11-13 00:21:43 -08:00
Chris Rebert
2315bc6052 scss/_nav.scss: Remove trailing whitespace
[ci skip]
2015-11-13 00:20:03 -08:00
Chris Rebert
98ec749117 Swap margin-right and margin-left ordering in .dropdown-toggle::after to make SCSS Lint happy
[ci skip]
2015-11-13 00:19:19 -08:00
Chris Rebert
0cdb204867 scss/_card.scss: Remove trailing whitespace
[ci skip]
2015-11-13 00:17:25 -08:00
Mark Otto
763cec82fb Merge pull request #18089 from almirsarajcic/v4-dev
Rename .help-block to .text-help
2015-11-12 23:57:22 -08:00
Mark Otto
0aec084cae Merge pull request #18093 from AndersMad/patch-1
Card fix static -> variable border radius
2015-11-12 23:56:45 -08:00
Mark Otto
cbb5e25482 Merge pull request #17939 from chrisbell08/#17895_alert_border_width
#17895 Added $alert-border-width that defaults to $border-width
2015-11-12 23:50:51 -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
f25d709025 Merge pull request #18061 from mathisonian/patch-1
remove bro from comment
2015-11-12 23:37:02 -08:00
Mark Otto
97b0d37732 space 2015-11-12 23:33:15 -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
Mark Otto
d917f474f4 Merge pull request #17708 from biokillos/feature/add-variable-for-card-link-hover-state
Add variable for card-link hover state
2015-11-12 23:29:48 -08:00
Mark Otto
99219bac55 Merge pull request #17317 from dmbaughman/v4-media-breakpoint-between
v4 - Added  mixin to handle media queries that span multiple breakpoints
2015-11-12 23:27:16 -08:00
Mark Otto
6a526d4890 Merge pull request #17596 from neilhem/remove-fallback-colors
remove not used popover fallback variables
2015-11-12 23:23:53 -08:00
Mark Otto
1c9b773293 Merge pull request #17733 from chrisbell08/v4
Fix for Issue #17711 - Added clearfix mixin to the nav-pills class.
2015-11-12 23:20:35 -08:00
Mark Otto
9f66e7309c fix broke shit, ugh my bad 2015-11-12 23:15:31 -08:00
Mark Otto
6fd1c80d37 Merge pull request #17153 from kkirsche/patch-17
v4 — Change .has-error to .has-danger for uniformity.
2015-11-12 22:20:07 -08:00
Mark Otto
c1af4aa227 Merge pull request #17277 from kkirsche/patch-5
v4 — Use the body color for dropdown menu text in navbars
2015-11-12 22:17:02 -08:00
Mark Otto
fd8cd7ea88 Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev 2015-11-12 22:15:09 -08:00
O'meid
677b7bd1c0 scss: move Figures from _type to _images 2015-11-12 22:13:13 -08:00
Mark Otto
f29eb4d213 Merge pull request #17241 from tagliala/font-size-sm-fix
v4: Change the default value of $font-size-sm to .875rem
2015-11-12 22:07:06 -08:00
Mark Otto
078c7cac8d manually pull in #17212 from @azmenak 2015-11-12 22:02:35 -08:00
Mark Otto
8d46755f99 Merge pull request #17137 from kkirsche/patch-10
v4: Dropdown caret is not horizontally alligned
2015-11-12 21:32:22 -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
fcbf49ae0a Merge pull request #18109 from twbs/color-utils-important
Add !important to text and background color utility classes
2015-11-12 17:02:56 -08:00
Chris Rebert
4f49654196 Merge pull request #18033 from twbs/invisible-important
Add !important to .invisible (visibility:hidden) utility class
2015-11-12 17:02:10 -08:00
Chris Rebert
019069a8b3 Merge pull request #18032 from twbs/text-transform-important
Add !important to text transform utility classes
2015-11-12 17:01:40 -08:00
Chris Rebert
cfd9c30eed Merge pull request #18182 from twbs/img-fluid-doc
Add comments explaining why we don't make `<img>`s responsive by default
2015-11-10 23:28:02 -08:00
Chris Rebert
91005397b3 Merge pull request #18094 from twbs/util-resp-comment
scss/_utilities-responsive.scss: Fix outdated comment heading
2015-11-10 23:26:46 -08:00
Chris Rebert
d8d709da1f Consolidate redundant heading style declaration
[skip sauce]
[skip validator]
2015-11-10 21:19:35 -08:00
Chris Rebert
1a0a2186b8 scss/_carousel.scss: Add missing backticks in comment
[ci skip]
2015-11-05 16:30:57 -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
36d20a8514 Merge pull request #18081 from twbs/ie9-click-comment
Give better description of IE9 transparent click bug & workaround
2015-11-03 12:19:34 -08:00
Bass Jobsen
0fdfde7709 Update _type.scss 2015-11-03 10:52:18 +01:00
Bass Jobsen
bffd2905b9 refactor blockqoutes to to avoid tag selectors & child selectors css v4 2015-11-03 10:17:21 +01:00
Bass Jobsen
63ea4a38f8 refactor list-inlineto toavoid tag selectors & child selectors 2015-11-03 01:53:28 +01:00
Mark Otto
bfa392b097 Merge pull request #18105 from twbs/simpler-retina
Simplify .img-retina mixin and add explanatory comments
2015-11-01 21:40:21 -08:00
Mark Otto
18d6e1a648 Merge pull request #18108 from twbs/split-bg
Move .bg-* utility classes into separate file
2015-11-01 21:39:56 -08:00
Chris Rebert
43b130022b scss/_progress.scss: Add comments for IE9 CSS hacks
[skip sauce]
[skip validator]
2015-10-31 14:37:22 -07:00
Chris Rebert
8bcf60148a Add !important to text and background color utility classes
[skip sauce]
[skip validator]
2015-10-29 21:40:42 -07:00
Chris Rebert
9d201a8ef2 Move .bg-* utility classes into separate file
[skip sauce]
[skip validator]
2015-10-29 21:37:28 -07:00
Chris Rebert
6e8f08dc67 Remove Less->SCSS converter comment left over from bootstrap-sass 2015-10-29 20:45:34 -07:00
Chris Rebert
e0aa54c684 Simplify .img-retina mixin and add explanatory comments
[skip sauce]
[skip validator]
2015-10-29 17:33:22 -07:00
Chris Rebert
7d766e4a94 Yes, we still need this. Silly IE9 😢
See the IE9 note in https://developer.mozilla.org/en-US/docs/Web/CSS/%3Ahover#Browser_compatibility
The prereqs to trigger the bug are still present in v4.
/fyi @mdo

[skip sauce]
[skip validator]
2015-10-29 00:32:20 -07:00
Chris Rebert
ab84c1554a scss/_utilities-responsive.scss: Fix outdated comment heading
[skip sauce]
[skip validator]
2015-10-28 14:35:18 -07:00
Chris Rebert
364925f951 Fix typos in comments 2015-10-28 14:33:48 -07:00
AndersMad
61e9a01a28 Card fix static -> variable border radius
Changed card border radius image caps to use variable rather than static values
2015-10-28 21:54:56 +01:00
Almir Sarajcic
4264621cee Fix #17768 2015-10-28 16:27:55 +01:00
Chris Rebert
fd39d91058 Give better description of IE9 transparent click bug & workaround
[skip sauce]
[skip validator]
2015-10-27 12:47:04 -07:00
Chris Rebert
726525c0cf mixins/_progress.scss: Note that 0\0 media query hack is for IE9
[skip sauce]
[skip validator]
2015-10-27 12:34:26 -07:00
Chris Rebert
c3834b8d5a Merge pull request #18038 from twbs/fix-16947
Make heading class styles trump heading element styles
2015-10-27 09:38:20 -07:00
Mark Otto
368eda788d Merge pull request #17749 from Prelc/patch-1
Remove empty line from _grid.scss
2015-10-27 08:49:04 -07:00
XhmikosR
3c24bd89f7 Merge pull request #18039 from twbs/type-headings-trivial
Trivially simplify heading margin-bottom declarations
2015-10-27 07:41:34 +02:00
Chris Rebert
ee92e6d44d Merge pull request #18031 from twbs/fix-16836
Add !important to text alignment utility classes
2015-10-26 21:33:12 -07:00
Mark Otto
ee64b79a0c Merge pull request #18011 from kkirsche/patch-6
Use the `border-radius` mixin for `.label-pill`
2015-10-26 21:13:15 -07:00
Matthew Conlen
94043ac71c remove bro from comment 2015-10-26 13:40:08 -04: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
Chris Rebert
25d724b279 _forms.scss: Copy over iOS <input> type compatibility note from v3
Refs b6e6a05b95
We ought to re-check this for iOS 9.1 at some point...

[skip sauce]
[skip validator]
2015-10-23 23:05:13 -07:00
Chris Rebert
5f30f2740b Trivially simplify heading margin-bottom declarations
[skip sauce]
[skip validator]
2015-10-23 19:23:06 -07:00
Chris Rebert
deeb74e321 Make heading class styles trump heading element styles; fixes #16947
[skip sauce]
[skip validator]
2015-10-23 17:03:33 -07:00
Chris Rebert
a30a5bb9b5 _grid.scss: Declare left margin before right margin for uniformity; refs #18036
[skip sauce]
[skip validator]
2015-10-23 15:58:10 -07:00
Chris Rebert
aff3fce63b bootstrap.scss: Cleanup comments; refs #18036
[skip sauce]
[skip validator]
2015-10-23 15:39:07 -07:00
Chris Rebert
e78cf3231c Add !important to .invisible (visibility:hidden) utility class
[skip sauce]
[skip validator]
2015-10-23 12:30:56 -07:00
Chris Rebert
62aecae328 Add !important to text transform utility classes 2015-10-23 12:26:31 -07:00
Chris Rebert
66039030e4 Add !important to text alignment utility classes
Refs #16836
[skip sauce]
[skip validator]
2015-10-23 12:25:03 -07:00
Chris Rebert
f730162072 Stop hardcoding grid tiers in flexbox alignment & ordering classes; fixes #18026
[skip sauce]
[skip validator]
2015-10-23 12:09:00 -07:00
Chris Rebert
d3cb2ca43c Stop hardcoding grid breakpoints in responsive alignment utility classes; fixes #18027
[skip sauce]
[skip validator]
2015-10-23 11:49:46 -07:00