vinhnglx / active_bootstrap_skin

Bootstrap skin for Active Admin :rocket: :rocket: :rocket:
MIT License
134 stars 28 forks source link

activeadmin scopes (aka tabs at the top of index table) are just styleless ul-li bulleted list #5

Open okliv opened 8 years ago

okliv commented 8 years ago

there is nothing to say more )

ul.scopes > li.scope > a

i have last activeadmin, rails 4, ruby 2.2.1, active_bootstrap_skin 0.1.1

vinhnglx commented 8 years ago

@okliv it would be great if you can contribute to this ;)

krtschmr commented 8 years ago

ul.scopes {
  li.scope {
    display: inline-block;
    list-style-type: none;
    margin-bottom: 4px;
  }
  li.scope a{ @extend .btn; @extend .btn-default; }
  li.scope.selected a { @extend .btn-primary; }
}

want a pullrequest for that?

vinhnglx commented 8 years ago

sure, thanks a lot man @krtschmr

krtschmr commented 8 years ago

https://github.com/vinhnglx/active_bootstrap_skin/pull/14

vinhnglx commented 8 years ago

@krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

krtschmr commented 8 years ago

It's somehow a little bit buggy. i saw strange sideeffects when they get a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963054, or mute the thread https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC.

vinhnglx commented 8 years ago

Ok. Thank you, man. Hope will get your PR soon. I'll make an example application for the gem soon.

On Wed, Aug 3, 2016 at 12:39 AM, Tim notifications@github.com wrote:

It's somehow a little bit buggy. i saw strange sideeffects when they get a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963054>,

or mute the thread < https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963776, or mute the thread https://github.com/notifications/unsubscribe-auth/AB55UQUOREP1ktPSozNZI1N8K2kv55Qdks5qb3KvgaJpZM4H-1aC .

Ruby Developer Betacode Sdn Bhd (1109222-K) Phone: (+60) 167557808 Skype: vinhnglx Email: vinh.nglx@gmail.com

opensourceame commented 3 years ago
->
  $('.scopes ul').addClass('nav nav-pills')

in active_admin.coffee.js worked for me.