reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own!

Sharing

(This is set up so as to work along side the default reddit CSS without having to debug as to why yours isn't having higher priority over the default.)

Specific class is .sharelink

Table class string is .sharetable.preftable

Generic classes & ids

Small (optional) are .little.gray

Errors reddit-wide are .error

send this link to

send this link to is label[for*="share_to_"]

The email text area is textarea[name="share_to"]

Share to error class is .share-to-errors

  • It's situated to the right of the text box. By itself, it's best used for backgrounds and borders for the error text. The borders are visible no matter what.

Specific error field classes are: .BAD_EMAILS.field-share_to, .TOO_MANY_EMAILS.field-share_to, and .NO_EMAILS.field-share_to

Generic error class: .field-share_to

your name

your name is label[for*="share_from_"]

Optional class set is label[for*="share_from_"] + .little.gray {}

Name field class is .real-name

Name error class is .share-from-errors

  • It's situated to the right of the text box. By itself, it's best used for backgrounds and borders for the error text. The borders are visible no matter what.

Specific error field classes: .COMMENT_TOO_LONG.field-share_from OR .field-share_from

your email

your email is label[for*="replyto_"]

Optional class set is label[for*="replyto_"] + .little.gray {}

Your email is input[name="replyto"]

Your email error class is .reply-to-errors

Specific error field classes: .BAD_EMAILS.field-replyto & .TOO_MANY_EMAILS.field-replyto

Generic error field class: .field-replyto

message

message is label[for*="message_"]

Optional class set is label[for*="message_"] + .little.gray {}

Message text field id is textarea[name="message"]

Message error class is .message-errors

Specific error field classes: .TOO_LONG.field-message OR .field-message

Buttons

Submit button string is .sharetable button[type="submit"]

Cancel button string is .sharetable button[onclick*="return"]