]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Minor fixes
authorlouismaxime.piton <louismaxime.piton@orange.com>
Fri, 15 Apr 2022 14:38:46 +0000 (16:38 +0200)
committerMark Otto <otto@github.com>
Sat, 16 Apr 2022 17:06:13 +0000 (10:06 -0700)
scss/_list-group.scss
scss/_popover.scss

index 96474e39b71e27730e42056434eeaba298038153..22546ccb53a67f6972e156263cd408d8ba8f418f 100644 (file)
@@ -6,7 +6,6 @@
   // scss-docs-start list-group-css-vars
   --#{$prefix}list-group-color: #{$list-group-color};
   --#{$prefix}list-group-bg: #{$list-group-bg};
-  --#{$prefix}list-group-hover-bg: #{$list-group-hover-bg};
   --#{$prefix}list-group-border-color: #{$list-group-border-color};
   --#{$prefix}list-group-border-width: #{$list-group-border-width};
   --#{$prefix}list-group-border-radius: #{$list-group-border-radius};
@@ -14,6 +13,7 @@
   --#{$prefix}list-group-item-padding-y: #{$list-group-item-padding-y};
   --#{$prefix}list-group-action-color: #{$list-group-action-color};
   --#{$prefix}list-group-action-hover-color: #{$list-group-action-hover-color};
+  --#{$prefix}list-group-action-hover-bg: #{$list-group-hover-bg};
   --#{$prefix}list-group-action-active-color: #{$list-group-action-active-color};
   --#{$prefix}list-group-action-active-bg: #{$list-group-action-active-bg};
   --#{$prefix}list-group-disabled-color: #{$list-group-disabled-color};
@@ -59,7 +59,7 @@
     z-index: 1; // Place hover/focus items above their siblings for proper border styling
     color: var(--#{$prefix}list-group-action-hover-color);
     text-decoration: none;
-    background-color: var(--#{$prefix}list-group-hover-bg);
+    background-color: var(--#{$prefix}list-group-action-hover-bg);
   }
 
   &:active {
index cc8023e9c14d99ac4d01b1f62c83acfcf66c0c2f..591e85c37e920df4835f38afcbd81a8286150c58 100644 (file)
 .popover-header {
   padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
   margin-bottom: 0; // Reset the default from Reboot
-  font-size: var(--#{$prefix}popover-header-font-size);
+  @include font-size(var(--#{$prefix}popover-header-font-size));
   color: var(--#{$prefix}popover-header-color);
   background-color: var(--#{$prefix}popover-header-bg);
   border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);