Skip to content

Comments

Add .checkbox class for new checkbox style#19329

Merged
raghunayyar merged 5 commits intomasterfrom
checkbox-class
Sep 25, 2015
Merged

Add .checkbox class for new checkbox style#19329
raghunayyar merged 5 commits intomasterfrom
checkbox-class

Conversation

@Henni
Copy link
Contributor

@Henni Henni commented Sep 24, 2015

I added the .checkbox class as discussed in #19304
fixes #19304

Currently this class isn't used anywhere. The next step is to apply it to the checkboxes in core.

This PR also considers that IE8 doesn't support the pseudo-class selector :checked.

@Henni Henni added this to the 8.2-current milestone Sep 24, 2015
@MorrisJobke
Copy link
Contributor

Now the checkboxes in the files list in IE8 are at the top left corner. Maybe we need some additional rules for IE8(maybe the ones from before all these checkbox changes)

@MorrisJobke
Copy link
Contributor

It's not only in IE8 ... it's also in FIrefox.

@Henni
Copy link
Contributor Author

Henni commented Sep 24, 2015

I know that this is happening and it should be possible to fix this by adding the checkbox class to the checkboxes. I'll do this later.

@Henni
Copy link
Contributor Author

Henni commented Sep 24, 2015

@MorrisJobke I just fixed the filelist checkboxes.
more to come...

@Henni
Copy link
Contributor Author

Henni commented Sep 24, 2015

A starting point for the new checkbox style.
Please review @jancborchardt @MorrisJobke @PVince81 @davitol

@davitol
Copy link
Contributor

davitol commented Sep 25, 2015

👍 WFM

screen shot 2015-09-25 at 09 20 11

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why double dash? Is a single one not enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the BEM naming convention. I would like to introduce such a convention for all owncloud core (or even app) css in the future. This may prevent issues like owncloud/notifications#16 and may allow us to remove a lot of the !important if we apply this methodology correctly.

@MorrisJobke
Copy link
Contributor

Damn ... I was on the wrong branch -.-

@MorrisJobke
Copy link
Contributor

Yes. This looks a lot better and is usable with IE8 again 👍

@davitol
Copy link
Contributor

davitol commented Sep 25, 2015

@MorrisJobke I can't see the bugs you've found. 😿

Edit: I did not see your last comments 👍

@raghunayyar
Copy link
Contributor

Awesome. Really really thanks a lot @Henni for taking care of all the checkbox issues, much appreciated. \o/

raghunayyar pushed a commit that referenced this pull request Sep 25, 2015
Add .checkbox class for new checkbox style
@raghunayyar raghunayyar merged commit bf73665 into master Sep 25, 2015
@raghunayyar raghunayyar deleted the checkbox-class branch September 25, 2015 08:33
@PVince81
Copy link
Contributor

Thanks a lot!

@jancborchardt
Copy link
Member

@Henni you are awesome! Deserves another drink or two at the Munich meetup in November. ;)

@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add fallback for checkboxes to avoid breaking third party apps

6 participants