mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 836867 - The Find Toolbar should transition when opening and closing. r=dao
This commit is contained in:
parent
72bdf543e1
commit
358f120c0d
@ -13,6 +13,18 @@ findbar {
|
|||||||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
|
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
|
transition-property: margin-bottom, opacity, visibility;
|
||||||
|
transition-duration: 150ms, 150ms, 0s;
|
||||||
|
transition-timing-function: ease-in-out, ease-in-out, linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
findbar[hidden] {
|
||||||
|
/* Override display:none to make the transition work. */
|
||||||
|
display: -moz-box;
|
||||||
|
visibility: collapse;
|
||||||
|
margin-bottom: -1em;
|
||||||
|
opacity: 0;
|
||||||
|
transition-delay: 0s, 0s, 150ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find-next button */
|
/* find-next button */
|
||||||
|
@ -10,6 +10,18 @@ findbar {
|
|||||||
border-top: @scopeBarSeparatorBorder@;
|
border-top: @scopeBarSeparatorBorder@;
|
||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
padding: 4px 2px;
|
padding: 4px 2px;
|
||||||
|
transition-property: margin-bottom, opacity, visibility;
|
||||||
|
transition-duration: 150ms, 150ms, 0s;
|
||||||
|
transition-timing-function: ease-in-out, ease-in-out, linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
findbar[hidden] {
|
||||||
|
/* Override display:none to make the transition work. */
|
||||||
|
display: -moz-box;
|
||||||
|
visibility: collapse;
|
||||||
|
margin-bottom: -1em;
|
||||||
|
opacity: 0;
|
||||||
|
transition-delay: 0s, 0s, 150ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
findbar:-moz-lwtheme {
|
findbar:-moz-lwtheme {
|
||||||
|
@ -26,6 +26,18 @@ findbar {
|
|||||||
background-size: 100% 2px;
|
background-size: 100% 2px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
min-width: 1px;
|
min-width: 1px;
|
||||||
|
transition-property: margin-bottom, opacity, visibility;
|
||||||
|
transition-duration: 150ms, 150ms, 0s;
|
||||||
|
transition-timing-function: ease-in-out, ease-in-out, linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
findbar[hidden] {
|
||||||
|
/* Override display:none to make the transition work. */
|
||||||
|
display: -moz-box;
|
||||||
|
visibility: collapse;
|
||||||
|
margin-bottom: -1em;
|
||||||
|
opacity: 0;
|
||||||
|
transition-delay: 0s, 0s, 150ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find-next button */
|
/* find-next button */
|
||||||
|
Loading…
Reference in New Issue
Block a user