1. 06 Nov, 2017 1 commit
  2. 29 Oct, 2017 1 commit
  3. 22 Oct, 2017 1 commit
  4. 19 Oct, 2017 1 commit
    • Mark Otto's avatar
      Gradients and shadows (#24429) · 06641ca0
      Mark Otto authored
      * Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency
      
      * - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables.
      
      - Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow`
      variables with unified `$input-btn-focus-box-shadow` to match our
      combined variables approach elsewhere.
      
      * Put new focus width var to use in buttons mixins
      
      * use new button input-box shadow var
      
      * Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true
      
      * use correct var
      
      * fix focus shadows in button mixins
      
      * Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items
      
      * Generate .bg-gradient- utilities
      
      * add headings to colors page and document bg-gradient utils
      
      * update the button color for active status, check with yiq as it's done for basic state and hover state
      06641ca0
  5. 10 Oct, 2017 1 commit
  6. 30 Sep, 2017 1 commit
    • Ari Rizzitano's avatar
      Remove dropdown anchor focus override · 136c49a1
      Ari Rizzitano authored
      Overriding the focus outline for links within the dropdown menu
      causes accessibility issues for keyboard-only users. This
      removes the override, reenabling the browser's default focus
      outline.
      136c49a1
  7. 14 Aug, 2017 1 commit
  8. 04 Aug, 2017 2 commits
  9. 30 May, 2017 1 commit
  10. 17 May, 2017 1 commit
  11. 14 May, 2017 4 commits
  12. 14 Apr, 2017 1 commit
    • Patrick H. Lauke's avatar
      Replace dropdown backdrop hack with cleaner JS-only hack · 6d64afe5
      Patrick H. Lauke authored
      * 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
      6d64afe5
  13. 10 Apr, 2017 1 commit
  14. 08 Apr, 2017 2 commits
  15. 13 Mar, 2017 1 commit
  16. 04 Jan, 2017 2 commits
  17. 02 Jan, 2017 1 commit
  18. 28 Dec, 2016 1 commit
    • Mark Otto's avatar
      Revamp dropdown item states · 9ce5fb58
      Mark Otto authored
      - 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.
      9ce5fb58
  19. 22 Dec, 2016 1 commit
  20. 08 Dec, 2016 1 commit
  21. 25 Oct, 2016 1 commit
  22. 19 Oct, 2016 1 commit
  23. 03 Oct, 2016 1 commit
  24. 18 Feb, 2016 1 commit
  25. 17 Feb, 2016 2 commits
  26. 16 Feb, 2016 1 commit
  27. 07 Feb, 2016 2 commits
  28. 04 Feb, 2016 1 commit
    • Mark Otto's avatar
      Redo line-height globally · ba37c376
      Mark Otto authored
      - 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)
      ba37c376
  29. 17 Jan, 2016 1 commit
  30. 14 Jan, 2016 1 commit
  31. 08 Jan, 2016 1 commit
    • Mark Otto's avatar
      Switch up some split button stuff · f6ad665c
      Mark Otto authored
      - 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
      f6ad665c
  32. 28 Nov, 2015 1 commit