Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
533
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
8400d810
Commit
8400d810
authored
10 months ago
by
Nicolas Pomepuy
Committed by
Duncan McNamara
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Remote access: manage click on main icon
parent
c2676c92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1865
Allow browsing a playlist
Pipeline
#445155
passed with stages
Stage:
Stage:
Stage:
in 32 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildsystem/network-sharing-server/src/components/AppHeader.vue
+105
-2
105 additions, 2 deletions
...ystem/network-sharing-server/src/components/AppHeader.vue
with
105 additions
and
2 deletions
buildsystem/network-sharing-server/src/components/AppHeader.vue
+
105
−
2
View file @
8400d810
<
template
>
<nav
class=
"navbar navbar-light navbar-expand-md shadow-sm sticky-top align-items-center container-fluid main-navbar"
>
<RouterLink
class=
"flex1"
:to=
"
{ name: 'VideoList' }">
<img
id=
"logo"
v-bind:src=
"$getAppAsset('ic_icon', 48, true)"
width=
"48"
>
<img
id=
"logo"
v-bind:src=
"$getAppAsset('ic_icon', 48, true)"
width=
"48"
v-on:click=
"iconClick()"
v-bind:class=
"this.clicked > 2 && this.clicked % 2 == 1 ? 'animate' : ''"
>
</RouterLink>
<div
class=
"d-flex justify-content-center"
>
<RouterLink
:to=
"
{ name: 'VideoList' }">
...
...
@@ -145,6 +145,11 @@ export default {
components
:
{
ImageButton
,
},
data
()
{
return
{
clicked
:
0
}
},
methods
:
{
disconnectedClicked
()
{
this
.
$root
.
startWebSocket
();
...
...
@@ -167,6 +172,9 @@ export default {
},
changeTheme
()
{
this
.
appStore
.
darkTheme
=
!
this
.
appStore
.
darkTheme
},
iconClick
()
{
this
.
clicked
++
}
},
computed
:
{
...
...
@@ -241,4 +249,99 @@ export default {
.cursor-pointer
{
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
}
.animate
{
animation-name
:
rotating
,
bounce
,
jello
;
animation-duration
:
1000ms
,
1000ms
,
1000ms
;
animation-delay
:
0ms
,
1000ms
,
1000ms
;
}
@keyframes
rotating
{
0
%
{
transform
:
rotate
(
0deg
);
}
100
%
{
transform
:
rotate
(
360deg
)
translateY
(
-23px
);
}
}
@keyframes
bounce
{
0
%
{
animation-timing-function
:
ease-in
;
opacity
:
1
;
transform
:
translateY
(
-23px
);
}
24
%
{
opacity
:
1
;
}
40
%
{
animation-timing-function
:
ease-in
;
transform
:
translateY
(
-12px
);
}
65
%
{
animation-timing-function
:
ease-in
;
transform
:
translateY
(
-6px
);
}
82
%
{
animation-timing-function
:
ease-in
;
transform
:
translateY
(
-3px
);
}
93
%
{
animation-timing-function
:
ease-in
;
transform
:
translateY
(
-2px
);
}
25
%
,
55
%
,
75
%
,
87
%
{
animation-timing-function
:
ease-out
;
transform
:
translateY
(
0px
);
}
100
%
{
animation-timing-function
:
ease-out
;
opacity
:
1
;
transform
:
translateY
(
0px
);
}
}
@keyframes
jello
{
0
%
{
transform
:
scale3d
(
1
,
1
,
1
);
}
30
%
{
transform
:
scale3d
(
1
.1
,
0
.9
,
1
);
}
40
%
{
transform
:
scale3d
(
0
.9
,
1
.1
,
1
);
}
50
%
{
transform
:
scale3d
(
1
.05
,
0
.95
,
1
);
}
65
%
{
transform
:
scale3d
(
0
.98
,
1
.02
,
1
);
}
75
%
{
transform
:
scale3d
(
1
.02
,
0
.98
,
1
);
}
100
%
{
transform
:
scale3d
(
1
,
1
,
1
);
}
}
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment