Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button border colors hard coded transparent #5576

Closed
joeljameswatson opened this issue Feb 23, 2016 · 9 comments
Closed

Button border colors hard coded transparent #5576

joeljameswatson opened this issue Feb 23, 2016 · 9 comments

Comments

@joeljameswatson
Copy link

In Ionic 1.2.0 the button border styles appear to be hardcoded to transparent through a mixin. This seems to make creating custom styles more difficult and less maintainable. I suggest this could be set as a variable.

Please see this commit:

21e54be

@ghost
Copy link

ghost commented Mar 9, 2016

+1 I just updated ionic to 1.2.1 and all the borders disappeared.

Is this a feature or a bug?

@jgw96
Copy link
Contributor

jgw96 commented Mar 11, 2016

@asanin-2sol Would you mind making a codepen or giving us a code example so that we can repro this issue? Thanks!

@ghost
Copy link

ghost commented Mar 15, 2016

@jgw96 My main problem is with button bars, having no borders makes the following example look like a single button with three labels rather than three buttons in a bar.

<div class="button-bar">
  <a class="button">First</a>
  <a class="button">Second</a>
  <a class="button">Third</a>
</div>

Also, the way this looks does not correspond to the way button bars look in the documentation, where the borders are not transparent.

Hope this helps.

danbucholtz added a commit that referenced this issue May 9, 2016
…t-active-border

made variables for button-default-border and button-default-active-bordermade variables

#5576
@danbucholtz
Copy link
Contributor

Hi @gness and @joeljameswatson,

I have updated the sass. Please take a look and let me know if any changes are required and if this works for you. In the mean time I am going to close this issue. Thanks for contributing and letting us know.

Thanks,
Dan

@andischerer
Copy link

Hi @danbucholtz,

i have left a comment on your commit. Currently there is no chance to set a user defined value to the introduced scss variables $button-default-border and $button-default-active-border.

@danbucholtz
Copy link
Contributor

danbucholtz commented May 14, 2016

Hi @andischerer,

Can you do a PR with the changes you'd like to see. I'll happily work with you to get it merged quickly. Please let me know.

Thanks!
Dan

@andischerer
Copy link

@danbucholtz here you are

@danbucholtz
Copy link
Contributor

Nice! I'll test and merge. In the off chance I forget, just bug me about it again. Thanks for doing this!

Thanks,
Dan

@UnVoiding
Copy link

@danbucholtz This issue seems to be resolved but $button-default-border and $button-default-active-border is still hard-coded

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants