Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-35564 - Several RTL UI fixes for Course Overview block, in RTL mode

  • Loading branch information...
commit b62ed9d67f005ba5bcf27378a5be54a0e3745fcb 1 parent c8ac480
Nadav Kavalerchik authored

Showing 1 changed file with 33 additions and 2 deletions. Show diff stats Hide diff stats

  1. 35  blocks/course_overview/styles.css
35  blocks/course_overview/styles.css
@@ -15,7 +15,9 @@
15 15
 .block_course_overview .profilepicture {
16 16
     float: left;
17 17
 }
18  
-
  18
+.dir-rtl.block_course_overview .profilepicture {
  19
+    float:right;
  20
+}
19 21
 .block_course_overview .welcome_area {
20 22
     width: 100%;
21 23
     padding-bottom: 5px;
@@ -28,6 +30,9 @@
28 30
     border-collapse: separate;
29 31
     clear: none;
30 32
 }
  33
+.dir-rtl .block_course_overview .welcome_message {
  34
+    float:right;
  35
+}
31 36
 
32 37
 .block_course_overview .content h2.title {
33 38
     float: left;
@@ -35,6 +40,9 @@
35 40
     margin-top: 0;
36 41
     position: relative;
37 42
 }
  43
+.dir-rtl .block_course_overview .content h2.title {
  44
+    float:right;
  45
+}
38 46
 
39 47
 .block_course_overview .course_title {
40 48
     position: relative;
@@ -49,12 +57,19 @@
49 57
     float: left;
50 58
     padding: 2px 10px 0 0;
51 59
 }
  60
+.dir-rtl.editing .block_course_overview .move {
  61
+    float:right;
  62
+    padding: 2px 10px;
  63
+}
52 64
 
53 65
 .editing .block_course_overview .moveicons {
54 66
     display: block;
55 67
     float: left;
56 68
     padding-right: 5px;
57 69
 }
  70
+.dir-rtl.editing .block_course_overview .moveicons {
  71
+    float:right;
  72
+}
58 73
 
59 74
 .editing .block_course_overview .moveup {
60 75
     padding-right: 5px;
@@ -64,11 +79,17 @@
64 79
     float: left;
65 80
     width: 14px;
66 81
 }
  82
+.dir-rtl.editing .block_course_overview .movedownspacer {
  83
+    float:right;
  84
+}
67 85
 
68 86
 .editing .block_course_overview .moveupspacer {
69 87
     float: right;
70 88
     width: 14px;
71 89
 }
  90
+.dir-rtl.editing .block_course_overview .moveupspacer {
  91
+    float:left;
  92
+}
72 93
 
73 94
 .block_course_overview #course_list {
74 95
     width: 100%;
@@ -81,6 +102,9 @@
81 102
 .block_course_overview .activity_info {
82 103
     clear: both;
83 104
 }
  105
+.dir-rtl .block_course_overview .activity_info {
  106
+    margin-right: 25px;
  107
+}
84 108
 
85 109
 .block_course_overview .activity_overview {
86 110
     padding: 2px;
@@ -90,6 +114,9 @@
90 114
     text-align: left;
91 115
     margin: 0;
92 116
 }
  117
+.dir-rtl .block_course_overview .singleselect {
  118
+    text-align: right;
  119
+}
93 120
 
94 121
 .block_course_overview .coursemovetarget {
95 122
     display: block;
@@ -97,4 +124,8 @@
97 124
     margin-bottom: 1em;
98 125
     border-width: 2px;
99 126
     border-style: dashed;
100  
-}
  127
+}
  128
+
  129
+.block_course_overview .collapsibleregioninner .name {margin-right: 20px;}
  130
+.block_course_overview .collapsibleregioninner .info,
  131
+.block_course_overview .collapsibleregioninner .details {margin-right: 25px;}

0 notes on commit b62ed9d

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