diff options
author | Mark Otto <otto@github.com> | 2019-07-15 10:29:13 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-07-15 10:29:13 +0300 |
commit | df1c3c0ce8888f930a641e7fe2316b1d8f5502d0 (patch) | |
tree | 0afe6b0f4cd13886f8bad25c6968ee25687245f0 /scss/_code.scss | |
parent | b4f99cb9680323c08e499fa86b8b791806587407 (diff) |
v5: Reuse box-shadow variables (#29023)
* Remove default kbd element shadow, simplify selector while here
* Add new -shadow-inset variable so our shadows match on .form-control's, .form-select's, and .progress's
* Reuse box-shadow variables for .dropdown's, .popover's, .toast's, .modal's, and .img-thumbnail's
Diffstat (limited to 'scss/_code.scss')
-rw-r--r-- | scss/_code.scss | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scss/_code.scss b/scss/_code.scss index 74b6e1c89b..f12fa01bf3 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -17,13 +17,12 @@ kbd { color: $kbd-color; background-color: $kbd-bg; @include border-radius($border-radius-sm); - @include box-shadow($kbd-box-shadow); - kbd { + // stylelint-disable-next-line no-duplicate-selectors + & { padding: 0; @include font-size(100%); font-weight: $nested-kbd-font-weight; - @include box-shadow(none); } } |