]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
8 years agoreorder classes because i like it this way :p
Mark Otto [Thu, 29 Dec 2016 01:04:07 +0000 (17:04 -0800)] 
reorder classes because i like it this way :p

8 years agodedupe
Mark Otto [Thu, 29 Dec 2016 01:03:28 +0000 (17:03 -0800)] 
dedupe

8 years agoclarify need for .navbar-toggleable classes
Mark Otto [Thu, 29 Dec 2016 01:03:25 +0000 (17:03 -0800)] 
clarify need for .navbar-toggleable classes

8 years agoline break for readibility
Mark Otto [Thu, 29 Dec 2016 01:03:09 +0000 (17:03 -0800)] 
line break for readibility

8 years agoreflect nav changes here in the responsive views
Mark Otto [Thu, 29 Dec 2016 00:51:40 +0000 (16:51 -0800)] 
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.

8 years agodon't let the toggle grow when it's the only flex child
Mark Otto [Thu, 29 Dec 2016 00:50:07 +0000 (16:50 -0800)] 
don't let the toggle grow when it's the only flex child

8 years agoset the direction to column (aka, vertical) for mobile views
Mark Otto [Thu, 29 Dec 2016 00:49:55 +0000 (16:49 -0800)] 
set the direction to column (aka, vertical) for mobile views

8 years agoremove extra line break
Mark Otto [Thu, 29 Dec 2016 00:48:56 +0000 (16:48 -0800)] 
remove extra line break

8 years agobring over styles from .nav for .navbar-nav
Mark Otto [Thu, 29 Dec 2016 00:48:50 +0000 (16:48 -0800)] 
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.

8 years agodrop the flex-grow: 10 in favor of auto margin utils
Mark Otto [Thu, 29 Dec 2016 00:39:52 +0000 (16:39 -0800)] 
drop the flex-grow: 10 in favor of auto margin utils

8 years agodrop the .nav base class from .navbar-nav
Mark Otto [Thu, 29 Dec 2016 00:38:50 +0000 (16:38 -0800)] 
drop the .nav base class from .navbar-nav

8 years agono float utils, use class name
Mark Otto [Thu, 29 Dec 2016 00:37:13 +0000 (16:37 -0800)] 
no float utils, use class name

8 years agobetter describe example
Mark Otto [Thu, 29 Dec 2016 00:37:04 +0000 (16:37 -0800)] 
better describe example

8 years agoconsistent punctuation
Mark Otto [Thu, 29 Dec 2016 00:36:55 +0000 (16:36 -0800)] 
consistent punctuation

it's important, yo

8 years agoChange last reference from tags over to badges.
Pierre-Denis Vanduynslager [Thu, 29 Dec 2016 02:20:24 +0000 (21:20 -0500)] 
Change last reference from tags over to badges.

8 years agogrunt
Mark Otto [Wed, 28 Dec 2016 23:15:29 +0000 (15:15 -0800)] 
grunt

8 years agolimit linter override to the affected ruleset
Mark Otto [Wed, 28 Dec 2016 22:51:37 +0000 (14:51 -0800)] 
limit linter override to the affected ruleset

8 years agoremove plain-hover-focus from navbar navs
Mark Otto [Wed, 28 Dec 2016 22:51:04 +0000 (14:51 -0800)] 
remove plain-hover-focus from navbar navs

8 years agoupdate navs to use `.show` instead of `.open` for dropdowns
Mark Otto [Wed, 28 Dec 2016 22:49:21 +0000 (14:49 -0800)] 
update navs to use `.show` instead of `.open` for dropdowns

8 years agolinting
Mark Otto [Wed, 28 Dec 2016 22:48:07 +0000 (14:48 -0800)] 
linting

8 years agoadd alignment docs with flex utils
Mark Otto [Wed, 28 Dec 2016 22:45:11 +0000 (14:45 -0800)] 
add alignment docs with flex utils

8 years agosimpler sizing examples
Mark Otto [Wed, 28 Dec 2016 22:44:53 +0000 (14:44 -0800)] 
simpler sizing examples

8 years agorogue extra line break
Mark Otto [Wed, 28 Dec 2016 22:44:39 +0000 (14:44 -0800)] 
rogue extra line break

8 years agoredo active and disabled docs snippets
Mark Otto [Wed, 28 Dec 2016 22:44:31 +0000 (14:44 -0800)] 
redo active and disabled docs snippets

- remove screen reader stuff in favor of explicit labels
- remove 4 and 5 items to keep examples simpler

8 years agoadd a working with icons example
Mark Otto [Wed, 28 Dec 2016 22:43:49 +0000 (14:43 -0800)] 
add a working with icons example

frees us up to not have to encourage so much markup throughout these pagination examples

8 years agoredo main example to work in screen reader love instead of putting it in a callout
Mark Otto [Wed, 28 Dec 2016 22:43:06 +0000 (14:43 -0800)] 
redo main example to work in screen reader love instead of putting it in a callout

8 years agoredo intro paragraph
Mark Otto [Wed, 28 Dec 2016 22:42:17 +0000 (14:42 -0800)] 
redo intro paragraph

8 years agono need to float, but do set display: block;
Mark Otto [Wed, 28 Dec 2016 22:41:20 +0000 (14:41 -0800)] 
no need to float, but do set display: block;

this, coupled with the move to flex, fixes #20029

8 years agoremove plain-hover-focus mixins
Mark Otto [Wed, 28 Dec 2016 22:41:00 +0000 (14:41 -0800)] 
remove plain-hover-focus mixins

8 years agono need for cursor: default, since, well, it's the default
Mark Otto [Wed, 28 Dec 2016 22:40:37 +0000 (14:40 -0800)] 
no need for cursor: default, since, well, it's the default

8 years agoadd a comment here to explain some things
Mark Otto [Wed, 28 Dec 2016 22:40:21 +0000 (14:40 -0800)] 
add a comment here to explain some things

8 years ago.page-item's don't need this anymore (they're flex items)
Mark Otto [Wed, 28 Dec 2016 22:39:51 +0000 (14:39 -0800)] 
.page-item's don't need this anymore (they're flex items)

8 years agoremove default margin, allow folks to use utils instead
Mark Otto [Wed, 28 Dec 2016 22:39:38 +0000 (14:39 -0800)] 
remove default margin, allow folks to use utils instead

8 years agoupdate pagination list reset styles
Mark Otto [Wed, 28 Dec 2016 22:39:26 +0000 (14:39 -0800)] 
update pagination list reset styles

8 years agomove pagination to flexbox
Mark Otto [Wed, 28 Dec 2016 22:39:06 +0000 (14:39 -0800)] 
move pagination to flexbox

8 years agoupdate docs to improve contextual classes section
Mark Otto [Wed, 28 Dec 2016 21:52:49 +0000 (13:52 -0800)] 
update docs to improve contextual classes section

8 years agoremove plain-hover-focus from list group mixin
Mark Otto [Wed, 28 Dec 2016 21:52:31 +0000 (13:52 -0800)] 
remove plain-hover-focus from list group mixin

8 years agoRevamp list group states and docs to match
Mark Otto [Wed, 28 Dec 2016 21:45:07 +0000 (13:45 -0800)] 
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.

8 years agoRevamp dropdown item states
Mark Otto [Wed, 28 Dec 2016 08:20:06 +0000 (00:20 -0800)] 
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.

8 years agoRemove plain-hover-focus mixins from navs
Mark Otto [Wed, 28 Dec 2016 08:03:06 +0000 (00:03 -0800)] 
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.

8 years agoproperly pass focus shadow should you enable shadows
Mark Otto [Tue, 27 Dec 2016 22:50:33 +0000 (14:50 -0800)] 
properly pass focus shadow should you enable shadows

don't implement for the outline style because outline buttons get no shadow by default

8 years agocreate a variable for the focus box-shadow, use it in the button base class
Mark Otto [Tue, 27 Dec 2016 22:45:57 +0000 (14:45 -0800)] 
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

8 years agoremove active styling from focus
Mark Otto [Tue, 27 Dec 2016 17:46:30 +0000 (09:46 -0800)] 
remove active styling from focus

8 years agoremove cursor: pointer
Mark Otto [Tue, 27 Dec 2016 06:12:31 +0000 (22:12 -0800)] 
remove cursor: pointer

shoutout https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b#.riy12ck0m

8 years agoredo outlines
Mark Otto [Tue, 27 Dec 2016 06:12:18 +0000 (22:12 -0800)] 
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

8 years agolinting
Mark Otto [Mon, 26 Dec 2016 22:52:39 +0000 (14:52 -0800)] 
linting

8 years agoRedo button states
Mark Otto [Mon, 26 Dec 2016 22:42:29 +0000 (14:42 -0800)] 
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.

8 years agofixes #21415 by moving disabled .btn-link color to the default state
Mark Otto [Mon, 26 Dec 2016 22:02:24 +0000 (14:02 -0800)] 
fixes #21415 by moving disabled .btn-link color to the default state

8 years agoupdate to migration docs
Mark Otto [Wed, 28 Dec 2016 23:09:51 +0000 (15:09 -0800)] 
update to migration docs

8 years agoRip number
Quy [Wed, 28 Dec 2016 19:43:39 +0000 (11:43 -0800)] 
Rip number

8 years agofollow up to the fix for #20506 with some docs examples of input groups in button...
Mark Otto [Tue, 27 Dec 2016 22:37:17 +0000 (14:37 -0800)] 
follow up to the fix for #20506 with some docs examples of input groups in button toolbars

8 years agoinline-flex and width: 100% for stacked/vertical variation
Mark Otto [Tue, 27 Dec 2016 22:36:55 +0000 (14:36 -0800)] 
inline-flex and width: 100% for stacked/vertical variation

shoutout to @Starsam80 for the fix

8 years agoauto size input groups, fixes #20506
Mark Otto [Tue, 27 Dec 2016 22:36:30 +0000 (14:36 -0800)] 
auto size input groups, fixes #20506

8 years agoremove commented out code
Mark Otto [Tue, 27 Dec 2016 22:36:20 +0000 (14:36 -0800)] 
remove commented out code

8 years agolinting
Mark Otto [Tue, 27 Dec 2016 01:18:19 +0000 (17:18 -0800)] 
linting

8 years agorevamp button group with flexbox
Mark Otto [Thu, 22 Dec 2016 07:29:16 +0000 (23:29 -0800)] 
revamp button group with flexbox

8 years agoupdate example with brand and new util
Mark Otto [Wed, 28 Dec 2016 06:15:02 +0000 (22:15 -0800)] 
update example with brand and new util

8 years agoforgot to add display flex to the navbar, so utils weren't applying
Mark Otto [Wed, 28 Dec 2016 06:14:30 +0000 (22:14 -0800)] 
forgot to add display flex to the navbar, so utils weren't applying

8 years agoFix grammatical/typo errors
Quy [Wed, 28 Dec 2016 01:09:37 +0000 (17:09 -0800)] 
Fix grammatical/typo errors

8 years agogrunt
Mark Otto [Tue, 27 Dec 2016 22:27:41 +0000 (14:27 -0800)] 
grunt

8 years agoupdate click state when hiding so can be shown again by trigger. fixes #16732
Max Beatty [Tue, 27 Dec 2016 00:21:27 +0000 (16:21 -0800)] 
update click state when hiding so can be shown again by trigger. fixes #16732

8 years agouse var
Mark Otto [Tue, 27 Dec 2016 00:13:23 +0000 (16:13 -0800)] 
use var

8 years agofix inline checks
Mark Otto [Tue, 27 Dec 2016 00:11:50 +0000 (16:11 -0800)] 
fix inline checks

8 years agoadd some vars
Mark Otto [Mon, 26 Dec 2016 23:42:19 +0000 (15:42 -0800)] 
add some vars

8 years agosure we only need the two mixins, but this ensures folks don't run into missing mixin...
Mark Otto [Tue, 27 Dec 2016 05:11:22 +0000 (21:11 -0800)] 
sure we only need the two mixins, but this ensures folks don't run into missing mixin errors down the line

8 years agoUpdate bootstrap-grid.scss
Mark Otto [Tue, 27 Dec 2016 00:34:19 +0000 (16:34 -0800)] 
Update bootstrap-grid.scss

8 years agoUpdate bootstrap-reboot.scss
Mark Otto [Tue, 27 Dec 2016 00:33:55 +0000 (16:33 -0800)] 
Update bootstrap-reboot.scss

8 years agomove custom down so folks can reassign var values and use other vars
Mark Otto [Tue, 27 Dec 2016 00:33:33 +0000 (16:33 -0800)] 
move custom down so folks can reassign var values and use other vars

8 years agoDon't show `.bd-*` classes to the user (#21443)
Starsam80 [Tue, 27 Dec 2016 22:15:22 +0000 (15:15 -0700)] 
Don't show `.bd-*` classes to the user (#21443)

* Don't show `bd-*` classes to the user

* Add comments and another regex

8 years agoDocument how to break equal width cols to multiple rows
Mark Otto [Tue, 27 Dec 2016 22:05:24 +0000 (14:05 -0800)] 
Document how to break equal width cols to multiple rows

Fixes #21287

8 years agobump jquery and grunt-sass
Mark Otto [Tue, 27 Dec 2016 18:00:55 +0000 (10:00 -0800)] 
bump jquery and grunt-sass

plus shx? :shrug:

8 years agogrunt
Mark Otto [Tue, 27 Dec 2016 22:13:56 +0000 (14:13 -0800)] 
grunt

8 years agofixes #21445
Mark Otto [Tue, 27 Dec 2016 22:11:48 +0000 (14:11 -0800)] 
fixes #21445

remove broken example class from grid docs

8 years agomore flexbox docs 26437/head
Mark Otto [Mon, 26 Dec 2016 21:23:07 +0000 (13:23 -0800)] 
more flexbox docs

8 years agofollow up to #21436 to add docs for the .flex-row-reverse , .flex-column-reverse...
Mark Otto [Mon, 26 Dec 2016 21:17:50 +0000 (13:17 -0800)] 
follow up to #21436 to add docs for the .flex-row-reverse , .flex-column-reverse, and .flex-wrap-reverse

8 years agogrunt
Mark Otto [Mon, 26 Dec 2016 21:11:05 +0000 (13:11 -0800)] 
grunt

8 years agoAdd more flex utilities
Starsam80 [Mon, 26 Dec 2016 02:34:08 +0000 (19:34 -0700)] 
Add more flex utilities

8 years agoRename tags to badges in comments
Quy [Mon, 26 Dec 2016 17:56:22 +0000 (09:56 -0800)] 
Rename tags to badges in comments

8 years agoRemove Meteor install instructions.
Bardi Harborow [Sat, 24 Dec 2016 11:44:44 +0000 (22:44 +1100)] 
Remove Meteor install instructions.

8 years agogrunt
Mark Otto [Sun, 25 Dec 2016 23:52:16 +0000 (15:52 -0800)] 
grunt

8 years agoFixes #20586
Mark Otto [Sun, 25 Dec 2016 23:17:31 +0000 (15:17 -0800)] 
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

8 years agothrow some margin utils to fix spacing
Mark Otto [Sun, 25 Dec 2016 22:38:06 +0000 (14:38 -0800)] 
throw some margin utils to fix spacing

8 years agoUse calc() on .col-form-label padding calculations
Mark Otto [Sun, 25 Dec 2016 22:35:57 +0000 (14:35 -0800)] 
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.

8 years agoReplaces #21270 with proper fix
Mark Otto [Sun, 25 Dec 2016 22:22:03 +0000 (14:22 -0800)] 
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.

8 years agospace that out a smidge
Mark Otto [Sun, 25 Dec 2016 22:18:54 +0000 (14:18 -0800)] 
space that out a smidge

8 years agovertically center .form-group contents in inline forms
Mark Otto [Sun, 25 Dec 2016 22:18:45 +0000 (14:18 -0800)] 
vertically center .form-group contents in inline forms

fixes broken inline form example mentioned in #21407

8 years agouse flex and direction to do the stacked controls instead of float hacks
Mark Otto [Sun, 25 Dec 2016 22:11:49 +0000 (14:11 -0800)] 
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.

8 years agomove custom checks/radios to inline-flex
Mark Otto [Sun, 25 Dec 2016 22:10:52 +0000 (14:10 -0800)] 
move custom checks/radios to inline-flex

8 years agogrunt
Mark Otto [Sun, 25 Dec 2016 23:47:03 +0000 (15:47 -0800)] 
grunt

8 years agoUse variables for the width/height classes
Starsam80 [Sun, 25 Dec 2016 22:29:01 +0000 (15:29 -0700)] 
Use variables for the width/height classes

8 years agoClean up _spacing.scss a little bit
Starsam80 [Sun, 25 Dec 2016 22:11:09 +0000 (15:11 -0700)] 
Clean up _spacing.scss a little bit

8 years agoRemove some leftover IE9/flex stuff
Starsam80 [Sun, 25 Dec 2016 04:01:09 +0000 (21:01 -0700)] 
Remove some leftover IE9/flex stuff

8 years agolinting
Mark Otto [Sun, 25 Dec 2016 01:35:51 +0000 (17:35 -0800)] 
linting

8 years agoflex the footer and include some margin magic
Mark Otto [Sun, 25 Dec 2016 01:27:42 +0000 (17:27 -0800)] 
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

8 years agoflex the modal header so we can remove custom styles
Mark Otto [Sun, 25 Dec 2016 01:26:19 +0000 (17:26 -0800)] 
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)

8 years agoNo need to override a margin-top that never was set; only specify margin-bottom override
Mark Otto [Sun, 25 Dec 2016 01:25:43 +0000 (17:25 -0800)] 
No need to override a margin-top that never was set; only specify margin-bottom override

8 years agoEnable flex on the .modal-content, ensure .modal-body stretches the height (if needed)
Mark Otto [Sun, 25 Dec 2016 01:25:27 +0000 (17:25 -0800)] 
Enable flex on the .modal-content, ensure .modal-body stretches the height (if needed)

8 years agodarker border on modal header
Mark Otto [Sun, 25 Dec 2016 01:24:06 +0000 (17:24 -0800)] 
darker border on modal header

8 years agotrailing space
Mark Otto [Sun, 25 Dec 2016 21:20:04 +0000 (13:20 -0800)] 
trailing space

8 years agoline break for sanity
Mark Otto [Sun, 25 Dec 2016 02:54:03 +0000 (18:54 -0800)] 
line break for sanity