1. 21 Oct, 2018 1 commit
  2. 20 Oct, 2018 1 commit
    • Ian Walter's avatar
      Fix #26372: disabled btn hover issue (#27407) · 871a51a5
      Ian Walter authored
      When gradients are enabled there is still a hover state on disabled
      buttons since the hover rules apply to background-image and disabled
      rules apply to background-color. This applies the logic already present
      in dropdowns to buttons. This fix was originally proposed by @ysds.
      871a51a5
  3. 02 Sep, 2018 1 commit
  4. 17 Jan, 2018 1 commit
  5. 15 Jan, 2018 1 commit
  6. 14 Jan, 2018 1 commit
  7. 13 Jan, 2018 1 commit
  8. 31 Dec, 2017 1 commit
    • Mark Otto's avatar
      Outline active focus (#25145) · 43c551e9
      Mark Otto authored
      * Base the outline button :active color on the background, fixing a contrast issue
      
      * Only apply focus outline to active when it's focused
      43c551e9
  9. 28 Dec, 2017 1 commit
  10. 25 Nov, 2017 1 commit
  11. 29 Oct, 2017 1 commit
  12. 25 Oct, 2017 1 commit
  13. 19 Oct, 2017 2 commits
    • 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
    • Mark Otto's avatar
      fix functions, lighter colors on active · 521aa875
      Mark Otto authored
      521aa875
  14. 09 Oct, 2017 1 commit
  15. 04 Oct, 2017 2 commits
  16. 13 Sep, 2017 1 commit
  17. 11 Sep, 2017 1 commit
  18. 04 Sep, 2017 1 commit
  19. 13 Aug, 2017 1 commit
    • Mark Otto's avatar
      Button code cleanup (#22951) · cd22eb1d
      Mark Otto authored
      * use a mixin there
      * revamp .btn-link to match default and outline variants
      * remove unnecessary properties
      cd22eb1d
  20. 02 Jul, 2017 2 commits
  21. 18 Jun, 2017 2 commits
  22. 09 Apr, 2017 1 commit
  23. 28 Mar, 2017 1 commit
  24. 18 Mar, 2017 1 commit
    • naicko's avatar
      Update scss mixins to comply with scss-linting rules (#22151) · 890c6041
      naicko authored
      * Fixed some linting issues
      
      * Run npm tasks after scss cleanup
      
      * Revert "Run npm tasks after scss cleanup"
      
      This reverts commit 1103a0da.
      
      * 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
      890c6041
  25. 28 Dec, 2016 5 commits
    • Mark Otto's avatar
      properly pass focus shadow should you enable shadows · e38c3506
      Mark Otto authored
      don't implement for the outline style because outline buttons get no shadow by default
      e38c3506
    • Mark Otto's avatar
      remove active styling from focus · a9bee8b6
      Mark Otto authored
      a9bee8b6
    • Mark Otto's avatar
      redo outlines · 62c4cb29
      Mark Otto authored
      - 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
      62c4cb29
    • Mark Otto's avatar
      linting · 79cfc095
      Mark Otto authored
      79cfc095
    • Mark Otto's avatar
      Redo button states · 7aa2a520
      Mark Otto authored
      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.
      7aa2a520
  26. 16 Sep, 2016 1 commit
  27. 15 Feb, 2016 1 commit
  28. 08 Feb, 2016 1 commit
  29. 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
  30. 17 Jan, 2016 1 commit
  31. 09 Jan, 2016 1 commit
  32. 27 Aug, 2015 1 commit
    • Gleb Mazovetskiy's avatar
      Remove all uses of `selector &` · f7b27a02
      Gleb Mazovetskiy authored
      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.
      f7b27a02