diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-08-08 21:54:07 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-08-11 07:36:47 -0700 |
commit | 1b0ae5a82730c6aba16dad4477879bd0987ffea5 (patch) | |
tree | c737b9b92f2ec03de4f1fe56b0e853da0f83268b /theme/stylesheets | |
parent | 01b6ca76e865d42fcedb62e30871752acb6ea92e (diff) | |
download | gitbook-1b0ae5a82730c6aba16dad4477879bd0987ffea5.zip gitbook-1b0ae5a82730c6aba16dad4477879bd0987ffea5.tar.gz gitbook-1b0ae5a82730c6aba16dad4477879bd0987ffea5.tar.bz2 |
Fix border on dropdown selector
Diffstat (limited to 'theme/stylesheets')
-rw-r--r-- | theme/stylesheets/website/font-settings.less | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/theme/stylesheets/website/font-settings.less b/theme/stylesheets/website/font-settings.less index 9f42cfc..8930ed1 100644 --- a/theme/stylesheets/website/font-settings.less +++ b/theme/stylesheets/website/font-settings.less @@ -66,8 +66,8 @@ .list-group-item{ cursor:pointer; background-color:transparent; - border-color: @sidebar-divider-color; - border-width: 1px 0 !important; + border: none; + border-top: 1px solid @sidebar-divider-color; &:hover{ color:@header-button-hover-color; @@ -77,6 +77,10 @@ color:@header-button-hover-color; background-color:@header-button-hover-background !important; } + + &:last-child { + border-bottom: 1px solid @sidebar-divider-color; + } } } &.open{ @@ -107,7 +111,7 @@ } .list-group{ .list-group-item{ - border-color:@sidebar-divider-color-1; + border-color:@sidebar-divider-color-1 !important; &:hover{ color:@header-button-hover-color-1; background-color:@header-button-hover-background-1 !important; @@ -143,7 +147,7 @@ } .list-group{ .list-group-item{ - border-color:@sidebar-divider-color-2; + border-color:@sidebar-divider-color-2 !important; &:hover{ color:@header-button-hover-color-2; background-color:@header-button-hover-background-2 !important; |