diff --git a/src/styles/index.scss b/src/styles/index.scss index 3496436a..a81af92f 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -228,3 +228,32 @@ code { position: relative; margin: 0 auto; } + +//github-corner +.github-corner:hover .octo-arm { + animation: octocat-wave 560ms ease-in-out +} + +@keyframes octocat-wave { + 0%, + 100% { + transform: rotate(0) + } + 20%, + 60% { + transform: rotate(-25deg) + } + 40%, + 80% { + transform: rotate(10deg) + } +} + +@media (max-width:500px) { + .github-corner:hover .octo-arm { + animation: none + } + .github-corner .octo-arm { + animation: octocat-wave 560ms ease-in-out + } +} diff --git a/src/views/dashboard/default/index.vue b/src/views/dashboard/default/index.vue index c0625b51..9a16481f 100644 --- a/src/views/dashboard/default/index.vue +++ b/src/views/dashboard/default/index.vue @@ -4,6 +4,15 @@ 你的权限: {{item}} + + +
{{name}} 普通编辑dashboard diff --git a/src/views/dashboard/editor/index.vue b/src/views/dashboard/editor/index.vue index 53aaed38..af338738 100644 --- a/src/views/dashboard/editor/index.vue +++ b/src/views/dashboard/editor/index.vue @@ -4,6 +4,15 @@ 你的权限: {{item}} + + +
{{name}}