diff --git a/less/header.less b/less/header.less index eaba22a..ef8f528 100644 --- a/less/header.less +++ b/less/header.less @@ -467,3 +467,24 @@ html[data-dir="rtl"] { text-align: right; } } + +#mobile-menu:focus i.fa-bars { + -webkit-animation: fa-spin 2s infinite linear; + animation: fa-spin 2s infinite linear; + + &::before { + font-family: "FontAwesome"; + content: "\f110"; + } +} + +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} \ No newline at end of file diff --git a/templates/partials/menu.tpl b/templates/partials/menu.tpl index aa3e97f..940d090 100644 --- a/templates/partials/menu.tpl +++ b/templates/partials/menu.tpl @@ -1,7 +1,7 @@