Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2019-07-15 10:29:13 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-07-15 10:29:13 +0300
commitdf1c3c0ce8888f930a641e7fe2316b1d8f5502d0 (patch)
tree0afe6b0f4cd13886f8bad25c6968ee25687245f0 /scss/_code.scss
parentb4f99cb9680323c08e499fa86b8b791806587407 (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.scss5
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);
}
}