1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-01-18 00:46:47 +01:00

Corrected formatting of transition definitions

This commit is contained in:
squidfunk 2016-12-24 15:16:21 +01:00
parent d86dadf4bd
commit de177ca0c5
3 changed files with 9 additions and 7 deletions

View File

@ -70,9 +70,10 @@
position: absolute;
transform: translateX(0.5rem);
transition: transform 0.25s 0.125s,
color 0.25s,
opacity 0.125s 0.125s;
transition:
transform 0.25s 0.125s,
color 0.25s,
opacity 0.125s 0.125s;
color: $md-color-black--lighter;
font-size: 1.5625em;
opacity: 0;

View File

@ -32,9 +32,10 @@
display: inline-block;
margin-left: 1.0rem;
transform: translate(0, 0.5rem);
transition: transform 0.25s 0.25s,
color 0.25s,
opacity 0.125s 0.25s;
transition:
transform 0.25s 0.25s,
color 0.25s,
opacity 0.125s 0.25s;
opacity: 0;
// Higher specificity for color due to palettes integration

View File

@ -308,7 +308,7 @@
// Unrotate icon for table of contents
&::after {
transform: translateY(-50%);
transform: translateY(-50%); // TODO: just use arrow_right in case of mobile navigation
color: inherit;
content: "toc";
}