mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-24 14:53:45 -04:00
Added further tests for navigation
This commit is contained in:
@@ -154,6 +154,7 @@
|
||||
|
||||
// [tablet -]: Layered navigation
|
||||
@include break-to-device(tablet) {
|
||||
background-color: $md-color-white;
|
||||
|
||||
// Stretch primary navigation to drawer
|
||||
&--primary,
|
||||
@@ -170,14 +171,6 @@
|
||||
|
||||
// Adjust styles for primary navigation
|
||||
&--primary {
|
||||
background-color: $md-color-white;
|
||||
|
||||
// Move subsequent navigations off
|
||||
.md-nav__toggle ~ .md-nav {
|
||||
@include z-depth(4);
|
||||
|
||||
background-color: $md-color-white;
|
||||
}
|
||||
|
||||
// List title and item
|
||||
.md-nav__title,
|
||||
@@ -302,7 +295,8 @@
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
// Color of icon should inherit link color on hover
|
||||
// Color of icon should inherit link color on focus or hover
|
||||
&:focus::after,
|
||||
&:hover::after {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user