]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/parameters.scss
Merge remote-tracking branch 'upstream/pull/4260'
[rails.git] / app / assets / stylesheets / parameters.scss
index 31e7edce5379b7ece349f469becf4198226dfd12..4f93273a895f7a293693ee8b66ae71dadbb6ac85 100644 (file)
@@ -11,10 +11,8 @@ $vibrant-green: #76c551;
 $grey: #CCC;
 $lightgrey: #EEE;
 $darkgrey: #888;
-$hovercolor: 20%;
 $headerHeight: 55px;
 $sidebarWidth: 350px;
-$keyline: 1px solid $lightgrey;
 $list-highlight: #FFFFC0;
 $border: 1px solid $grey;
 
@@ -23,4 +21,16 @@ $link-hover-color: #24d;
 $link-decoration: none;
 $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);