Mark Otto
365c9753f8
Ensure alignment of modal dismiss when no .modal-title is present
2017-08-10 22:45:48 -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
Nathan Woltman
f95282c27e
Fix border on input group elements and custom form inputs
...
c3e4cbd
changed the border of input elements to be translucent. This commit makes
input group elements and custom form inputs follow the same pattern.
2017-08-10 22:41:21 -07:00
Mark Otto
1846ab34f6
300, not light
2017-08-10 22:40:02 -07:00
Mark Otto
1e38b45980
Add $font-weight-light var
2017-08-10 22:40:02 -07:00
Mark Otto
ed4f5778a9
Add .font-weight-light class, add !important to the classes
2017-08-10 22:40:02 -07:00
Mark Otto
006590ed9a
Remove broken CSS that tried to reset the absolute positioning when there was no text
2017-08-10 22:36:35 -07:00
Mark Otto
3fbdedbf22
Add basic property-value utils for position
2017-08-10 22:35:38 -07:00
Mark Otto
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07:00
lucascono
08b89972c5
Fix the min breakpoint in media-breakpoint-between
2017-08-08 00:07:42 -07:00
Mark Otto
2cd2301e7a
Add .bg-white and .border-white
2017-08-07 22:06:53 -07:00
Patrick Yeo
cd3507aba6
Dropup dropdown-menu should have margin on the bottom instead of top
2017-08-04 15:17:50 -07:00
Patrick Yeo
0501b029f5
( #22414 ) Rename for consistency $dropdown-margin-top
to $dropdown-spacer
2017-08-04 15:17:50 -07:00
Mark Otto
73040d4311
fix navbar alignment for never expand situations
2017-08-04 15:15:25 -07:00
Mark Otto
987ac632b5
given width: 100%
is always on a container now and it's constrained by max-width, we can remove our navbar changes from #21722 and #22383
2017-08-04 15:14:24 -07:00
Chirag Modi
b2712048ce
make changes as per suggestion in #23100
2017-07-18 11:48:59 +05:30
Chirag Modi
a52a1fbb13
remove change which set from variable and make those in container class
2017-07-18 11:44:56 +05:30
Chirag Modi
f05bd63d8e
fixed issue #23100
2017-07-17 13:29:49 +05:30
Patrick Yeo
696b2bee11
( #22414 ) Rename for consistency $custom-checkbox-border-radius
, $custom-checkbox-icon-checked
, $custom-checkbox-indeterminate-bg
, $custom-checkbox-icon-indeterminate
, $custom-checkbox-indeterminate-box-shadow
, $custom-radio-border-radius
, $custom-radio-icon-checked
to $custom-checkbox-indicator-border-radius
, $custom-checkbox-indicator-icon-checked
, $custom-checkbox-indicator-indeterminate-bg
, $custom-checkbox-indicator-icon-indeterminate
, $custom-checkbox-indicator-indeterminate-box-shadow
, $custom-radio-indicator-border-radius
, $custom-radio-indicator-icon-checked
, respectively
2017-07-16 12:36:26 -07:00
Patrick H. Lauke
7a781b2ae0
Remove ::first-letter and ::first-line selectors from print styles
...
Bootstrap itself doesn't use any `::first-letter` or `::first-line`
styles. These selectors also cause(d) problems in IE11 (see
https://github.com/h5bp/html5-boilerplate/pull/1799 ) and currently cause
a nasty rendering bug in Chrome where the first letter is vertically
shifted (see https://github.com/twbs/bootstrap/issues/21771 )
As h5bp has now removed these as well, no need to keep and comment them
out. See https://github.com/h5bp/html5-boilerplate/issues/1961 /
https://github.com/h5bp/html5-boilerplate/pull/1962
2017-07-11 19:51:21 +01:00
Patrick H. Lauke
edae6a2e1d
Remove box-shadow from .btn-link:focus ( #22998 )
...
When focused, these buttons styled as links still give good visible focus indication through the underline, so this should not be a concern. Closes #22655
2017-07-05 10:54:26 +02:00
Mark Otto
de78b71bab
fixes #22981
2017-07-03 19:04:31 -07:00
Mark Otto
3b08beb37a
follow up to 4e067f722
2017-07-01 23:40:51 -07:00
Mark Otto
7bce8648ed
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-07-01 23:36:11 -07:00
Mark Otto
4e067f7229
remove unused $list-group-color variable; it should naturally inherit from the body
2017-07-01 23:35:57 -07:00
Mark Otto
f282a88475
update comment
2017-07-01 23:25:28 -07:00
Mark Otto
4b6d2c0b3c
put button active bg and border in the mixin params for more customization options
2017-07-01 23:25:28 -07:00
Mark Otto
e7ae1d9069
match btn transition to input
2017-07-01 23:10:01 -07:00
Mark Otto
7085988f06
doh, we already have that above
2017-07-01 23:05:51 -07:00
Mark Otto
6f073edc79
Add .text-truncate class. We already had a mixin and documented the class, so this fixes that.
2017-07-01 23:05:51 -07:00
Mark Otto
4b84614e7f
Redo the "responsive helpers" files
...
- Moves the embed SCSS to the utilities subfolder
- Separate the floats from the embed docs
- Rename embed docs from responsive helpers to embeds
2017-07-01 23:05:51 -07:00
Mark Otto
11e18af1b6
remove some unused vars, restore table-active variant
2017-07-01 22:57:19 -07:00
Mark Otto
3e2318cf7c
badge variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
848a746a89
button variants are generated from -colors Sass map
2017-07-01 22:57:19 -07:00
Mark Otto
97a5bc4870
no xs sizes being used
2017-07-01 22:57:19 -07:00
Mark Otto
3603088454
Restore .text-muted
2017-07-01 19:01:58 -07:00
Mark Otto
2bf4de0698
Update carousel display settings
...
Use `display: block` since we're not really using any flex styles on the `.carousel-items` (only their controls and indicators). For the indicators, since moving to `width`, our indicators grow to fill available space, so we need to change `flex: 1 0 auto` to `flex: 0 1 auto` to prevent that.
2017-07-01 16:59:16 -07:00
Mark Otto
75156f419a
using max-width in flex: 1 0 auto; in ie11 offsets the center-aligned contents
2017-07-01 11:21:20 -07:00
Mark Otto
2d4534e112
use @supports to apply transform3d to those who can do it, then provide a non-3d fallback to ie11
2017-07-01 11:21:20 -07:00
Mark Otto
88b9e558fb
clip to border-box, update overlay
2017-06-30 15:28:50 -07:00
Mark Otto
9a2b202e8e
add a bg-transparent to override bgs
2017-06-30 15:23:36 -07:00
Mark Otto
2feebccf24
make card headers and footers translucent
2017-06-30 15:23:36 -07:00
Mark Otto
180d78c013
Drop .card-{color} modifiers for .bg-{color}, .text-{color}, and .border-{color} utilities
2017-06-30 15:23:36 -07:00
Mark Otto
45722e94ac
Drop .blockquote-reverse, replace with text utils, and redesign blockquote to not have a border
2017-06-30 15:04:56 -07:00
Mark Otto
16781be021
drop the mixins
2017-06-30 11:44:09 -07:00
Mark Otto
deeae4f820
Update _grid-framework.scss
2017-06-30 11:44:09 -07:00
Mark Otto
4982926dcf
Drop offsets and push/pull for new order variants
2017-06-30 11:44:09 -07:00
Mark Otto
d30b5b120e
remove unused mixin, fix variable
2017-06-30 09:01:39 -07:00
Mark Otto
b013b987b0
remove grid gutter sass map as it's output css was all jacked up
2017-06-30 09:01:39 -07:00
Mark Otto
ac00c73ab5
update comment
2017-06-29 23:17:18 -07:00
Mark Otto
964e06800a
Drop the old $gray- variables for the new color range
2017-06-29 23:15:27 -07:00
Mark Otto
a21a9f341b
add map function for grays
2017-06-29 23:06:46 -07:00
Mark Otto
6fbceb2f70
remove $state-vars now
2017-06-28 09:38:27 -07:00
Mark Otto
0f232de9d7
move table variants to use sass map
2017-06-28 09:36:27 -07:00
Mark Otto
3e0375e03b
move list group variants to be generated from sass map
2017-06-28 09:29:59 -07:00
Mark Otto
91b587ad6a
remove now unused alert variant variables
2017-06-28 09:23:10 -07:00
Mark Otto
41f4ddbdb5
Merge branch 'v4-dev' into colors-redux
2017-06-26 15:17:48 -07:00
Mark Otto
0622a59897
fixes #22908
2017-06-26 07:59:20 -07:00
Mark Otto
9bfbee3503
add border color utilities
2017-06-25 18:39:14 -07:00
Mark Otto
6c595d2cc1
add theme-color-level function and interval so we can generate shades of colors
2017-06-25 18:31:03 -07:00
Mark Otto
9372eef9e1
rename .card-inverse to .card-dark, update docs to match
2017-06-25 18:30:24 -07:00
Mark Otto
36e482ed27
update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables
2017-06-25 18:29:43 -07:00
Mark Otto
2392047a0c
update alert component to use theme sass map and add a ton of options in the process
2017-06-25 18:22:51 -07:00
Mark Otto
fc053ed096
update background utils
2017-06-25 18:16:37 -07:00
Mark Otto
aa83c4f417
update badges to use the theme colors sass map
2017-06-25 18:15:32 -07:00
Mark Otto
370e299c6b
modify contrast value
2017-06-25 18:11:16 -07:00
Mark Otto
b973fe6b94
update theme colors
2017-06-25 18:08:43 -07:00
Mark Otto
222eddda5e
Merge branch 'v4-dev' into colors-redux
2017-06-18 18:32:42 -07:00
obinnangini
532493e6ec
Updated flex-basis property to fix issue #18569 in .scss files
2017-06-18 18:17:48 -07:00
Mark Otto
1a23321fc0
Update _buttons.scss
2017-06-18 10:53:27 -07:00
Mark Otto
597e9f8618
remove - vars, update docs to generate from data yml files, update mixins, and generate card, button, bg, and color classes from the sass map
2017-06-18 02:57:16 -07:00
Mark Otto
74f1d002b4
Merge branch 'v4-dev' into colors-redux
2017-06-18 02:19:34 -07:00
Patrick Yeo
845320fe8c
@mixin pagination-size()
doesn't apply line-height
2017-06-18 02:11:33 -07:00
Ken Paulsen
a47f373e82
Fix mixin media-breakpoint-only
...
Prevent mixin media-breakpoint-only from breaking when supplying the
first or last entry in $grid-breakpoints.
2017-06-18 02:08:11 -07:00
Mark Otto
d2508ec506
Update _borders.scss
2017-06-17 23:20:56 -07:00
Mark Otto
da2629907e
move from mixins and add important flag
2017-06-17 23:20:56 -07:00
Mark Otto
5476e636ce
limit active styles for nav-pills to immediate children
2017-06-17 22:40:07 -07:00
Mark Otto
1b722372a8
update comment
2017-06-17 20:25:35 -07:00
Mark Otto
60d8c8754f
wrap .sticky-top in supports query
2017-06-17 13:13:47 -07:00
Catalin Zalog
f640ec9662
Some .navbar .dropdown-menu optimisation ( #22776 )
2017-06-17 13:12:39 -07:00
Johann-S
af93db294b
Reset Popper.js styles for Dropdowns in navbar
2017-06-17 13:12:39 -07:00
Patrick Yeo
9f0929013e
( #22414 ) Rename for consistency $list-group-link-*-*
to $list-group-action-*-*
2017-06-16 18:58:21 -07:00
Mark Otto
2ad2d71f66
add new color vars and maps
2017-06-15 11:16:27 -07:00
Mark Otto
c31d524998
add color contrast and map-get functions
2017-06-15 11:15:48 -07:00
Mark Otto
9c0e423008
Rename popover classes
...
Part of an update to align the naming schemes across our components.
- Renames .popover-title to .popover-header
- Renames .popover-content to .popover-body
Refs: #22092
2017-06-15 09:05:30 -07:00
Mark Otto
6c8c0aa4cf
Rename .card-block to .card-body to match nomenclature of modals
2017-06-15 09:05:16 -07:00
Mark Otto
e62b121226
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:59:02 -07:00
Mark Otto
ac96ecbec5
rearrange, add comments
2017-06-14 20:55:00 -07:00
Mark Otto
5da5a38f0d
Move scss functions from top of variables to separate file, then import it into other build files
2017-06-14 20:55:00 -07:00
Mark Otto
5818374fdf
Merge branch 'v4-dev' into rip-custom
2017-06-14 20:45:31 -07:00
Patrick H. Lauke
ff5c75510d
Rename .form-control-static to .form-control-readonly-plain
2017-06-14 19:51:50 -07:00
Mark Otto
aa8c456a16
Remove the confusing _custom.scss file
2017-06-13 22:45:16 -07:00
Mark Otto
7e5085b407
move from .gutters-sm to .form-row to be super explicit about intended use case
2017-06-13 22:11:29 -07:00
Mark Otto
21b874d19d
Merge branch 'v4-dev' into form-tweaks
2017-06-13 20:15:42 -07:00
Patrick Yeo
d7867377d9
( Fixes #22414 ) Rename for consistency $custom-checkbox-radius
, $custom-checkbox-checked-icon
, $custom-checkbox-indeterminate-indicator-color
, $custom-checkbox-indeterminate-icon
, $custom-radio-radius
, $custom-radio-checked-icon
, $custom-select-sm-font-size
, to $custom-checkbox-border-radius
, $custom-checkbox-icon-checked
, $custom-checkbox-indicator-indeterminate-color
, $custom-checkbox-icon-indeterminate
, $custom-radio-border-radius
, $custom-radio-icon-checked
, $custom-select-font-size-sm
respectively
2017-06-13 19:22:49 -07:00
Patrick Yeo
a362d62d31
Rename $font-size-h*
to $h*-font-size
for consistency ( #22414 )
2017-06-13 08:46:29 -07:00
Patrick Yeo
c349f59174
Rename for consistency $table-sm-cell-padding
, $table-bg-accent
, $table-bg-hover
, $table-bg-active
, $table-inverse-bg-accent
, $table-inverse-bg-hover
to $table-cell-padding-sm
, $table-accent-bg
, $table-hover-bg
, $table-active-bg
, $table-inverse-accent-bg
, $table-inverse-hover-bg
, respectively ( #22414 )
2017-06-13 08:46:15 -07:00
Patrick Yeo
4cc21bbf74
( #22414 ) Rename for consistency $input-bg-disabled
, $input-bg-focus
, $input-border-color-focus
, $input-box-shadow-focus
, $input-color-focus
, $input-color-placeholder
to $input-disabled-bg
, $input-focus-bg
, $input-focus-border-color
, $input-focus-box-shadow
, $input-focus-color
, $input-placeholder-color
, respectively
2017-06-13 08:45:50 -07:00
Patrick Yeo
2317b7fc96
( #22414 ) Rename for consistency $custom-control-disabled-indicator-bg
, $custom-control-disabled-description-color
, $custom-control-checked-indicator-color
, $custom-control-checked-indicator-bg
, $custom-control-checked-indicator-box-shadow
, $custom-control-focus-indicator-box-shadow
, $custom-control-active-indicator-color
, $custom-control-active-indicator-bg
, $custom-control-active-indicator-box-shadow
to $custom-control-indicator-disabled-bg
, $custom-control-description-disabled-color
, $custom-control-indicator-checked-color
, $custom-control-indicator-checked-bg
, $custom-control-indicator-checked-box-shadow
, $custom-control-indicator-focus-box-shadow
, $custom-control-indicator-active-color
, $custom-control-indicator-active-bg
, $custom-control-indicator-active-box-shadow
, respectively
2017-06-13 08:45:36 -07:00
Patrick Yeo
3ecb8b661b
( #22414 ) Renamed for consistency $nav-disabled-link-color
, $nav-tabs-active-link-color
, $nav-tabs-active-link-bg
, $nav-tabs-active-link-border-color
, $nav-pills-active-link-color
, $nav-pills-active-link-bg
to $nav-link-disabled-color
, $nav-tabs-link-active-color
, $nav-tabs-link-active-bg
, $nav-tabs-link-active-border-color
, $nav-pills-link-active-color
, $nav-pills-link-active-bg
, respectively
2017-06-13 08:45:21 -07:00
Patrick Yeo
5e651615a3
( #22414 ) Renamed for consistency $modal-dialog-sm-up-margin-y
, $modal-content-xs-box-shadow
, $modal-content-sm-up-box-shadow
, to $modal-dialog-margin-y-sm-up
, $modal-content-box-shadow-xs
, $modal-content-box-shadow-sm-up
, respectively
2017-06-13 08:45:11 -07:00
Mark Otto
441f114681
Update _variables.scss
2017-06-13 08:44:55 -07:00
Mark Otto
c5d4430367
Mention variable naming scheme to help with #22414
2017-06-13 08:44:55 -07:00
Mark Otto
94ed0d901b
move to mixin so we can repeat it easier and allow folks to extend to custom states
2017-06-10 16:30:26 -07:00
Mark Otto
d6b0334a4e
remove icons for now
2017-06-06 22:45:37 -07:00
Mark Otto
58b7239c6c
add valid state
2017-06-06 21:53:23 -07:00
Mark Otto
6c214ad4c2
drop the old validation styles and docs
2017-06-06 11:27:29 -07:00
Mark Otto
d2c9f3f00a
flesh out invalid styles on .was-validated
2017-06-05 23:00:14 -07:00
Patrick Yeo
891bca435f
Fix overflowing text in Cards with word-wrap: break-word
2017-06-03 22:19:19 -07:00
Patrick Yeo
ec56bbe6bf
Rename $card-border-radius-inner
to $card-inner-border-radius
2017-06-03 22:17:57 -07:00
Tom Van Rompaey
3a00b005c1
fix small typo inside _button-group.scss ( #22746 )
...
fron -> front
2017-06-03 09:53:50 +02:00
Mark Otto
4a554e5ff5
trying out new validation styles
2017-06-01 08:06:17 -07:00
Mark Otto
f13eb51940
Merge branch 'v4-dev' into form-tweaks
2017-05-31 21:29:23 -07:00
Mark Otto
332d882cdb
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-31 20:46:29 -07:00
Patrick Yeo
0800c7e1c8
Rename $card-link-hover-color
to $card-inverse-link-hover-color
2017-05-31 20:34:01 -07:00
Mark Otto
f1a7f1f56a
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
2017-05-31 09:09:55 -07:00
Mark Otto
2fd192968d
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-30 23:31:40 -07:00
Mark Otto
960e73c16f
tweak dropdown caret size and placement
2017-05-30 13:59:24 -07:00
Mark Otto
48d17bc8b8
keep width, add comment
2017-05-28 21:12:55 -07:00
Mark Otto
8a2d845a4f
Fix responsive .col-{infix}-auto
...
Responsive automatic column resets weren't working because they inherited their `max-width` from lower grid tiers. This was because we were resetting the `width`, not the `max-width`.
2017-05-28 21:12:55 -07:00
Mark Otto
7c9efe786a
move .scss-lint.yml to route dir instead of symlink (which didn't work)
2017-05-27 17:54:23 -07:00
Mark Otto
04724939a3
Merge branch 'v4-dev' into form-tweaks
2017-05-26 21:22:08 -07:00
Patrick Yeo
f2829dd6ea
Rename $navbar-*-toggler-bg
to $navbar-*-toggler-icon-bg
since it's placed on .navbar-toggler-icon ( #22564 )
2017-05-26 20:55:07 -07:00
Mark Otto
7e1497ddb8
Revert simplified grid column styles from #22376
...
The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.
/cc @sachinsinghi
2017-05-26 20:16:12 -07:00
Mark Otto
a11ae7facf
add a compact gutter option, .gutters-sm
2017-05-26 20:15:05 -07:00
Mark Otto
2a833d559a
Add box-shadow to .progress-bar ( #22579 )
...
* Add box-shadow to .progress-bar
Puts an unused variable back in use for when folks set `$enable-shadows` to `true`.
2017-05-25 21:32:59 -07:00
Johann-S
4c3b6c5ceb
Placement auto for popovers
2017-05-24 14:57:40 +02:00
Johann-S
2c72af88ee
Placement auto for tooltips
2017-05-24 14:57:40 +02:00
Johann-S
aa36439e17
Use Popper.js to manage arrow position
2017-05-23 15:19:54 +02:00
Catalin Zalog
3706c88348
Fix (css): force .navbar .dropdown-menu positioning
2017-05-22 16:20:58 +02:00
Johann-S
b36d8ae6cb
Use popper to align dropdown menu instead of using css with important
2017-05-17 22:03:11 +02:00
Johann-S
ba2352c14e
Force dropdown to be displayed in position static for navbar, to override Popper css
2017-05-16 14:48:12 +02:00
Johann-S
2b403819b7
Fix tooltip margin to be stick at their caller
2017-05-14 11:41:19 +02:00
Johann-S
dc35a840dc
Fix dropdown-menu-right and dropdown-menu-left for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626
Fix some css for the arrow of Popover/Tooltip + update documentation
2017-05-14 11:41:19 +02:00
Johann-S
53ee455bc7
Handle dropup for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
69de65180f
Fix unit tests + Update Popper to 1.6.0
2017-05-14 11:41:19 +02:00
Johann-S
54a8ab4011
Begin to use Popper for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
d8996a7e0a
Fix arrow for tooltip and popover
2017-05-14 11:41:19 +02:00
Mark Otto
ee1af53d9f
Merge branch 'v4-dev' into form-tweaks
2017-05-07 17:44:57 -07:00
Sebastiaan Nijland
6c5346e300
Removed several unused scss variables ( #22539 )
2017-05-07 17:41:14 -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
Mark Otto
ca44f5b03a
Redo the small custom select vars
...
— Sizing shorthand comes last
— Add height var and put it to use
2017-04-22 11:56:27 -07:00
Mark Otto
dc3af6711d
Change how input and select height is computed
...
— Previously we weren't including the border-width on the computed height, leading to alignment issues.
— New system utilizes three variables (not ideal, but straightforward) for computing these heights. One for the vertical border, one for the line-height/font-size/padding dance, and one to add those together.
— Updates CSS across forms and custom forms to use new sizing. Special note here: form validation icon sizing uses the inner variables because background-image doesn't bleed into borders unless explicit background-clip.
2017-04-22 11:56:01 -07:00
Mark Otto
5463d8436b
Merge branch 'v4-dev' into form-tweaks
2017-04-21 23:36:24 -07:00
Mark Otto
7efe4ddee4
Match validation mixin focus state to normal focus state
2017-04-21 23:30:06 -07:00
Patrick Yeo
dd0ce3e4b2
Rename variable $input-border-focus to $input-border-color-focus ( #22413 )
...
* Rename variable $input-border-focus to $input-border-color-focus
* Rename variables $pagination-hover-border, $pagination-active-border, $pagination-disabled-border to $pagination-hover-border-color, $pagination-active-border-color, $pagination-disabled-border-color, respectively
* Rename variables $state-*-border to $state-*-border-color, respectively
* Rename variables $alert-*-border to $alert-*-border-color
* Rename $list-group-active-border to $list-group-active-border-color
* Rename $table-inverse-border to $table-inverse-border-color
* Rename $btn-*-border to $btn-*-border-color
* Rename $navbar-*-toggler-border to $navbar-*-toggler-border-color
2017-04-16 15:45:10 -07:00
Mark Otto
2075610491
Prevent long words in .card-title
s from breaking auto layout
2017-04-16 14:02:12 -07:00
Patrick H. Lauke
6d64afe508
Replace dropdown backdrop hack with cleaner JS-only hack
...
* Replace backdrop with simple noop mouse listener
As discussed in https://github.com/twbs/bootstrap/pull/22422 the current
approach of injecting a backdrop (to work around iOS' broken event
delegation for the `click` event) has annoying consequences on
touch-enabled laptop/desktop devices.
Instead of a backdrop `<div>`, here we simply add extra empty/noop
mouse listeners to the immediate children of `<body>` (and remove
them when the dropdown is closed) in order to force iOS to properly
bubble a `click` resulting from a tap (essentially, method 2 from
https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html )
This is sufficient (except in rare cases where the user does manage to tap
on the body itself, rather than any child elements of body - which is not
very likely in an iOS phone/tablet scenario for most layouts) to get iOS to
get a grip and do the correct event bubbling/delegation, meaning the regular
"click" event will bubble back to the `<body>` when tapping outside of the dropdown,
and the dropdown will close properly (just like it already does, even without
this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and
Windows on a touch laptop).
This approach, though a bit hacky, has no impact on the DOM structure, and
has no unforeseen side effects on touch-enabled laptops/desktops. And crucially,
it works just fine in iOS.
* Remove dropdown backdrop styles
* Update doc for dropdowns and touch-enabled devices
2017-04-14 09:19:00 +01:00
Idan Cohen
8c97532719
Fix popover arrow color for bottom position
2017-04-13 10:52:41 +02:00
Patrick H. Lauke
7056f70240
Remove cursor: not-allowed
styles
2017-04-10 22:10:20 +01:00
Mark Otto
0cb2576bf2
fixes #21922 : set border-radius to 0 when global radius is disabled
2017-04-08 21:58:26 -07:00
Mark Otto
7f075bfb23
fixes #22135
2017-04-08 21:26:25 -07:00
Mark Otto
09f98fbd0e
Update card outline mixin
...
Fixes #22056 by ensuring outline cards make their header/footer transparent and use the right border color.
2017-04-08 21:25:38 -07:00
Mark Otto
e1c3f79e98
tighten up horizontal input and button padding
2017-04-08 21:25:02 -07:00
Mark Otto
01dbc4cc05
Bump up from 2px to 3px so it's consistent; also fix focus of inputs
2017-04-08 21:24:03 -07:00
Mark Otto
2dfffbde89
Rename some .open to .show ( #22389 )
...
* no more outline overrides
* rename old .open to .show
2017-04-08 16:30:18 -07:00
Mark Otto
0c59741812
property order
2017-04-08 16:29:21 -07:00
Mark Otto
90c18ebd19
Switch to ease function to remove trailing animation movement
2017-04-08 16:29:21 -07:00
Pierre-Denis Vanduynslager
73cfefd594
Do not stretch images in carousel-item
2017-04-08 16:29:21 -07:00
Mark Otto
ab67ffe167
Ensure carousel works in IE10/11
...
- Drops the `if-supports-3d-transforms()` mixin since all our browsers do support it
- Updates carousel to not rely on that mixin
2017-04-08 16:29:21 -07:00
Mark Otto
feb35b94a6
Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )"
...
This reverts commit 2f21403a93
.
2017-04-08 15:15:14 -07:00
Mark Otto
fba27befef
Add transition to .progress-bar
...
- Pulls in values from v3
- Closes #22371 which didn't use a transition include
2017-04-08 14:40:35 -07:00
Mark Otto
050aab338b
Add dropdown-item-padding-y var
...
- Closes #21622 which kept the 3px
- Puts variable in proper order for shorthand (y x)
2017-04-08 14:40:11 -07:00
Mark Otto
2f21403a93
Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376 )
2017-04-08 14:23:47 -07:00
Jesper Strange Klitgaard Christiansen
11c2c07e26
Remove margin-left on caret if empty ( #22095 )
2017-04-08 14:23:07 -07:00
Mark Otto
cf2de1fd05
Drop .jumbotron-hr
...
- Closes #21760
- No longer needed since we have an rgba() value for this element, so it naturally darkens
2017-04-08 14:21:18 -07:00
Mark Otto
9a475730dc
Docs and CSS updates for #21807 ( #22336 )
...
* tweak some copy
* fix up scrollspy docs
* remove nav styles that were added
* fix nav-based docs by requiring .nav-item on .nav-link
2017-04-08 13:58:20 -07:00
Catalin Zalog
f7881336e5
css: just some ordering
...
Order y & x axis by top, right, bottom, left logic
2017-04-08 13:10:25 -07:00
Catalin Zalog
758503e9ae
css: .navbar child's aligning
...
Vertical centering `.navbar` flex children's
Demo: http://jsbin.com/fibini
2017-04-08 12:38:37 -07:00
Catalin Zalog
8423e5c3e6
css: .navbar-expand .dropdown position
...
Set/reset `.dropdown` position when `.navbar-expand`.
Demo: http://jsbin.com/pojecuh
2017-04-08 12:36:28 -07:00
Mark Otto
2436ad589c
drop flex and max-width, just use width
2017-04-07 14:22:49 -07:00
Mark Otto
c6168b64ed
Remove system-ui from font stack due to i18n issues
2017-04-07 14:22:18 -07:00
Catalin Zalog
094b3a1293
css: .container-fluid 100%
...
Force .container-fluid to be 100% width no matter if the parent is flex, or not.
Pen: http://codepen.io/zalog/pen/yMwyGr
2017-04-03 08:59:33 -07:00
Pierre Vanduynslager
91b62941af
Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...)
2017-04-02 11:21:04 +02:00
Praveen Puglia
cb4bc89fdf
ability to change text color in popovers ( #22221 )
2017-03-28 15:21:47 -07:00
Mark Otto
296c99020c
Revamp button and input vars while fixing #21587 ( #22287 )
2017-03-28 09:28:27 -07:00
Mark Otto
bebdbe4119
Fix wrapping card decks ( #22289 )
...
fixes #22007 and fixes #21976 by changing margin strategy for card deck gutters
2017-03-27 22:53:39 -07:00
Mark Otto
fe3acc097a
Card image fixes ( #22288 )
...
* fix image stretching due to flexbox
* fix broke text-muted on dark bg
* no img-fluid needed
2017-03-27 22:52:24 -07:00
Mark Otto
3ea3e10799
Use the hr-method for the nav-divider, closes #21945
2017-03-26 15:03:13 -07:00
Mark Otto
7ca078da81
fixes #22111
...
- add .col-*-auto to the extend in our grid framework mixins so it gets padding
- this means we can avoid the col-12 classes in our docs for the responsive variants
2017-03-26 13:23:49 -07:00
Mark Otto
32ed268c82
fixes #22245 : revamp the breakpoint-between and breakpoint-only mixins to actually work
2017-03-26 13:23:49 -07:00
Mark Otto
8108c0357a
Drop position relative on container that was added quickly in Alpha 6
2017-03-26 13:23:49 -07:00
Catalin Zalog
e20d744bdf
.navbar-toggler color
...
Change the .navbar-toggler to default contextual .navbar-*-color.
<iframe height='265' scrolling='no' title='Bootstrap - .navbar-toggler color' src='//codepen.io/zalog/embed/MJLZOE/?height=265&theme-id=light&default-tab=css,result&embed-version=2' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='http://codepen.io/zalog/pen/MJLZOE/ '>Bootstrap - .navbar-toggler color</a> by Catalin Zalog (<a href='http://codepen.io/zalog '>@zalog</a>) on <a href='http://codepen.io '>CodePen</a>.
</iframe>
2017-03-26 10:43:57 -07:00
Mark Otto
90c5f6230b
rename from .navbar-toggleable to .navbar-expand to reflect mobile first approach everywhere else
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
17cb5bb674
Allow to customize navbar-brand font-size
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
a03aaf39df
Harmonize navbar-brand, navbar-text and nav-link height
2017-03-23 23:02:28 -07:00
Mark Otto
09ba3de619
revamp the collapse behavior
...
instead of flex column, use wrap and an explicit flexbox break with flex-basis 100% on the navbar-collapse.
add some additional container styles for enabling flex behavior when content isn't immediate child of .navbar
2017-03-23 23:02:28 -07:00
Mark Otto
0eb9862514
account for fluid containers
2017-03-23 23:02:28 -07:00
Mark Otto
1e424bfcf6
ditch abs positioned togglers for explicit justify-content: space-between on parent
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
89b47efc32
Simplify generation and get rid of previously added "breakpoint-previous" function
2017-03-23 23:02:28 -07:00
Pierre-Denis Vanduynslager
c1325a756e
Generate correct breakpoints for navbar-toggleable-* and generate toggleable without media query to never collapse
2017-03-23 23:02:28 -07:00
Mark Otto
40ac03384d
linting from before
2017-03-19 18:39:48 -07:00
Mark Otto
d093460252
fixes rest of #21585 ; adds custom styles for inverse table accent hover and active states
2017-03-19 18:39:48 -07:00
Mark Otto
13a874e340
reorder
2017-03-19 18:39:48 -07:00
Mark Otto
78cad48c70
consistent breaks
2017-03-19 18:39:48 -07:00
Mark Otto
4c015bf378
Do what the comment says; add this only to devices under 768px
2017-03-19 18:39:48 -07:00
Mark Otto
08d612f3e4
correct inverse table border color, add new var
2017-03-19 18:39:48 -07:00
Gaël Poupard
2085c14267
Update _screen-reader.scss ( #22154 )
...
* Update _screen-reader.scss
Small improvements that could be important:
* `clip` [is deprecated](https://www.w3.org/TR/css-masking-1/#clip-property ). Adding `clip-path` as progressive enhancement; the shorter notation came from @ryuran 's [suggestion](https://twitter.com/ryuran78/status/778943389819604992 );
* [J. Renée Beach warned about single pixel with interfering with screen readers vocalisation](https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe#.vcd5xlpgg ) solved with `white-space`.
See [the detailed post on Hugo Giraudel's blog](http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ ).
Also kinda related to issue #20732 :)
Please let me know if you find any trouble with this technique. Thanks a lot!
* Reorder declarations
To pass Hound.
Didn't think `clip` and `clip-path` would be considered as unrelated…
* Trailing spaces
* Last trailing space?
* Remove margin: -1px
2017-03-19 16:05:45 -07:00
Mark Otto
caebfcd246
Fix justified nav styles and update nav docs for fill/justify
...
- Justified and fill nav variants need .nav-item classes on the anchors in addition to .nav-link
- Fix broken styles for the .nav-justified class which wasn't actually doing what we needed it to
2017-03-19 15:47:34 -07:00
Mark Otto
e1c561a723
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2017-03-18 16:30:24 -07:00
Mark Otto
ec8c251928
fixes #21584
...
- revert back to display block for list items to prevent unwanted behaviors
- fixes a handful of other linked issues (see main thread)
- updates docs to include more utilities for the one example
2017-03-18 16:30:12 -07:00
Theriault
6f42daf747
Add :empty to .custom-file-control selector ( #22176 )
...
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control"></span></label>
VS
<label class="custom-file"><input type="file" class="custom-file-input" /><span class="custom-file-control">test.txt</span></label>
2017-03-18 13:23:10 -07: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
08984ac8cd
Remove the outline override from dropdown toggles
...
fixes #17573
2017-03-12 18:26:53 -07:00
Dominic Watson
b3aa5ec360
Use btn-$variant-color variables for outlined btns ( #22164 )
...
Despite now having the ability to override outline-variant color, it's not actually being used so each are still #fff
Related: https://github.com/twbs/bootstrap/pull/20734
2017-03-12 18:25:56 -07:00
Starsam80
95f37e4c40
Clean up spacers a bit more
2017-03-05 16:05:12 -06:00
Mark Otto
9a93671b75
Move box-shadow and transition mixins out of the main mixins file and into their own files
2017-03-05 12:40:01 -08:00
Mark Otto
4778190d78
Drop the .hidden and .visible classes, save for the print ones
...
— Moves print display utils to display utils file
— Removes all other .hidden- utils
— Expands on .invisible and it's mixin to provide options for visibility: visible and visibility: hidden
2017-03-05 12:25:41 -08:00
Mark Otto
ed1de86794
Update spacer utilities ( #22123 )
...
* Drop -x and -y as they're all the same
- Also move -width to elsewhere in the vars because it makes no sense by spacers.
- Update values of -x and -y across main Sass and docs Sass.
* Update docs to reflect changes; link to spacing utils from options page
2017-03-05 12:20:44 -08:00
Catalin Zalog
70a57902ce
Change sticky order ( #22027 )
...
Based on this pen: http://codepen.io/zalog/pen/jyoyoR
2017-03-03 13:02:17 -08:00
Rutger Laurman
0a997795b4
Fix border width calculation for custom-select ( #22068 )
...
In addition to #22011 and #21994
2017-03-03 11:19:02 -08:00
Sean Beyer
e02597519a
Remove 'hover' from nav-tabs-active-link-hover-color et al ( #22087 )
...
* Remove 'hover' from variable names
* Fix indentation in variables
2017-03-03 11:15:41 -08:00
Bardi Harborow
9bacc6715a
Remove vendor prefixes from appearance: none.
2017-02-21 17:38:11 +11:00
Pierre Vanduynslager
3173a72083
Remove unused input-size mixin ( #21971 )
2017-02-11 21:16:16 -08:00
Mark Otto
d79b556373
Fixes #21814 . Also accounts for custom file inputs.
2017-02-04 17:03:42 -08:00
Mark Otto
6b9265fc2d
Add utilities/flex
to the dedicated grid Sass bundle so folks can take advantage of the utilities for basic flex alignment
2017-02-04 15:57:21 -08:00
Mark Otto
09c7b1c582
Fixes #21908
2017-02-04 15:55:37 -08:00
Juan Carlos González Cabrero
a8b00ddc12
Reduce the width to prevent the modal fills the screen width
2017-01-28 18:26:55 +01:00
Juan Carlos González Cabrero
95dffb3279
Add new extra large size for modal containers
2017-01-28 18:26:55 +01:00
Mark Otto
6aad73ac6d
Remove random cursor: default from pill nav ( #21835 )
...
Fixes #21560 . Pretty sure this wasn't intentional, so should be fine to remove.
2017-01-24 21:06:22 -08:00
Mark Otto
9d7d84e0b9
Allow button toolbars to wrap ( #21826 )
...
Fixes #21699
2017-01-24 20:43:33 -08:00
Sergey Kovalenko
bf7387aa42
Add align self to navbar brand ( #21626 )
2017-01-24 00:09:54 -08:00
Mark Otto
519ecc1c69
Rename order utilities to intended class names ( #21739 )
...
* rename order utilities to intended class names
* Documentation fixes.
2017-01-24 00:01:44 -08:00
Geremia Taglialatela
b509dbe75b
Pixel perfect navbar toggler ( #21821 )
...
The actual available size of the navbar toggler icon is 30px, but the
SVG uses a 32 unit grid. This commit uses a 30 unit grid and updates
icon accordingly.
2017-01-24 00:00:18 -08:00
Mark Otto
ea6390d513
Update _custom.scss imports in other builds ( #21825 )
...
- Correctly places the _custom.scss file first in the other two buids.
- Also removes the clearfix mixin from the grid build because flexbox yo.
2017-01-23 23:59:19 -08:00
Mark Otto
f18a4cdadd
Allow flex-based navs to wrap like they used to ( #21824 )
2017-01-23 23:58:22 -08: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
Pierre Vanduynslager
9cf235508d
Fix container within navbar on smallest breakpoint ( #21722 )
...
* Make container in navbar to occupy full width even on smallest breakpoint
* Fix typo in comment
* Apply fix only on smaller breakpoint
* drop the comment as chrome doesn't have a bug here
2017-01-21 13:06:00 -08:00
Mark Otto
eb361fa6c1
Progress line height ( #21805 )
...
* remove obvi comments
* proper fix for #21801
- ensures .progress-bar text is vertically centered should the height of the .progress-bar change by matching the line-height and height values
- we can't use flexbox here because the inner text of an element doesn't count as a flex item
2017-01-21 12:32:38 -08:00
Gijs Boddeus
12b22ebad6
fix segmented buttons ( #21716 )
...
* fix segmented buttons
changed flex-direction to row
centering is now done by align-items instead of justify-content
this way there is no need for flex property on the .btn inside .btn-group
* Update _input-group.scss
2017-01-21 12:25:24 -08:00
Dmytro Yarmak
ade657afee
Fix gaps between vertical grouped buttons when using labels ( #21793 ) ( #21796 )
2017-01-21 12:18:58 -08:00
Pierre-Denis Vanduynslager
d6a5439a8c
Remove list-group-item-heading and list-group-item-text ( #21653 )
2017-01-15 21:36:15 -08:00
Pierre-Denis Vanduynslager
a3bc607c10
Remove unused scss variables ( #21579 )
...
* Remove unused scss variables
* Remove unnecessary space
* Remove $zindex-navbar from docs
* Re-add $progress-box-shadow
2017-01-15 21:35:18 -08:00
Christian Oliff
d7af46359b
Remove filter: alpha(opacity = 0);
...
Not needed (and all other old IE filter attributes have been removed from the CSS. This was the only one remaining
2017-01-15 17:52:34 -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
Rishabh Rajgarhia
2f429fbd77
Update breakpoints in breakpoints.scss comments
2017-01-09 21:05:24 -08:00
Zulfiqar Ali
e7035aee3f
_custom.scss should be the first include
2017-01-09 21:03:40 -08:00
Mark Otto
045888fa38
version bump
2017-01-06 08:38:04 -08:00
Quy
98e55484e7
Doc updates ( #21542 )
...
* Change it's to its.
* Fix links
* Fix typos
2017-01-05 14:24:40 -08:00
Phillip Marshall
1b194c0660
Custom Forms: Allow Chrome/Firefox feature that lets the user drag and drop into file inputs ( #20033 )
...
* Restored functionality of dragging files into .custom-file inputs.
* Replaced padding with height on .custom-file-input
2017-01-03 19:44:44 -08:00
Mark Otto
0ffd369afd
clarify usage of base font-size so we know what's up
2017-01-03 19:32:57 -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
Quy
2ea7e388e7
Drop .carete ( #21525 )
2017-01-03 19:31:27 -08:00
Mark Otto
1ed9f5db29
button groups should be inline-flex to match their button counter parts (inline-block currently)
2017-01-03 19:22:08 -08:00
Mark Otto
bd72b9593b
Drop .table-reflow
...
Tried redoing this in flexbox, but it falls apart really quickly. Any changes in height of the cells throws it all off since the rows become columns (and thus, content across columns cannot be equally sized). Rather than implement something with such glaring flaws, I'm nuking it outright.
2017-01-03 13:11:25 -08:00
Quy
d82914fb2f
Remove .navbar-divider
2017-01-02 15:32:26 -08:00
Mark Otto
2bf0bde470
remove magic dropdown positioning for fixed bottom; folks should set this as needed with .dropup modifier
2017-01-02 11:52:25 -08:00
Mark Otto
20b05e42e3
update rest of docs, remove navbar specific modifiers, fix docs example css
2017-01-02 11:48:51 -08:00
Mark Otto
21b28903a4
New position utils, split docs
...
- Renames .pos-f-t to .fixed-top, adds .fixed-bottom and .sticky-top
- Updates utilities Sass to be split across more files (one for position, sizing, and spacing)
2017-01-02 11:45:30 -08:00
Mark Otto
fa1ef15212
remove line break
2017-01-02 11:12:41 -08:00
Mark Otto
c386c5f5cb
Remove .navbar-divider; it's undocumented and wasn't updated with the flexbox navbar updates, so it's kinda bunk right now
2017-01-02 11:12:24 -08:00
Mark Otto
48f452b000
fixes #21511 : set line-height to 1.1 for display headings
...
- had to rearrange vars to re-use heading line-height
- align values while we're at it
2017-01-02 11:03:25 -08:00
Quy
28072f153c
Update carousel comments ( #21501 )
2017-01-01 12:00:17 -08:00
Nuno Arruda
c767a00d5d
Update copyright years to 2017
2017-01-01 12:56:11 +11:00
Mark Otto
22fcac2cea
Rip out the tab-focus mixin, remove application to anchors in reboot
2016-12-31 12:47:03 -08:00
なつき
6a5a83e02c
Fix responsive embed class in flex container
2016-12-31 12:10:15 -08:00
Mark Otto
a0141aa38e
Rewrite progress component without <progress> element
...
- <progress> element didn't allow animation, labels overlaid, multiple bars, etc.
- Revamps CSS to use something more similar to v3's implementation
- Ditches variant mixin for `bg-` utils
- Rebuilds docs to match, including adding a new Height section for customizing that.
Only potential remaining todo is adding `.sr-only` instances to within the bar. Unsure if that's necessary.
2016-12-30 22:46:00 -08:00
Quy
f320ecee84
Drop IE9 comment
2016-12-29 10:17:11 -08:00
Mark Otto
d9fcdcfa76
add position relative to container
...
allows for better/easier positioning of elements within (e.g., a toggler in a navbar)
2016-12-28 19:09:20 -08:00
Mark Otto
b350e60e82
use align-items on .form-inline to keep items from growing too much ( #21461 )
2016-12-28 19:08:33 -08:00
Mark Otto
4449167f44
linting
2016-12-28 19:07:33 -08:00
Mark Otto
83d3e5545d
add align-self to linter property order
2016-12-28 19:07:33 -08:00
Mark Otto
5310bb4c0f
redo order of css, add contents at top
...
this was mad confusing for awhile
2016-12-28 19:07:33 -08:00
Mark Otto
a3f6d8afcb
line break for readibility
2016-12-28 19:07:33 -08:00
Mark Otto
40e85012eb
reflect nav changes here in the responsive views
...
- since we're column to start, need to set row.
- note that flex-direction cannot be inherited, so we have to set it twice.
- apply the horizontal padding again to .nav-link.
- remove the .nav-item styles (un-needed).
- remove previous .nav-link styles as they were un-nested and potentially problematic in old placement should someone mix more navs in here.
2016-12-28 19:07:33 -08:00
Mark Otto
b132d02f99
don't let the toggle grow when it's the only flex child
2016-12-28 19:07:33 -08:00
Mark Otto
cc6d9085f7
set the direction to column (aka, vertical) for mobile views
2016-12-28 19:07:33 -08:00
Mark Otto
952035f353
remove extra line break
2016-12-28 19:07:33 -08:00
Mark Otto
c8f63d6442
bring over styles from .nav for .navbar-nav
...
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion.
also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.
2016-12-28 19:07:33 -08:00
Mark Otto
861cda109a
drop the flex-grow: 10 in favor of auto margin utils
2016-12-28 19:07:33 -08:00
Pierre-Denis Vanduynslager
6fcf696570
Change last reference from tags over to badges.
2016-12-29 13:20:24 +11:00
Mark Otto
3d24364605
limit linter override to the affected ruleset
2016-12-28 15:13:43 -08:00
Mark Otto
41f7f6ec52
remove plain-hover-focus from navbar navs
2016-12-28 15:13:43 -08:00
Mark Otto
a9d899b115
update navs to use .show
instead of .open
for dropdowns
2016-12-28 15:13:43 -08:00
Mark Otto
d91481397e
linting
2016-12-28 15:13:43 -08:00
Mark Otto
3fd9557cfd
no need to float, but do set display: block;
...
this, coupled with the move to flex, fixes #20029
2016-12-28 15:13:43 -08:00
Mark Otto
79fd05d209
remove plain-hover-focus mixins
2016-12-28 15:13:43 -08:00
Mark Otto
bd6e047152
no need for cursor: default, since, well, it's the default
2016-12-28 15:13:43 -08:00
Mark Otto
c52049e5a7
add a comment here to explain some things
2016-12-28 15:13:43 -08:00
Mark Otto
e3d01a326b
.page-item's don't need this anymore (they're flex items)
2016-12-28 15:13:43 -08:00
Mark Otto
e81aa62af6
remove default margin, allow folks to use utils instead
2016-12-28 15:13:43 -08:00
Mark Otto
645330a755
update pagination list reset styles
2016-12-28 15:13:43 -08:00
Mark Otto
c73bea60de
move pagination to flexbox
2016-12-28 15:13:43 -08:00
Mark Otto
78d0e97509
remove plain-hover-focus from list group mixin
2016-12-28 15:13:43 -08:00
Mark Otto
f228802fd0
Revamp list group states and docs to match
...
- Overhauls the states, including the link/button variants, for list groups to better match how we handle .btn states.
- Moved the .list-group-item-action styles before the .list-group-item so that we don't have to do as much overriding.
- Removed the plain-hover-focus mixins from the disabled and active states since they're unnecessary.
- Added support for :active states on the .list-group-item-action variant (for the current click state).
- Removed the heading and text classes and variables since we can accomplish the same thing with utilities.
- Added support for :disabled on the .list-group-item-action as well since we can use those with button elements.
- Rearranged docs to reflect all the above changes.
- Reformatted some Sass variables.
2016-12-28 15:13:43 -08:00
Mark Otto
9ce5fb5817
Revamp dropdown item states
...
- Removes the plain-hover-focus mixin from active and disabled states; no need for them.
- Adds :active and :disabled since we can use button elements here, too.
- Wrap the disabled background-image override in an -gradients condition.
2016-12-28 15:13:43 -08:00
Mark Otto
d6fa9f5a6c
Remove plain-hover-focus mixins from navs
...
- No need to set hover and focus on disabled or active elements. Disabled has no interactivity and active will inherit the focus.
- Also removes two now unused vars.
2016-12-28 15:13:43 -08:00
Mark Otto
e38c3506e3
properly pass focus shadow should you enable shadows
...
don't implement for the outline style because outline buttons get no shadow by default
2016-12-28 15:12:04 -08:00
Mark Otto
b449e6b65e
create a variable for the focus box-shadow, use it in the button base class
...
also be sure to apply it for the active state when shadows are enabled
2016-12-28 15:12:04 -08:00
Mark Otto
a9bee8b6c8
remove active styling from focus
2016-12-28 15:12:04 -08:00
Mark Otto
232e86d0b4
remove cursor: pointer
...
shoutout https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b#.riy12ck0m
2016-12-28 15:12:04 -08:00
Mark Otto
62c4cb29fb
redo outlines
...
- removes original outline removal (hah)
- replaces it with an explicit `outline: 0` on `.btn`
- instead of replicating `:hover` for `:focus`, uses custom and themed `box-shadow` for an "outline"
- not mapped to the `$enable-shadows` variable because accessibility
2016-12-28 15:12:04 -08:00
Mark Otto
79cfc095df
linting
2016-12-28 15:12:04 -08:00
Mark Otto
7aa2a52069
Redo button states
...
Trying to simplify our output here by revamping these selectors. We overcomplicated things by setting hover styles for nearly every state (disabled and active included), and we set them in the wrong order.
This commit does the following:
- Reorders states so disabled comes before active, thereby removing the need to set disabled-active styles.
- Removes all focus and hover styles from disabled states as those will naturally inherit from the default button state.
- Renamed `.open` to `.show` to fix dropdown toggle highlighting.
- Tweaked some indendation in the Sass.
2016-12-28 15:12:04 -08:00
Mark Otto
150625265b
fixes #21415 by moving disabled .btn-link color to the default state
2016-12-28 15:12:04 -08:00
Quy
d02b558a5a
Rip number
2016-12-28 12:56:15 -08:00
Mark Otto
d2479cf5f0
inline-flex and width: 100% for stacked/vertical variation
...
shoutout to @Starsam80 for the fix
2016-12-27 22:37:50 -08:00
Mark Otto
5d0ec572d4
auto size input groups, fixes #20506
2016-12-27 22:37:50 -08:00
Mark Otto
4d141cb3d1
remove commented out code
2016-12-27 22:37:50 -08:00
Mark Otto
a849fa949b
linting
2016-12-27 22:37:50 -08:00
Mark Otto
fd75c41279
revamp button group with flexbox
2016-12-27 22:37:50 -08:00
Mark Otto
c14ba036c6
forgot to add display flex to the navbar, so utils weren't applying
2016-12-27 22:37:09 -08:00
Mark Otto
8a3d0d344b
use var
2016-12-27 14:17:11 -08:00
Mark Otto
8721ff8d6b
fix inline checks
2016-12-27 14:17:11 -08:00
Mark Otto
4ba5bfb7cb
add some vars
2016-12-27 14:17:11 -08:00
Mark Otto
fe0573cdab
sure we only need the two mixins, but this ensures folks don't run into missing mixin errors down the line
2016-12-27 14:16:25 -08:00
Mark Otto
0f18dfc05c
Update bootstrap-grid.scss
2016-12-27 14:16:25 -08:00
Mark Otto
424f969d1c
Update bootstrap-reboot.scss
2016-12-27 14:16:25 -08:00
Mark Otto
4482503237
move custom down so folks can reassign var values and use other vars
2016-12-27 14:16:25 -08:00
Starsam80
31ac81e5ba
Add more flex utilities
2016-12-26 13:06:53 -08:00
Quy
88a6b1c3d4
Rename tags to badges in comments
2016-12-26 13:06:34 -08:00
Mark Otto
8c90008098
Fixes #20586
...
Use pixels instead of rem units for focus box-shadow on custom controls so that IE11, Edge, and Win FF screw it up less
2016-12-25 15:48:44 -08:00
Mark Otto
96986bb4a3
Use calc() on .col-form-label padding calculations
...
Fixes #21135 .
There's a height mismatch here because we're setting padding on the labels, while inputs get padding *and* a top+bottom border. This now uses calc to determine the exact height needed to match labels to inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
04d48ba504
Replaces #21270 with proper fix
...
Rather than overriding this just on inline form examples, this should be for all static form controls to match inputs.
2016-12-25 15:48:44 -08:00
Mark Otto
4cd426963b
vertically center .form-group contents in inline forms
...
fixes broken inline form example mentioned in #21407
2016-12-25 15:48:44 -08:00
Mark Otto
30fd1590d3
use flex and direction to do the stacked controls instead of float hacks
...
This also fixes #21280 . Previously, we were using float and clear on the individual controls, but that meant a computer height of `0` for the parent `.custom-controls-stacked`. No more problem after using flexbox though.
2016-12-25 15:48:44 -08:00
Mark Otto
82061b25c4
move custom checks/radios to inline-flex
2016-12-25 15:48:44 -08:00
Starsam80
c2e5eb1542
Use variables for the width/height classes
2016-12-25 15:32:34 -08:00
Starsam80
210050d9c9
Clean up _spacing.scss a little bit
2016-12-25 15:32:34 -08:00
Starsam80
7fdedbd5e6
Remove some leftover IE9/flex stuff
2016-12-25 15:32:34 -08:00
Mark Otto
7d05c222f8
linting
2016-12-25 15:28:44 -08:00
Mark Otto
eb19def798
flex the footer and include some margin magic
...
- we need to set margin for space between footer buttons as flexbox doesn't render HTML spaces like inline-block does
- flexbox doesn't have collapsing margins or anything, so we hack it with some :not(:first-child) and :not(:last-child) action
2016-12-25 15:28:44 -08:00
Mark Otto
33746dc63e
flex the modal header so we can remove custom styles
...
updates the dom order in our docs to match (floated content comes first, but no need for that in flexbox)
2016-12-25 15:28:44 -08:00
Mark Otto
e7f8ca08b0
No need to override a margin-top that never was set; only specify margin-bottom override
2016-12-25 15:28:44 -08:00
Mark Otto
31b9d93ffd
Enable flex on the .modal-content, ensure .modal-body stretches the height (if needed)
2016-12-25 15:28:44 -08:00
Mark Otto
c214aa32d0
darker border on modal header
2016-12-25 15:28:44 -08:00
Mark Otto
103cae2333
trailing space
2016-12-25 14:03:50 -08:00
Mark Otto
dcd4a63e4e
line break for sanity
2016-12-25 14:03:50 -08:00
Mark Otto
bab4f1ef3c
add my-auto and m-auto
2016-12-25 14:03:50 -08:00
Mark Otto
4f85513608
responsive auto margin classes
2016-12-25 14:03:50 -08:00
Mark Otto
43c206d6ff
add mr-auto and ml-auto for some flex shiz
2016-12-25 14:03:50 -08:00
Mark Otto
56c63aa6b8
Fixes #18228 : Don't use transparent
for bottom border, use bg color
2016-12-25 00:57:17 -08:00
Mark Otto
d5784d811b
rip numbers
2016-12-24 14:21:04 -08:00
Quy
78ee9f3c3e
Update toc numbering ( #21422 )
2016-12-24 14:21:04 -08:00
Mark Otto
991f2468d0
remove unused media vars, update numbers (oof) /cc @Quy
2016-12-24 14:21:04 -08:00
Mark Otto
d93991b1c5
remove unused utils, comment
2016-12-24 14:21:04 -08:00
Mark Otto
9d13fd3fe3
remove old flex utils, update docs to match
2016-12-24 14:21:04 -08:00
Mark Otto
574c3119f3
duplicate of the .flex-fill util
2016-12-24 14:21:04 -08:00
Mark Otto
5464f4ab7e
Start to blow out and document more flexbox utilities
...
- Adds new flexbox.md file to utilities docs
- Adds a `breakpoints.yml` data file for easier output of responsive classes in the docs. Will put this to use on other pages soon.
- Adds hella flex utils. There are some dupes for now, but they'll get removed in time.
2016-12-24 14:21:04 -08:00
Mark Otto
e4933c72da
fix incorrect class name for inline-flex
2016-12-24 14:21:04 -08:00
Mark Otto
d9baeeb0af
Change up the "justified" nav options
...
Given move to flexbox, we can make this available for everyone and clean it up some.
- Simplifies the `.nav-justified` styles to build on the flex-powered `.nav` base class.
- Adds the `.nav-fill` to make nav links fill available horizontal space, but not equal width.
2016-12-24 14:21:04 -08:00
Mark Otto
699d8a5a80
Make .nav flex-powered
...
- Set an explicit `display: flex` on the base `.nav` class and remove the floats/clearfixes from our navs.
- Set some global styles for `.nav-link`, a departure from the previous solution that featured no predefined padding.
- Move `.nav-link` from `inline-block` to `block` given this setting was added for our tabs and pills anyway.
- Remove horizontal margin from nav tabs; let folks set that on their own from now on.
2016-12-24 14:21:04 -08:00
Mark Otto
66c87cb7ca
Undo #21171 (which closed #20977 )
...
Turns out we did have the correct height calculation with our custom selects. The problem was we lacked a shared line-height with our buttons and inputs.
This restores the previous `calc` math and adds a line-height that reuses the input line-height.
2016-12-24 14:21:04 -08:00
Mark Otto
95ee9aa94c
small unrelated addition—adds .d-flex-inline util
2016-12-22 21:29:48 -08:00
Mark Otto
b5c50d4aff
reduce .media styles to their bare minimum
...
Sets minimum required flex styles (including an explicit starting alignment) and removes everything else.
- no need for .media-left and .media-right, we have padding utils
- no need for a .media-heading, we have margin
- no need for .media-object, we have display utils
- no need for .media-list, we have .list-unstyled util
2016-12-22 21:29:48 -08:00
Quy
615072e4c9
Rename Tags to Badges in comments
2016-12-22 21:28:43 -08:00
Mark Otto
94bd6b76be
Merge branch 'flex-cards' into v4-dev
2016-12-22 21:27:54 -08:00
Jacob Müller
1712484727
Add color variables for white and black ( #21397 )
...
* Add color variables for white and black
Closes #21395 .
2016-12-22 19:09:11 -08:00
Mark Otto
040acd30db
change card deck margin strategy
...
- Instead of negative left/right margins, we selectively apply margins to the cards as needed. This way the first and last child never receive a left and right margin (respectively), so we don't need to negative indent those at the .card-deck level.
- Drops the margin-bottom override on the .card because there's no more default margin there.
- Drop the margin-bottom from the .card-deck to match our lack of margins on the card.
This and the previous commit fixes #19883 .
2016-12-22 18:59:05 -08:00
Mark Otto
b3d8426ffe
move to grid gutter width, fixes #21300
2016-12-22 18:55:21 -08:00
Mark Otto
754698c4d7
New width and height utils
...
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 17:15:10 -08:00
Mark Otto
5d592d16db
switch from block to flex
...
add flex direction too
2016-12-22 16:41:28 -08:00
Mark Otto
050716903f
remove default bottom margin on cards
...
use utils instead
2016-12-22 16:41:11 -08:00
Mark Otto
8d3b40211b
move the card-block flex action up to all card-blocks
...
this allows us to easily scale card blocks in groups and decks, without repeating it in our css
2016-12-22 16:40:58 -08:00
Mark Otto
390a2a6c60
remove commented out code
2016-12-22 16:40:19 -08:00
Mark Otto
0873fccd63
comment typo
2016-12-22 16:39:23 -08:00
Mark Otto
2c48655d07
fix comment
2016-12-22 16:39:18 -08:00
Mark Otto
cd2584870e
add card column margin variable instead of relying on a default card margin
...
this assumes no margin on the .card to start (which will follow in a later commit)
2016-12-22 16:39:11 -08:00
Mark Otto
246151aa12
add card column count variable
2016-12-22 16:38:22 -08:00
Mark Otto
5f40770d19
Rename card column gap variable
2016-12-22 16:38:09 -08:00
Mark Otto
d4217ea137
New width and height utils
...
Adding 25%, 50%, and 75% to the mix for later use with cards
2016-12-22 16:37:18 -08:00
Mark Otto
736be8fca6
linting
2016-12-22 14:58:40 -08:00
Mark Otto
135b65ded4
text-align doesn't apply here, so we can nuke it
2016-12-22 14:58:40 -08:00
Mark Otto
be7a8c68f7
Redo controls in flexbox
...
- Drops the absolute positioning of the icons within the left/right controls. We have to keep the controls themselves positioned though since we're overlapping HTML elements here.
- No more position, left, right, or margins involved; just some justify-content and align-items.
- Add some comments for explaining which flex property-value pair does what.
- Remove the unapplied font and line-height stuff now that we're all SVGs and flexbox here.
2016-12-22 14:58:40 -08:00
Mark Otto
1706f494f0
flexbox powered indicators
...
This revamps the indicators to use flexbox instead of inline-block for added flexbility (hah). Indicators now automatically scale based on the number of elements present, and max out at the `$carousel-indicator-width` instead of always being that wide.
2016-12-22 14:58:40 -08:00
Mark Otto
d426c3c50e
start small--set flex instead of block for active items
2016-12-22 14:58:40 -08:00
Mark Otto
8231b188c3
remove .hidden-* classes from .navbar-toggler and make that part of the .navbar-toggleable-*
2016-12-22 13:48:07 -08:00
Mark Otto
b71f973bb5
more linting
2016-12-22 13:48:07 -08:00
Mark Otto
0698dfbed7
linting
2016-12-22 13:48:07 -08:00
Mark Otto
8d9d84784a
Redo navbar-toggler
...
- Require inner element for the icon for improved customization (e.g., drop the element to replace it with your own icon font or SVG)
- Tighten up padding
- Better comments
2016-12-22 13:48:07 -08:00
Mark Otto
80674b0c58
fixes #18115 : move forward with one naming scheme for inversed color schemes, renaming .navbar-dark to .navbar-inverse (matching .card-inverse in the process and restoring v3's inverted class name)
2016-12-22 13:48:07 -08:00
Mark Otto
ecba56828d
fixes #18053 by removing container padding at lower breakpoints on responsive navbars
2016-12-22 13:48:07 -08:00
Mark Otto
2ea7feb9cc
remove
2016-12-22 13:48:07 -08:00
Mark Otto
08e1582f2d
Fix vertical alignment a bit
2016-12-22 13:48:07 -08:00
Mark Otto
5432e7621c
move all nav link and collapse and container behaviors to the toggleable class generation area; this way the .navbar-toggleable-* goes on .navbar, easily affecting everything that needs updating for each breakpoint's use
2016-12-22 13:48:07 -08:00
Mark Otto
73da266009
move flex to navbar container only; otherwise it affects things negatively elsewhere
2016-12-22 13:48:07 -08:00
Mark Otto
135bd0283d
containers should flex
2016-12-22 13:48:07 -08:00
Mark Otto
96346f0b44
flexbox shiz
2016-12-22 13:48:07 -08:00
Mark Otto
b98ef3bfd0
no need for a clearfix given no more floats
2016-12-22 13:48:07 -08:00
Mark Otto
350f8a20c9
move padding on nav links and brand to be responsive padding, keeping mobile contents aligned better
2016-12-22 13:48:07 -08:00
Mark Otto
819978cb71
remove width 100% from positioning, remove rounded corners for utils
2016-12-22 13:48:07 -08:00
Mark Otto
96082b1ec7
remove justified, replacing with modifier later if needed; combine rules
2016-12-22 13:48:07 -08:00
Mark Otto
18453f06f9
flexbox this thing
...
- drop the table styles, use flex
- remove commented out code
- consolidate styles a bit
- add a huge flex-grow to the nav, making the assumption you want nav to take up most space
2016-12-22 13:48:07 -08:00
Mark Otto
09f13c4764
indentation
2016-12-22 13:48:07 -08:00
Mark Otto
99ac0bcedc
exploring table based navbar again
2016-12-22 13:48:07 -08:00
Bardi Harborow
855a67b1d6
Remove IE9 browser hacks. ( #21393 )
2016-12-22 13:41:31 -08:00
Patrick Cameron
b01f5a1a38
Changed a word in a comment ( #21399 )
2016-12-22 13:25:41 -08:00
Mark Otto
a2b2f99e3b
Restyle code elements in links ( #21392 )
...
* Restyle code elements in links
Fixes #21259 . Removes the background, color, and padding on code elements within anchors.
* Update _code.scss
2016-12-21 20:28:34 -08:00
Mark Otto
eb2e1102be
Flexbox all the time (Drop IE9 support and remove $enable-flex option) ( #21389 )
...
* remove the $enable-flex variable option
* remove bootstrap-flex.css dist file and it's grunt task
* remove the separate flex css file for docs; it's all the same now
* remove flexbox docs (porting some to the main grid docs in next commit)
* clean up few grid docs bits to simplify copy, start to mention flexbox
* port relevant flexbox-grid.md content to grid.md
- clean up mixins
- update how it works section
- bring over sizing and alignment sections
* remove the $enable-flex from the options.md page
* update lead paragraph to mention flexbox
* update migration to mention loss of ie9 support
* remove mention of flexbox dist file
* clarify IE support
* making a note
* remove flexbox variant mentions from component docs
- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default
* remove $enable-flex if/else from sass files
* remove flex dist files
* update scss lint property order to account for flex properties
* linting
* change to numberless classes for autosizing, wrap in highlighting div
* bump gruntfile and postcss to ie10
* redo intro sections
* rearrange
* phew, redo hella grid docs
- rearrange all the things
- consolidate some bits
* remove reference to flexbox mode
* more border action for demo
* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Mark Otto
f464a5b214
Redo color vars
...
This pulls in some changes from #18462 to include a set of generic color variables. It doesn't include a Sass map for generating the theme colors yet, since we can't easily do that for all components, but does give a few more color choices to folks and an easier way to customize.
2016-12-20 23:24:24 -08:00
Gijs Boddeus
1c2f372aad
Overwrite margin-bottom on form-control-static ( #21270 )
...
* Overwrite margin-bottom on form-control-static
In the documentation the form-control-static class has been used on a p element.
On the regular vertical form the margin bottom of the p element gets overwritten by a mb-0 class.
In the inline form example this class hasn't been applied, therefore the p element gets a margin-bottom.
To prevent this behavior we can add a margin-bottom of 0.
* Update _forms.scss
2016-12-20 14:45:08 -08:00
Mark Otto
37de11e386
Rename -bg-inverse to -inverse-bg; add -inverse-color ( #21371 )
2016-12-19 21:50:31 -08:00
Mark Otto
8eeb71c91c
Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982
2016-12-19 21:44:03 -08:00
Mark Otto
7e5f21c2b4
Rename _animation.scss to _transitions.scss ( #21370 )
...
* Rename _animation.scss to _transitions.scss for accuracy
* fix docs reference to file name
* cleanup line breaks
2016-12-19 21:37:09 -08:00
Mark Otto
50d5f60696
Merge branch 'progress-brand' of https://github.com/szastupov/bootstrap into szastupov-progress-brand
2016-12-19 21:06:27 -08:00
Mark Otto
be4fc23fdb
Merge branch '14840-consistent-colors' of https://github.com/Kovah/bootstrap into Kovah-14840-consistent-colors
2016-12-19 20:54:41 -08:00
Jesse Mandel
f3282b5656
Update _modal.scss ( #21346 )
...
pull->float comment
2016-12-19 20:34:27 -08:00
Tom Lutzenberger
e1653edb95
Add variables for transitions ( #21345 )
...
* Add variables for transitions
* Add variables for transitions
2016-12-19 20:33:17 -08:00
Bardi Harborow
da18d07d8e
Add 'system-ui' to font stack.
2016-12-19 20:29:44 -08:00
Stepan Zastupov
7800b3d97c
Use brand color for progress bar
2016-12-20 00:58:37 +03:00
Mark Otto
d8bdb819a7
linting property order
2016-12-10 16:58:52 -08:00
Mark Otto
65aed32d95
put the custom control spacer var to use
2016-12-10 16:58:52 -08:00
Starsam80
bf39bb3ac3
Rename .active
to .show
2016-12-07 21:20:15 -07:00
Mark Otto
ede925d79b
Merge pull request #21298 from twbs/carousel
...
Refactor carousel
2016-12-05 23:31:14 -08:00
Mark Otto
4ef547f4bb
drop the .carousel-control base class
2016-12-04 23:19:54 -08:00
Mark Otto
e331db31fd
linting
2016-12-04 22:19:20 -08:00
Mark Otto
7c3bda24f0
simplify svg by only using viewbox
2016-12-04 22:06:29 -08:00
Mark Otto
89f5e65cfb
drop the fixed width of the indicators. instead use the carousel-control width as margins to ensure content doesn't overlap
2016-12-04 22:05:05 -08:00
Mark Otto
1980854c14
rename var
2016-12-04 22:01:31 -08:00
Mark Otto
410bf38a4f
there's no font, so rip that var
2016-12-04 21:55:46 -08:00
Mark Otto
875c24395c
remove unused vars
2016-12-04 21:55:24 -08:00
Mark Otto
990db2496f
rip responsive styles; they're unnecessary and likely require overriding anyway
2016-12-04 21:55:02 -08:00
Mark Otto
1abe4c83a8
redo control icons to use open iconic svgs inlined
2016-12-04 21:54:45 -08:00
Mark Otto
d157fcebba
rename control left and right to prev and next; simplify styling by removing gradient
2016-12-04 21:54:04 -08:00
Mark Otto
5c93cb7c81
code comment
2016-12-04 21:39:54 -08:00
Mark Otto
8f06eebe44
rename and un-nest icons
2016-12-04 21:39:46 -08:00
Mark Otto
c2c4b5ba76
remove comment
2016-12-04 21:39:27 -08:00
Mark Otto
1e3ec89355
Merge branch 'v4-dev' into carousel
2016-12-04 21:05:19 -08:00
Mark Otto
306f75216d
Move margin from adjacent selector to right on the .custom-control for better responsive rendering ( #21295 )
2016-12-04 20:42:12 -08:00
Mark Otto
6782dd6e92
nuke the text-shadow
2016-12-04 20:37:30 -08:00
Mark Otto
fd87c19e79
linting
2016-12-04 20:27:33 -08:00
Mark Otto
6d28f07582
redesign indicators
2016-12-04 20:14:33 -08:00
Mark Otto
ba329cfd6a
redo css more
...
- fix naming of left/right controls
- drop the absolute positioning of things and rely on only 3d transforms
- remove img styles and require classes to avoid inline-block line-height stuff
2016-12-04 19:52:49 -08:00
sophiegit
eeb49651c6
Update bootstrap/scss/mixins/_breakpoints.scss ( #21285 )
...
grid-breakpoint for sm is 576px
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L186-L192
1._breakpoints.scss
comment says that grid-breakpoint for sm is 544px,
2.http://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints
current document says that grid-breakpoint for sm is 544px,
but it should be 576px
2016-12-04 16:46:07 -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
Brad Kent
8250bd1b21
Fix #20936 make inline checkbox/radio markup same as stacked ( #20995 )
...
* #20936 make inline checkbox/radio markup same as stacked
* tweak language and remove extra blank line in snippet
2016-11-28 20:56:49 -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
Florian Schlittenbauer
959c4e527c
Fix incorrect select height calculation ( #21171 )
2016-11-28 13:33:11 -08:00
Starsam80
b226766b62
Remove lots of duplication + minor cleanup ( #21238 )
...
* Remove comment that duplicated some code
* Use transition mixin whenever possible
* Create a new function to reduce duplication
* Use the new `breakpoint-infix` method
2016-11-28 13:23:59 -08:00
Mark Otto
2f9a94caac
Inverse card improvements ( #21242 )
...
* Add a color to .card-inverse to account for non .card- prefixed classes
* reword the docs to better articulate what the class does
2016-11-28 13:22:51 -08:00
Mark Otto
23866efbb1
Fix #20013 , nullify #21112 ( #21230 )
...
Add padding to dismiss button for alerts and use position to place it. Removes extra padding on .alert-dismissible's right side, too. We could probably further simplify these things in the future as well.
2016-11-27 23:59:21 -08:00
Mark Otto
35133f86c8
Follow up to #21052 to match small pagination links with small buttons
2016-11-27 23:39:46 -08:00
Stefan Staynov
0051be1657
Set line-height for page-links ( #21052 )
2016-11-27 23:37:36 -08:00
Cyril Kyburz
f995a8be1e
Add alert-margin-bottom variable ( #21064 )
2016-11-27 23:21:09 -08:00
Rodrigo Waltenberg
c5c1bfec01
Made card header and footer's background transparent on .card-inverse ( #21111 )
...
Solves issue #18946
2016-11-27 23:12:03 -08:00
Starsam80
08e36a3cc9
Rename .col-xs
to .col
+ some other cleanup ( #21222 )
...
* Use `breakpoint-min` instead of a counter
* Remove 'xs' from flexbox grid
2016-11-27 22:47:00 -08:00
Starsam80
54908a95a8
Rename .navbar-toggleable-xs
to .navbar-toggleable
+ more cleanup ( #21226 )
...
* Clean up some utilities
- Align CSS properties
- In `_spacing.scss`, we had a comment saying what 'a' was for, but we removed that so this comment no longer applies
* Remove '-xs' from `.navbar-toggleable-xs` and remove duplication
* Fix outdated classes to use newer ones
2016-11-27 22:23:12 -08:00
Mark Otto
869bd23937
Update clearfix mixin ( #21224 )
...
* Update clearfix to use block instead of table display (also reorder properties for linting)
* update docs snippet for clearfix mixin—was apparently still using Less syntax and had old clearfix hack (even before the block change in this PR)
2016-11-27 17:05:29 -08:00
Mark Otto
585516db95
Add max-width 100% and max-height 100% utilities ( #21221 )
2016-11-27 16:31:31 -08:00
Starsam80
8d031090d0
Rename .flex-xs-*
and .flex-items-xs-*
to .flex-*
and .flex-items-*
( #21218 )
...
* Clean up _flex.scss a little
This commit just cleans up the formating of _flex.scss by changing
it so that it uses a single `@include media-breakpoint-up` instead
of multiple. It also aligns all of the CSS properties so it looks
a bit nicer.
* Remove `-xs` from flex classes
2016-11-27 15:19:27 -08:00
Starsam80
94be2d2254
Remove redundant media queries ( #21220 )
2016-11-27 15:18:46 -08:00
Starsam80
b1e8d60348
Remove 'xs' from text utilities ( #21217 )
2016-11-26 20:33:46 -08:00
Mark Otto
eb5ad730ee
update scss linter to allow multiple spaces before on single line
2016-11-26 20:33:22 -08:00
Mark Otto
23301b21cd
Remove most border-radius properties and instead use overflow: hidden; to properly round corners of a full progress bar. ( #21216 )
...
Fixes #19065 .
2016-11-26 18:46:46 -08:00
Mark Otto
d50fc038c5
Update comment for use of IE9 hack to fix #18082
2016-11-26 17:31:10 -08:00
Mark Otto
e17e75b757
Update inline forms (updated docs and new flexbox styles) ( #21212 )
...
* fix form-inline with flex enabled
* grunt
* fix alignment of labels
* shorter if syntax
* add new form example to docs for now
* update inline form docs usage guidelines
* responsive margins
* better margin utils
* fix sizing of .form-check
* flexbox alignment of .form-check
* no need to change direction
* support custom controls in inline form, for default and flex modes
* add example of custom select and checks to docs
* remove hidden and visible label variants since we cover that in the usage guidelines at the start and include hidden labels everywhere
* use property value instead of layout name
* apply to all labels
* add a visible label, space it out
* add id
2016-11-26 16:55:18 -08:00
Ken Dale
dc52029bea
Add .rounded-0 utility class ( #21214 )
...
* Add rounded-0 class
2016-11-26 16:47:53 -08:00
Mark Otto
095ea0b795
Border utilities ( #21213 )
...
* grunt
* add border utilities for removing borders
* clean up comments
* add basic border docs
* docs styles for border utils
2016-11-26 16:44:16 -08:00
Mark Otto
ec5e7e5e5a
Add .no-gutters option to remove gutters from rows ( #21211 )
...
Fixes #19107 .
2016-11-26 12:13:15 -08:00
Mark Otto
8ef1d93d0c
Merge pull request #21205 from twbs/navbar-disabled
...
v4 disabled navbar links
2016-11-26 02:03:46 -08:00
Mark Otto
b9947152c6
Merge pull request #21208 from twbs/table-responsive-docs
...
Update .table-responsive
2016-11-26 02:03:12 -08:00
Mark Otto
b88c32cf17
uncomment autohiding scroll and remove commented out border
2016-11-26 01:47:16 -08:00
Mark Otto
410b7dd5e8
update comment
2016-11-26 01:46:11 -08:00
Mark Otto
5ab99abd97
prevent double border on responsive .table-border
2016-11-26 01:44:06 -08:00
Mark Otto
8cd29af7ee
Merge pull request #21203 from twbs/conditional-transition-animations
...
Wrap .fade and .collapsing transition properties in $enable-transitions
2016-11-26 01:27:54 -08:00
Mark Otto
abbc2b7c93
Merge branch 'v4-dev' into modal-sizes
2016-11-26 01:04:51 -08:00
Mark Otto
ea2e4203a5
Merge pull request #21206 from twbs/gray-lightest
...
Update use of $gray-lightest variable
2016-11-26 00:52:52 -08:00
Mark Otto
d82d04fd6d
decrease size of modal-md and modal-lg to ensure fitting in responsive layouts
2016-11-26 00:47:33 -08:00
Mark Otto
cc737d6faf
change instances of hardcoded lightest gray to sass variable -lightest
2016-11-26 00:23:49 -08:00
Mark Otto
559902ad54
change uses of #f5f5f5 to -lightest
2016-11-26 00:22:49 -08:00
Mark Otto
4fc526f24a
add disabled classes to light and dark navbar nav-links
2016-11-26 00:19:13 -08:00
Mark Otto
23664d3a90
fix nesting and syntax error
2016-11-25 23:43:12 -08:00
Mark Otto
ef818c0799
Start renaming carousel classes
...
- Un-nests .carousel-item
- Appends .carousel-item- to .left, .right, .next, and .prev
- Chain .carousel-item to .active where approproriate
2016-11-25 23:42:16 -08:00
Mark Otto
308bc77dbb
Update bootstrap-grid.scss to include box-sizing and responsive changes ( #21202 )
2016-11-25 23:03:07 -08:00
Mark Otto
3154c0585a
re-enable transitions (which according to the options.md doc is the default)
2016-11-25 22:08:51 -08:00
Mark Otto
6e16a6b40a
Wrap .fade and .collapsing transition properties in -transitions
2016-11-25 22:06:40 -08:00
Mark Otto
d315c9499d
v4: Flexbox nav options ( #21201 )
...
* Add some flexbox nav components
- Includes .nav-justified for inline, tab, and pill nav components
- Includes example of using the flex utils (.d- and .flex-items-) for centered nav
* redo heading hierarchy a bit
2016-11-25 17:46:13 -08:00
Mark Otto
76907b8b1e
v4: Miscellaneous color changes ( #21199 )
...
* Darken dismiss icon opacity
* Darken text on active list group items
* Darken light gray for accessibility/contrast, then update gray and dark gray to match
2016-11-25 16:03:13 -08:00
Chris Rebert
3593ee85c1
Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 ( #19751 )
...
[skip sauce]
[skip validator]
2016-11-25 14:51:55 -08:00
Mark Otto
5b4d5595ab
Merge pull request #21133 from bardiharborow/normalize
...
Update Normalize to v5.0.0.
2016-11-25 14:10:46 -08:00
Mark Otto
fa5572b273
Merge pull request #21187 from twbs/fix-21094
...
Fix pagination underline
2016-11-25 13:53:36 -08:00
Bardi Harborow
0f391965cd
Update Normalize to v5.0.0.
2016-11-24 12:08:25 +11:00
Mark Otto
4332a5cc02
Merge pull request #21068 from twbs/list-group-border-color
...
switch to rgba for list-group border color
2016-11-23 11:45:11 -08:00
Mark Otto
7124388fdb
Merge pull request #21118 from Elliot-Evans-95/v4-dev
...
renamed modal-title-padding to modal-header-padding
2016-11-23 11:39:23 -08:00
Mark Otto
c13215d038
Fixes #21094 : Move text-decoration override from the default link state to the hover/focus state so it can override the global styles properly
2016-11-23 11:37:56 -08:00
Mark Otto
6910516d2c
Merge pull request #21086 from ETNOL/feature/OmitXsFromGrid
...
Feature/omit xs from grid
2016-11-16 20:37:51 -08:00
Bardi Harborow
794136f191
Change .tag print styles to .badge.
2016-11-13 12:32:07 +11:00
Elliot Evans
7f05cb9e94
renamed modal-title-padding to modal-header-padding
2016-11-10 22:37:20 +00:00
Patrick H. Lauke
2b73773953
Scope ::first-letter selector for print styles
...
`*::first-letter` causes problems in IE11 - only prints first page of a
multi-page document
2016-11-06 21:02:29 +00:00
Eric Nolte
9402be4d44
Update grid mixins to omit lowest breakpoint
...
The new breakpiont-limited class pattern is to omit the breakpoint size when using the lowest size eg. col-xs-12 to col-12. This commit implements this pattern to the grid system.
2016-11-04 10:47:23 -06:00
Mark Otto
ffaad0a819
Responsive display utilities ( #20934 )
...
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
f734814f6b
Make spacer utils responsive ( #20926 )
...
* make spacer utils responsive by grid tier
* update scale to add two levels, document them
* change responsive spacing utils to avoid the xs abbreviation in the class name for that tier
* update code snippet to match source
* update usage in our docs
* linter
* docs updates
2016-10-31 21:13:05 -07:00
Alberto Roura
5616e62093
Use variable names for form focus borders ( #21050 )
2016-10-31 09:12:00 -07:00
Mark Otto
b718b71627
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-30 14:48:42 -07:00
Mark Otto
8c0e1f32b6
trailing whitespace
2016-10-30 14:48:35 -07:00
Catalin Zalog
5099a60ffe
Fix input group sizing in Firefox
...
Firefox requires a width and flex-basis value to size the input field correctly. Despite the width being 1%, the input will size correctly at all parent widths.
http://codepen.io/zalog/pen/bpMJmv
2016-10-30 14:43:10 -07:00
Mark Otto
e11e6ec913
Merge branch 'v4-flex-list-group' of https://github.com/rosskevin/bootstrap into rosskevin-v4-flex-list-group
2016-10-30 13:49:46 -07:00
Mark Otto
864343a3cc
Merge branch 'v4-dev' of https://github.com/HMUDesign/bootstrap into HMUDesign-v4-dev
2016-10-30 13:38:44 -07:00
Valentine Abanosimov
34ec049231
Fixes #20975 : removed trailing whitespace
2016-10-30 21:57:04 +03:00
Valentine Abanosimov
66d113be83
Fixes #20975 : removed trailing whitespace
2016-10-30 21:51:16 +03:00
Valentine Abanosimov
d6132c9a5d
Fixes #20975 : made navbar-text color on navbar-dark equal to non-hovered link color
2016-10-30 21:43:54 +03:00
Mark Otto
cfd6e92ff6
include .col-form-label in the form validation field mixin
2016-10-28 16:35:47 -07:00
Mark Otto
ccb5248205
Merge branch 'issue19217' of https://github.com/alberto/bootstrap into alberto-issue19217
2016-10-27 22:28:24 -07:00
Mark Otto
20178076ee
Merge pull request #19915 from zalog/patch-9
...
Zero out the default margin-bottom on label.custom-file
2016-10-27 22:20:26 -07:00
Mark Otto
9d011a8a6f
Merge pull request #20101 from heath3/patch-1
...
Re-use 'between' mixin for 'only' mixin
2016-10-27 22:17:48 -07:00
Mark Otto
bc076d71b3
follow up to #20441 : move file to correct place
2016-10-27 22:11:19 -07:00
Mark Otto
34d88c79e6
Merge pull request #20225 from morishitter/v4-dev
...
Add some properties to the list of property order in .scss-lint.yml
2016-10-27 22:09:10 -07:00
Mark Otto
8f0429973d
Merge pull request #20441 from cortopy/visibility-mixin
...
Visibility mixin
2016-10-27 22:06:47 -07:00
Mark Otto
2df2efc1fb
Merge pull request #18851 from ju1ius/patch-1
...
Don't clearfix if flexbox is enabled. Fixes #18849
2016-10-27 21:58:14 -07:00
Mark Otto
1e06ae1bfe
switch to rgba for list-group border color
...
matches the card border-color, fixes #20129
2016-10-27 21:29:09 -07:00
Mark Otto
d23163a483
Merge pull request #21032 from twbs/flexbox-input-group
...
Proper input group sizing and alignment in flexbox mode
2016-10-27 21:23:48 -07:00
Mark Otto
f655343ac9
Merge pull request #21033 from twbs/label-less-custom-controls
...
Add a min-height: 1.5rem; to custom controls
2016-10-27 21:23:04 -07:00
Mark Otto
4a05116020
Merge pull request #21034 from twbs/better-custom-control-alignment
...
Calculcate the top offset for custom control indicators
2016-10-27 21:22:24 -07:00
Mark Otto
6608b2a9ee
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-10-27 20:04:04 -07:00
Mark Otto
61b01f9b28
Merge branch 'patch-1' of https://github.com/tomhorvat/bootstrap into tomhorvat-patch-1
2016-10-27 20:02:59 -07:00
Mark Otto
020a8c6918
Merge pull request #20734 from beausmith/button-outline-variant
...
Remove hard-coded value in button-outline-variant
2016-10-27 19:58:48 -07:00
Mark Otto
2dcc50f017
Calculcate the top offset for custom control indicators
...
Fixes #21023 .
Uses some math functions to determine what the offset should be. This is helpful for those who customize the size of their indicators and still want them vertically centered.
2016-10-27 14:41:12 -07:00
Mark Otto
1421ca5b87
Add a min-height: 1.5rem; to custom controls
...
Fixes #20730 .
This change computes the minimum needed height of what a single line of text would be for the custom checkboxes/radios. This is required because our custom control indicators are positioned absolutely, meaning they cannot be clearfixed or anything like that. Using a computed value means it should scale nicely in case of customization
2016-10-27 14:32:56 -07:00
Mark Otto
78c9757236
property order
2016-10-27 13:46:16 -07:00
Mark Otto
259a420d70
Ensure proper sizing of and alignment of content within input group addons and buttons
...
Fixes #20927 .
2016-10-27 13:40:55 -07:00
Mark Otto
e2068d0e53
Merge branch 'auto-flex-col' of https://github.com/alanmoo/bootstrap into alanmoo-auto-flex-col
2016-10-27 09:41:33 -07:00
Mark Otto
115a37db1a
Change variable for modal backdrop zindex, rearrange to be ordered from lowest to highest
2016-10-27 09:31:38 -07:00
Mark Otto
52c84a1cb6
Merge pull request #20938 from JPeer264/feature/sass-doc
...
Docs: Sass Variables Table of Contents
2016-10-26 21:20:25 -07:00
Mark Otto
261ed70a18
Merge pull request #21019 from Starsam80/fix-collapse
...
Rename .in to .active to fix collapse
2016-10-26 21:14:16 -07:00
Mark Otto
d9fa3fd797
Rename .tag to .badge to avoid conflicting with WordPress
2016-10-26 18:33:58 -07:00
Starsam80
aa08274d24
Rename .in to .active to fix collapse
2016-10-26 17:24:46 -06:00
Mark Otto
aa11f00218
Merge pull request #20982 from Johann-S/fix19344
...
Fix #19344 - Use a single class name for opened/expanded/shown state of widgets
2016-10-25 19:57:51 -07:00
Mark Otto
2eaef44edd
Merge pull request #20951 from sbaechler/font-weights
...
Use a variable for the default font weights. Fixes #20741
2016-10-25 19:55:34 -07:00
Mark Otto
182a642b07
Merge pull request #20903 from Starsam80/fix-20395
...
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
2016-10-25 19:52:14 -07:00
tomhorvat
e5bb0c40f4
Body font weight variable
2016-10-25 15:05:51 +02:00
Johann-S
9d129a43d6
Use a single class name for opened/expanded/shown state of widgets
2016-10-25 14:07:41 +02:00
Patrick H. Lauke
f93df8dccd
Merge pull request #20962 from patrickhlauke/v4-fix-unescaped-hash-data-urls
...
Fix unescaped `#` in SVG data URLs
2016-10-25 12:31:29 +02:00
Mark Otto
a3bc24abc4
Merge pull request #20973 from pixelbandito/container-gutter-breakpoints
...
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-24 21:49:26 -07:00
Mark Otto
b0d61474e8
Merge pull request #20957 from kukac7/patch-1
...
duplicate navbar-toggler-padding variables
2016-10-24 20:49:14 -07:00
Chris Garcia
e1fefe6065
Container padding uses per-breakpoint gutter sizes, fixes #19304 .
2016-10-22 00:06:41 -05:00
Pierre-Denis Vanduynslager
6eb2e54a91
Use box-shadow mixin
2016-10-20 16:35:45 -04:00
Pierre-Denis Vanduynslager
7a21517a48
Set box-shadow on input if enable-shadows rather than enable-rounded
2016-10-20 14:29:20 -04:00
Patrick H. Lauke
85531fd9fb
replace #
with %23
in SVG data urls with str-replace
2016-10-20 18:27:11 +01:00
Patrick H. Lauke
b2fe9743cc
Add str-replace Sass function
2016-10-20 18:26:36 +01:00
Alan Mooiman
e22b0df8b2
Create col class for auto flexbox columns
...
.col-xs-auto, .col-sm-auto, etc.
2016-10-20 13:08:00 -04:00
béla
dd1b9eeef8
duplicate navbar-toggler-padding variables
2016-10-20 11:31:30 +02:00
Simon Bächler
8402d2321f
Use a variable for the default font weights. Fixes #20741
...
Websites might use different weights such as medium or thin or use light as default weight instead of normal.
Also referenced: #18605 and #16170 .
2016-10-19 21:41:27 +02:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
JPeer264
088b164a23
updated sass variables table of contents
2016-10-19 10:17:55 +02:00
Mark Otto
028dd6bd48
Merge pull request #19890 from twbs/v4-navbars
...
v4: Navbar improvements
2016-10-19 00:59:51 -07:00
Mark Otto
16947ffa88
Merge pull request #20933 from twbs/alert-padding-vars
...
Switch to separate vars for alert vertical/horizontal padding
2016-10-18 23:42:16 -07:00
Mark Otto
271f10f74f
Merge branch 'v4-dev' into v4-navbars
2016-10-18 20:03:49 -07:00
Mark Otto
6321f9342e
Switch to separate vars for alert vertical/horizontal padding
2016-10-18 19:18:06 -07:00
Mark Otto
62a129184d
Add vertical-align utilities
...
- Adds six new utils for vertical-align property
- Documents the additional classes in the utils docs
2016-10-18 19:15:58 -07:00
Mark Otto
a3df8ca35a
remove .navbar-brand > img selector that sets display block (will be replaced with utils)
2016-10-18 18:47:36 -07:00
Mark Otto
610ec73c9d
more consistent navbar-brand line-height
2016-10-18 18:47:08 -07:00
Mark Otto
8be341ee96
lint
2016-10-17 22:17:02 -07:00
Mark Otto
484a8e3901
add navbar-brand and navbar-nav styles to the toggleable
2016-10-17 22:08:49 -07:00
Mark Otto
e24f406ce1
set the border color on the toggler
2016-10-17 21:05:22 -07:00
Mark Otto
b35e77deaf
Fix sass map navbar-toggleable
...
Follow up to 6e8ce0c7dc
. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.
2016-10-17 21:05:07 -07:00
Mark Otto
6e8ce0c7dc
Iterate over breakpoints to generate .navbar-toggleable classes
...
- Moves .navbar-brand margin and float to media queries
- Replaces the static media queries with an each loop to generate all the needed classes
2016-10-16 21:51:26 -07:00
Mark Otto
247ad23e97
Merge branch 'v4-navbars' of github.com:twbs/bootstrap into v4-navbars
2016-10-16 19:46:55 -07:00
Mark Otto
b4cdccba84
Merge branch 'v4-dev' into v4-navbars
2016-10-16 19:46:47 -07:00
Mark Otto
227f066650
Revert "Drop the $small-font-size variable for the newer $font-size-sm one"
2016-10-16 18:49:55 -07:00
Starsam80
9e5a02c606
Remove borders on the top and/or bottom when .list-group-flush is the first and/or last child
...
Fully fixes #20395
2016-10-15 14:12:19 -06:00
Mark Otto
9c8913c684
one more syntax error
2016-10-09 20:26:12 -07:00
Mark Otto
2fa3712054
fix syntax
2016-10-09 20:23:49 -07:00
Mark Otto
e7f79b32f2
Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into brnrdog-tooltip-arrow
2016-10-09 19:56:30 -07:00
Mark Otto
300cedfe8c
Set height on custom select
...
Matches the changes from #20874 to the regular select element. This is really only necessary for IE and Edge near as I can tell. Fixes #20810 .
2016-10-09 19:49:52 -07:00
Mark Otto
0c467e7b29
Match the height of select.form-control with input.form-control
...
Uses a local variable and some calc love to counteract the border-width (times 2) from the height of the select. Fixes #17194 and nullifies #19967 .
2016-10-09 18:04:30 -07:00
Mark Otto
4bc154b8f9
Merge branch 'patch-10' of https://github.com/zalog/bootstrap into zalog-patch-10
2016-10-09 17:35:44 -07:00
Mark Otto
6def7a5d56
Merge pull request #20555 from bardiharborow/updatedeps
...
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 17:08:39 -07:00
Mark Otto
74778b725e
Reset the left and right border on list items for flush list groups
...
Avoid the resetting of the already set values in #20397 . Fixes #20395 .
2016-10-09 16:57:32 -07:00
Mark Otto
8273e0cf82
linting
2016-10-09 16:46:47 -07:00
Mark Otto
b77b874265
fix focus shadows, if enabled
2016-10-09 16:44:04 -07:00
Mark Otto
8750b5f81c
The color is already covered in the first ruleset here
2016-10-09 16:39:02 -07:00
Mark Otto
41518d0e32
Interpolate the variable so it passes the color properly
2016-10-09 16:38:28 -07:00
Mark Otto
9ac7e868df
remove un-needed comment
2016-10-09 16:18:12 -07:00
Mark Otto
53ce4da835
add transparent border to match .form-control height
2016-10-09 16:17:48 -07:00
Mark Otto
55e130f88f
Update static form control
...
- Remove margin-bottom override in favor of .mb-0 utility class
- Apply the input line-height styles to match
- Remove the min-height to match the input
2016-10-09 16:16:13 -07:00
Mark Otto
cab2d5951d
Ensure input groups behavior appropriately in inline forms
...
Overrides the default width: 100% with an auto. Fixes #20752 .
2016-10-09 16:00:30 -07:00
Mark Otto
7dee5560a1
Merge branch 'v4-dev' into v4-navbars
2016-10-09 15:04:32 -07:00
Mark Otto
3b13f81126
Merge pull request #20867 from twbs/dedupe-sm-vars
...
Drop the $small-font-size variable for the newer $font-size-sm one
2016-10-09 15:00:11 -07:00
Mark Otto
821f719367
Merge pull request #20684 from twbs/v4-utils
...
v4: The Utilities Update
2016-10-09 14:54:57 -07:00
Mark Otto
6c867667a1
Merge branch 'v4-dev' into v4-utils
2016-10-09 14:36:43 -07:00
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
0ba0f19003
Change 940px breakpoint to 960px so that all widths are divisible by 12
...
Fixes #18510
2016-10-09 13:49:11 -07:00
Mark Otto
0d27e12d1f
Change sm grid breakpoint and container max-width
...
Makes it so that the container is no longer wider than the breakpoint used in the media query. This was never really an issue in rendering as the max-width handled it appropriately, but the mismatch was still incorrect.
Fixes #18054
2016-10-09 13:17:50 -07:00
Mark Otto
a43dc8872f
Move from max-width to width for containers, plus a max-width 100%
...
- Fixes issues between float and flex grid systems where container wouldn't fill the available width in Chrome & FF (but would in Safari)
- Fixes #20681
- Fixes #17621 (basically same issue as above issue)
2016-10-09 13:14:10 -07:00
Mark Otto
8f6a47303a
Drop the -font-size variable for the newer -size-sm one
...
Originally -font-size was added in v3 to set the font-size of the <small> element. Now that we have newer, global type variables, we can use those instead for these kind of things.
Fixes #20859
2016-10-09 12:45:58 -07:00
Bardi Harborow
d57d5a606b
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 12:15:17 +11:00
Chris Rebert
1ca6c9d7f1
Remove -webkit-overflow-scrolling: touch
due to an iOS Safari bug ( #20803 )
...
See https://bugs.webkit.org/show_bug.cgi?id=158342
Fixes #17695
2016-10-03 21:36:46 -07:00
Bardi Harborow
2e69dfa8c1
Fix broken/redirected links, moving to HTTPS where possible. ( #20557 )
2016-10-03 09:55:59 -07:00
Patrick H. Lauke
db533c2e8d
Follow-up fix to #20821
...
With apologies, copy/paste error following on from trying to fix conflicting Hound/Travis checks for https://github.com/twbs/bootstrap/pull/20821/ slipped through before I noticed them.
2016-10-03 10:13:58 +01:00
Patrick H. Lauke
add8dfe157
Merge pull request #20821 from patrickhlauke/v4-h5bp-print
...
Update print styles borrowed from h5bp
2016-10-03 10:00:09 +01:00
Matt Viteri
860e07a0e9
Fixes #20566 ( #20768 )
2016-10-02 21:23:04 -07:00
Mark Otto
88c601a842
Flexbox grid updates ( #20829 )
...
* Fixes #20775 without adding extra width and an important flag
* Since we're now getting the extend, we don't need the extra position relative
* rerrange
* getting min-height from the extend already
2016-10-02 21:10:06 -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
dfafb660d0
Merge branch 'patch-1' of https://github.com/bardiharborow/bootstrap into bardiharborow-patch-1
2016-10-02 20:32:42 -07:00
Mark Otto
1db3586dc0
Merge branch 'v4-dev' into v4-navbars
2016-10-02 19:26:29 -07:00
Mark Otto
49153ecf4f
Merge branch 'customizable-grid-gutters-per-breakpoint' of https://github.com/pixelbandito/bootstrap into pixelbandito-customizable-grid-gutters-per-breakpoint
2016-10-02 19:10:25 -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
d051ef5e61
Fixes #20118 : Add and use Sass variables to control the color of our embedded SVGs for custom form elements ( #20700 )
2016-10-02 18:27:03 -07:00
Mark Otto
a75330ca96
v4: Dropdown units ( #20701 )
...
* Fixes #19784 : Move from pixels to rems, add a margin-bottom: 0; to keep things aligned
* lintiong
2016-10-02 18:25:51 -07:00
Mark Otto
ebc77f60bb
Remove the margin-bottom from <label>s in .btn-groups ( #20827 )
...
- Fixes #20298 for vertical button group spacing
- Fixes #20784 for horizontal (default) button group spacing
- Alternate fix to #20823 which only applied a fix for vertical button groups
2016-10-02 18:22:53 -07:00
Mark Otto
bb4af05d22
Fixes #20799 : Apply same color change to disabled inline radios/checkboxes ( #20826 )
2016-10-02 18:15:55 -07:00
Patrick H. Lauke
6ae42a02c6
Update print styles borrowed from h5bp
...
most notable change:
- fixes print/print preview crash in IE11 (caused by `*:first-line`
selector)
2016-10-02 16:33:11 +01:00
Mark Otto
3dc4b3647c
Rename pull-*-{left|right} classes to .float-*-left and .float-*-right
2016-09-26 00:54:10 -07:00
Bardi Harborow
f72c21bfc8
Upgrade to normalize.css v4.2.0 and fix Hound exclusion.
2016-09-23 16:16:51 +10:00
Beau Smith
3df78ce11b
Remove hard-coded value in button-outline-variant
...
Fixes #20609
PR #20641 , another solution to this issue, hard-codes use of $body-color, which may not be the desired color for the text when hovering.
2016-09-16 13:02:52 -07:00
Mark Otto
39a10e461e
Fixes #20543 : Significantly darken the links in default navbars
2016-09-15 10:29:52 -07:00
Mark Otto
64dcb8b507
Merge branch 'v4-dev' into v4-navbars
2016-09-15 10:20:57 -07:00
VarelloThemes
63129112bb
replace some profanities ( #20715 )
2016-09-15 09:39:31 -07:00
Kovah
0ef64d89f7
Add breakpoint-specific gutters.
2016-09-13 23:02:56 -05:00
mkroeders
53a20c11d2
Have same margin for <hN> as a <div> on .card-headers ( #19048 )
...
* Have same margin for <hN> as a <div> on .card-headers
Related #18726
When you use a `<hN>` as `.card-header` there is `margin-bottom: .5rem` added. The changes set the margin-bottom to 0
* Removed space
2016-09-11 23:32:51 -07:00
Edd Yerburgh
fe722c2453
added text-gray-dark class ( #19847 )
2016-09-11 23:03:12 -07:00
Chris Garcia
8b13c51a0e
Removing a redundant background-color declaration. ( #20698 )
2016-09-11 22:50:14 -07:00
NicoLB
659809db15
.form-control:focus customization ( #20436 )
...
* Allow variables input-bg-focus and input-color-focus to be overridden.
* More consistency and control to customize shadows on .form-control:focus
2016-09-11 22:32:33 -07:00
Mark Otto
d62c3e3f80
Swap for custom svg background that we can embed to set the color of the stroke via Sass variable
2016-09-11 22:25:42 -07:00
Mark Otto
818d1f53a5
Merge branch 'v4-hamburger-fix2' of https://github.com/patrickhlauke/bootstrap into patrickhlauke-v4-hamburger-fix2
2016-09-11 21:57:38 -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
Kovah
b5f3c6a8d4
#14840 - Use color variables consistently
...
Replaces some raw colors with the appropriate color variables
Example: #eee will be replaced by $gray-lighter (#eceeef)
2016-09-08 13:57:57 +02: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
Juan J. Jimenez-Anca
f677806463
Update _mixins.scss
2016-08-02 17:01:26 +01:00
Juan J. Jimenez-Anca
676e00d63e
Update _visibility.scss
2016-08-02 17:00:58 +01: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
15f522fd4a
Fixes #17990 : clear the floats within .navbar-toggleable-* to avoid funky animation on close
2016-07-24 00:49:08 -07:00
Mark Otto
7fd00263e3
Merge branch 'v4-dev' into v4-navbars
2016-07-23 21:05:18 -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
Patrick H. Lauke
d125860464
change navbar-toggler to use SVG background image
2016-07-20 10:29:54 +01: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
morishitter
df6d3b445e
Add flex-wrap and overflow-wrap properties to the list of property order in .scss-lint.yml
2016-07-04 18:56:16 +09: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
heath3
d19e762d57
Re-use 'between' mixin for 'only' mixin
...
Keeps the code DRY in the same way 'between' uses 'up' and 'down'.
2016-06-09 16:07:27 +01: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
Catalin Zalog
88f02007e0
Update _spacing.scss
2016-05-17 16:26:22 +03:00
Catalin Zalog
990e2c5d2b
Update _custom-forms.scss
2016-05-16 17:00:45 +03:00
Mark Otto
dfa2536c3b
Restore .navbar-text and add some basic examples to the docs /cc #18049
2016-05-15 12:29:56 -07:00
Mark Otto
5a5ca44a3b
follow up to c6c0522598
: define those new vars
2016-05-14 12:46:06 -07:00
Mark Otto
c6c0522598
more navbar variables
2016-05-13 08:15:48 -07:00
Mark Otto
745e37a325
correction, -toggler-*
2016-05-12 21:50:17 -07:00
Mark Otto
906357b75f
new var for -toggle-border-radius
2016-05-12 21:49:56 -07:00
Mark Otto
3021c241cc
add new variable for -toggle-font-size
2016-05-12 21:49:03 -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
8b7ce089c9
Alternate fix to #18865 : Change the .navbar-toggler color for light/dark navbars as we do with the .navbar-brand
2016-05-12 11:24:09 -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
Christopher Baker
84f801833d
add $inverse-bg and $inverse-color
2016-04-27 19:37:44 -07:00
Christopher Baker
859c12a044
Merge branch 'v4-dev' of github.com:twbs/bootstrap into v4-dev
2016-04-27 19:30:39 -07:00
Mark Otto
8b8f5d0ca6
nuke commented out css
2016-04-23 15:03:18 -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
Mark Otto
9f2ab98026
Merge branch 'v4-dev' into v4-forms-cleanup
2016-04-23 14:24:08 -07:00
Patrick H. Lauke
1a6d0cc446
Merge pull request #19714 from patrickhlauke/v4-ie-edge-select-normalisation
...
Suppress IE/Edge additional white/blue colors for focused <select>
2016-04-21 22:43:40 +01:00
Christopher Baker
bae54aa8fc
remove references to -* outside _variables.scss
2016-04-17 18:56:09 -07:00
Rplus
80affcc6c5
remove unnecessary /
in reference url
2016-04-18 04:08:28 +08:00
Chris Rebert
0d51926cf7
Merge pull request #19248 from twbs/navbar-divider-border-width
...
.navbar-divider width: 1px=>$border-width
2016-04-17 12:49:38 -07:00
Matthew Rayfield
b21750cbb7
Add disabled styling for .custom-select
2016-04-14 13:37:14 -04:00
Patrick H. Lauke
d239fbb5f2
Suppress IE/Edge additional white/blue colors for focused <select>
2016-04-12 08:06:10 +01:00
Mark Otto
0a4d3155ab
Fixes #18573 : Change name of .form-control-label to .col-form-label (and .form-control-legend to .col-form-legend) to reiterate use for only grid layouts
2016-04-08 21:05:23 -05:00
Mark Otto
91627de4de
fix up broke forms styles and docs example for the grid
2016-04-08 20:58:36 -05:00
Mark Otto
80144d74d7
Merge branch 'v4-dev' into v4-forms-cleanup
2016-04-08 20:55:19 -05:00
Teo Dell'Amico
1b35105852
Add display
utility classes (.d-{inline,block,inline-block}); fixes #19343
...
Refs #19665
[skip sauce]
2016-04-06 15:49:08 -07:00
Mark Otto
cde26a5234
Fixes #19221 : Add .w-100 as width: 100% utility class
2016-04-06 14:59:04 -07:00
Lionel Erard
18c25056a6
Update offset class name in comment in _grid-framework.scss
...
[skip sauce]
[skip validator]
2016-04-06 02:27:59 -07:00
vsn4ik
fdf92b1528
Use @border-radius and add $nav-tabs-border-radius variable
2016-04-03 01:47:12 +03:00
Mark Topper
717f80f5d4
Fix comment style
...
Fix comment style to `//`, because other than the initial attribution comment, [we don't want any comments in the compiled CSS](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#comments ).
2016-03-31 11:55:43 +02:00
Mark Topper
62fea119c6
Reverted
...
Reverted to original content from https://raw.githubusercontent.com/necolas/normalize.css/d311749e127ea3ea13eb900ad953270d62734f4f/normalize.css
2016-03-31 09:37:58 +02:00
Mark Topper
0e2438b512
Append HoundCi fixes
...
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850395
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850397
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850398
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850401
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850399
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850402
https://github.com/twbs/bootstrap/pull/19639#discussion-diff-57850403
2016-03-30 10:18:36 +02:00
Mark Topper
3f8ec6344b
Update to normalize.css v4.0.0
...
#19575
2016-03-30 10:09:28 +02:00
Rakhat Jabagin
2eeef6d19f
remove empty sass if directives
2016-03-11 16:02:57 +06: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
Kevin P. Kucharczyk
585e5e9adf
Add $input-bg-focus and $input-color-focus variables
2016-03-02 17:41:20 +01:00
alberto
79628b30fc
@warn if minimum width of smallest breakpoint != 0
...
Fixes #19217
2016-02-24 22:16:01 +01:00
Patrick H. Lauke
727722da59
Add form-control-legend
2016-02-19 15:51:59 +00:00
Tobias
bf73425277
Document the possibility of extending the $spacers map
...
It's very handy to add another spacer size (e.g. `4`) which can easily be done by extending the map.
Example:
```
$spacers: (
0: (
x: 0,
y: 0
),
1: (
x: $spacer-x,
y: $spacer-y
),
2: (
x: ($spacer-x * 1.5),
y: ($spacer-y * 1.5)
),
3: (
x: ($spacer-x * 3),
y: ($spacer-y * 3)
),
4: (
x: ($spacer-x * 5),
y: ($spacer-y * 5)
)
);
```
Closes #18706
[skip sauce]
2016-02-18 18:18:47 -08:00
Chris Rebert
105bfbc5f9
Extract $carousel-indicators-width variable
...
[skip sauce]
[skip validator]
2016-02-17 21:10:20 -08:00
Chris Rebert
1f5621f46e
Extract $dropdown-padding-y variable
...
[skip sauce]
[skip validator]
2016-02-17 21:07:12 -08:00
Chris Rebert
322f3bbe6b
Extract $list-group-item-heading-margin-bottom variable
...
[skip sauce]
[skip validator]
2016-02-17 21:04:06 -08:00
Mark Otto
bfe20c2971
Merge pull request #19242 from twbs/carousel-caption-width
...
Extract $carousel-caption-width variable
2016-02-17 08:55:16 -08:00
Mark Otto
13c8ecd893
Merge pull request #19239 from twbs/dropdown-margin-top
...
Extract $dropdown-margin-top variable
2016-02-17 08:54:47 -08:00
Mark Otto
48a338c27c
Merge pull request #19237 from twbs/carousel-indicator-size
...
Extract $carousel-indicator{-active}-size variables
2016-02-17 08:54:25 -08:00
Chris Rebert
43d0d45d0a
Add $gutter parameter to make-col mixin; fixes #19147
...
[skip sauce]
[skip validator]
2016-02-17 03:19:07 -08:00
Chris Rebert
3af2ed9438
Add $card-img-overlay-padding variable
...
[skip sauce]
[skip variable]
2016-02-16 23:25:18 -08:00
Chris Rebert
38c3e6e4d1
Extract $navbar-brand-padding-y variable
...
[skip sauce]
[skip validator]
2016-02-16 23:11:25 -08:00
Chris Rebert
845ad69f93
Merge pull request #19250 from twbs/list-group-item-padding
...
Add $list-group-item-padding-{x,y} variables
2016-02-16 23:08:41 -08:00
Chris Rebert
aa7c5f93ce
Add $card-columns-sm-up-column-gap variable
...
[skip sauce]
[skip validator]
2016-02-16 23:00:58 -08:00
Chris Rebert
1f02ab21ee
Add $list-group-item-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 22:57:10 -08:00
Ameya Pandilwar
4b941847f5
_tags.scss: Updated comments to reflect name change
...
Erratum from #19157
Closes #19245
2016-02-16 22:51:35 -08:00
Chris Rebert
f10dc27cd4
.navbar-divider width: 1px=>$border-width
...
[skip sauce]
[skip validator]
2016-02-16 22:48:43 -08:00
Chris Rebert
67ecc8ca98
Extract $code-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 22:45:26 -08:00
Chris Rebert
881e51d4a7
Merge pull request #19246 from twbs/code-font-size
...
Extract $code-font-size variable
2016-02-16 22:41:55 -08:00
Chris Rebert
9fdae5f391
Extract $code-font-size variable
...
[skip sauce]
[skip validator]
2016-02-16 22:37:00 -08:00
Chris Rebert
3a4dbd9b3a
Add $figure-caption-font-size variable
...
[skip sauce]
[skip validator]
2016-02-16 22:31:40 -08:00
Chris Rebert
cbdb043ee3
Extract $carousel-caption{-sm-up}-width variables
...
[skip sauce]
[skip validator]
2016-02-16 21:45:16 -08:00
Chris Rebert
1046e27dd3
Extract $dropdown-item-padding-x variable
...
[skip sauce]
[skip validator]
2016-02-16 21:16:55 -08:00
Chris Rebert
dcb29fc814
Extract $dropdown-margin-top variable
...
[skip sauce]
[skip validator]
2016-02-16 21:13:15 -08:00
Chris Rebert
104ace17cb
Extract $carousel-indicator{-active}-size variables
...
[skip sauce]
[skip validator]
2016-02-16 21:00:10 -08:00
Chris Rebert
ee0b3b2faa
Merge pull request #19235 from twbs/carousel-control-sm-up-width
...
Extract $carousel-control-sm-up-width variable
2016-02-16 20:53:53 -08:00
Chris Rebert
9f85c6e1d1
Extract $carousel-control-sm-up-size variable
...
[skip sauce]
[skip validator]
2016-02-16 20:50:48 -08:00
Chris Rebert
3003f530c9
Extract $carousel-icon-width variable
...
[skip sauce]
[skip validator]
2016-02-16 20:46:52 -08:00
Mark Otto
63a269d78b
Fixes #19142 (follow-up to #18771 ): Restore cursor: pointer to custom radio/checkbox components
2016-02-16 20:34:31 -08:00
Mark Otto
d6207d852a
Merge branch 'fix-19094' of https://github.com/ameya-pandilwar/bootstrap into ameya-pandilwar-fix-19094
2016-02-16 20:28:51 -08:00
Mark Otto
e194db05c8
Merge branch 'v4-dev' into mark-padding
2016-02-16 20:25:40 -08:00
Mark Otto
853921df32
Merge pull request #19210 from twbs/small-font-size
...
Add $small-font-size variable
2016-02-16 20:23:54 -08:00
Mark Otto
6636e979d9
Merge pull request #19211 from twbs/mark-bg-var
...
Add $mark-bg so <mark>'s background-color can be customized independently of $state-warning-bg
2016-02-16 20:23:41 -08:00
Mark Otto
57a310c3d3
Merge pull request #19214 from twbs/label-font-size
...
Add $label-font-size variable in the name of not hardcoding values
2016-02-16 20:23:22 -08:00
Mark Otto
ca77f52875
Merge pull request #19215 from twbs/label-pill-border-radius
...
Add $label-pill-border-radius variable
2016-02-16 20:23:03 -08:00
Mark Otto
60f83096f1
Merge pull request #19218 from twbs/breakpoint-vars-are-minimums
...
Clarify that $grid-breakpoints are minimum widths for each breakpoint
2016-02-16 20:22:43 -08:00
Mark Otto
4043510e0e
fixes #19148 as follow up to #19099 : ensure local mixin variable is used for in make-grid-columns mixin
2016-02-16 20:11:11 -08:00
Chris Rebert
ea1fa05285
Change comment to clarify that $grid-breakpoints are minimum widths for each breakpoint
...
(as opposed to maximums)
[ci skip]
2016-02-16 01:24:34 -08:00
Chris Rebert
cdc0a7a748
Introduce $mark-bg variable so that <mark>'s background-color can be customized independently of $state-warning-bg
...
[skip sauce]
[skip validator]
2016-02-16 00:44:55 -08:00
Chris Rebert
4c6946b3a9
Extract $dropdown-min-width variable
...
[skip sauce]
[skip validator]
2016-02-16 00:42:10 -08:00
Chris Rebert
08d23959ac
Add $label-pill-border-radius variable
...
[skip sauce]
[skip validator]
2016-02-16 00:37:45 -08:00
Chris Rebert
2c034cf542
Add $label-font-size variable in the name of not hardcoding values
...
[skip sauce]
[skip validator]
2016-02-16 00:27:53 -08:00
Chris Rebert
c80cf45960
Extract $label-pill-padding-x variable
...
[skip sauce]
[skip validator]
2016-02-16 00:25:18 -08:00
Chris Rebert
1d634a07ce
Extract $label-padding-{x,y} variables
...
[skip sauce]
[skip validator]
2016-02-16 00:18:30 -08:00
Chris Rebert
4278eb57ab
Add $small-font-size variable
...
[skip sauce]
[skip validator]
2016-02-15 23:59:53 -08:00
Chris Rebert
7441beba67
Add $mark-padding variable
...
[skip sauce]
[skip validator]
2016-02-15 23:55:20 -08:00
Chris Rebert
ef89acb974
Extract $modal-content-border-width variable
...
[skip sauce]
[skip validator]
2016-02-15 23:45:28 -08:00
Chris Rebert
ece0775bee
Extract $modal-{header,footer}-border-width variables
...
[skip sauce]
[skip validator]
2016-02-15 23:35:57 -08:00
Chris Rebert
e1be284d0c
Extract $modal-dialog-sm-up-margin-y variable
...
[skip sauce]
[skip validator]
2016-02-15 23:24:41 -08:00
Chris Rebert
819b0179f0
Merge pull request #19205 from twbs/modal-dialog-margin
...
Extract new $modal-dialog-margin variable
2016-02-15 23:16:13 -08:00
Chris Rebert
b35aa23453
Extract new $modal-dialog-margin variable
...
[skip sauce]
[skip validator]
2016-02-15 23:10:38 -08:00
Patrick H. Lauke
9b8a4bc691
Add extra styles for focused/hovered active outline buttons
2016-02-15 12:58:16 +00:00
Mark Otto
0c46412a4c
Merge branch 'v4-dev' into v4-custom-forms-validation
2016-02-13 17:55:23 -08:00
Ameya Pandilwar
4ed5fa77ff
Rename .label class to .tag
2016-02-11 03:54:30 -05:00
vsn4ik
f29f0ffd22
Remove unused .csscomb.json
2016-02-10 00:34:47 +03:00
Chris Rebert
a1bf344c4f
Merge pull request #18925 from twbs/fixes-18922
...
Make translation of custom file input text easier
2016-02-09 01:38:14 -08:00
Mark Otto
371fbdb0e8
.text-help is dead, long live .form-control-feedback
...
Uses a new more specific class, adds some basic spacing, and clarifies
that this class is only for validation feedback.
Clears up the help text class question in
https://github.com/twbs/bootstrap/pull/18704#issuecomment-168241731 and
addresses the vertical spacing in #18703 .
2016-02-09 01:10:05 -08:00
Mark Otto
04f145b9d5
fix #18515 : add .form-control-label-* classes to match large/small inputs
2016-02-09 00:35:14 -08:00
Mark Otto
51d3267ea9
don't set horizontal padding on .form-control-label /cc #18130 #17498
2016-02-09 00:34:41 -08:00
Mark Otto
33d7ed77c8
linting follow up to #19140
2016-02-08 23:43:37 -08:00
Mark Otto
8c991939ab
Merge pull request #19136 from twbs/v4-input-border
...
v4: Translucent .form-control borders
2016-02-08 23:41:48 -08:00
Mark Otto
cb77f68868
Merge pull request #19140 from twbs/v4-card-list-group-corners
...
v4: Avoid shorthand border-radius for list groups in cards
2016-02-08 23:41:16 -08:00
Mark Otto
faa7cea301
fixes #18940 : use specific border properties when changing the corners of list groups in cards to avoid overriding combo first-/last-child items
2016-02-08 23:37:38 -08:00
Mark Otto
09aefaa2af
Alternate fix to #17965 : Updates to use the new class name and adds some basic docs for custom checkbox/radio validation
2016-02-08 23:21:32 -08:00
Mark Otto
4b97596982
Fixes #18949 : Remove extra margin overrides for buttons in .modal-footer
2016-02-08 22:34:38 -08:00
Mark Otto
c3e4cbdfb0
Move to a translucent input border with background-clip: padding-box for improved blending across different background-colors
2016-02-08 22:28:11 -08:00
Chris Rebert
b7f70102eb
Merge pull request #19128 from twbs/flex-utils
...
Flex utility classes shouldn't depend on $enable-grid-classes
2016-02-08 13:04:09 -08:00
Chris Rebert
472e0e1259
Flex utility classes shouldn't depend on $enable-grid-classes
...
[skip sauce]
[skip validator]
2016-02-08 04:25:45 -08:00
Chris Rebert
8141835682
_forms.scss: Use division instead of fractional multiplication
...
[skip sauce]
[skip validator]
2016-02-08 03:34:24 -08:00
Chris Rebert
8ffcb5f055
_forms.scss: Remove extra trailing 0 in fractional number
...
[skip sauce]
[skip validator]
2016-02-08 03:31:54 -08:00
Mark Otto
23d47122ef
Merge branch 'multiple-input-group-addon' of https://github.com/vicary/bootstrap into vicary-multiple-input-group-addon
2016-02-07 23:41:35 -08:00
Mark Otto
e455b6b8d2
Merge branch 'v4-dev' into v4-form-sizing
2016-02-07 22:48:26 -08:00
Mark Otto
e589cdbfe9
Put that new var to use to match form group addons to form controls
2016-02-07 22:47:04 -08:00
Mark Otto
38c93371c1
updated button/form-control padding and line-height
...
- Moves from no set line-height (inherited of 1.5) to declared 1.25 for
all inputs and buttons (regardless of size modifier).
- Updates padding to be `.5rem` instead of `.375rem` so that padding is
more likely to be whole numbers based on the root font-size.
- Whole numbers will be beneficial in avoiding odd fractional pixels
that can lead to misalignment as shown in #18607 .
- Large buttons and inputs are now a tad wider, and smaller
buttons/inputs a tad shorter and narrower, too.
2016-02-07 22:46:50 -08:00
Mark Otto
a16b2ef162
Remove line-height from the button size mixin too
2016-02-07 22:43:53 -08:00
Mark Otto
ab451e5dc0
Remove commented out height on large/small inputs
2016-02-07 22:43:24 -08:00
Mark Otto
8fcdbd38f8
Remove specific line-heights from large/small inputs as well
2016-02-07 22:43:10 -08:00
Mark Otto
1db8dc10b5
Remove line-height from button mixin calls
2016-02-07 22:39:49 -08:00
Chris Rebert
da848536ce
_forms.scss: Remove extra url()s in commented-out code
...
[skip sauce]
[skip validator]
2016-02-07 20:20:14 -08:00
Chris Rebert
1dc6e4c9e5
Merge pull request #19115 from vsn4ik/v4-dev-fix-css3-not-selector
...
Fix css3 :not selector
2016-02-07 11:51:39 -08:00
vsn4ik
e7b0ccff63
Fix CSS3 :not() selector
2016-02-07 19:21:26 +03:00
Chris Rebert
35617a4b22
Assert that $grid-breakpoints and $container-max-widths are in ascending order; fixes #18549
...
[skip sauce]
2016-02-07 02:53:37 -08:00
Chris Rebert
41977db43a
Reboot: Update @viewport comment to account for de944e088b
...
[ci skip]
2016-02-07 00:28:23 -08:00
Chris Rebert
ecdfc71d1f
Add $enable-print-styles variable for _print.scss; fixes #19101
...
[skip sauce]
2016-02-06 21:35:19 -08:00
Mark Otto
612d287a07
Fixes #18550 : really remove that reference
2016-02-06 20:46:11 -08:00
Mark Otto
ef50b7839c
linting
2016-02-06 20:36:21 -08:00
Mark Otto
d7d0e186bd
Merge branch 'v4-dev' into v4-split-buttons
2016-02-06 20:33:26 -08:00
Mark Otto
cecc3017dc
Merge pull request #19105 from twbs/v4-modal-widths
...
v4: Update modal sizing
2016-02-06 20:31:27 -08:00
Mark Otto
64b88bd707
remove comment
2016-02-06 20:28:36 -08:00
Mark Otto
6c2b0d2b76
Updat modal sizing
...
- Switch from width to max-width for all widths to avoid scaling outside viewport bounds
- Rejigger the media queries for a more logical breakpoint for the large and small modal sizes
- Avoids changing the width of the default modal (nullifying #17794 and fixing #17581 )
2016-02-06 20:18:48 -08:00
Mark Otto
9ca44d29f5
Follow up to #19099 : Correct grid gutter value
2016-02-06 20:12:55 -08:00
Mark Otto
eee0a685a4
only do it for non-flex version
2016-02-06 20:02:39 -08:00
Mark Otto
ccf971d860
Fixes #17969 : Clear horizontal dls
...
- Using the grid classes, they still need clearfixes since rows aren't injected between them all
- Update docs to fix broken classes
2016-02-06 20:01:37 -08:00
Mark Otto
cbda7e3862
Revamp list group items built with anchors and buttons
...
- Make it an explicit class instead of qualifying with elements (.list-group-item-action)
- Rearrange the entire file for more straightforward flow
- Fix text-decoration bug as a result of the reorder
- Switch from h4's to h5's in docs
- Update docs to merge anchors and buttons sections; clearify usage guidelines there, too
- Nullify #17479 in the process
2016-02-06 19:50:00 -08:00
Mark Otto
de944e088b
Fixes #17300 : drop the unused at-viewports
2016-02-06 18:45:56 -08:00
Mark Otto
caa36b8dd7
Fixes #17194 : Ensure proper height on default select.form-control instances
2016-02-06 18:20:27 -08:00
Mark Otto
697466badf
tweak sizing
2016-02-06 18:05:34 -08:00
Mark Otto
dee1979683
move the url to the variable value
2016-02-06 18:05:24 -08:00
Mark Otto
11606d391e
update to latest from @thekondrashov's jsfiddle
2016-02-06 18:05:07 -08:00
Mark Otto
198e34a096
Merge branch 'patch-1' of https://github.com/thekondrashov/bootstrap into thekondrashov-patch-1
2016-02-06 17:00:57 -08:00
Mark Otto
b03684d04c
Merge pull request #19102 from twbs/v4-center-utils
...
v4: Drop .center-block for new-ish .m-x-auto
2016-02-06 16:45:57 -08:00
Mark Otto
1285ec34fa
Merge pull request #18488 from vsn4ik/v4-use-mixin-for-text-muted
...
Use text-emphasis mixin for .text-muted
2016-02-06 16:30:07 -08:00
Mark Otto
c59dbe56fe
Drop .center-block for .m-x-auto
...
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Mark Otto
fffaaed0fd
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 15:09:32 -08:00
Mark Otto
9c69f6f5c5
Merge branch 'v4-dev' into v4-font-stack
2016-02-06 15:01:44 -08:00
Mark Otto
447fc28f8d
linting grid css
2016-02-06 14:54:13 -08:00
Mark Otto
cd3af1fa1a
Update to drop Open Sans, add Fira and Droid Sans
2016-02-06 13:23:00 -08:00
Mark Otto
414ae3aa1a
use px in grid col padding since we're using px everywhere else for them
2016-02-06 13:01:52 -08:00
Mark Otto
3743f279c1
linting
2016-02-06 12:32:43 -08:00
Mark Otto
8d46a95071
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 12:30:03 -08:00
Mark Otto
d5e474b4ab
linter
2016-02-06 12:29:53 -08:00
Mark Otto
f127bc68a3
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 12:29:06 -08:00
Mark Otto
03ec195974
linter overhaul
2016-02-06 12:28:18 -08:00
Mark Otto
15018a6d8a
Ugh, Sass doesn't do extends across media, so we can't use placeholder here
2016-02-06 11:48:28 -08:00
Mark Otto
50e854affa
property order and white space
2016-02-06 11:36:45 -08:00
Mark Otto
4ab7c93bcc
property order
2016-02-06 11:33:31 -08:00
Mark Otto
95f34be093
More grid updates
...
- Flexbox responsive behavior fixed with specific .col-{breakpoint} classes now added
- Dropped the make-col mixin in favor of a column-basics placeholder that we can extend across our grid infrastructure
- Updated docs to use required .col-xs-12 (as a safeguard for when folks enable flexbox mode--this isn't necessary in default grid mode)
- Update flexbox grid docs to include responsive docs, tweak some other bits too
2016-02-06 11:31:46 -08:00
Mark Otto
414997baa8
flip things around again, no more base class, try out some new stuff to keep responsive flex grid working
2016-02-06 10:51:59 -08:00
Mark Otto
9e3214051d
add horizontal flex utils
2016-02-06 01:47:04 -08:00
Mark Otto
5e41887c3c
rename vertical align flex utils to middle to avoid clash with horizontal center
2016-02-06 01:46:42 -08:00
Mark Otto
82b98e72a4
more accurate comments
2016-02-06 01:46:14 -08:00
Mark Otto
7b7cf221cd
Move the conditional statement back to the file because nested imports aren't supported in Sass
2016-02-06 01:29:51 -08:00
Mark Otto
0de7321bbb
rename .flex-all-* to .flex-items-* to match flexbox nomenclature
2016-02-06 00:59:43 -08:00
Mark Otto
044716ed4a
Conditionally include the flex utils in the import stack and reduce to a single query
2016-02-06 00:58:19 -08:00
Mark Otto
f50dedaaaf
Move grid flex classes to utils instead maybe?
2016-02-06 00:52:53 -08:00
Mark Otto
cac92017d3
Merge branch 'v4-dev' into v4-grid-redux
2016-02-06 00:47:40 -08:00
Mark Otto
5a9538d4c7
Revamp grid classes to require .col base class and improve flexbox grid classes with auto layout via flex: 1
2016-02-06 00:45:29 -08:00
Mark Otto
263e06a021
rearrange scss lint config to put flex over float
2016-02-06 00:20:24 -08:00
Mark Otto
73e5e89e0e
Switch to native font stack
2016-02-05 23:01:59 -08:00
Chris Rebert
23979a9994
Revert separation of <hN> and .hN heading styles
...
This reverts commit deeb74e321
.
Reverts #18038
Fixes #18992
[skip sauce]
[skip validator]
2016-02-04 00:05:02 -08:00
Mark Otto
b75116c679
Merge branch 'v4-card-fuckery' into v4-dev
2016-02-03 20:53:30 -08:00
Mark Otto
b75a0ca979
fuck that other class, let's just get tabs and pills in there
2016-02-03 20:52:33 -08:00
Mark Otto
b4a2b99395
Dump the type margin overrides in alerts for utils, document that particular example, sidesteps part of #18884
2016-02-03 20:43:12 -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
XhmikosR
e672d60646
Update print styles to v5.3.0 of html5 boilerplate.
2016-01-26 21:37:44 +02:00
mkroeders
a62f70b420
Allow a <label> for .input-group-addon by zeroing out margin-bottom
...
When using a <label> as an .input-group-addon, there will be a default margin-bottom of .5rem via Reboot.
This will lead to undesirable whitespace below the label and the <input> will become taller than needed. By removing the margin, it will play nice with <label> elements.
Closes #19012
2016-01-23 22:18:43 -08:00
Chris Rebert
d54d9d3f7a
Merge pull request #19001 from twbs/bump-normalize
...
Bump Normalize so we can remove Reboot's input[type=search] box-sizing override
2016-01-23 22:11:27 -08:00
Mark Otto
e672c15b6d
Merge pull request #19002 from twbs/blockquote-border-width
...
Add $blockquote-border-width variable
2016-01-23 20:42:23 -08:00
Mark Otto
fa0e68e486
Merge pull request #19000 from twbs/print-img-max-width-100-hell
...
Remove print-specific img max-width:100%; style so that Google Maps etc. print correctly
2016-01-23 20:37:36 -08:00
Mark Otto
2fe6c6c88b
Merge pull request #18927 from twbs/fix-16871
...
Apply word-wrap:break-word to Tooltips and Popovers
2016-01-23 20:36:59 -08:00
Chris Rebert
7e2e31e964
scss/_forms.scss: Remove now-unnecessary SCSS-Lint exemption
...
[skip sauce]
2016-01-23 03:06:21 -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
beeafc2808
Bump Normalize to fe567632af
...
So as to pull in https://github.com/necolas/normalize.css/pull/496
2016-01-21 14:28:41 -08:00
Chris Rebert
8820c563d2
Remove print-specific img max-width:100%; style so that Google Maps and other widgets print correctly
...
See https://github.com/h5bp/html5-boilerplate/issues/1741
X-Ref: #1506
2016-01-21 14:18:54 -08:00
Kevin Ross
70c2686797
Resolves #18978 - flexbox list-group implementation. Requires the pull-right and pull-left flex change from PR #18976
2016-01-20 16:39:43 -06:00
Patrick H. Lauke
200860334d
Add pointer-events:none to custom indicator
...
Closes #18887
2016-01-19 01:34:47 +00:00
Chris Rebert
032adf1324
Apply word-wrap:break-word to Tooltips and Popovers
...
Fixes #16871 for v4
2016-01-17 22:23:29 -08:00
Chris Rebert
8b67d4c762
Make translation of custom file input text easier; fixes #18922
...
[skip sauce]
2016-01-17 20:53:11 -08:00
Chris Rebert
beb9fc2895
Merge pull request #18880 from twbs/gradient-x-y
...
Rename gradient mixins to match new naming convention
2016-01-17 19:34:10 -08:00
Mark Otto
26f10db70e
Merge pull request #18848 from twbs/rounded-progress
...
Respect $border-rounded inside progress bars too
2016-01-17 19:04:29 -08:00
Mark Otto
11efaf5439
Merge pull request #18878 from twbs/btn-group-vertical
...
rm unnecessary border-radius properties from .btn-group-vertical code
2016-01-17 19:00:37 -08:00
Mark Otto
955e0405ea
fuck around with card borders and more
2016-01-17 18:55:24 -08:00
Mark Otto
776337924e
Merge pull request #18920 from twbs/v4-custom-forms-vars
...
v4: Custom forms variables
2016-01-17 17:54:45 -08:00
Mark Otto
dd4062f213
Update docs to include mention of the custom variables file
2016-01-17 16:04:18 -08:00
Mark Otto
567a0e9cee
add custom overrides to other bundles
2016-01-17 15:54:17 -08:00
Mark Otto
d00eef1dac
Merge branch 'provide-custom-scss' of https://github.com/stephaniepurvis/bootstrap into stephaniepurvis-provide-custom-scss
2016-01-17 15:51:49 -08:00
Mark Otto
2f4af5c295
condense that comment, clean up formatting
2016-01-17 15:50:27 -08:00
Mark Otto
8a0b8b6b03
Merge pull request #18789 from twbs/fix-18733-more
...
Prevent breadcrumb separator from getting underlined on hover when not using <ol> markup
2016-01-17 15:45:02 -08:00
Mark Otto
c0a8a70d59
Missing ;
2016-01-17 15:32:01 -08:00
Mark Otto
3a2f0456bf
Merge pull request #18883 from twbs/zindex-dropdown-backdrop
...
Use proper variable for .dropdown-backdrop's z-index
2016-01-17 15:25:58 -08:00
Mark Otto
5c12d5e469
add custom file vars, fix up custom select var
2016-01-17 15:21:16 -08:00
Mark Otto
6b318ef176
Hella vars for custom checkboxes and radios and selects
2016-01-16 22:29:51 -08:00
Chris Rebert
802c1cb5fc
Extract variables for .modal-content box-shadow
...
[skip sauce]
[skip validator]
2016-01-16 20:25:00 -08:00
Chris Rebert
bbd449994a
Extract $thumbnail-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
9b2d9f6e04
Extract $popover-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
58f7e602ae
Extract $dropdown-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
a5b41e7254
Extract $btn-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
6293dd41cf
Extract $kbd-box-shadow variable
2016-01-16 20:23:37 -08:00
Chris Rebert
7be17b4a35
Merge pull request #18821 from twbs/popover-vars
...
Add variables for padding of popover title & content
2016-01-16 14:08:14 -08:00
Chris Rebert
dda263d9ac
Merge pull request #18820 from twbs/media-obj-vars
...
Add variables for media object margins and padding
2016-01-16 14:07:49 -08:00
Chris Rebert
a22c696485
Extract $blockquote-border-width variable
...
[skip sauce]
2016-01-14 22:27:08 -08:00
Chris Purssell
0762a1978c
Allow custom breakpoint config to be passed on by mixins which nest media query mixins.
2016-01-14 16:33:04 +10:00
Chris Rebert
27a7fff0fb
Use proper variable for .dropdown-backdrop's z-index
2016-01-13 16:21:52 -08:00
Chris Rebert
a4745dd7a1
Use proper units when adding/subtracting lengths
...
[skip sauce]
[skip validator]
2016-01-13 16:16:43 -08:00
Chris Rebert
44a1361079
Rename gradient mixins to match new naming convention
...
gradient-{horizontal=>x}[-three-colors]
gradient-{vertical=>y}[-three-colors]
2016-01-13 15:34:01 -08:00
Chris Rebert
d26b7c7a2c
Rename local vars per new naming convention: $padding-{vertical=>y} $padding-{horizontal=>x}
...
[skip sauce]
[skip validator]
2016-01-13 15:29:06 -08:00
Chris Rebert
3daf4275eb
rm unnecessary border-radius properties from .btn-group-vertical code
...
[skip sauce]
[skip validator]
2016-01-13 15:05:23 -08:00
ju1ius
bd62b185f6
Don't clearfix if flexbox is enabled. Fixes #18849
2016-01-11 22:36:30 +01:00
Chris Rebert
1e37f507d5
Respect $border-rounded inside progress bars too
...
[skip sauce]
2016-01-11 12:29:50 -08:00
Anders Sahlin
ea4a79c689
Modals respect $enable-rounded setting
...
See issue: https://github.com/twbs/bootstrap/issues/18385
2016-01-11 14:02:14 +01:00
Chris Rebert
cbc71dc229
Merge pull request #18816 from twbs/fix-17308
...
Switch to actually-Safari-specific CSS hack for iOS temporal input fix
2016-01-10 18:38:26 -08:00
Chris Rebert
350ce2f707
Switch to actually-Safari-specific CSS hack when fixing vertical alignment of temporal input text in iOS Safari
...
See http://browserbu.gs/css-hacks/webkit-full-page-media/
Fixes #17308
[skip sauce]
[skip validator]
2016-01-10 18:22:10 -08:00
Chris Rebert
ed3551415c
Extract $btn-active-box-shadow variable & refactor accordingly
...
[skip sauce]
[skip validator]
2016-01-09 15:14:36 -08:00
Chris Rebert
46c9f4b143
Add $progress-box-shadow variable
...
[skip sauce]
[skip validator]
2016-01-09 14:59:08 -08:00
Chris Rebert
c919746a4f
Add variables for padding of popover title & content
...
[skip sauce]
[skip validator]
2016-01-09 14:46:04 -08:00
Chris Rebert
4a667f5bb7
Add variables for media object margins and padding
...
[skip sauce]
[skip validator]
2016-01-09 14:34:59 -08:00
Chris Rebert
f646ed7920
Merge pull request #18466 from twbs/tooltip-padding-vars
...
Introduce $tooltip-padding & $tooltip-padding-x vars
2016-01-09 14:28:12 -08:00
Chris Rebert
8adc9d771f
Remove remaining reference to <input type="datetime"> in SCSS comment
...
Erratum of #18778
[skip sauce]
[skip validator]
2016-01-08 23:55:23 -08:00
Mark Otto
cf7795da93
Add liberation Mono to the font stack for the Linux peeps
...
Fixes #18609
[skip sauce]
[skip validator]
2016-01-08 23:31:30 -08:00
Mark Otto
f6ad665c26
Switch up some split button stuff
...
- New vars
- New function for stripping units so we can combine rems and ems in math functions
- Add new classes for sizing and spacing around the split dropdown toggle so that the caret isn't misaligned
2016-01-08 13:23:24 -08:00
Mark Otto
3740d8f2ac
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-01-07 11:52:20 -08:00
Mark Otto
643bd8eaeb
Merge pull request #18787 from twbs/btn-vars
...
Add variables for spacing of .btn-toolbar and split-button dropdown toggles
2016-01-07 00:47:40 -08:00
Chris Rebert
86caa76f54
In IE9-11, prevent breadcrumb separator from getting underlined on :hover when not using <ol> markup
...
Fixes #18733 in IE9-11
Also adds comments to the code explaining this and #18740 .
2016-01-07 00:43:35 -08:00
Bass Jobsen
53958dab0b
In modern browsers, prevent breadcrumb separator from getting underlined on :hover when not using <ol> markup
...
Fixes #18733 , except in IE9-11
Closes #18740
2016-01-07 00:43:28 -08:00
Mark Otto
1429a0d8a9
fix input group addon alignment
2016-01-07 00:38:41 -08:00
Mark Otto
dfae3d46e4
Add a comment to follow-up on #17756
2016-01-07 00:30:49 -08:00
Mark Otto
af13a97d51
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2016-01-07 00:29:34 -08:00
Mark Otto
2502f84dde
Merge pull request #17756 from zalog/patch-11
...
Flexbox grid column wrapping bug
2016-01-07 00:29:23 -08:00
Mark Otto
7fdd521459
more variables spacing
2016-01-07 00:21:58 -08:00
Mark Otto
de027e637f
pointless comments
2016-01-07 00:20:36 -08:00
Mark Otto
b39b8b631b
more variables spacing
2016-01-07 00:20:25 -08:00
Mark Otto
ea9967c535
spacing
2016-01-07 00:19:48 -08:00
Mark Otto
ea5fdc5b5f
Fixes #18681 : Use a local varible to calculate a unit-less border offset for the popover title
2016-01-07 00:16:59 -08:00
Chris Rebert
fb71efaeb2
Add variables for spacing of .btn-toolbar and split-button dropdown toggles
...
[skip sauce]
2016-01-06 16:42:21 -08:00
Mark Otto
c847279e14
Consolidate nav-tab dropdown styles with nav-tab styles
...
- Moves styles up the document a bit to nest them
- Drops the static 1px for $navbar-tabs-border-width so once again it’s
all tied together should folks customize that
2016-01-06 15:51:23 -08:00
Mark Otto
fac0c31a27
New $nav-pills-active-link-* variables
...
- Renames old and unused $nav-pills-active-link-hover-* for
$nav-pills-active-link-* ones
- Puts those vars to use in place of defaults $component-* vars on nav
pills
2016-01-06 15:50:08 -08:00
Mark Otto
774a2ed37e
Spacing y'all
2016-01-06 15:47:28 -08:00
Mark Otto
7da2e12852
Regroup nav variables
2016-01-06 15:46:48 -08:00
Mark Otto
93dda63b39
Revamp tabbed nav border variables
...
- Add new $nav-tabs-border-width for the bottom border on the .nav-tabs
parent class
- Use that new variable for the negative margin on nav-items within it
for consistent customization
- Drop the $nav-tabs-link-border-width for the new variable so it’s all
tied together
2016-01-06 15:45:26 -08:00
Mark Otto
7668a66bbe
Add $nav-disabled-link-hover-bg variable
2016-01-06 15:42:32 -08:00
Mark Otto
030ab626a5
Add $nav-item-inline-spacer variable
...
So folks can customize the distance between nav links in inline navs.
2016-01-06 15:41:35 -08:00
Mark Otto
fe40de1816
follow up to #18782 : remove pager vars
2016-01-06 15:00:28 -08:00
Mark Otto
095dd9ffb0
Merge pull request #18782 from twbs/v4-rip-pager
...
v4: Drop pager component
2016-01-06 14:57:51 -08:00
Chris Rebert
c3d1b7f256
Introduce $tooltip-padding-{x,y} & $tooltip-margin vars
...
[skip sauce]
2016-01-06 14:56:16 -08:00
Mark Otto
d5b2dea1a5
Rip out the pager component
2016-01-06 14:47:33 -08:00
Chris Rebert
f547806e88
Remove associated comment too
...
Erratum from #18658
[ci skip]
2016-01-06 14:42:37 -08:00
Mark Otto
d46c7ef565
fixes #18658 : no more min-width action on progress bars. we had them in v3 and ended up removing them for additional problems it caused folks.
2016-01-06 14:33:58 -08:00
Patrick H. Lauke
3da46631e7
Merge pull request #18775 from twbs/hack-18543
...
Set -ms-overflow-style:scrollbar to workaround apparent IE11+Edge @viewport bug
2016-01-06 20:15:58 +00:00
vsn4ik
e543565d78
Use text-emphasis-variant mixin for .text-muted
2016-01-06 16:47:44 +03: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
b48eb53962
rename .card-*-outline to .card-outline-* for consistency with button outlines
2016-01-06 01:09:45 -08:00
Mark Otto
6d01de2f74
Merge pull request #18518 from sergej2705/v4-dev-background-variant
...
Added !important to hover
2016-01-06 01:07:28 -08:00
Mark Otto
3dd08d60eb
Merge pull request #18695 from bassjobsen/patch-30
...
.container, .container-fluid should be conditional upon $enable-grid-…
2016-01-06 01:00:22 -08:00
Mark Otto
0be0a8eb1a
fixes #17719 : rename .btn-*-outline to .btn-outline-*
2016-01-06 00:11:49 -08:00
Mark Otto
ff07ba3af4
Merge pull request #18771 from twbs/v4-custom-forms-revamp
...
v4: Custom forms (disabled state, revamp, etc)
2016-01-06 00:02:25 -08:00
Mark Otto
4625547aea
disable it for the whole file
2016-01-06 00:00:08 -08:00
Mark Otto
069277e86f
really disable the offending one
2016-01-05 23:58:34 -08:00
Mark Otto
00e2b29041
try disabling that
2016-01-05 23:56:08 -08:00
Mark Otto
d8d67eaa6a
rewrite custom file input component to use classes over nested elements
2016-01-05 23:45:44 -08:00
Mark Otto
ac446058ff
ensure custom selects get rounded corners
2016-01-05 23:45:20 -08:00
Mark Otto
8d66b9956c
Change .c-select to .custom-select
2016-01-05 23:34:51 -08:00
Mark Otto
11df78ec74
Revamp custom form styles
...
- Less nesting with more specific classes
- New class names for most elements to avoid unnecessary and potentially confusing shorthand
- Require new class and markup for the description (though it's only necessary for disable states, it's now part of the entire component's markup for all states just in case)
- Change up colors and variables for regular and disabled states
2016-01-05 23:25:42 -08:00
Mark Otto
c081d4802d
Merge pull request #18682 from twbs/media-obj-zoom
...
Remove nonstandard `zoom: 1` from media object
2016-01-05 20:58:39 -08:00
markau
871a003ca2
Fixes #17918 : Add styles for disabled custom checkboxes and radios
2016-01-05 00:47:32 -08:00
Mark Otto
6a7577d3c6
remove instances of font-weight: normal since we no longer specify bold labels (as of v4)
2016-01-05 00:14:58 -08:00
Mark Otto
c76a2c3218
Merge pull request #18669 from twbs/fix-18652
...
Remove .dl-horizontal; it's redundant to the grid system
2016-01-03 19:10:42 -08:00
Chris Rebert
e9192f6de0
Update copyright years to 2016
...
[ci skip]
2016-01-01 12:31:38 -08:00
Patrick H. Lauke
9cd6903768
Merge pull request #18699 from patrickhlauke/disabled-pointer-events
...
Add pointer-events:none to disabled pagination/pager links
2015-12-29 16:23:41 +00:00
Sam A. Horvath-Hunt
f7a43ed6b7
Add max-width to file browser; fixes #18651
2015-12-29 14:41:21 +00:00
Patrick H. Lauke
348763d65c
Add pointer-events:none to disabled pagination/pager links
...
as currently this was missed out (compared to disabled `a.btn`)
2015-12-27 10:03:09 +00:00
Bass Jobsen
ddb652b8d5
.container, .container-fluid should be conditional upon $enable-grid-classes
...
see: https://github.com/twbs/bootstrap/issues/17586
2015-12-27 00:14:01 +01:00
Chris Rebert
4de483a411
Remove nonstandard zoom: 1
from media object
...
It should be unnecessary since we only support IE>=9, and this hasLayout hack is for IE6-7.
https://developer.mozilla.org/en-US/docs/Web/CSS/zoom
http://stackoverflow.com/questions/1794350/what-is-haslayout
[skip sauce]
[skip validator]
2015-12-25 14:54:48 -07:00
Chris Rebert
4a05f19a3b
Fix syntax of .text-hide's font
property value
...
In SCSS, the quotes were included verbatim in the resulting CSS, which isn't valid syntax for the `font` property.
Removing the quotes fixes the syntax error and does not cause any SCSS compiler error.
[skip sauce]
[skip validator]
2015-12-25 14:06:39 -07:00
Chris Rebert
4c86e37c2d
Remove .dl-horizontal; it's redundant to the grid system; fixes #18652
...
[skip sauce]
2015-12-24 21:26:26 -07:00
Chris Rebert
edbdf21de5
Merge pull request #18464 from twbs/btn-block-spacing-y
...
Introduce $btn-block-spacing-y variable
2015-12-23 23:44:50 -07:00
Chris Rebert
7cfdc771f8
Uncomment Firefox .progress styles; fixes #18536
...
[skip sauce]
[skip validator]
2015-12-23 23:19:44 -07:00
Chris Rebert
a96e522d6a
Organize existing .progress styles
2015-12-23 22:35:45 -07:00
Chris Rebert
76a4c303ee
Refactor Breadcrumbs component
...
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.
Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x
Introduce new variable: $breadcrumb-item-padding
[skip sauce]
2015-12-23 22:16:35 -07:00
Chris Rebert
7aabd49364
Reorganize utilities into more separate files under a /scss/utilities/
directory
...
[skip sauce]
[skip validator]
2015-12-23 21:01:17 -07:00
Chris Rebert
1e8743ec89
Merge pull request #18473 from twbs/fix-18036
...
Remove useless .col-*-offset-12 and .col-xs-offset-0 classes
2015-12-23 20:33:37 -07:00
Chris Rebert
25cecdb55a
Apply clearfix to .card-footer
...
[skip sauce]
[skip validator]
2015-12-23 17:25:37 -07:00
Chris Rebert
da533b8926
Apply clearfix to .card-header; fixes #18633
2015-12-23 17:20:23 -07:00
Chris Rebert
2e2b48da13
Apply clearfix to .card-block; fixes #18583
2015-12-23 17:18:19 -07:00
Chris Rebert
646580a919
Actually use $progress-bg instead of hardcoded color
...
Refs #18535
[skip sauce]
2015-12-21 10:57:57 -07:00
Chris Rebert
c6a276dd74
Set $progress-bg to color we are actually using
2015-12-21 10:57:57 -07:00
Chris Rebert
0917b04711
Actually use $progress-bar-color instead of hardcoded color
...
Refs #18535
2015-12-21 10:57:57 -07:00
Chris Rebert
5a18638f26
Set $progress-bar-color to color we are currently using
2015-12-21 10:57:54 -07:00
Chris Rebert
e6fdebb9c7
Merge pull request #18463 from twbs/nav-item-margin
...
Introduce $nav-item-margin variable
/fyi @mdo
2015-12-16 22:17:09 -08:00
Chris Rebert
92338da1f3
Merge pull request #18469 from twbs/card-deck-margin
...
Introduce $card-deck-margin variable
/fyi @mdo; happy to tweak the var names if desired
2015-12-16 22:16:36 -08:00
Stephanie Kendall
523c5a3d1a
switching position of custom in bootstrap.scss for better efficiency
2015-12-16 09:27:09 -06:00
Patrick H. Lauke
7cffd334aa
Merge pull request #18541 from patrickhlauke/progress-patch1
...
remove generated content value for progress
2015-12-16 10:19:04 +00:00
Chris Rebert
34fe668af2
Merge pull request #18472 from twbs/x-y-vars
...
Rename 2 navbar variables to comply with updated naming convention
2015-12-12 00:32:28 -08:00
Vicary Archangel
54fdb45fa5
Alternative fix to double border
2015-12-12 02:22:48 +08:00
Patrick H. Lauke
3cfbeda08d
remove generated content value for progress
...
as it's currently not displayed, and (in my opinion) would look fugly if
it did appear...
2015-12-11 10:57:45 +00:00
Patrick H. Lauke
97461a51a2
progress bar for IE10+/Edge (radius, use ::-ms-fill, add variant mixins, striped support)
2015-12-11 08:58:11 +00:00
sergej2705
7ad62ec9cd
Added !important to hover
...
cause hover isn't working since bg-color is !important
2015-12-10 08:51:09 +01:00
Vicary Archangel
c0f931d050
Multiple input-group-addon support
...
1. Invert `:first-child` into `:not(:last-child)` and vice versa
2. Remove double border at the left of `.form-control`
3. Shifts negative margins of `.btn` and `.btn-group` to retain
rightmost border when using at the left of `.form-control`.
2015-12-09 16:40:32 +08:00
Mark Otto
5d3144e8fb
manually bump versions because npm script wasn't working for me
2015-12-08 09:36:08 -08:00
Alexandr Kondrashov
c4c9e1959f
Fix size of validation feedback icons
2015-12-08 14:54:37 +03:00
Chris Rebert
c1c1b3885d
Remove useless .col-*-offset-12 and .col-xs-offset-0 classes
...
Fixes #18036
[skip sauce]
[skip validator]
2015-12-08 01:50:42 -08:00
Chris Rebert
1861b05b5f
Rename 2 navbar variables to comply with updated naming convention
...
$navbar-padding-horizontal => $navbar-padding-x
$navbar-padding-vertical => $navbar-padding-y
[skip sauce]
[skip validator]
2015-12-08 01:30:23 -08:00
Chris Rebert
0330d4acc2
Introduce $btn-block-spacing-y variable
...
[skip sauce]
2015-12-08 01:14:09 -08:00
Chris Rebert
6798485323
Introduce $card-deck-margin variable
...
[skip sauce]
[skip validator]
2015-12-08 01:13:37 -08:00
Chris Rebert
de9ad37c5d
Introduce $nav-item-margin variable
...
[skip sauce]
2015-12-08 01:12:57 -08:00
Chris Rebert
5871be0ce6
Refactor _utilities-spacing.scss; fixes #18129
2015-12-08 01:08:03 -08:00
Chris Rebert
8d4f5c1c12
Make SCSS Lint happy
...
[skip sauce]
[skip validator]
2015-12-08 01:06:52 -08:00
Mark Otto
35389f46df
order
2015-12-08 01:06:23 -08:00
Mark Otto
ac5be12f24
unfuck that border from rem to px
2015-12-08 00:49:31 -08:00
Mark Otto
11c287d1d7
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2015-12-08 00:16:56 -08:00
Mark Otto
60ad55b8f7
fixes #17776
2015-12-08 00:16:46 -08:00
Mark Otto
9c55815898
Merge pull request #17930 from zalog/patch-12
...
v4 - .c-select shouldn't inherit white text color
2015-12-08 00:05:52 -08:00
Chris Rebert
8b0d737a56
scss/_pagination.scss: Reassert #18257
...
[skip sauce]
2015-12-08 00:01:58 -08:00
Mark Otto
30aad997d0
tweak comment
2015-12-07 23:52:10 -08:00
Mark Otto
96dd9c57d2
Merge branch 'bassjobsen-patch-6' into v4-dev
2015-12-07 23:48:41 -08:00
Mark Otto
9e6d1c1ec6
Merge branch 'patch-6' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-6
2015-12-07 23:48:33 -08:00
Mark Otto
4dd60d8310
fix variable
2015-12-07 23:46:56 -08:00
Mark Otto
a9f53f0fc0
Merge pull request #18110 from twbs/pagination-classes
...
Refactor pagination classes to avoid tag selectors & child selectors
2015-12-07 23:41:55 -08:00
Mark Otto
9e872efb3f
rip out the .blockquote-* children classes for margin utils
2015-12-07 23:36:35 -08:00
Mark Otto
886bbe9bc0
Merge pull request #18138 from bassjobsen/patch-12
...
refactor blockqoutes to to avoid tag selectors & child selectors
2015-12-07 23:32:31 -08:00
Mark Otto
515ff1aacb
rewrite list-inline to use margin and simpler styles
2015-12-07 23:31:02 -08:00
Mark Otto
d3c87d32fa
Merge branch 'patch-11' of https://github.com/bassjobsen/bootstrap into bassjobsen-patch-11
2015-12-07 23:28:31 -08:00
Chris Rebert
e7edf10473
.page => .page-item
2015-12-07 22:37:17 -08:00
Chris Rebert
0c1df9912f
Refactor pagination code to remove unnecessary ancestor requirements in selectors
2015-12-07 22:37:17 -08:00
Chris Rebert
5f35ce2095
.page>{a,span => .page-link}
2015-12-07 22:37:17 -08:00
Chris Rebert
a878c4f0c6
.pagination>{li => .page}
2015-12-07 22:37:17 -08:00
Mark Otto
7eadfbc9b2
ignore that
2015-12-07 22:31:16 -08:00
Mark Otto
5a6a128728
fixes #18330
2015-12-07 21:57:06 -08:00
Mark Otto
e5b6922258
Merge pull request #18356 from lesleh/card-mixin
...
Card mixin
2015-12-07 21:55:26 -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
Chris Rebert
9dacdce42c
Use $input-btn-border-width for both .form-control and .btn borders; fixes #18424
...
Both widgets need to use the same border width because of input groups.
Thus:
$btn-border-width => $input-btn-border-width
$input-border-width => $input-btn-border-width
[skip sauce]
2015-12-07 20:41:51 -08:00
Alexandr Kondrashov
750d45c9e9
Add an empty line at the end of the file
2015-12-08 03:46:16 +03:00
Alexandr Kondrashov
d4e9dad3de
SVG: base64 > ASCII85 (fix merge)
2015-12-08 03:27:53 +03:00
Alexandr Kondrashov
568073feb9
SVG: base64 > ASCII85
2015-12-08 02:48:05 +03:00
Alexandr Kondrashov
5f316e6dc3
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into patch-1
2015-12-08 02:18:32 +03:00
Mark Otto
a22d2fb5a5
fixes #17433 : improve borders on .list-group-flush to remove dupe borders when appropro
2015-12-07 10:05:53 -08:00
Chris Rebert
d1a0af8b24
Tweak naming and docs of font utility classes
...
* `.font-normal` is too generic. Rename it to `.font-weight-normal` for clarity.
* Rename `.font-bold` to `.font-weight-bold` so as to parallel `.font-weight-normal`.
* In docs, gloss "weight" term in relation to fonts for the benefit of non-typographiles.
Refs #18433
[skip sauce]
2015-12-07 00:08:54 -08:00
Chris Rebert
28bbf42e26
Fix .font-italic utility class definition
...
Erratum from 26da610bd0
Refs #18001
2015-12-06 17:37:55 -08:00
Mark Otto
21b15d450d
fixes #18087 : .navbar-form is no more
2015-12-06 16:59:33 -08:00
Mark Otto
49674a8eba
fixes #18425 by using vars for 1px borders
2015-12-06 16:45:40 -08:00
Mark Otto
26da610bd0
fixes #18433 : add three new font utils
2015-12-06 16:39:55 -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
Mark Otto
239befe16b
Merge branch 'list-inline-padding' into v4-dev
2015-12-06 16:29:35 -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
vsn4ik
ad698d124a
v4 - Add default param for form-icon variables
2015-12-05 21:32:25 +03:00
XhmikosR
e94891fe24
Merge pull request #18395 from twbs/scsslint-pseudo-elems
...
SCSS Lint: explicitly enable PseudoElement check
2015-12-05 10:29:18 +02:00
Chris Rebert
e8dcb2f917
Add $list-inline-padding variable
...
[skip sauce]
[skip validator]
2015-12-04 01:56:49 -08:00
Chris Rebert
191c82dc38
Fix grammar of comment for <label> in Reboot
2015-12-04 01:46:45 -08:00
Chris Rebert
2fcb2e099f
Use $border-width for .btn-group margins that make borders overlap
...
Fixes half of #18425
[skip sauce]
[skip validator]
2015-12-04 01:42:51 -08:00
Stephanie Kendall
aaae40c069
implements a _custom.scss, resolves #17322
2015-12-01 13:44:37 -06:00
Chris Rebert
c15e9fb9ad
SCSS Lint: enable PseudoElement check
2015-12-01 02:05:37 -08:00
Chris Rebert
548834e87f
Merge pull request #18340 from twbs/responsive-pulls
...
Add responsive float classes
2015-11-29 21:47:49 -08:00
Mark Otto
23d7b7fe42
Merge pull request #18381 from twbs/file-input-width-var
...
Use $input-border-width for custom file input borders
2015-11-29 21:18:52 -08:00
Mark Otto
b7e3e92d6b
Merge pull request #18380 from twbs/card-border-var
...
Use $card-border-width for .card-inverse's header/footer border-bottom override
2015-11-29 21:18:40 -08:00
Chris Rebert
12d0f98507
Use $input-border-width for custom file input borders
...
Fixes part of #18150
[skip sauce]
[skip validator]
2015-11-29 21:13:19 -08:00
Chris Rebert
3f2943424f
Remove reference to defunct Customizer from v3
...
[ci skip]
2015-11-29 20:54:45 -08:00
Chris Rebert
0b01c360fc
Use $card-border-width for .card-inverse's header/footer border-bottom override
...
Refs #18150
[skip sauce]
[skip validator]
2015-11-29 20:48:33 -08:00
Mark Otto
543580eafe
Merge pull request #18256 from twbs/print-border-widths
...
Use $border-width in misc border print styles
2015-11-29 20:03:02 -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
Mark Otto
0fa2c7c486
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2015-11-29 19:54:20 -08:00
Mark Otto
c68019e5d0
Merge pull request #18257 from twbs/border-width-vars
...
Add more border width variables
2015-11-29 19:52:22 -08:00
Mark Otto
1f487f79d3
Merge pull request #18260 from twbs/fix-18259
...
Move viewport-dependent padding tweak into main .jumbotron block
2015-11-29 19:49:20 -08:00
Mark Otto
94d7a8f4ef
Merge pull request #18265 from twbs/fix-v4-17007
...
Bring focused input group controls to front via z-index:3
2015-11-29 19:48:54 -08:00
Mark Otto
45632894d9
Merge pull request #18317 from twbs/redundant-text-aligns-18300
...
Remove non-responsive text alignment classes
2015-11-29 19:39:48 -08:00
Mark Otto
389a284766
fixes #18295 . improve .nav-inline usefulness and document the classes as well
2015-11-29 19:38:44 -08:00
Chris Rebert
a23cf74340
_dropdown.scss: Revise comments; fixes #18363
...
[skip sauce]
2015-11-27 20:12:37 -08:00
Chris Rebert
a8dc4812a4
Add responsive float classes; fixes #13690
2015-11-26 22:13:26 -08:00
Leslie
c050d1e2e4
Update _cards.scss
2015-11-26 13:33:54 +00:00
Leslie Hoare
beb11714dd
Use the new mixin.
2015-11-26 13:26:40 +00:00
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
Bass Jobsen
54335d513c
cards mixins
2015-10-29 13:44:41 +01:00
Bass Jobsen
7b10659ec3
import cards mixins
2015-10-29 13:38:35 +01:00
Bass Jobsen
2e92360b8b
add variant mixins
2015-10-29 13:34:41 +01: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
Kevin Kirsche
fbbadaff3c
Use $enable-rounded
for .label-pill
...
Fix #18002
2015-10-22 08:05:47 -04:00
Chris Bell
be1bb9ec3e
#17895 Added $alert-border-width that defaults to $border-width
2015-10-15 15:57:15 +01:00
Catalin Zalog
fec2a1d10f
v4 - .c-select on background inherits white
...
This:
```
<div class="bg-info">
<select class="c-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
</div>
```
render this:
http://s.zalog.ro/2015-10-14-19-45-11.png
2015-10-14 19:50:03 +03:00
Marko Prelec
d5e47c57f1
Extract list-unstyled mixin; closes #17792
...
/fyi @mdo
2015-10-13 01:24:11 -07:00
Mark Otto
8cb00d6420
Merge pull request #17701 from lesleh/patch-1
...
Reset iOS rounded inputs
2015-10-13 00:34:15 -07:00
Chris Rebert
2feaf0a27c
Make $card-border-radius default to $border-radius
...
They already share the same value (`.25rem`)
Refs #17597
[skip sauce]
2015-10-12 16:32:15 -07:00
Chris Rebert
a180a3362a
Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
...
Reunites the family.
Closes #17791
2015-10-08 08:56:13 -04:00
Chris Rebert
3137eec370
Move border-radius mixin from scss/_mixins.scss to scss/mixins/_border-radius.scss
...
Reunites the family.
Closes #17791
2015-10-07 00:07:48 -07:00
Catalin Zalog
e598307a42
v4 - flexbox ie10+ compatibility
2015-10-01 22:03:05 +03:00
Marko Prelec
12c53ff609
Update _grid.scss
...
Removed empty row.
2015-10-01 14:33:10 +02:00
nextgenthemes
f7f29645a6
Rename .scsslint.yml to .scss-lint.yml
2015-09-30 00:50:45 +02:00
Chris Bell
67665241fa
Removed trailing whitespace
2015-09-29 20:55:30 +01:00
Chris Bell
49379fd5f7
Fix for Issue #17711 - Added clearfix mixin to the nav-pills class.
2015-09-29 16:13:02 +01:00
Gleb Mazovetskiy
eabed0edf8
Change grid and container sizes to px
...
Changes grid and container sizes to `px`, as the
viewport pixel size does not depend on the font size.
The actual em values were inconsistent with the docs,
while the docs were not the same as the comments:
* `sm` breakpoint was 34em (544px) not 480px.
* `lg` container max-width was 60rem (960px), less gutter than `md`.
Changed to 940px, same as Bootstrap 3.
* `xl` container max-width was 72.25rem which is 1140px not 1156px.
Changed to 1140px matching the comment but not the docs.
Addresses #17070 and #17388 .
2015-09-27 14:39:17 +01:00
Andrey
55994f3274
Add variable for card-link hover state
2015-09-26 14:57:13 +02: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
Aleksey Khudyakov
7ad9d233f2
Add variable for card background color
2015-09-23 09:40:34 +10:00
Mark Otto
918d0c7122
Merge pull request #17589 from vsn4ik/use_scss_if_not
...
v4 - Use "@if not $bool" expression
2015-09-22 15:26:28 -07:00
Catalin Zalog
c72a76e1fd
Just some spaces...
2015-09-21 01:07:48 +03:00
Mark Otto
85f08df3b0
fixes border-width issues when customizing font-size by using 1px instead of .0625rem as default -width
2015-09-15 21:11:15 -07:00
Rakhat Jabagin
73b056ae50
remove not used popover fallback variables
2015-09-14 14:37:47 +06:00
vsn4ik
d73d79a7a0
Use "@if not $bool" selector
2015-09-13 16:02:58 +03:00
Mark Otto
339130c040
fixes #17583 : only include clearfix on make-container mixin when not in flex mode
2015-09-12 12:30:57 -07:00
Alexandr Kondrashov
c9725926b2
Merge remote-tracking branch 'twbs/v4-dev' into patch-1
...
Conflicts:
scss/_custom-forms.scss
scss/_variables.scss
2015-09-11 16:43:00 +03:00
Guilherme Duarte
df040671bb
Border width variable in list group items
...
Added usage of $border-width variable in all _list-group.scss references
2015-09-10 14:16:23 +02:00
David Leuliette
61067304cd
Drop cursor pointer for button role
2015-09-09 17:14:34 +02:00
Chris Rebert
efac54c2a4
Merge pull request #17495 from vsn4ik/mv_text_hide
...
v4 - Rename file with text-hide mixin
2015-09-06 14:03:10 -07:00
Mark Otto
741f7d4b5a
Fixes #17486 : start work on responsive cards for decks, groups, and columns
2015-09-06 09:36:19 -07:00
vsn4ik
de44d2a3dd
Rename file with text-hide mixin
2015-09-06 14:40:19 +03:00
Mark Otto
584cfdd72b
Fixes #17230 : Renames .navbar-static-top to .navbar-full and adds docs for it
2015-09-05 20:58:28 -07:00
Mark Otto
c0b5f71874
remoe comment /cc @cvrebert
2015-09-05 20:54:25 -07:00
Gleb Mazovetskiy
79aebf6c1d
Merge pull request #17364 from twbs/avoid-parent-selector-suffix2
...
Remove all uses of `selector &` to support nested import
2015-09-05 10:14:59 +01:00
Mark Otto
b8c77aaf3b
float the breadcrumb items to deal with that pesky inline-block madness
2015-09-04 21:28:01 -07:00
Mark Otto
1a6aad4548
only apply border radius mixins if rounded corners are enabled; alternate fix to #17426
2015-09-03 09:04:51 -07:00
Luke Bonaccorsi
319009a72b
Added .navbar-toggleable-md class
...
In Bootstrap 3, the menu collapsed on the -sm- breakpoint, I believe the equivalent of this breakpoint in Bootstrap 4 is actually the -md- breakpoint. The navbar currently has no option to collapse at the -md- breakpoint and I'd like to add this.
2015-09-02 22:08:52 +01:00
Xavier Gallardo
750656fc9c
Add a license header to bootstrap.scss
2015-09-02 15:08:21 -04:00
David Baughman
b1fa07b1f7
Adding new line to end of file
2015-09-02 10:09:55 -07:00
Mark Otto
5fc4b35349
Merge pull request #17168 from kkirsche/patch-19
...
v4 - Rename .img-responsive class to .img-fluid
2015-09-02 00:33:26 -07:00
Andrew Smith
b424626e97
Update all usages of 'control-label' with 'form-control-label' in docs
2015-09-02 15:01:02 +10:00
Kevin Kirsche
57943ed8ee
Use the body color for dropdown menu text
...
Fix #17276
2015-09-01 21:23:43 -07: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
Kevin Kirsche
54fba7cbe5
Rename .img-responsive class to .img-fluid
...
Fix #17166
2015-09-01 21:12:28 -07:00
Mark Otto
7f18d02e56
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2015-09-01 21:12:06 -07:00
Mark Otto
29c3eddaeb
fixes #17412 : reverse display heading classes to match h1-h6 headings
2015-09-01 21:11:53 -07:00
Mark Otto
003f507de3
Merge pull request #17334 from neilhem/media-flex-align
...
Media vertical align flexbox classes
2015-09-01 21:01:45 -07:00
Mark Otto
d119800489
fix #17356
2015-09-01 21:01:12 -07:00
Mark Otto
b5c93eafb8
Merge pull request #17333 from neilhem/combine-size-mixins
...
Combine size & square mixins into one
2015-09-01 20:25:25 -07:00
Mark Otto
a748e251fd
Merge pull request #17259 from twbs/v4gc
...
v4: Conditional predefined grid classes
2015-09-01 20:16:22 -07:00
Mark Otto
c053f23fe6
Merge pull request #17362 from omeid/v4-container-mixin
...
Semantic grid: add make-container-breakpoint
2015-09-01 20:13:52 -07:00
Catalin Zalog
18395219cc
Apply !default to SCSS variables
...
Missed one variable :(
2015-09-01 11:26:01 +03:00
Chris Rebert
8ad1f8ddbe
Merge pull request #17331 from twbs/fix-17323
...
rm unused $state param from form-control-validation mixin
2015-08-29 15:55:45 -07:00
David Baughman
e481c8fff2
Merge branch 'v4-dev' into v4-media-breakpoint-between
2015-08-27 13:41:24 -07:00
O'meid
c42d0e10f4
scss: semantic grid: add make-container-breakpoint
...
Signed-off-by: O'meid <public@omeid.me>
2015-08-28 00:48:06 +10:00
Gleb Mazovetskiy
f7b27a02ce
Remove all uses of selector &
...
If we want to support namespaced import:
```scss
.twbs {
@import 'bootstrap';
}
```
We cannot use `selector &`, see sass/sass#1817 .
`fieldset[disabled] &` is not needed as we no longer support IE8.
2015-08-27 13:11:14 +01:00
XhmikosR
3e66427127
Less to Sass typos.
...
[ci skip]
2015-08-27 08:14:39 +03: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
Chris Rebert
c6e648d79b
rm responsive-invisibility mixin since it's only used once
...
inline the one remaining usage into .hidden-print's definition
rm now-empty scss/_utilities-responsive.scss file
[skip sauce]
[skip validator]
2015-08-26 15:31:36 -07:00
Chris Rebert
19e996c623
tree shaking: rm unused responsive-visibility mixin
...
[skip sauce]
[skip validator]
2015-08-26 15:06:09 -07:00
Bernardo Gurgel Filho
8ef66df6d7
Convert popover's arrows to generated CSS content via :before/:after
2015-08-26 17:20:01 -03:00
Bernardo Gurgel Filho
2ae5fdf9dd
Convert tooltip's arrows to generated CSS content via :before
2015-08-26 17:20:01 -03:00
Rakhat Jabagin
56aadd25da
add media vertical flexbox classes
2015-08-26 16:50:24 +06:00
Rakhat Jabagin
865911c35d
combine size & square mixins into one
2015-08-26 16:17:00 +06:00
Chris Rebert
5c239aae7d
rm unused $state param from form-control-validation mixin; fixes #17323
...
[skip sauce]
[skip validator]
2015-08-26 01:32:26 -07:00
David Baughman
026682bf0d
Added mixin to handle media queries that span multiple breakpoints
2015-08-25 12:53:14 -07:00
Mark Otto
5fc3b1d540
Merge pull request #17113 from JanStevens/v4-fix-retina-mixin
...
Fixes the _image mixing by prefixing the parameters with $
2015-08-25 07:45:02 -07:00
XhmikosR
9420297dc2
SCSS lint fixes.
...
[ci skip]
2015-08-25 15:38:20 +03:00
Felipe
67995d034e
PropertySortOrder
...
Properties should be ordered border-top, border-bottom
2015-08-24 16:44:55 -05:00
Kevin Kirsche
29e4dd2fba
Fix accidental triple colon from :before to ::before conversion
...
Fix #17288 — Sorry about that!
2015-08-24 15:47:04 -04:00
Kevin Kirsche
d51f0a4f81
Use double colons for psuedo elements
...
Fix #17052
2015-08-24 13:22:10 -04:00
Mark Otto
c8ab0a56c2
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2015-08-23 23:16:18 -07:00
Mark Otto
7d194a9bd3
wrap box-shadows in mixin in custom forms. fixes #17242
2015-08-23 23:13:14 -07:00
Mark Otto
19deadda95
shorter
2015-08-23 23:00:47 -07:00
Mark Otto
02069152a2
Merge pull request #17147 from kkirsche/patch-14
...
v4 - Dropup caret direction incorrect
2015-08-23 22:59:43 -07:00
Mark Otto
7633d4c603
Make predefined grid classes conditional
...
- Add explicit -grid-classes variable and set to true by default
- Wrap .row and .col generation in the boolean var
2015-08-23 22:13:58 -07:00
Catalin Zalog
793db36640
Apply !default to SCSS variables
...
!default to all variables.
2015-08-24 01:44:16 +03:00
Mark Otto
e75504366d
Merge pull request #17120 from kkirsche/patch-5
...
Add white background to cards by default
2015-08-23 14:44:53 -07:00
Kevin Kirsche
e707a45b1f
v4 - Dropup caret direction incorrect
...
Fix #17144
2015-08-23 08:12:56 -04:00
Kevin Kirsche
44acff459b
Add white background to cards
...
Fix #17117
2015-08-23 08:10:55 -04:00
Geremia Taglialatela
0376146d71
Change the default value of $font-size-sm to .875rem
2015-08-23 11:35:00 +02:00
Mark Otto
a5bfbe0fca
fix remaining scss lint errors
2015-08-23 01:12:00 -07:00
Mark Otto
6f8f4cc92c
there is no standard appearance property
2015-08-23 01:03:51 -07:00
Mark Otto
b2dccb15d7
fix majority of scss linter errors
2015-08-23 01:00:22 -07:00
Mark Otto
27e4e97840
there is no navbar default for this
2015-08-23 00:28:02 -07:00
Mark Otto
24fee99e0e
remove another margin-top: 0
2015-08-23 00:25:58 -07:00
Mark Otto
683472d6e2
remove a margin-top: 0 reset since we nuke headings' top margins now in reboot
2015-08-23 00:24:59 -07:00
Mark Otto
27f97e328b
shorter clearfix
2015-08-23 00:18:28 -07:00
Mark Otto
54a5fbe0c1
fix #17149 : correct syntax in list-group variant mixin; nullifies #17154
2015-08-22 21:46:46 -07:00
Mark Otto
2638b10d28
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
2015-08-22 19:06:03 -07:00
Mark Otto
1f153b640d
re-fix #16154 in v4-dev /cc #17101
2015-08-22 19:05:43 -07:00
Mark Otto
990d646bcd
fix shadows on btns to use mixin
2015-08-22 19:01:11 -07:00
Mark Otto
5bb03b794d
Merge pull request #17220 from cornedor/fix-17066
...
Removed mixin from focus outline box-shadow fixes #17066
2015-08-22 18:59:16 -07:00
Mark Otto
1e7c42d2c0
fixes #17035
2015-08-22 18:36:43 -07:00
Alexandr Kondrashov
353e0a49a9
compress SVGs
...
Well compressed, but I'm sure it is possible to compress more
2015-08-22 03:50:31 +03:00
Alexandr Kondrashov
a60f8a6d79
replace PNG to SVG and compress SVGs
...
before: https://pp.vk.me/c624325/v624325775/44408/FabMA25FDDs.jpg
before(image-rendering: pixelated): https://pp.vk.me/c624325/v624325775/44416/Dzb6tO4Mmys.jpg
after: https://pp.vk.me/c624325/v624325775/4440f/imd6KcYBgGI.jpg
2015-08-22 03:47:26 +03:00
Corné Dorrestijn
c49503165a
Added comment explaining why there is no mixin here
2015-08-22 01:04:16 +02:00
Corné Dorrestijn
ac3fbdad36
Removed mixin from focus ouline box-shadow fixes #17066
2015-08-21 22:21:20 +02:00
Mark Otto
ba6cf4839b
Merge pull request #17069 from kkirsche/patch-9
...
Card variables should be in _variables.scss
2015-08-20 22:02:35 -07:00
Kevin Kirsche
477790c672
Use border-radius mixing in form-control-sm and form-control-lg
...
Fix #17160
2015-08-20 15:53:41 -04:00
Kevin Kirsche
b093f010df
v4: Dropdown caret is not horizontally alligned
...
Fix #17135
2015-08-20 11:29:23 -04:00
Jan Stevens
b7b8f98c86
Fixes the _image mixing by prefixing the parameters with $
2015-08-20 11:35:00 +02:00
Gleb Mazovetskiy
f88cbe7ee4
Fix -flex compile on Sass Ruby #17046
2015-08-20 08:38:02 +01:00
Heinrich Fenkart
136461b5b6
Merge pull request #17064 from paulirish/patch-1
...
reboot.scss typo (shttp --> http)
2015-08-20 01:06:41 +02:00
Paul Irish
291910402b
reboot.scss: typo
2015-08-19 16:02:57 -07:00
Sid Roberts
6cc6f201af
Fixed a typo (disaabled).
2015-08-19 23:09:17 +01:00
Kevin Kirsche
9e8bd818b2
Card variables should be in _variables.scss
...
Fixes #17061
2015-08-19 17:35:34 -04:00
Paul Irish
604dba1803
reboot.scss typo
2015-08-19 14:16:09 -07:00
Chris Bell
333be22824
Update _variables.scss
...
Fixed spelling mistake. Changed table of "ontents" to "Contents".
2015-08-19 22:06:39 +01:00
Mark Otto
9ccf308fd1
remove commented out nav styles
2015-08-18 20:28:41 -07:00
Mark Otto
c8306d2f70
rewrite active and disabled styles for navs
2015-08-18 20:25:31 -07:00
Mark Otto
58d1297fcb
overhaul custom selects with latest from primer, shoutout
2015-08-18 19:26:18 -07:00
Mark Otto
b96f2b4c5b
tweak navbar nav spacing
2015-08-18 01:06:14 -07:00
Mark Otto
47d334b28f
shoutout navbar-divider
2015-08-18 00:59:44 -07:00
Mark Otto
d6b6a20a0d
rewrite navbar once more for lower key styles and a new take on modifiers for improved customization
2015-08-18 00:46:29 -07:00
Mark Otto
d073a3beaa
rename .inverse to .bg-inverse, add .bg-faded
2015-08-18 00:45:32 -07:00
Mark Otto
f1e10c37fd
rewrite navbar bits some more
2015-08-17 23:43:59 -07:00
Mark Otto
82615e9919
no bg-color to start on outline buttons so they're easier to use on light and dark color schemes
2015-08-17 23:43:25 -07:00
Mark Otto
dcc92778d5
really temporarily disable those heights
2015-08-17 23:42:58 -07:00
Mark Otto
609c1ac2ff
tighten up padding on inputs and buttons, disable fixed heights for now
2015-08-17 23:42:39 -07:00
Mark Otto
f0a8e56f80
tweak heading sizes
2015-08-17 21:13:52 -07:00
Mark Otto
c3373df95f
clean out comments that aren't all that helpful
2015-08-17 18:33:34 -07:00
Mark Otto
29b4031db5
allow <button> elements as .dropdown-item's
2015-08-17 18:18:37 -07:00
Mark Otto
1d222a596e
un-nest .dropdown-divider
2015-08-17 11:21:10 -07:00
Mark Otto
e558f490dd
Rewrite dropdowns
...
- Remove nested > selectors for dropdown items
- Update docs examples to use all the new markup
2015-08-17 11:19:14 -07:00
Mark Otto
c064eef67b
Massive cleanup
...
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
43e1678bf3
update utils, use important
2015-08-14 00:36:26 -07:00
Mark Otto
6a75d07e0c
Use -* vars for .bg-* and .text-* utilities
...
- Simplifies variables usage
- Makes components and brand variable usage more consistent (dark bg and white text throughout instead of some mixed light and dark bgs)
- Very likely means lower contrast and thus no more AA compliance (we'll want to fix that eventually obviously)
2015-08-13 23:47:47 -07:00
Mark Otto
1da01e68ba
variables cleanup
...
- new vars for .lead size and weight (previously had none)
- new var for default margin-bottom on h1-h6 elements (previously had none)
- rearranged vars to combine two typography sections into one in variables.scss
- reassigned border-width var to hr-border-width
- made hr-border more specific as hr-border-color
2015-08-13 23:18:32 -07:00
Mark Otto
d734653c3d
use conditional mixin for transitions on buttons
2015-08-13 23:13:54 -07:00
Mark Otto
27fbc77ecb
add note about variable structure
2015-08-13 23:13:38 -07:00
Mark Otto
9b1ee31567
nuke the shared padding vars and assign to individual components
...
- no real need for everything to be 100% shared
- padding looked and felt too large for inputs but not for buttons
- tying forms and buttons seems fine, but throwing in pagination feels wrong
2015-08-13 23:04:16 -07:00
Mark Otto
879114a808
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2015-08-12 22:56:56 -07:00
Mark Otto
6af9412674
move form validation icon vars to variables file
2015-08-12 22:39:46 -07:00
Thomas McDonald
d8acb36777
fix breadcrumbs libsass content
2015-08-12 22:14:58 -07:00
Mark Otto
faacbdb49f
Remove .help-block entirely
...
- Fixes #13267 somewhat.
- Instead of a single, block-level class, let's use a combination of existing elements and classes.
- For block-level help text, use p.text-muted.
- For inline-level help text, use span.text-muted or small.text-muted.
2015-08-12 22:14:31 -07:00
Mark Otto
5e928c7c2b
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2015-08-12 21:16:56 -07:00
Mark Otto
699f307112
fix fat's broke js... jk it was my shitty css
2015-08-12 21:14:59 -07:00
Thomas McDonald
1d631e6ca3
remove .badge class from buttons
2015-08-12 21:07:41 -07:00
Mark Otto
b1a74195c8
simpler type, docs callout for reproducing the v3 style headings and small text
2015-08-12 20:45:21 -07:00
Mark Otto
314161cb17
remove hella vars from the jumbotron
2015-08-12 20:28:46 -07:00
Mark Otto
786b1682a5
small vars change
2015-08-12 18:22:02 -07:00
Mark Otto
a90f6c7093
reorder variables, rename -color to -color
2015-08-10 23:38:41 -07:00
Mark Otto
67765587d9
no more use for that
2015-08-10 23:30:13 -07:00
Mark Otto
8c173cd4f8
remove unused badge vars
2015-08-10 23:29:54 -07:00
Mark Otto
c871e4c130
clarify comment
2015-08-10 23:29:36 -07:00
Mark Otto
8e0324362e
remove unused variable
2015-08-10 23:29:04 -07:00
Mark Otto
d7f4985639
addresses #14217 , add responsive text alignment classes
2015-08-10 22:47:08 -07:00
Mark Otto
121615ceba
dropdown fixes and dropdown docs tweaks
2015-08-10 16:31:28 -07:00
Mark Otto
743717fbce
really fix those outline buttons
2015-08-09 23:45:36 -07:00
Mark Otto
eaeee93fa3
docs rearrange
2015-08-09 23:38:16 -07:00
Mark Otto
e7b1123310
update button borders to match bgs for easier outline button styling
2015-08-09 22:49:21 -07:00
Mark Otto
68e4d897ba
shoutout to outline buttons
2015-08-09 22:48:48 -07:00
Mark Otto
08d6dc5b71
add basic figure support
2015-08-09 21:42:47 -07:00
Mark Otto
7a50a2cbe8
introduce display heading classes
2015-08-09 21:17:27 -07:00
Mark Otto
7c3f5b6d59
rewrite some forms docs, use new validation styles and icons
2015-08-08 14:15:09 -07:00
Mark Otto
cdb06e544c
fix list group button variation by including text-align inherit and a width 100%
2015-08-05 23:49:39 -07:00
Mark Otto
f534cabc7e
wider horizontal padding
2015-08-05 23:14:41 -07:00
Mark Otto
97bcfb9e7f
rip badges
2015-08-05 00:48:42 -07:00
Mark Otto
9330c4a947
Run just as fast as I can
...
To the middle of nowhere
To the middle of my frustrated fears
And I swear you're just like a pill
Instead of makin' me better,
You keep makin' me ill
You keep makin' me ill
adds .label-pill to replace .badge
2015-08-05 00:45:41 -07:00
Mark Otto
d80f26fe49
unaffix sidebar and simplify styles of docs side nav to be more like v3
2015-08-05 00:38:36 -07:00
Mark Otto
0156fc1c9d
mathematical!
2015-08-05 00:16:00 -07:00
Mark Otto
1ddc3f5e21
Merge branch 'master' into v4m
2015-08-04 22:29:45 -07:00
Mark Otto
b451104bcd
use mixin on input transition
2015-07-03 18:35:53 -07:00
Mark Otto
4665b9dd6f
Add new variable for -box-shadow
2015-07-03 18:35:46 -07:00
Mark Otto
932ac79611
remove -darker
2015-07-03 18:33:31 -07:00
Mark Otto
18da568b8b
rewrite some navbar stuff, clean out some commented out code
2015-06-22 23:24:55 -07:00
Mark Otto
ed42fc9b76
line-height-base to line-height var
2015-06-22 23:24:32 -07:00
Mark Otto
03a5ff6b82
remove commented out var
2015-06-22 22:52:14 -07:00
Mark Otto
057f82f8c3
indentation
2015-06-22 22:52:09 -07:00
Mark Otto
acca337ced
Remove var
2015-06-22 19:02:30 -07:00
Mark Otto
75cf69a1ab
drop more -base, clean up var spacing
2015-06-22 18:57:56 -07:00
Mark Otto
0ca9b21c34
drop the base (hahaha), no but seriously drop the -base from our vars since it's cleaner
2015-06-22 18:53:04 -07:00
Mark Otto
d703396bce
comment
2015-06-22 17:37:52 -07:00
Mark Otto
4565281df3
rename -horizontal and -vertical vars to -x and -y for consistency
2015-06-22 16:33:17 -07:00
Mark Otto
ce9c0f0125
tweak small forms, small inputs; trying to equalize their rendered dimensions
2015-06-22 16:30:31 -07:00
Mark Otto
bc29c016b7
Merge branch 'v4' into v4_builds
2015-06-19 16:26:33 -07:00
Mark Otto
eaa67a82d3
fix scss linting
2015-06-19 00:14:36 -07:00
Mark Otto
930ed8df32
nuke unused .csslintrc
2015-06-19 00:05:40 -07:00
Mark Otto
e4d72c914d
fix vars, grunt that shit
2015-06-19 00:01:57 -07:00
Mark Otto
ecc7d9ba26
fix placement of mixin
2015-06-19 00:00:21 -07:00
Mark Otto
169d2a4a78
Merge branch 'master' into v4
2015-06-18 23:56:43 -07:00
Mark Otto
df2ca92d77
Use percentages in responsive embed modifiers
...
- Credit: @adammacias
- Originally proposed in #16499 with previous commit
2015-06-18 16:03:48 -07:00
Mark Otto
331b8d2250
Add 21x9 responsive embed modifier
...
- Credit: @adammacias
- Fixes #16499
2015-06-18 16:01:52 -07:00
Mark Otto
8410afe0e1
Create new stylesheets for optional builds and add them to Gruntfile tasks
2015-06-18 10:19:50 -07:00
Mark Otto
840938f09d
tweak code styles
2015-06-09 16:28:17 -07:00
Mark Otto
9863eb75d2
move spacing utils to separate file, document them a bit
2015-06-01 01:19:02 -07:00
Mark Otto
97a6275e54
add updated scss lint yml file
2015-05-31 20:17:57 -07:00
Mark Otto
7783ef8fab
remove utils from media alignment
2015-05-29 16:05:42 -07:00
Mark Otto
933639729f
enforce line-height on badges at all times
2015-05-29 14:05:02 -07:00
Mark Otto
8e6df4325e
cards update
2015-05-29 13:09:54 -07:00
Mark Otto
587f5f8efd
clean up card styles. add new vars
2015-05-29 01:59:54 -07:00
Mark Otto
74d17ab7a0
rewrite much of cards and the docs
2015-05-28 14:07:34 -07:00
Mark Otto
e07cebc90e
add flexbox variation for .card-group
2015-05-28 10:37:12 -07:00
Mark Otto
6e3d4331db
new card sizing maybe
2015-05-27 19:00:11 -07:00
Mark Otto
4bc58b9a5a
when using flexbox, don't add a clearfix
...
doing so fubars the grid column rounding (in safari at least) and causes layout problems
2015-05-27 17:37:22 -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
ddafee6ece
disable flex to start
2015-05-22 22:33:45 -07:00
Chris Rebert
82c9038f20
Unquote to avoid NUL chars in the output CSS
2015-05-15 12:17:13 -07:00
Chris Rebert
62da5947a8
Permanent proper fix for dist-css
...
Bump mq4-hover-shim to ^0.2.0
Revert "fix dist css"
This reverts commit b12d4bfa9a
.
2015-05-15 12:12:29 -07:00
fat
b12d4bfa9a
fix dist css
2015-05-14 13:13:33 -07:00
fat
dbaffd43c0
Merge pull request #116 from twbs/fat-es6Alert
...
es6 - wip
2015-05-13 15:01:39 -07:00
fat
a58febf71a
popover passing as well
2015-05-12 14:35:00 -07:00
fat
3452e8dc83
rewritten tooltip + tether integration and death to our positioner jank
2015-05-11 23:32:37 -07:00
Chris Rebert
ee33891e42
Merge pull request #60 from twbs/libsass-185
...
Remove libsass @media nesting bug workaround
2015-05-06 13:29:02 -07:00
Mark Otto
d31ec33908
Fix no-label checkboxes/radios
...
Because we use `position: absolute` on our inputs, when there’s no
label the `.checkbox` ends up having no computed height. To avoid
rendering errors when there’s no label text, we reset the `position` to
`static` for normal rendering.
2015-04-29 12:01:57 -07:00
Mark Otto
ed89be1f44
Remove $line-height-computed
...
We have it set to `1` right now just to avoid compilation errors, but
it’s been replaced everywhere with our new spacer classes anywho. We’ll
likely want to remap that var to custom component vars though (e.g.,
`$pagination-margin` instead of `$spacer-y`).
2015-04-29 12:00:11 -07:00
Mark Otto
7db7e59682
spacing
2015-04-29 11:49:41 -07:00
Mark Otto
b849be2edc
rename media query var to match /cc @cvrebert
2015-04-29 11:49:25 -07:00
Mark Otto
95771f9658
clean up vars file a smidge
2015-04-29 11:48:58 -07:00
Mark Otto
47dfdc2880
darker secondary button border color
2015-04-29 11:42:38 -07:00
Mark Otto
a399d19dd3
add comments
2015-04-29 11:32:49 -07:00
Mark Otto
35f45bafed
Merge pull request #113 from twbs/at-root-group
...
Wrap `@viewport` with `@at-root` for nested import support
2015-04-29 11:30:09 -07:00
Mark Otto
d9d351e2fe
more flex grid stuff
2015-04-27 14:11:07 -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
Mark Otto
15692d5e5b
flex variation for media
2015-04-27 01:50:38 -07:00
Mark Otto
391b62f968
stub out flexbox variation for input group
2015-04-27 01:43:30 -07:00
Mark Otto
9d4d6ef3a2
stub out flexbox grid variation via -flex
2015-04-27 01:43:14 -07:00
Mark Otto
28d8849216
remove some un-used grid class resets in input groups
2015-04-26 00:18:13 -07:00
Mark Otto
efd28a5e78
unnecessary comment
2015-04-26 00:14:27 -07:00
Mark Otto
219c4cbf87
remove another extend
2015-04-26 00:08:40 -07:00
Mark Otto
6489e19530
remove more old navbar styles
2015-04-26 00:07:37 -07:00
Mark Otto
b688fe822c
remove the old navbar-form class
2015-04-26 00:06:45 -07:00
Mark Otto
7853a675f6
remove extends: navs and unstyled lists
2015-04-26 00:02:25 -07:00
Chris Rebert
78c18954a8
_reboot.scss: fix typo in comment
2015-04-23 16:27:03 -07:00
Mark Otto
1770df724e
update input groups to use new form control size classes
2015-04-23 01:14:43 -07:00
Mark Otto
cc7c27dd71
drop .form-horizontal
2015-04-23 01:11:10 -07:00
Mark Otto
2cf5213c15
remove commented out code
2015-04-23 01:10:57 -07:00
Mark Otto
490294e68b
Fix up some form docs styles, sizing, etc
2015-04-23 01:10:14 -07:00
Mark Otto
dc3abb5f12
Update labels and form grid examples
2015-04-23 00:51:39 -07:00
Mark Otto
209cdf33f9
update navbar and nav link values
2015-04-18 18:15:24 -07:00
Mark Otto
8f94078da8
New form control sizing, new navbar condensed variation, update nav and navbar spacing
2015-04-18 18:12:10 -07:00
Mark Otto
250c2200bf
no more dl-horizontal offset or page-header vars
2015-04-18 11:53:10 -07:00
Mark Otto
35be16cffa
remove legend vars as we no longer use them
2015-04-18 11:39:13 -07:00
Mark Otto
ac1ed746ef
more comments and formatting clean up
2015-04-18 11:38:47 -07:00
Mark Otto
2237572e8b
clean up commented out code in forms
2015-04-18 11:30:29 -07:00
Mark Otto
09886480e0
remove commented out code for auto aligning navbar dropdown menus
2015-04-18 11:17:42 -07:00
Mark Otto
ddf4867a5e
comments and spacing
2015-04-18 11:17:32 -07:00
Mark Otto
49f874468b
comments and spacing
2015-04-18 11:17:28 -07:00
Mark Otto
b88c05d564
clean up comments and spacing
2015-04-18 11:15:40 -07:00
Mark Otto
88a92e433d
move abbr stuff for tooltip to reboot, clean up type scss
2015-04-18 11:13:45 -07:00
Mark Otto
bf085b1a02
delete the .page-header and its docs
2015-04-17 20:00:38 -07:00
Mark Otto
611a127a1e
change the type scale a bit again
2015-04-17 16:49:48 -07:00
Mark Otto
bf5931b5ee
massive rewrite of forms docs and some css
2015-04-17 16:02:41 -07:00
Mark Otto
7c1635cdb8
narrower borders to get closer to 1px everywhere
2015-04-17 00:44:36 -07:00
Mark Otto
7049a07444
More reboot work, commenting out things that have been moved over
2015-04-17 00:22:35 -07:00
Mark Otto
af9ab7b1a7
tweak the font-sizes for headings
2015-04-17 00:21:57 -07:00
Mark Otto
0ab1576ae2
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2015-04-16 18:54:17 -07:00
Mark Otto
605990400e
collapsing navbar tools
2015-04-16 18:50:32 -07:00
Mark Otto
06c2862d25
start stubbing out a new reboot section and file
2015-04-16 18:39:45 -07:00
Mark Otto
7001dece8a
edit comments a bit
2015-04-16 17:15:29 -07:00
Mark Otto
585f857e71
rename scaffolding to reboot
2015-04-16 17:12:19 -07:00
Mark Otto
36e4cd0287
Move .img- classes to new _images.scss; move hr to _type.scss
2015-04-16 17:10:47 -07:00
Mark Otto
cd3bc6a089
Merge pull request #101 from twbs/institutional-memory
...
Revert "Images are responsive by default"
2015-04-16 17:03:58 -07:00
Mark Otto
236a86502e
fix spacer vars
2015-04-15 15:30:26 -07:00
Mark Otto
038d6f8061
more utilities
2015-04-14 01:01:30 -07:00
Mark Otto
8303b7b8c9
nuke shadows for now
2015-04-14 01:01:15 -07:00
Mark Otto
53a3ff74ca
redo sidenav
2015-04-13 19:00:59 -07:00
Mark Otto
982c255c28
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2015-04-13 16:45:19 -07:00
Mark Otto
4fdd63a516
remove pre styles -- see #4547
2015-04-13 16:36:36 -07:00
Chris Rebert
2057124cf2
Merge pull request #105 from twbs/beautiful-colors
...
Print with all the colors of the wind
2015-04-13 10:34:30 -07:00
Chris Rebert
b9164b3690
Remove half-assed inclusion of link URLs (hrefs) when printing
...
* Relative URLs were output as-is, which is suboptimal or even confusing for end-users
* Ditto for fragment identifiers
* Outputting long URLs inline with prose isn't good UX
JavaScript could potentially help with this (e.g. http://alistapart.com/article/improvingprint ).
However, we're not currently interested in trying to tackle the hard problem of fancy print stylesheets/views
(particularly given the level of cross-browser inconsistency when it comes to printing).
So let's just keep things simple, vanilla, and unsurprising,
which should also make it easy for others to add their own print fanciness on top of Bootstrap.
2015-04-11 00:24:27 -07:00
Chris Rebert
d8423c0590
Print with all the colors of the wind
...
Forcing black-and-white text & backgrounds is too harsh. Printing speed isn't everything.
Users or authors can easily enable grayscale themselves if need be.
2015-04-11 00:22:45 -07:00
Mark Otto
309264509d
Remove grid sizing styles on tables
2015-03-30 18:11:43 -07:00
Mark Otto
6749e5509c
rewrite table modifiers to use .table- prefix
2015-03-30 18:08:01 -07:00
Mark Otto
608be81a43
Fixes #13583 : Move .sr-only and .sr-only-focusable to mixins, then use them to create classes in _utilities.scss
2015-03-30 17:36:00 -07:00
Mark Otto
ef0b88f6b3
fix order
2015-03-29 00:13:30 -07:00
Mark Otto
2f7bfb44c2
fixes
2015-03-29 00:12:19 -07:00
Mark Otto
58082cd83e
Merge branch 'master' into v4
...
Conflicts:
.gitignore
Gruntfile.js
_config.yml
dist/css/bootstrap-theme.css
dist/css/bootstrap-theme.min.css
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/js/bootstrap.js
dist/js/bootstrap.min.js
docs/_includes/components/navbar.html
docs/_includes/components/progress-bars.html
docs/_includes/css/grid.html
docs/_includes/css/overview.html
docs/_includes/customizer-variables.html
docs/_includes/getting-started/accessibility.html
docs/_includes/getting-started/browser-device-support.html
docs/_includes/getting-started/community.html
docs/_includes/getting-started/disabling-responsiveness.html
docs/_includes/getting-started/download.html
docs/_includes/getting-started/examples.html
docs/_includes/getting-started/license.html
docs/_includes/getting-started/third-party-support.html
docs/_includes/js/alerts.html
docs/_includes/js/buttons.html
docs/_includes/js/carousel.html
docs/_includes/js/collapse.html
docs/_includes/js/dropdowns.html
docs/_includes/js/modal.html
docs/_includes/js/popovers.html
docs/_includes/js/scrollspy.html
docs/_includes/js/tabs.html
docs/_includes/js/tooltips.html
docs/_includes/js/transitions.html
docs/_includes/nav/javascript.html
docs/_includes/nav/main.html
docs/about.html
docs/assets/css/docs.min.css
docs/assets/css/src/docs.css
docs/assets/js/customize.min.js
docs/assets/js/raw-files.min.js
docs/assets/js/src/customizer.js
docs/dist/css/bootstrap-theme.css
docs/dist/css/bootstrap-theme.min.css
docs/dist/css/bootstrap.css
docs/dist/css/bootstrap.css.map
docs/dist/css/bootstrap.min.css
docs/dist/js/bootstrap.js
docs/dist/js/bootstrap.min.js
docs/migration.html
js/affix.js
js/alert.js
js/button.js
js/carousel.js
js/collapse.js
js/dropdown.js
js/modal.js
js/popover.js
js/scrollspy.js
js/tab.js
js/tests/unit/affix.js
js/tests/unit/button.js
js/tests/unit/carousel.js
js/tests/unit/modal.js
js/tests/unit/tooltip.js
js/tests/visual/modal.html
js/tooltip.js
less/component-animations.less
less/jumbotron.less
less/mixins/background-variant.less
less/mixins/buttons.less
less/mixins/responsive-visibility.less
less/mixins/text-emphasis.less
less/navbar.less
less/navs.less
less/scaffolding.less
less/tooltip.less
less/utilities.less
less/variables.less
package.json
scss/_buttons.scss
scss/_forms.scss
scss/_modal.scss
2015-03-29 00:08:54 -07:00
Chris Rebert
763d77e210
Revert "Images are responsive by default"
...
This reverts commit d29f851e82
.
Making <img>s responsive by-default without opt-in can severely break
third-party widgets such as Google Maps.
This was an acknowledged problem in Bootstrap v2
(see https://github.com/twbs/bootstrap/issues/1506 ) and was fixed in v3
by requiring the .img-responsive class for explicit opt-in
(see 09cdee2f03
).
The situation hasn't really changed since then. The responsive-by-default
approach hasn't become any more suitable in the intervening time.
So let's avoid having this regress in v4. :-)
2015-03-28 04:06:22 -07:00
Mark Otto
d29f851e82
Images are responsive by default
2015-03-11 19:19:03 +00:00
Mark Otto
454cc55e31
remove justified button groups
2015-03-09 14:32:30 +00:00
Mark Otto
7dcd9c5d63
remove all customizer comments from variables file
2015-03-09 14:18:25 +00:00
Mark Otto
517977fca4
fix validation, run grunt dist
2015-03-01 14:11:22 -08:00
Mark Otto
c16fee5efd
Merge branch 'master' into v4
...
Conflicts:
.travis.yml
Gruntfile.js
bower.json
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/js/bootstrap.js
dist/js/bootstrap.min.js
docs/_data/glyphicons.yml
docs/_includes/components/breadcrumbs.html
docs/_includes/components/button-dropdowns.html
docs/_includes/components/button-groups.html
docs/_includes/components/dropdowns.html
docs/_includes/components/glyphicons.html
docs/_includes/components/labels.html
docs/_includes/components/list-group.html
docs/_includes/components/media.html
docs/_includes/components/navs.html
docs/_includes/components/panels.html
docs/_includes/components/progress-bars.html
docs/_includes/components/thumbnails.html
docs/_includes/components/wells.html
docs/_includes/css/buttons.html
docs/_includes/css/forms.html
docs/_includes/css/helpers.html
docs/_includes/css/images.html
docs/_includes/css/less.html
docs/_includes/customizer-variables.html
docs/_includes/getting-started/accessibility.html
docs/_includes/getting-started/browser-device-support.html
docs/_includes/getting-started/community.html
docs/_includes/getting-started/examples.html
docs/_includes/getting-started/grunt.html
docs/_includes/getting-started/license.html
docs/_includes/getting-started/template.html
docs/_includes/header.html
docs/_includes/js/affix.html
docs/_includes/js/alerts.html
docs/_includes/js/carousel.html
docs/_includes/js/collapse.html
docs/_includes/js/dropdowns.html
docs/_includes/js/modal.html
docs/_includes/js/overview.html
docs/_includes/js/popovers.html
docs/_includes/js/scrollspy.html
docs/_includes/js/tabs.html
docs/_includes/js/tooltips.html
docs/_includes/js/transitions.html
docs/_includes/nav/javascript.html
docs/_layouts/default.html
docs/assets/css/docs.min.css
docs/assets/css/src/docs.css
docs/assets/js/customize.min.js
docs/assets/js/docs.min.js
docs/assets/js/raw-files.min.js
docs/assets/js/vendor/FileSaver.js
docs/assets/js/vendor/autoprefixer.js
docs/assets/js/vendor/uglify.min.js
docs/dist/css/bootstrap.css
docs/dist/css/bootstrap.css.map
docs/dist/css/bootstrap.min.css
docs/dist/js/bootstrap.min.js
docs/examples/blog/index.html
docs/examples/carousel/index.html
docs/examples/cover/index.html
docs/examples/dashboard/index.html
docs/examples/narrow-jumbotron/narrow-jumbotron.css
docs/examples/navbar-fixed-top/index.html
docs/examples/navbar-static-top/index.html
docs/examples/non-responsive/index.html
docs/examples/non-responsive/non-responsive.css
docs/examples/theme/index.html
grunt/configBridge.json
js/affix.js
js/carousel.js
js/collapse.js
js/dropdown.js
js/modal.js
js/popover.js
js/scrollspy.js
js/tab.js
js/tests/unit/affix.js
js/tests/unit/button.js
js/tests/unit/carousel.js
js/tests/unit/modal.js
js/tests/unit/tooltip.js
js/tooltip.js
less/badges.less
less/glyphicons.less
less/type.less
less/variables.less
package.json
scss/_dropdown.scss
scss/_forms.scss
test-infra/npm-shrinkwrap.json
2015-03-01 13:44:10 -08:00
Chris Rebert
f265fed3eb
account for mq4-hover-shim's renaming & org move
2015-02-04 21:15:01 -08:00
Chris Rebert
fd13e33aa4
add $use-hover-media-query to control @media (hover:hover) usage
2015-01-22 11:39:57 -08:00
Chris Rebert
8e374bd010
put all :hover styles within @media (hover: hover)
2015-01-22 11:37:37 -08:00
Mark Otto
c0f4dcd38e
Merge pull request #65 from twbs/precision
...
Use expressions for thirds to avoid precision issues
2015-01-21 18:34:19 -08:00
Chris Rebert
f6ef89d6c3
Use expressions for thirds to avoid precision issues
2015-01-21 15:11:25 -08:00
Chris Rebert
a1126ef655
Reorg @viewport now that we don't need to worry about non-responsive layouts
2015-01-21 13:05:14 -08:00
Chris Rebert
8ecdda0b35
Merge pull request #52 from twbs/normalize-figure
...
Let Normalize.css normalize <figure>'s margin
2015-01-19 16:58:01 -08:00
Mark Otto
6ba05d95d5
properly reset button.close styles
2015-01-19 16:11:39 -08:00
Mark Otto
dfdb99c989
fix broken breadcrumb divider
2015-01-19 16:08:48 -08:00
Mark Otto
3fe96e8f50
fix border color on inverse tables
2015-01-19 15:52:40 -08:00
Mark Otto
7440c38469
fix invalid css
2015-01-19 14:50:41 -08:00
Mark Otto
325748ff68
Merge branch 'master' into v4
...
Conflicts:
_config.yml
dist/css/bootstrap-theme.css
dist/css/bootstrap-theme.css.map
dist/css/bootstrap-theme.min.css
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/js/bootstrap.min.js
docs/_includes/components/thumbnails.html
docs/_includes/css/forms.html
docs/_includes/css/grid.html
docs/_includes/customizer-variables.html
docs/_includes/footer.html
docs/_includes/getting-started/download.html
docs/_includes/getting-started/template.html
docs/_includes/js/overview.html
docs/_includes/js/popovers.html
docs/_includes/js/tooltips.html
docs/assets/css/docs.min.css
docs/assets/js/customize.min.js
docs/assets/js/raw-files.min.js
docs/assets/js/src/customizer.js
docs/dist/css/bootstrap-theme.css
docs/dist/css/bootstrap-theme.css.map
docs/dist/css/bootstrap-theme.min.css
docs/dist/css/bootstrap.css
docs/dist/css/bootstrap.css.map
docs/dist/css/bootstrap.min.css
docs/dist/js/bootstrap.js
docs/dist/js/bootstrap.min.js
docs/examples/navbar-fixed-top/index.html
docs/examples/navbar-static-top/index.html
docs/examples/non-responsive/index.html
docs/examples/theme/index.html
grunt/configBridge.json
less/alerts.less
less/badges.less
less/jumbotron.less
less/panels.less
less/tables.less
less/theme.less
less/variables.less
package.json
scss/_button-group.scss
scss/_buttons.scss
scss/_forms.scss
2015-01-19 14:48:12 -08:00
Chris Rebert
1e5ce1e1a9
Temporarily revert "Rename scss/bootstrap.scss -> scss/_bootstrap.scss"
...
This reverts commit 2916ac43ed
.
This reverts commit 3d635f3079
.
This reverts commit 61a2120557
.
This change broke the Grunt build.
2015-01-18 15:00:58 -08:00
Gleb Mazovetskiy
2916ac43ed
Rename scss/bootstrap.scss -> scss/_bootstrap.scss
...
This is required for Compass compatibility. See
https://github.com/twbs/bootstrap-sass/issues/694
Also updates bower.json and package.json references to the main Sass
file.
2015-01-15 21:20:40 +00:00
Chris Rebert
807a837afe
Remove libsass @media nesting bug workaround
...
https://github.com/sass/libsass/issues/185 has been fixed.
Refs #48
2015-01-08 21:41:33 +00:00
Gleb Mazovetskiy
720d02c5e5
Revert "Remove libsass @media nesting bug workaround"
...
This reverts commit d6a5ebf438
.
There has not been a release of libsass with this fix yet, sorry!
2015-01-08 21:38:12 +00:00
Chris Rebert
d6a5ebf438
Remove libsass @media nesting bug workaround
...
https://github.com/sass/libsass/issues/185 has been fixed.
Refs #48
2015-01-07 19:17:45 -08:00
Chris Rebert
11a574ce9e
Overhaul responsive visibility classes
...
Thanks to @glebm for help refactoring this to use the breakpoint mixins.
2015-01-06 17:47:13 -08:00
Chris Rebert
cbb3b1ff9a
Kill scss/mixins/_media-queries.scss
...
replaced media-xs => media-breakpoint-down(xs)
replaced media-sm => media-breakpoint-up(sm)
replaced media-sm-max => media-breakpoint-only(sm)
replaced media-md => media-breakpoint-up(md)
replaced media-md-max => media-breakpoint-only(md)
replaced media-lg => media-breakpoint-up(lg)
2015-01-06 17:47:13 -08:00
Chris Rebert
746e09f8ae
rename media-breakpoint-{min,max} => media-breakpoint-{up,down}
2015-01-06 17:47:13 -08:00
Chris Rebert
ef453fa6ce
Use improved box sizing reset
...
Based on http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
This allows us to significantly simplify the relevant part of the docs.
2015-01-05 15:20:46 -08:00
Chris Rebert
00e6fae8fb
Remove affix from docs & CSS; add migration guidance
2015-01-05 11:36:51 -08:00
Mark Otto
615eb99067
fix broke shit, recompile
2015-01-03 20:16:46 -08:00
Mark Otto
0e5d17d5f6
Merge branch 'master' into v4
...
Conflicts:
Gruntfile.js
dist/css/bootstrap-theme.css
dist/css/bootstrap-theme.css.map
dist/css/bootstrap-theme.min.css
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/js/bootstrap.min.js
docs/_data/glyphicons.yml
docs/_includes/components/alerts.html
docs/_includes/components/badges.html
docs/_includes/components/breadcrumbs.html
docs/_includes/components/button-dropdowns.html
docs/_includes/components/button-groups.html
docs/_includes/components/dropdowns.html
docs/_includes/components/glyphicons.html
docs/_includes/components/input-groups.html
docs/_includes/components/jumbotron.html
docs/_includes/components/labels.html
docs/_includes/components/list-group.html
docs/_includes/components/media.html
docs/_includes/components/navbar.html
docs/_includes/components/navs.html
docs/_includes/components/page-header.html
docs/_includes/components/pagination.html
docs/_includes/components/panels.html
docs/_includes/components/progress-bars.html
docs/_includes/components/responsive-embed.html
docs/_includes/components/thumbnails.html
docs/_includes/components/wells.html
docs/_includes/css/buttons.html
docs/_includes/css/code.html
docs/_includes/css/forms.html
docs/_includes/css/grid.html
docs/_includes/css/helpers.html
docs/_includes/css/images.html
docs/_includes/css/less.html
docs/_includes/css/tables.html
docs/_includes/css/type.html
docs/_includes/customizer-variables.html
docs/_includes/getting-started/accessibility.html
docs/_includes/getting-started/disabling-responsiveness.html
docs/_includes/getting-started/download.html
docs/_includes/getting-started/whats-included.html
docs/_includes/js/alerts.html
docs/_includes/js/buttons.html
docs/_includes/js/carousel.html
docs/_includes/js/collapse.html
docs/_includes/js/modal.html
docs/_includes/js/overview.html
docs/_includes/js/popovers.html
docs/_includes/js/tabs.html
docs/_includes/js/tooltips.html
docs/_includes/nav/components.html
docs/_includes/nav/javascript.html
docs/_jade/customizer-variables.jade
docs/_layouts/default.html
docs/about.html
docs/assets/css/docs.min.css
docs/assets/css/src/docs.css
docs/assets/js/customize.min.js
docs/assets/js/raw-files.min.js
docs/assets/js/src/customizer.js
docs/customize.html
docs/dist/css/bootstrap-theme.css.map
docs/dist/css/bootstrap.css
docs/dist/css/bootstrap.css.map
docs/dist/css/bootstrap.min.css
less/glyphicons.less
less/mixins/vendor-prefixes.less
less/navbar.less
less/popovers.less
less/tables.less
less/theme.less
less/tooltip.less
less/variables.less
package.json
scss/_carousel.scss
scss/_close.scss
scss/_forms.scss
test-infra/npm-shrinkwrap.json
2015-01-03 20:08:58 -08:00
Mark Otto
31610258de
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2015-01-03 16:00:45 -08:00
Mark Otto
a6053b573c
override the box-shadows on active, checked, and indeterminate states
2015-01-01 12:13:24 -08:00
Mark Otto
401ace65f4
add indeterminate checkbox support
2015-01-01 12:01:55 -08:00
Chris Rebert
4e8f769d44
fix typo in comment
2015-01-01 00:02:21 -08:00
Mark Otto
1a932b7e02
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
2014-12-31 10:39:56 -08:00
Mark Otto
a5e127fd16
grunt
2014-12-31 10:37:23 -08:00
Mark Otto
03e39251fa
larger hr border width so it shows up
2014-12-31 10:20:29 -08:00
Mark Otto
b873edce8e
tweak and improve jumbotrons
2014-12-31 10:20:12 -08:00
Mark Otto
49ac4ea0fa
fix some source code for custom forms
2014-12-31 10:07:34 -08:00
Chris Rebert
b342de4fa3
Merge pull request #22 from twbs/alert-heading
...
Use .alert-heading instead of hardcoding <h4>
2014-12-29 16:04:00 -08:00
Chris Rebert
10f703f3b0
un-nest .alert-heading & .alert-link
2014-12-29 16:03:22 -08:00
Chris Rebert
a0edcc9225
refactor tooltip+popover CSS to decrease chaining+nesting
2014-12-29 12:37:11 -08:00
Chris Rebert
654d0dffc9
CSS: prefix .{right,left,top,bottom} with 'tooltip-'/'popover'
2014-12-29 12:34:09 -08:00
Chris Rebert
d46a12e601
remove now-redundant .popover parent in .popover-arrow selectors
2014-12-29 12:33:06 -08:00
Chris Rebert
6a5bc63649
rename .arrow => .popover-arrow
2014-12-29 12:33:06 -08:00
Chris Rebert
a1ce6a1968
Merge pull request #21 from twbs/deprecated-tooltip-placements
...
Remove deprecated tooltip placements
2014-12-26 12:55:08 -08:00
Mark Otto
b92534c632
improve code quality on custom forms
2014-12-25 15:40:24 -08:00
Mark Otto
cd60cf3386
custom forms: checkbox and radio stacked option
2014-12-24 15:45:37 -08:00
Gleb Mazovetskiy
93f51eb0e9
Automate breakpoints
...
Breakpoints and container widths are now defined as maps.
2014-12-24 22:27:11 +02:00
Gleb Mazovetskiy
c0c16edc41
Update styles for Ruby Sass compat
2014-12-24 22:22:15 +02:00
Mark Otto
e500a9a354
some cleanup
2014-12-24 04:47:08 -08:00
Mark Otto
18e08e777b
add custom forms, stub out examples for radios and checkboxes
2014-12-24 04:13:23 -08:00
Mark Otto
6b394ab067
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
...
Conflicts:
docs/components/helpers.md
scss/_utilities.scss
2014-12-23 13:59:26 -08:00
Mark Otto
f9aec74124
add [hidden] utility for hiding any html element (see #15274 for more context)
2014-12-23 04:10:59 -08:00
Mark Otto
5e102e2600
Merge pull request #50 from twbs/disabled-pseudo
...
use :disabled pseudo-class instead of [disabled] attribute
2014-12-22 20:13:09 -08:00
Mark Otto
c14823bd51
Merge pull request #53 from twbs/firefox-placeholder-opacity
...
Re-add Firefox placeholder opacity workaround
2014-12-22 20:11:54 -08:00
Mark Otto
c59ba4995c
Merge pull request #45 from twbs/bye-hidden
...
Remove .hidden and .show classes
2014-12-22 20:11:04 -08:00