From 104ae93936e78a365b7439cefb0882fbedc6ffca Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Wed, 20 Nov 2013 19:25:11 +0100 Subject: [PATCH] // tweak nav sidebar --- admin-dev/themes/default/css/admin-theme.css | 4 ++-- .../themes/default/scss/admin-theme/_admin-nav.sass | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/admin-dev/themes/default/css/admin-theme.css b/admin-dev/themes/default/css/admin-theme.css index 561f0e6d4..2ca98bebd 100644 --- a/admin-dev/themes/default/css/admin-theme.css +++ b/admin-dev/themes/default/css/admin-theme.css @@ -3022,8 +3022,8 @@ a.link-social:hover { text-decoration: none; } #nav-sidebar ul.menu li.maintab a.title i { color: #9094a2; background-color: #17181c; -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.4s; transition-duration: 0.4s; -webkit-transition-timing-function: ease-out; -moz-transition-timing-function: ease-out; -o-transition-timing-function: ease-out; transition-timing-function: ease-out; } #nav-sidebar ul.menu li.maintab a.title:hover { background-color: #686d7d; color: white; } #nav-sidebar ul.menu li.maintab a.title:hover i { color: white; } -#nav-sidebar ul.menu li.maintab span.submenu_expand { position: absolute; right: 10px; top: 2px; cursor: pointer; font-family: FontAwesome; font-size: 24px; font-weight: 100; color: black; background-color: transparent; text-shadow: #686d7d 1px 1px 0; } -#nav-sidebar ul.menu li.maintab span.submenu_expand:hover { color: white; text-shadow: #232429 -1px -1px 0; } +#nav-sidebar ul.menu li.maintab span.submenu_expand { position: absolute; right: 0; top: 0; width: 28px; height: 36px; text-align: center; cursor: pointer; font-family: FontAwesome; font-size: 24px; font-weight: 100; color: black; text-shadow: #686d7d 1px 1px 0; } +#nav-sidebar ul.menu li.maintab span.submenu_expand:hover { background: rgba(0, 0, 0, 0.1); color: white; text-shadow: #232429 -1px -1px 0; } #nav-sidebar ul.submenu { list-style: none; padding: 0; } #nav-sidebar ul.submenu li a { display: block; padding: 4px 5px 4px 10px; font-size: 12px; border: none; border-bottom: solid 1px #eeeeee; background-color: white; } #nav-sidebar ul.submenu li a:hover { color: #515561; background-color: #edeeef; text-decoration: none; } diff --git a/admin-dev/themes/default/scss/admin-theme/_admin-nav.sass b/admin-dev/themes/default/scss/admin-theme/_admin-nav.sass index b7de7762e..6ec03dbf5 100644 --- a/admin-dev/themes/default/scss/admin-theme/_admin-nav.sass +++ b/admin-dev/themes/default/scss/admin-theme/_admin-nav.sass @@ -169,17 +169,20 @@ color: white span.submenu_expand position: absolute - right: 10px - top: 2px + right: 0 + top: 0 + width: 28px + height: 36px + text-align: center cursor: pointer font-family: FontAwesome font-size: 24px font-weight: 100 color: black - background-color: transparent @extend .icon-angle-down @include text-shadow(lighten($main-color,10%) 1px 1px 0) &:hover + background: rgba(black,0.1) color: white @include text-shadow(darken($main-color,20%) -1px -1px 0) ul.submenu