diff options
| author | Chris Bell <[email protected]> | 2015-10-15 15:57:15 +0100 |
|---|---|---|
| committer | Chris Bell <[email protected]> | 2015-10-15 15:57:15 +0100 |
| commit | be1bb9ec3efb202b6f99b8e2ac12fef4587a50ec (patch) | |
| tree | 76dec7ed5cc85b0bc90a42f87ffcbe7027ec573b | |
| parent | 724bf862885f57383f3a19ed46a6deab0f2322a6 (diff) | |
| download | bootstrap-be1bb9ec3efb202b6f99b8e2ac12fef4587a50ec.tar.xz bootstrap-be1bb9ec3efb202b6f99b8e2ac12fef4587a50ec.zip | |
#17895 Added $alert-border-width that defaults to $border-width
| -rw-r--r-- | scss/_alert.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss index 8e550d8f7..b9f6c60da 100644 --- a/scss/_alert.scss +++ b/scss/_alert.scss @@ -5,7 +5,7 @@ .alert { padding: $alert-padding; margin-bottom: $spacer-y; - border: 1px solid transparent; + border: $alert-border-width solid transparent; @include border-radius($alert-border-radius); // Improve alignment and spacing of inner content diff --git a/scss/_variables.scss b/scss/_variables.scss index dd331d9bc..26db18460 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -525,6 +525,7 @@ $modal-sm: 300px !default; $alert-padding: 15px !default; $alert-border-radius: $border-radius !default; $alert-link-font-weight: bold !default; +$alert-border-width: $border-width !default; $alert-success-bg: $state-success-bg !default; $alert-success-text: $state-success-text !default; |
