Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit d2f84a9

Browse files
authored
Merge pull request #2624 from cezaraugusto/titlebar-transition
Transition between title mode and address entry in URL bar. Closes #1192
2 parents c673afe + 7ed0ead commit d2f84a9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

less/navigationBar.less

+21
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88

99
@import "variables.less";
1010

11+
// Fade In animation for URL bar transitions
12+
@keyframes fadeIn {
13+
from {
14+
opacity: 0
15+
}
16+
to {
17+
opacity: 1
18+
}
19+
}
20+
1121
// On MacOS we need to keep a padding left to avoid overlapping
1222
// with the window buttons to close/maximize/minimize the window.
1323
.platform--darwin .navigatorWrapper .backforward {
@@ -207,7 +217,18 @@
207217
}
208218
}
209219

220+
&:not(.titleMode) {
221+
.urlbarForm, .browserButton {
222+
animation: fadeIn .6s;
223+
opacity: 0;
224+
animation-fill-mode: forwards;
225+
}
226+
}
227+
210228
&.titleMode {
229+
&:extend(#navigator:not(.titleMode).urlbarForm);
230+
animation: fadeIn 1.2s;
231+
211232
input {
212233
display: none;
213234
}

0 commit comments

Comments
 (0)