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; position: absolute;
transform: translateX(0.5rem); transform: translateX(0.5rem);
transition: transform 0.25s 0.125s, transition:
color 0.25s, transform 0.25s 0.125s,
opacity 0.125s 0.125s; color 0.25s,
opacity 0.125s 0.125s;
color: $md-color-black--lighter; color: $md-color-black--lighter;
font-size: 1.5625em; font-size: 1.5625em;
opacity: 0; opacity: 0;

View File

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

View File

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