@((MarkupString)Localizer["RibbonTabsAnchorDesc"].Value)
+Layout
is used to build a web page",
"Block7aTitle": "Click expand to shrink the left menu",
"MenusClickShrinkSpanSpan": "I am the title of the website",
- "MenusClickShrinkMenuTitle": "Backstage management",
+ "MenusClickShrinkMenuTitle": "Admin",
"MenusWidgetTitle": "Menu with pendant",
"MenusWidgetIntro": "Set the custom component into the menu by setting the Component
property of the MenuItem ",
"MenusCustomNodeTitle": "Custom node shrinkage",
diff --git a/src/BootstrapBlazor/Components/Menu/Menu.razor.scss b/src/BootstrapBlazor/Components/Menu/Menu.razor.scss
index a2bfaffa69a..4960f0d0755 100644
--- a/src/BootstrapBlazor/Components/Menu/Menu.razor.scss
+++ b/src/BootstrapBlazor/Components/Menu/Menu.razor.scss
@@ -37,7 +37,6 @@
.menu .nav .nav-link,
.cascade .dropdown-item {
padding: 0.5rem 1rem;
- color: rgba(0,0,0,.65);
user-select: none;
white-space: nowrap;
position: relative;
@@ -137,7 +136,6 @@
display: flex;
align-items: center;
line-height: 21px;
- color: inherit;
transition: background-color .3s linear, color .3s linear;
}
diff --git a/src/BootstrapBlazor/Components/RibbonTab/RibbonTab.razor.scss b/src/BootstrapBlazor/Components/RibbonTab/RibbonTab.razor.scss
index 6588c9ec471..3dd3c5a5af8 100644
--- a/src/BootstrapBlazor/Components/RibbonTab/RibbonTab.razor.scss
+++ b/src/BootstrapBlazor/Components/RibbonTab/RibbonTab.razor.scss
@@ -6,8 +6,6 @@
--bb-ribbon-menu-radius: #{$bb-ribbon-menu-radius};
--bb-ribbon-menu-padding: #{$bb-ribbon-menu-padding};
--bb-ribbon-menu-border-color: #{$bb-ribbon-menu-border-color};
- --bb-ribbon-menu-bg: #{$bb-ribbon-menu-bg};
- --bb-ribbon-menu-color: #{$bb-ribbon-menu-color};
--bb-ribbon-menu-hover-color: #{$bb-ribbon-menu-hover-color};
--bb-ribbon-button-hover-bg: #{$bb-ribbon-button-hover-bg};
--bb-ribbon-button-hover-border-color: #{$bb-ribbon-button-hover-border-color};
@@ -36,7 +34,8 @@
}
.ribbon-tab .ribbon-header .tabs-header {
- background-color: var(--bb-ribbon-menu-bg);
+ background-color: var(--bs-body-bg);
+ border-bottom: 1px solid var(--bs-border-color);
}
.ribbon-tab .ribbon-header .tabs-border-card.tabs-top .tabs-header {
@@ -74,7 +73,7 @@
}
.ribbon-tab .ribbon-header .tabs-border-card .tabs-header .tabs-item:not(:hover):not(.active) {
- color: var(--bb-ribbon-menu-color);
+ color: var(--bs-body-color);
}
.ribbon-tab .ribbon-header .tabs-border-card .tabs-header .tabs-item:hover {
diff --git a/src/BootstrapBlazor/Components/Select/Select.razor.scss b/src/BootstrapBlazor/Components/Select/Select.razor.scss
index 518f7756ffe..c2692b42466 100644
--- a/src/BootstrapBlazor/Components/Select/Select.razor.scss
+++ b/src/BootstrapBlazor/Components/Select/Select.razor.scss
@@ -90,12 +90,16 @@
height: 0;
border-width: 0 6px 6px;
border-style: solid;
- border-color: transparent transparent #fff;
+ border-color: transparent transparent var(--bs-body-bg);
position: absolute;
top: 1px;
left: -6px;
}
+[data-bs-theme='dark'] .dropdown-menu-arrow:after {
+ content: none;
+}
+
.show > .dropdown-menu,
.show > .dropdown-menu-arrow {
display: block;
diff --git a/src/BootstrapBlazor/wwwroot/scss/theme/bootstrap.blazor.scss b/src/BootstrapBlazor/wwwroot/scss/theme/bootstrap.blazor.scss
index 35fbb57fe82..9a1fa151215 100644
--- a/src/BootstrapBlazor/wwwroot/scss/theme/bootstrap.blazor.scss
+++ b/src/BootstrapBlazor/wwwroot/scss/theme/bootstrap.blazor.scss
@@ -410,11 +410,9 @@ $bb-ribbon-menu-body-padding: .5rem;
$bb-ribbon-menu-radius: var(--bs-border-radius);
$bb-ribbon-menu-padding: .5rem;
$bb-ribbon-menu-border-color: var(--bs-border-color);
-$bb-ribbon-menu-bg: #f5f5f5;
-$bb-ribbon-menu-color: #343a40;
$bb-ribbon-menu-hover-color: #409eff;
-$bb-ribbon-button-hover-bg: #d0e7ff;
-$bb-ribbon-button-hover-border-color: #8bb5e0;
+$bb-ribbon-button-hover-bg: rgb(51 147 246 / 48%);
+$bb-ribbon-button-hover-border-color: #89b9ea;
$bb-ribbon-button-active-bg: #acd4fd;
$bb-ribbon-button-active-border-color: #8bb5e0;
$bb-ribbon-button-border-width: 1px;