diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-11-07 12:28:43 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-12-30 10:29:36 +0100 |
commit | e32766bd1196fa6f49fd76c7d26024a48e44b41a (patch) | |
tree | 6473999a9b97aa2e5020e657f2a6157f2712f4b3 /core | |
parent | 8b527df2536007fefd656ded2204379fe5841a69 (diff) | |
download | nextcloud-server-e32766bd1196fa6f49fd76c7d26024a48e44b41a.tar.gz nextcloud-server-e32766bd1196fa6f49fd76c7d26024a48e44b41a.zip |
Change menu toggle element from span to button
This makes possible to navigate to the menu toggle using the keyboard,
as well as being semantically more correct.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/public.scss | 10 | ||||
-rw-r--r-- | core/templates/layout.public.php | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/core/css/public.scss b/core/css/public.scss index 1b55d9d12db..6ec22cbc6d2 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -11,6 +11,16 @@ $footer-height: 65px; ul li { min-width: 270px; } + #header-actions-toggle { + background-color: transparent; + border-color: transparent; + + &:hover, + &:focus, + &:active { + opacity: 1; + } + } #save-external-share { form { display: flex; diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php index bbfa264d171..996b78a922b 100644 --- a/core/templates/layout.public.php +++ b/core/templates/layout.public.php @@ -61,7 +61,7 @@ </span> <?php if($template->getActionCount() > 1) { ?> <div id="header-secondary-action"> - <span id="header-actions-toggle" class="menutoggle icon-more-white"></span> + <button id="header-actions-toggle" class="menutoggle icon-more-white"></button> <div id="header-actions-menu" class="popovermenu menu"> <ul> <?php |