aboutsummaryrefslogtreecommitdiff
path: root/scss/_variables.scss
AgeCommit message (Collapse)AuthorFilesLines
2017-06-15add new color vars and mapsMark Otto1-12/+64
2017-06-15Rename popover classesMark Otto1-8/+8
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-14Move scss functions from top of variables to separate file, then import it ↵Mark Otto1-46/+0
into other build files
2017-06-13Merge branch 'v4-dev' into form-tweaksMark Otto1-43/+46
2017-06-13(Fixes #22414) Rename for consistency `$custom-checkbox-radius`, ↵Patrick Yeo1-7/+7
`$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-13Rename `$font-size-h*` to `$h*-font-size` for consistency (#22414)Patrick Yeo1-6/+6
2017-06-13Rename for consistency `$table-sm-cell-padding`, `$table-bg-accent`, ↵Patrick Yeo1-6/+6
`$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(#22414) Rename for consistency `$input-bg-disabled`, `$input-bg-focus`, ↵Patrick Yeo1-6/+6
`$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(#22414) Rename for consistency `$custom-control-disabled-indicator-bg`, ↵Patrick Yeo1-12/+12
`$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(#22414) Renamed for consistency `$nav-disabled-link-color`, ↵Patrick Yeo1-6/+6
`$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(#22414) Renamed for consistency `$modal-dialog-sm-up-margin-y`, ↵Patrick Yeo1-3/+3
`$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-13Update _variables.scssMark Otto1-1/+1
2017-06-13Mention variable naming scheme to help with #22414Mark Otto1-0/+3
2017-06-06remove icons for nowMark Otto1-9/+3
2017-06-03Rename `$card-border-radius-inner` to `$card-inner-border-radius`Patrick Yeo1-1/+1
2017-05-31Merge branch 'v4-dev' into form-tweaksMark Otto1-1/+1
2017-05-31Rename `$card-link-hover-color` to `$card-inverse-link-hover-color`Patrick Yeo1-1/+1
2017-05-26Merge branch 'v4-dev' into form-tweaksMark Otto1-9/+6
2017-05-26Rename `$navbar-*-toggler-bg` to `$navbar-*-toggler-icon-bg` since it's ↵Patrick Yeo1-2/+2
placed on .navbar-toggler-icon (#22564)
2017-05-23Use Popper.js to manage arrow positionJohann-S1-0/+3
2017-05-14Fix tooltip margin to be stick at their callerJohann-S1-1/+1
2017-05-07Removed several unused scss variables (#22539)Sebastiaan Nijland1-6/+0
2017-04-22Redo the small custom select varsMark Otto1-1/+2
— Sizing shorthand comes last — Add height var and put it to use
2017-04-22Change how input and select height is computedMark Otto1-3/+11
— 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-21Merge branch 'v4-dev' into form-tweaksMark Otto1-29/+25
2017-04-16Rename variable $input-border-focus to $input-border-color-focus (#22413)Patrick Yeo1-26/+26
* 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-14Replace dropdown backdrop hack with cleaner JS-only hackPatrick H. Lauke1-1/+0
* 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-10Remove `cursor: not-allowed` stylesPatrick H. Lauke1-3/+0
2017-04-08tighten up horizontal input and button paddingMark Otto1-1/+1
2017-04-08Bump up from 2px to 3px so it's consistent; also fix focus of inputsMark Otto1-2/+2
2017-04-08Switch to ease function to remove trailing animation movementMark Otto1-1/+1
2017-04-08Revert "Drop width from sizing utils given .col- classes can do the same ↵Mark Otto1-1/+1
thing (follow up to #22376)" This reverts commit 2f21403a933336f7cb01c86bf3c650490bc658a6.
2017-04-08Add transition to .progress-barMark Otto1-0/+1
- Pulls in values from v3 - Closes #22371 which didn't use a transition include
2017-04-08Add dropdown-item-padding-y varMark Otto1-0/+1
- Closes #21622 which kept the 3px - Puts variable in proper order for shorthand (y x)
2017-04-08Drop width from sizing utils given .col- classes can do the same thing ↵Mark Otto1-1/+1
(follow up to #22376)
2017-04-08css: just some orderingCatalin Zalog1-19/+19
Order y & x axis by top, right, bottom, left logic
2017-04-07Remove system-ui from font stack due to i18n issuesMark Otto1-1/+1
2017-03-28ability to change text color in popovers (#22221)Praveen Puglia1-0/+2
2017-03-28Revamp button and input vars while fixing #21587 (#22287)Mark Otto1-24/+17
2017-03-23Allow to customize navbar-brand font-sizePierre-Denis Vanduynslager1-1/+2
2017-03-23Harmonize navbar-brand, navbar-text and nav-link heightPierre-Denis Vanduynslager1-19/+29
2017-03-19fixes rest of #21585; adds custom styles for inverse table accent hover and ↵Mark Otto1-0/+3
active states
2017-03-19reorderMark Otto1-7/+6
2017-03-19correct inverse table border color, add new varMark Otto1-0/+1
2017-03-05Clean up spacers a bit moreStarsam801-24/+6
2017-03-05Update spacer utilities (#22123)Mark Otto1-37/+37
* 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-03Change sticky order (#22027)Catalin Zalog1-1/+1
Based on this pen: http://codepen.io/zalog/pen/jyoyoR
2017-03-03Remove 'hover' from nav-tabs-active-link-hover-color et al (#22087)Sean Beyer1-3/+3
* Remove 'hover' from variable names * Fix indentation in variables
2017-02-04Fixes #21908Mark Otto1-1/+1
2017-01-28Reduce the width to prevent the modal fills the screen widthJuan Carlos González Cabrero1-1/+1