49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
.navbar {
|
|
background: var(--mud-palette-surface);
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
z-index: 1001;
|
|
border-top: 1px solid var(--card-border-color);
|
|
}
|
|
|
|
.navbar-expand { padding: 0 !important; }
|
|
|
|
.nav-item { font-size: 0.9rem; }
|
|
|
|
.nav-item ::deep a {
|
|
display: flex;
|
|
align-items: center;
|
|
line-height: 1.2;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-item ::deep a > div {
|
|
-webkit-transition: all .1s ease-out;
|
|
transition: all .1s ease-out;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.nav-item ::deep a.active > div { color: var(--mud-palette-secondary-darken); }
|
|
|
|
.nav-item ::deep a.active > div > i {
|
|
/*background-color: color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);*/
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.nav-item ::deep a.active > div > span { font-weight: 800; }
|
|
|
|
.nav-item ::deep a:not(.active) > div { color: var(--mud-palette-drawer-icon); }
|
|
|
|
.nav-item ::deep a i { font-size: 1.5rem; }
|
|
|
|
.nav-item ::deep a span {
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
@supports (-webkit-touch-callout: none) {
|
|
.nav-item { padding-bottom: env(safe-area-inset-bottom) !important; }
|
|
|
|
.nav-item ::deep > .nav-link { padding-bottom: 0 !important; }
|
|
} |