aboutsummaryrefslogtreecommitdiff
path: root/scss/_alert.scss
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17Fix: variables collide with globals (#32492)Rafi1-6/+6
Co-authored-by: XhmikosR <[email protected]>
2020-11-13Rename scale-color() function to shift-color() to avoid collision with ↵Mark Otto1-3/+3
Sass's own color function (#32149)
2020-11-08Add checks to fix color contrast issues (#32085)Martijn Cuppens1-3/+9
2020-10-13Colors rewrite (#30622)Martijn Cuppens1-1/+1
2020-10-07Alert : Added z-index for close button (#31826)Ankit Mishra1-0/+1
Co-authored-by: Ankit Mishra <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-09-22Add more variables, add a comment for the 3Mark Otto1-1/+1
2020-09-22Rename .close to .btn-close, replace times sign with background SVG, update ↵Mark Otto1-4/+3
focus state
2020-04-06Create `scss-docs` shortcode to get some snippets from the Scs… (#30502)Martijn Cuppens1-2/+2
Co-authored-by: XhmikosR <[email protected]>
2019-07-25Drop `color()`, `theme-color()` & `gray()` functions (#29083)Martijn Cuppens1-1/+1
Drop `color()`, `theme-color()` & `gray()` functions in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2018-12-14Remove redundant brackets (#27768)Martijn Cuppens1-1/+1
2017-12-28Move alert theme-color() levels to variablesMark Otto1-1/+1
Closes #24341
2017-10-22Fix for right padding in dismissible alerts (#24481)Eugene Kopyov1-0/+2
* Fix for right padding in dismissible alerts * Removed extra whitespace * Update _alert.scss * Update _alert.scss
2017-09-30changes the order of the close btn on alerts to improve accecibilityAndres Galante1-3/+4
2017-06-25update alert component to use theme sass map and add a ton of options in the ↵Mark Otto1-11/+4
process
2017-04-16Rename variable $input-border-focus to $input-border-color-focus (#22413)Patrick Yeo1-4/+4
* 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
2016-11-27Fix #20013, nullify #21112 (#21230)Mark Otto1-3/+2
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-27Add alert-margin-bottom variable (#21064)Cyril Kyburz1-1/+1
2016-10-18Switch to separate vars for alert vertical/horizontal paddingMark Otto1-3/+3
2016-09-04fixes #20485: use rem units in alert dismiss (#20625)Mark Otto1-3/+3
2016-02-03Dump the type margin overrides in alerts for utils, document that particular ↵Mark Otto1-9/+0
example, sidesteps part of #18884
2016-01-13Use proper units when adding/subtracting lengthsChris Rebert1-1/+1
[skip sauce] [skip validator]
2015-10-15#17895 Added $alert-border-width that defaults to $border-widthChris Bell1-1/+1
2015-09-21Just some spaces...Catalin Zalog1-1/+1
2015-08-23remove a margin-top: 0 reset since we nuke headings' top margins now in rebootMark Otto1-1/+0
2015-08-17clean out comments that aren't all that helpfulMark Otto1-5/+0
2015-04-29Remove $line-height-computedMark Otto1-1/+1
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-18clean up comments and spacingMark Otto1-1/+4
2014-12-29un-nest .alert-heading & .alert-linkChris Rebert1-11/+12
2014-12-15Use .alert-heading instead of hardcoding <h4>Chris Rebert1-2/+2
2014-12-02convert to scssMark Otto1-0/+67