Opened 12 years ago
Closed 12 years ago
#21441 closed defect (bug) (fixed)
Twenty Twelve: full RTL support
Reported by: | lancewillett | Owned by: | |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
Review, test, and fix RTL stylesheets.
- rtl.css (main)
- editor-style-rtl.css (editor stylesheet)
Attachments (11)
Change History (31)
#1
@
12 years ago
- Keywords needs-patch added; needs-refresh removed
- Type changed from task (blessed) to defect (bug)
#2
@
12 years ago
- Keywords has-patch added; needs-patch removed
My first ever RTL stylesheet: rtl.css
#4
@
12 years ago
21441.2.diff adds a missing margin-left
for .commentlist .children
and combines a couple of similar styles in the @media
block.
@
12 years ago
We ought not to RTL image alignment since the editor adds the class and the button is always the same
#10
@
12 years ago
The "Post author" badge needs RTL treatment: 21441.post-author.png.
The order is wrong, so the margins (which are correct per se) also don't look right.
http://core.trac.wordpress.org/browser/trunk/wp-content/themes/twentytwelve/rtl.css#L134
#11
@
12 years ago
In 21441-editor-body.diff: Per IRC Chat with @azaozz, center the editor body in RTL to stop messing with calculating height/width in js
#14
in reply to:
↑ 12
@
12 years ago
Replying to lancewillett:
Was thinking to center the editor body by default (in the default editor css) and then add light grey background to the html element. Makes a lot better looking editor when the body has max-width.
Also, there are more classes on the body in TinyMCE: mceContentBody content post-type-post
. The first one is always there (set by MCE) the second is the editor ID and third is the post type. So .content
can be used to target only the main TinyMCE instance on the Edit Post screen. DFW gets mceContentBody content post-type-post wp-fullscreen-editor
.
@
12 years ago
Removed the auto value form the body margin (it wasn't set in ltr), and fixed a few selectors and missing rules
#16
follow-up:
↓ 17
@
12 years ago
- Cc yoavf added
rtl.css looks great, haven't found any problems so far, but I have some more testing to do :)
First stab. Tested with Theme Unit Test.