118 lines
2.5 KiB
SCSS
118 lines
2.5 KiB
SCSS
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
|
|
|
|
:global {
|
|
#CurrentNavigationHost {
|
|
width: 100%;
|
|
border-top: 1px solid "[theme: neutralLight, default: #edebe9]";
|
|
}
|
|
|
|
.current-navigation {
|
|
width: 100%;
|
|
color: $ms-color-neutralPrimary;
|
|
font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.current-navigation ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.current-navigation-group {
|
|
padding-left: 20px !important;
|
|
}
|
|
|
|
.current-navigation-row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 36px;
|
|
}
|
|
|
|
.current-navigation-row:hover,
|
|
.current-navigation-row:focus-within {
|
|
background: $ms-color-neutralLighter;
|
|
color: $ms-color-themePrimary;
|
|
}
|
|
|
|
.current-navigation-row:active {
|
|
background: $ms-color-neutralLight;
|
|
}
|
|
|
|
.current-navigation-toggle,
|
|
.current-navigation-toggle-spacer {
|
|
flex: 0 0 32px;
|
|
width: 32px;
|
|
height: 36px;
|
|
}
|
|
|
|
.current-navigation-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
|
|
.current-navigation-toggle:hover {
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.current-navigation-chevron {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-right: 1px solid currentColor;
|
|
border-bottom: 1px solid currentColor;
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.current-navigation-item[aria-expanded='true'] > .current-navigation-row .current-navigation-chevron {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.current-navigation-label {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
align-items: center;
|
|
min-width: 0;
|
|
min-height: 36px;
|
|
padding: 0 12px 0 4px;
|
|
overflow: hidden;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.current-navigation-label:hover,
|
|
.current-navigation-label:focus {
|
|
background: transparent;
|
|
color: inherit;
|
|
}
|
|
|
|
.current-navigation-label:focus {
|
|
outline: 2px solid $ms-color-themePrimary;
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.current-navigation-label.is-current {
|
|
background: $ms-color-neutralLighter;
|
|
color: $ms-color-themePrimary;
|
|
font-weight: $ms-font-weight-semibold;
|
|
}
|
|
|
|
.current-navigation-group[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
.current-navigation-label:focus { outline: 2px solid CanvasText; }
|
|
}
|
|
}
|