X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7ea3398c7955f517e89a52cda6ec9bf0205d6fb3..32ffd66eb5cb888b47446ae5053ab57f8a1e83cf:/app/assets/stylesheets/parameters.scss diff --git a/app/assets/stylesheets/parameters.scss b/app/assets/stylesheets/parameters.scss index cfe9c9992..4f93273a8 100644 --- a/app/assets/stylesheets/parameters.scss +++ b/app/assets/stylesheets/parameters.scss @@ -11,7 +11,6 @@ $vibrant-green: #76c551; $grey: #CCC; $lightgrey: #EEE; $darkgrey: #888; -$hovercolor: 20%; $headerHeight: 55px; $sidebarWidth: 350px; $list-highlight: #FFFFC0; @@ -25,3 +24,13 @@ $link-hover-decoration: underline; $table-striped-bg: $offwhite; $enable-negative-margins: true; + +// Workaround for a dartsass bug with bootstrap 5.1 +// This can be removed after upgrading to bootstrap 5.2 +// This copies definitions straight from bootstrap, but uses the sass-native +// version of the subtract function. +$border-width: 2px; +$border-radius: .35rem; +$card-border-radius: $border-radius; +$card-border-width: $border-width; +$card-inner-border-radius: subtract($card-border-radius, $card-border-width);