ember-cli-pagination icon indicating copy to clipboard operation
ember-cli-pagination copied to clipboard

How to use my css style with this addon

Open dinagr opened this issue 8 years ago • 7 comments

Hello,

I would like to be able to use my style with this addon. How can I do it?

Thanks a lot, Dina

dinagr avatar Nov 23 '16 13:11 dinagr

+1 for this

stephencarr avatar Jan 10 '17 18:01 stephencarr

i want to solve this issue too !!

dandy91 avatar Mar 16 '17 23:03 dandy91

You can style this: https://github.com/mharris717/ember-cli-pagination/blob/master/addon/templates/components/page-numbers.hbs

If you want to add a First and Last page do this {{page-numbers content=content showFL=true}}

broerse avatar Mar 17 '17 05:03 broerse

PR's to the readme are welcome if this is not clear.

broerse avatar Mar 17 '17 05:03 broerse

@dinagr @stephencarr Sorry I totally missed seeing this issue. Worked hard to remove the binding deprecation and was not focused on other issues.

broerse avatar Mar 17 '17 05:03 broerse

yeah.. i realized that i can edit the class in handlebars file..... but if i installed this addon from the command and i haven't this file in my project ! what's can i do ?! @broerse

dandy91 avatar Mar 17 '17 13:03 dandy91

@dandy91 In your app/styles just add something like this:

.pagination > li > a,
.pagination > li > span {
  background-color: red;
}

broerse avatar Mar 17 '17 16:03 broerse