зеркало из https://github.com/mozilla/gecko-dev.git
Bug 836867 - The Find Toolbar should transition when opening and closing. r=dao
This commit is contained in:
Родитель
b4b207561d
Коммит
5642d9af72
|
@ -13,6 +13,18 @@ findbar {
|
|||
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
|
||||
padding-bottom: 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 */
|
||||
|
|
|
@ -10,6 +10,18 @@ findbar {
|
|||
border-top: @scopeBarSeparatorBorder@;
|
||||
min-width: 1px;
|
||||
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 {
|
||||
|
|
|
@ -26,6 +26,18 @@ findbar {
|
|||
background-size: 100% 2px;
|
||||
background-repeat: no-repeat;
|
||||
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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче