mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Reverted color transitions on all elements
This commit is contained in:
parent
4c74ac251a
commit
a8fc0c5e65
@ -5,8 +5,8 @@
|
|||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.de50e36d.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.de50e36d.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.27c6a5e6.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.27c6a5e6.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.27c6a5e6.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.27c6a5e6.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.58cd5b42.min.css",
|
"assets/stylesheets/main.css": "assets/stylesheets/main.d6c38d2b.min.css",
|
||||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.58cd5b42.min.css.map",
|
"assets/stylesheets/main.css.map": "assets/stylesheets/main.d6c38d2b.min.css.map",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.02db69e1.min.css",
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.02db69e1.min.css",
|
||||||
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.02db69e1.min.css.map"
|
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.02db69e1.min.css.map"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
material/assets/stylesheets/main.d6c38d2b.min.css
vendored
Normal file
3
material/assets/stylesheets/main.d6c38d2b.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.d6c38d2b.min.css.map
Normal file
1
material/assets/stylesheets/main.d6c38d2b.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.58cd5b42.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d6c38d2b.min.css' | url }}">
|
||||||
{% if palette.scheme or palette.primary or palette.accent %}
|
{% if palette.scheme or palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.02db69e1.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.02db69e1.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -36,9 +36,6 @@ input {
|
|||||||
color: var(--md-text-color);
|
color: var(--md-text-color);
|
||||||
font-feature-settings: "kern", "liga";
|
font-feature-settings: "kern", "liga";
|
||||||
font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
background-color 250ms;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Proportionally spaced fonts
|
// Proportionally spaced fonts
|
||||||
@ -48,9 +45,6 @@ kbd {
|
|||||||
color: var(--md-text-color);
|
color: var(--md-text-color);
|
||||||
font-feature-settings: "kern";
|
font-feature-settings: "kern";
|
||||||
font-family: SFMono-Regular, Consolas, Menlo, monospace;
|
font-family: SFMono-Regular, Consolas, Menlo, monospace;
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
background-color 250ms;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@ -144,7 +138,7 @@ kbd {
|
|||||||
// Also enable color transition on pseudo elements
|
// Also enable color transition on pseudo elements
|
||||||
&,
|
&,
|
||||||
&::before {
|
&::before {
|
||||||
transition: color 250ms;
|
transition: color 125ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Focused or hover links
|
// Focused or hover links
|
||||||
@ -298,9 +292,6 @@ kbd {
|
|||||||
padding-left: px2rem(12px);
|
padding-left: px2rem(12px);
|
||||||
color: var(--md-default-fg-color--light);
|
color: var(--md-default-fg-color--light);
|
||||||
border-left: px2rem(4px) solid var(--md-default-fg-color--lighter);
|
border-left: px2rem(4px) solid var(--md-default-fg-color--lighter);
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
border-color 250ms;
|
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
// Adjust for right-to-left languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
@ -451,7 +442,7 @@ kbd {
|
|||||||
|
|
||||||
// Table rows
|
// Table rows
|
||||||
tr {
|
tr {
|
||||||
transition: background-color 250ms;
|
transition: background-color 125ms;
|
||||||
|
|
||||||
// Add background on hover
|
// Add background on hover
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -76,10 +76,6 @@ $admonitions: (
|
|||||||
box-shadow:
|
box-shadow:
|
||||||
0 px2rem(4px) px2rem(10px) hsla(0, 0%, 0%, 0.05),
|
0 px2rem(4px) px2rem(10px) hsla(0, 0%, 0%, 0.05),
|
||||||
0 0 px2rem(1px) hsla(0, 0%, 0%, 0.1);
|
0 0 px2rem(1px) hsla(0, 0%, 0%, 0.1);
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
background-color 250ms,
|
|
||||||
border-color 250ms;
|
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
// Adjust for right-to-left languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
// Footnote
|
// Footnote
|
||||||
li {
|
li {
|
||||||
transition: color 250ms;
|
transition: color 125ms;
|
||||||
|
|
||||||
// Darken color for targeted footnote
|
// Darken color for targeted footnote
|
||||||
&:target {
|
&:target {
|
||||||
|
@ -36,9 +36,9 @@
|
|||||||
border: px2rem(2px) solid currentColor;
|
border: px2rem(2px) solid currentColor;
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
transition:
|
transition:
|
||||||
color 250ms,
|
color 125ms,
|
||||||
background-color 250ms,
|
background-color 125ms,
|
||||||
border-color 250ms;
|
border-color 125ms;
|
||||||
|
|
||||||
// Primary button
|
// Primary button
|
||||||
&--primary {
|
&--primary {
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
color: var(--md-default-fg-color--lightest);
|
color: var(--md-default-fg-color--lightest);
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color 250ms;
|
transition: color 125ms;
|
||||||
|
|
||||||
// Hide for print
|
// Hide for print
|
||||||
@media print {
|
@media print {
|
||||||
|
@ -28,9 +28,6 @@
|
|||||||
.md-footer {
|
.md-footer {
|
||||||
color: var(--md-footer-fg-color);
|
color: var(--md-footer-fg-color);
|
||||||
background-color: var(--md-footer-bg-color);
|
background-color: var(--md-footer-bg-color);
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
background-color 250ms;
|
|
||||||
|
|
||||||
// Hide for print
|
// Hide for print
|
||||||
@media print {
|
@media print {
|
||||||
|
@ -152,12 +152,6 @@
|
|||||||
transform 400ms cubic-bezier(0.1, 0.7, 0.1, 1),
|
transform 400ms cubic-bezier(0.1, 0.7, 0.1, 1),
|
||||||
opacity 150ms;
|
opacity 150ms;
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
|
||||||
[dir="rtl"] & {
|
|
||||||
padding-right: px2rem(20px);
|
|
||||||
padding-left: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Page title
|
// Page title
|
||||||
& + & {
|
& + & {
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color 250ms;
|
transition: color 125ms;
|
||||||
scroll-snap-align: start;
|
scroll-snap-align: start;
|
||||||
|
|
||||||
// Hide link to table of contents by default - this will only match the
|
// Hide link to table of contents by default - this will only match the
|
||||||
|
@ -445,9 +445,6 @@ $md-toggle__search--checked:
|
|||||||
background-color: var(--md-default-bg-color);
|
background-color: var(--md-default-bg-color);
|
||||||
// Hack: reduce jitter
|
// Hack: reduce jitter
|
||||||
backface-visibility: hidden;
|
backface-visibility: hidden;
|
||||||
transition:
|
|
||||||
color 250ms,
|
|
||||||
background-color 250ms;
|
|
||||||
scroll-snap-type: y mandatory;
|
scroll-snap-type: y mandatory;
|
||||||
touch-action: pan-y;
|
touch-action: pan-y;
|
||||||
|
|
||||||
@ -498,7 +495,6 @@ $md-toggle__search--checked:
|
|||||||
.md-search-result {
|
.md-search-result {
|
||||||
color: var(--md-default-fg-color);
|
color: var(--md-default-fg-color);
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
transition: color 250ms;
|
|
||||||
|
|
||||||
// Search metadata
|
// Search metadata
|
||||||
&__meta {
|
&__meta {
|
||||||
|
Loading…
Reference in New Issue
Block a user