Merge lp:~ddorda/ubuntu-drupal-theme/rtl-style into lp:~ubuntu-drupal-devs/ubuntu-drupal-theme/6.x

Proposed by Ddorda
Status: Merged
Approved by: Michael Lustfield
Approved revision: 106
Merged at revision: 106
Proposed branch: lp:~ddorda/ubuntu-drupal-theme/rtl-style
Merge into: lp:~ubuntu-drupal-devs/ubuntu-drupal-theme/6.x
Diff against target: None lines
To merge this branch: bzr merge lp:~ddorda/ubuntu-drupal-theme/rtl-style
Reviewer Review Type Date Requested Status
Michael Lustfield (community) Approve
Review via email: mp+7003@code.launchpad.net

Commit message

Merge RTL styles Ddorda contributed in response to bug 382294.

To post a comment you must log in.
Revision history for this message
Ddorda (ddorda) wrote :

i think it should be merged for the RTL users (as Arabic and Hebrew speakers)

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

MTecknology will review this.

review: Abstain
Revision history for this message
Michael Lustfield (michaellustfield) wrote :

I've seen this code working and aside from a small 1px bug in IE8, the code seems perfectly stable.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'images/layout/bullet-rtl.png'
2Binary files images/layout/bullet-rtl.png 1970-01-01 00:00:00 +0000 and images/layout/bullet-rtl.png 2009-06-02 20:48:18 +0000 differ
3=== added file 'images/misc/feature-button-bg-rtl.jpg'
4Binary files images/misc/feature-button-bg-rtl.jpg 1970-01-01 00:00:00 +0000 and images/misc/feature-button-bg-rtl.jpg 2009-06-02 20:48:18 +0000 differ
5=== modified file 'logo.png'
6Binary files logo.png 2009-03-03 02:28:01 +0000 and logo.png 2009-06-02 20:48:18 +0000 differ
7=== added file 'style-rtl.css'
8--- style-rtl.css 1970-01-01 00:00:00 +0000
9+++ style-rtl.css 2009-06-02 20:48:18 +0000
10@@ -0,0 +1,427 @@
11+/* $Id: style.css,v 1.1.2.25 2008/07/27 18:05:04 andregriffin Exp $ */
12+
13+/* Drupal 6 Ubuntu Drupal
14+----------------------------------------------------------------
15+[Table of contents]
16+ 1. Global
17+ 2. Header
18+ 3. Navigation
19+ 4. Nodes
20+ 5. Comments
21+ 6. Blocks
22+ 7. Columns
23+ 8. Footer
24+ 9. CSS Support
25+10. Administration
26+11. UndoCSS
27+12. Page Header
28+----------------------------------------------------------------*/
29+
30+/**
31+ * 1. GLOBAL
32+ */
33+
34+em {
35+ padding: 0 0 0 3px;
36+}
37+
38+
39+/**
40+ * 2. HEADER
41+ */
42+
43+.masthead {
44+ margin-right: auto;
45+ margin-left: 2px;
46+}
47+
48+/**
49+ * 3. NAVIGATION
50+ */
51+
52+#sisternav {
53+ right: auto;
54+ left:13px;
55+}
56+
57+#sisternav ul {
58+ padding:0 1px 0 10px;
59+}
60+
61+#sisternav li {
62+ float:right;
63+ background:url("images/png/corner_topleft.png") no-repeat right top;
64+ padding:0 5px 0 0;
65+ margin-right: auto;
66+ margin-left: -1px;
67+}
68+
69+#sisternav .plain a {
70+ padding:5px 10px 3px 15px;
71+}
72+
73+#sisternav .current a {
74+ padding:5px 10px 4px 15px;
75+}
76+
77+#sisternav a {
78+ float:right;
79+ background:url("images/png/corner_topright.png") no-repeat left top;
80+}
81+
82+ul.links li {
83+ margin: 0 0 0 10px;
84+}
85+
86+/* negative margin keeps from pushing node h2 titles down */
87+.breadcrumb {
88+ left: auto;
89+ right: 26%;
90+ margin-top: -1px;
91+}
92+
93+#tabs-wrapper li a {
94+ padding-left: auto;
95+ padding-right: 11px;
96+}
97+
98+#nav li ul {
99+ left: auto;
100+ right: -999em;
101+}
102+
103+#nav li:hover ul {
104+ left: auto;
105+ right: auto;
106+}
107+
108+#nav li:hover ul, #nav li.sfhover ul {
109+ left: auto;
110+ right: auto;
111+}
112+
113+/**
114+ * 4. NODES
115+ */
116+
117+.meta div.links {
118+ float: right;
119+}
120+
121+.meta div.terms {
122+ float: left;
123+}
124+
125+.meta div.links ul.links li {
126+ float: right;
127+ padding: 5px 0 5px 10px;
128+}
129+
130+.meta div.terms ul.links li {
131+ float: right;
132+}
133+
134+/**
135+ * 5. COMMENTS
136+ */
137+
138+.comment ul.links {
139+ margin: 0 25px 0 0;
140+}
141+
142+.indented {
143+ border-left: auto;
144+ margin-left: auto;
145+ padding-left: auto;
146+ border-right: 1px solid #dbd2b0;
147+ margin-right: 14px;
148+ padding-right: 10px;
149+}
150+
151+/**
152+ * 6. BLOCKS
153+ */
154+
155+
156+/**
157+ * 7. COLUMNS
158+ */
159+
160+div#column-center {
161+ padding-left auto;
162+ padding-right: 10px;
163+}
164+
165+div#column-right {
166+ padding-left: auto;
167+ padding-right: 10px;
168+}
169+
170+
171+/**
172+ * 8. FOOTER
173+ */
174+
175+#footer a.feed-icon {
176+ left: auto;
177+ right: 0;
178+}
179+
180+#footer #block-system-0 {
181+ float: left;
182+ right: auto;
183+ left: 15px;
184+}
185+
186+#footer .wrapper {
187+ left: auto;
188+ right: 5px;
189+ float: right;
190+ text-align: left;
191+}
192+
193+/**
194+ * 9. CSS SUPPORT
195+ */
196+
197+.noindent {
198+ margin-left: auto;
199+ padding-left: auto;
200+ margin-right: 0;
201+ padding-right: 0;
202+}
203+
204+/**
205+ * 10. ADMINISTRATION
206+ */
207+
208+/* lists */
209+
210+dl dd {
211+ margin: 0 1.5em .5em 0;
212+}
213+
214+ol {
215+ padding: 0 1.5em 0 0;
216+}
217+
218+ol li {
219+ margin: 0.15em .5em 0.15em 0;
220+}
221+
222+ol ul li {
223+ margin-left: auto;
224+ margin-right: .5em;
225+ padding: 0 1.5em .2em 0;
226+}
227+
228+.item-list ul {
229+ margin: 0.35em -0.5em 0 0;
230+}
231+
232+.item-list ul ul {
233+ margin-left: auto;
234+ margin-right: 0;
235+}
236+
237+ul li, ul li.leaf, .item-list ul li {
238+ background: transparent url(images/menu-leaf.gif) no-repeat 98% .35em;
239+ margin: .15em .5em .15em 0;
240+ padding: 0 1.5em .2em 0;
241+}
242+
243+ul li.collapsed {
244+ background: transparent url(images/layout/menu-collapsed-rtl.gif) no-repeat 0 .35em;
245+}
246+
247+ul.inline li {
248+ margin: 0; padding: 0 0 0 1em;
249+}
250+
251+ul ol li {
252+ margin-left: auto;
253+ margin-right: 2em;
254+}
255+
256+ul ul li {
257+ margin-left: auto;
258+ margin-right: 2em;
259+}
260+
261+/* admin tab links */
262+
263+ ul.primary {
264+ float: right;
265+}
266+
267+ul.secondary {
268+ clear: both; margin: 0 0 1em; padding: .5em 0; text-align: right;
269+}
270+
271+ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited, ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
272+ padding: 0 0 0 1em;
273+}
274+
275+/* sidebar menu */
276+
277+ul.menu li a {
278+ padding: .1em 1.5em .1em 0;
279+}
280+
281+ul.menu li ul li a {
282+ padding-left: auto;
283+ padding-right: 2.7em;
284+}
285+
286+ul.menu li ul li ul li a {
287+ padding-left: auto;
288+ padding-right: 3.9em;
289+}
290+
291+ul.menu li ul li ul li ul li a {
292+ padding-left: auto;
293+ padding-right: 5.1em;
294+}
295+
296+/* to remove zebra coloring from sidebar menus, remove this star and slash--> */
297+
298+ul.menu li a {
299+ padding: .2em 1.5em .2em 0;
300+}
301+/* end zebra coloring */
302+
303+/* stuff you probably will not need to change - includes admin coloring */
304+
305+html.js fieldset.collapsible legend a {
306+ padding-left: auto;
307+ padding-right: 2em;
308+}
309+
310+html.js fieldset.collapsed legend a {
311+ background: url(images/layout/menu-collapsed-rtl.gif) no-repeat 0 50%;
312+}
313+
314+.form-button, .form-submit {
315+ margin: 2em 0 1em 0.5em;
316+}
317+
318+div.admin .left {
319+ float: right;
320+}
321+
322+div.admin .right {
323+ float: left;
324+}
325+
326+/**
327+ * 11. UNDO CSS
328+ */
329+
330+
331+/**
332+ * 12. PAGE HEADER
333+ */
334+
335+
336+#header {
337+ margin-right: auto;
338+ margin-left: 2px;
339+}
340+
341+#header #logotext h1 {
342+ left: auto;
343+ right: 50%;
344+ margin-left: auto;
345+ margin-right: -220px;
346+}
347+
348+#header #slogantext {
349+ left: auto;
350+ right: 50%;
351+ margin-left: auto;
352+ margin-right: -220px;
353+}
354+
355+#search-theme-form {
356+ float: left;
357+}
358+
359+#topNav ul {
360+ right: auto;
361+ left: 0px;
362+}
363+
364+#topNav li {
365+ float: right;
366+ margin: 0 0 0 18px;
367+ background-image: url(images/layout/bullet-triangle-rtl.png);
368+ background-position: right center;
369+}
370+
371+#topNav li ul {
372+ left: auto;
373+ right: -999em;
374+}
375+
376+#topNav li:hover ul {
377+ left: auto;
378+ right: 0;
379+}
380+
381+#ubuntulogo {
382+ left: auto;
383+ right:0px;
384+ padding-left: auto; /* This is for Opera browsers... */
385+ padding-right: 14px; /* This is for Opera browsers... */
386+}
387+
388+#searchbox {
389+ text-align: left;
390+ right: auto;
391+ left: 9px;
392+}
393+
394+#searchbox p {
395+ right: auto;
396+ left: -10px;
397+}
398+
399+#masthead {
400+ margin: 0 5px 0 0;
401+ border-right: 204px solid #ffffff;
402+ border-left: 216px solid #ffffff;
403+}
404+
405+#mastheadimage {
406+ left: auto;
407+ right: -204px;
408+}
409+
410+#mastheadnotice {
411+ right: auto;
412+ left: -216px;
413+ background-position: left top;
414+}
415+
416+#mastheadnotice h2 {
417+ margin: 8px 20px 0 8px;
418+}
419+
420+#mastheadnotice p {
421+ margin: 6px 20px 8px 8px;
422+}
423+
424+#mastheadcenter {
425+ left: auto;
426+ right: 0;
427+}
428+
429+#masthead.homepage #mastheadnotice {
430+ right: auto;
431+ left: -210px !important;
432+}
433+
434+#masthead.homepage #mastheadcenter p {
435+ margin-left: auto;
436+ margin-right: .4em;
437+}

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: