From 3971dc65f661440e1a08f5d31edd20b400cc379d Mon Sep 17 00:00:00 2001 From: jeffrom Date: Wed, 23 Apr 2014 20:13:43 -0700 Subject: [PATCH] fix disabled menu item focus jumping unfortunately this causes a new issue. the container gets 1px larger i think due to box model issues. but this is better than before. le sigh... --- src/client/styles/app.styl | 15 ++++++++++++--- src/public/index.html | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/client/styles/app.styl b/src/client/styles/app.styl index 0fbf0ad8..8d52510e 100644 --- a/src/client/styles/app.styl +++ b/src/client/styles/app.styl @@ -45,7 +45,7 @@ body list-style none outside none margin 2px padding 4px - + h1 letter-spacing 0.1em margin-top 8px @@ -138,7 +138,7 @@ body div.cursor text-decoration underline - + #lib-filter margin 4px width 175px @@ -214,7 +214,7 @@ body div.selected selected-div() - + div.current border 1px solid #096AC8 background-color #292929 @@ -251,6 +251,15 @@ body width: 240px font-size: 1em +#menu-library .ui-state-disabled.ui-state-focus, +#menu-playlist .ui-state-disabled.ui-state-focus + margin: .3em -1px .2em + +#menu-library .menu-item-last.ui-state-disabled.ui-state-focus, +#menu-playlist .menu-item-last.ui-state-disabled.ui-state-focus + margin: 5px -1px .2em + height: 23px + #shortcuts h1 margin-bottom 10px diff --git a/src/public/index.html b/src/public/index.html index dfe17510..843cbd2f 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -356,7 +356,7 @@

Miscellaneous

  • Queue Next in Random Order
  • Delete
  • Download
  • -
  • Edit Tags
  • +
  • Edit Tags