mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added nicer scaling for reset button
This commit is contained in:
parent
4b745d0027
commit
2de1608079
@ -370,6 +370,7 @@ $md-toggle__search--checked:
|
||||
transform 150ms cubic-bezier(0.1, 0.7, 0.1, 1),
|
||||
opacity 150ms;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
@ -393,6 +394,7 @@ $md-toggle__search--checked:
|
||||
#{$md-toggle__search--checked} .md-search__input:valid ~ & {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
pointer-events: initial;
|
||||
|
||||
// Hovered icon
|
||||
&:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user