diff options
author | Gabriel Albo <gabriel@albo.com.br> | 2015-03-09 14:35:46 -0300 |
---|---|---|
committer | Gabriel Albo <gabriel@albo.com.br> | 2015-03-09 18:17:48 -0300 |
commit | c3eab90103b01b3551a83a8d747e11fc4945582e (patch) | |
tree | a3ec9142db322b498dbffa96eba678e126e1d449 /web-ui/app | |
parent | 6b5de66fc5adc3c62a92738e9f317c4b1335f838 (diff) |
#261 - Adding a hover behavior for the default tags
Diffstat (limited to 'web-ui/app')
-rw-r--r-- | web-ui/app/scss/styles.scss | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/web-ui/app/scss/styles.scss b/web-ui/app/scss/styles.scss index d3c96530..a7f36b35 100644 --- a/web-ui/app/scss/styles.scss +++ b/web-ui/app/scss/styles.scss @@ -158,7 +158,7 @@ } &.selected { background: #FFF; - z-index: 3; + z-index: 2; a { color: #333; } @@ -254,18 +254,20 @@ section { border-right: 1px solid lighten($navigation_background, 10%); ul#default-tag-list, #custom-tag-list { li { - transition: background-color 150ms ease-out; + transition: background-color 150ms ease-in-out; padding: 2px 10px; cursor: pointer; - &:hover { - background: #CCC; - color: $navigation_background; - } &.selected { font-weight: bold; background: $contrast; color: $navigation_background; } + &:hover { + z-index: 5; + transition: z-index 150ms ease-out; + background: #CCC; + color: $navigation_background; + } } } |