Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-35571 theme_magazine: RTL fixes - WIKI title headings, ajax front…

…page category/course chooser, right align logo, left align course name, left align login & user info.
  • Loading branch information...
commit d5fd21b6efed1eb925ef2ff3cb977e927a3d68af 1 parent 9819795
Mary Evans authored October 09, 2012

Showing 1 changed file with 73 additions and 6 deletions. Show diff stats Hide diff stats

  1. 79  theme/magazine/style/core.css
79  theme/magazine/style/core.css
@@ -52,6 +52,10 @@ div#headerinner {
52 52
     line-height: 30px;
53 53
     min-width: 400px;
54 54
 }
  55
+.dir-rtl #headright {
  56
+    float: left;
  57
+    min-width: 300px;
  58
+}
55 59
 
56 60
 #headright a {
57 61
     color: #fff;
@@ -66,6 +70,10 @@ div#headerinner {
66 70
     font-size: 9px;
67 71
 }
68 72
 
  73
+.dir-rtl #headright div.langmenu {
  74
+    float: left !important;
  75
+}
  76
+
69 77
 #headleft {
70 78
     float: left;
71 79
     height: 30px;
@@ -74,6 +82,10 @@ div#headerinner {
74 82
     font-size: 12px;
75 83
 }
76 84
 
  85
+.dir-rtl #headleft {
  86
+    float: right;
  87
+}
  88
+
77 89
 /** Logo and menu bar divs and wrap **/
78 90
 
79 91
 #textcontainer-wrap {
@@ -99,6 +111,10 @@ div.thetitle {
99 111
     float: left;
100 112
 }
101 113
 
  114
+.dir-rtl div.thetitle {
  115
+    float: right;
  116
+}
  117
+
102 118
 #nologo {
103 119
     width: 337px;
104 120
     float: left;
@@ -107,6 +123,11 @@ div.thetitle {
107 123
     margin-top: 40px;
108 124
     }
109 125
 
  126
+.dir-rtl #nologo {
  127
+    float: right;
  128
+    padding-right: 3px;
  129
+}
  130
+
110 131
 #nologo.nomenu {
111 132
     width: 100%;
112 133
 }
@@ -118,25 +139,27 @@ div.thetitle {
118 139
     font-weight: 800;
119 140
     letter-spacing: -1px;
120 141
     line-height: 45px;
121  
-
122  
-
123 142
 }
  143
+
124 144
 #nologo a:hover {
125 145
     text-decoration: none;
126 146
 }
  147
+
127 148
 div.rightinfo {
128 149
     float: right;
129 150
     min-width: 470px;
130 151
     height: 130px;
131 152
     overflow: hidden;
132 153
 }
  154
+.dir-rtl div.rightinfo {
  155
+    float: left;
  156
+}
133 157
 
134 158
 #menucontainer {
135 159
     height: 45px;
136 160
     margin-top: 40px;
137 161
 }
138 162
 
139  
-
140 163
 /** main content wraps **/
141 164
 
142 165
 #outercontainer {
@@ -191,6 +214,10 @@ div.jcontrolsleft {
191 214
     float: left;
192 215
     min-width: 100px;
193 216
 }
  217
+.dir-rtl div.jcontrolsleft {
  218
+    float:right;
  219
+    margin-right: 15px;
  220
+}
194 221
 
195 222
 div.jcontrolsright {
196 223
     float: right;
@@ -199,6 +226,11 @@ div.jcontrolsright {
199 226
     margin-right: 15px;
200 227
 }
201 228
 
  229
+.dir-rtl div.jcontrolsright {
  230
+    float: left;
  231
+    margin-left: 15px;
  232
+}
  233
+
202 234
 div.jcontrolsright div.singlebutton, div.jcontrolsright div.forumsearch {
203 235
     margin: 5px 0px 0px;
204 236
 }
@@ -243,6 +275,9 @@ div.johndocsleft {
243 275
     color: #333333;
244 276
     font-size: 11px;
245 277
 }
  278
+.dir-rtl div.johndocsleft {
  279
+    float: right;
  280
+}
246 281
 
247 282
 /** Some breadcrumb style **/
248 283
 
@@ -410,7 +445,12 @@ div#jcontrols_button span.arrow.sep {
410 445
 
411 446
 /** inner block style for decent display of recent news, etc **/
412 447
 
413  
-.block_recent_activity.block_docked div.content h2.main, .block_recent_activity.block_docked div.content h3.main, .side-pre .block div.content h2.main,.side-post .block div.content h2.main,.block div.content h3.main,.block div.content h2 {
  448
+.block_recent_activity.block_docked div.content h2.main,
  449
+.block_recent_activity.block_docked div.content h3.main,
  450
+.side-pre .block div.content h2.main,
  451
+.side-post .block div.content h2.main,
  452
+.block div.content h3.main,
  453
+.block div.content h2 {
414 454
     font-size: 13px;
415 455
     color: #333;
416 456
     font-weight: 800;
@@ -448,7 +488,7 @@ div.yui3-widget-bd h1.helpheading {
448 488
 
449 489
 .yui-module.yui-overlay.yui-panel div.hd {
450 490
     background: #eeeeee url([[pix:theme|bart5]]) repeat-x 0% 90%;
451  
-    }
  491
+}
452 492
 
453 493
 /**moodle dropdown css for yui menu **/
454 494
 
@@ -851,6 +891,10 @@ div.coursebox h3.name a {
851 891
     padding-left: 5px !important;
852 892
 }
853 893
 
  894
+.dir-rtl .unlist ul.teachers {
  895
+    padding-right: 5px;
  896
+}
  897
+
854 898
 .unlist ul.teachers li {
855 899
     font-size: 10px;
856 900
 }
@@ -893,6 +937,9 @@ div.course_category_tree div.category,div.course_category_tree div.category_labe
893 937
 div.course_category_tree div.category.with_children div.category_label {
894 938
     background-position: 0 55% !important;
895 939
 }
  940
+.dir-rtl div.course_category_tree div.category.with_children div.category_label {
  941
+    background-position: right center !important;
  942
+}
896 943
 
897 944
 div.course_category_tree div.course.odd {
898 945
     background: #eee;
@@ -906,6 +953,23 @@ div.category.subcategory.with_children {
906 953
     margin-left: 20px;
907 954
 }
908 955
 
  956
+.dir-rtl div.category.subcategory.with_children {
  957
+    margin-right: 20px;
  958
+}
  959
+
  960
+.dir-rtl .course_category_tree .category .course_info {
  961
+    padding-right: 20px;
  962
+}
  963
+
  964
+.dir-rtl.jsenabled .course_category_tree .category.with_children.collapsed .category_label {
  965
+    backkground-position: right center !important;
  966
+}
  967
+
  968
+.dir-rtl .course_category_tree .category_label,
  969
+.dir-rtl .course_category_tree .category .course {
  970
+    padding-right: 35px;
  971
+}
  972
+
909 973
 div.course_category_tree div.controls {
910 974
     font-size: 10px;
911 975
     color: #666;
@@ -1025,6 +1089,9 @@ table.glossarypost td.entry h3 {
1025 1089
     margin-bottom: 3px;
1026 1090
     margin-top: 2px;
1027 1091
 }
  1092
+#page-mod-wiki-view.dir-rtl h2.wiki_headingtitle {
  1093
+    text-align: right;
  1094
+}
1028 1095
 
1029 1096
 /**HR in content blocks **/
1030 1097
 
@@ -1126,4 +1193,4 @@ div.singlebutton.forumaddnew {
1126 1193
 
1127 1194
 #page-course-info div.generalbox ul, #page-course-info div.generalbox li {
1128 1195
     list-style-type: none;
1129  
-}
  1196
+}

0 notes on commit d5fd21b

Please sign in to comment.
Something went wrong with that request. Please try again.