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

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2022-05-10 02:11:03 +0300
committerMark Otto <markdotto@gmail.com>2022-05-10 02:11:03 +0300
commitd76a5452c9f9330a897050da6937b1503f06668b (patch)
tree1ed76144cd89a5b9751106b86c9d43355dc7b857
parente99a2a2780122fc04608198316647d4953f8ed6b (diff)
Clean up CSS errors
-rw-r--r--docs/assets/scss/_navbar.scss23
-rw-r--r--docs/assets/scss/_variables.scss26
-rw-r--r--docs/assets/scss/docs.scss2
3 files changed, 5 insertions, 46 deletions
diff --git a/docs/assets/scss/_navbar.scss b/docs/assets/scss/_navbar.scss
index b623d7b33..481d489f4 100644
--- a/docs/assets/scss/_navbar.scss
+++ b/docs/assets/scss/_navbar.scss
@@ -24,7 +24,7 @@
}
.navbar-brand {
- transition: .2s ease-in-out transform; // stylelint-disable-line property-disallowed-list
+ transition: .2s ease-in-out transform;
&:hover {
transform: rotate(-5deg) scale(1.1);
@@ -61,25 +61,4 @@
box-shadow: $box-shadow-lg;
}
}
-
- .dropdown-toggle {
- &:focus {
- outline: 0;
- }
- }
-
- .dropdown-menu {
- --bs-dropdown-min-width: 12rem;
- --bs-dropdown-link-hover-bg: rgba(var(--bd-violet-rgb), .1);
- --bs-dropdown-font-size: .875rem;
- box-shadow: $dropdown-box-shadow;
- }
-
- .dropdown-item.current {
- font-weight: 600;
- background-image: escape-svg($dropdown-active-icon);
- background-repeat: no-repeat;
- background-position: right $dropdown-item-padding-x top .6rem;
- background-size: .75rem .75rem;
- }
}
diff --git a/docs/assets/scss/_variables.scss b/docs/assets/scss/_variables.scss
index fcf14adbe..167b89df1 100644
--- a/docs/assets/scss/_variables.scss
+++ b/docs/assets/scss/_variables.scss
@@ -1,15 +1,8 @@
-// stylelint-disable scss/dollar-variable-default
-
// Local docs variables
-$bd-purple: #4c0bce;
-$bd-violet: lighten(saturate($bd-purple, 5%), 15%); // stylelint-disable-line function-disallowed-list
-$bd-purple-light: lighten(saturate($bd-purple, 5%), 45%); // stylelint-disable-line function-disallowed-list
-$bd-accent: #ffe484;
-$dropdown-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
-$search-clear-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='rgba(255,255,255,.75)' d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z'/></svg>");
-
+$bd-purple: #4c0bce;
+$bd-violet: lighten(saturate($bd-purple, 5%), 15%);
+$bd-accent: #ffe484;
$bd-gutter-x: 3rem;
-$bd-callout-variants: info, warning, danger !default;
:root {
--bd-purple: #{$bd-purple};
@@ -20,16 +13,3 @@ $bd-callout-variants: info, warning, danger !default;
--bd-pink-rgb: #{to-rgb($pink-500)};
--bd-teal-rgb: #{to-rgb($teal-500)};
}
-
-$teal-100: #d2f4ea;
-
-// // Local docs variables
-// $bd-purple: #4c0bce;
-// $bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%);
-// $bd-dark: #2a2730;
-// $bd-download: #ffe484;
-
-// $bd-gutter-x: 1.25rem;
-
-// $spacer: 1rem;
-// $box-shadow-lg: 0 1rem 3rem rgba(#000, .175) !default;
diff --git a/docs/assets/scss/docs.scss b/docs/assets/scss/docs.scss
index 34606096d..8ab1ed50a 100644
--- a/docs/assets/scss/docs.scss
+++ b/docs/assets/scss/docs.scss
@@ -53,7 +53,7 @@
.bi {
display: inline-block;
vertical-align: -.125em;
- fill: currentColor;
+ fill: currentcolor;
}
.hero-notice {