Skip to content
This repository
Browse code

fixed some RTL issues in mediamanager (FS#2433 and others)

  • Loading branch information...
commit ebe6179c634de8874fe940ae1c5fe9792018d616 1 parent 31b10b4
Anika Henke authored July 28, 2012
23  lib/tpl/dokuwiki/css/_media_fullscreen.css
@@ -53,6 +53,9 @@
53 53
     margin: 0 10px 10px 0;
54 54
     position: relative;
55 55
 }
  56
+[dir=rtl] #mediamanager__page .panelContent {
  57
+    text-align: right;
  58
+}
56 59
 
57 60
 #mediamanager__page .file .panelHeader,
58 61
 #mediamanager__page .file .panelContent {
@@ -107,9 +110,17 @@
107 110
     padding: 0;
108 111
     list-style: none;
109 112
 }
  113
+[dir=rtl] #mediamanager__page .namespaces ul {
  114
+    margin-left: 0;
  115
+    margin-right: .2em;
  116
+}
110 117
 #mediamanager__page .namespaces ul ul {
111 118
     margin-left: 1em;
112 119
 }
  120
+[dir=rtl] #mediamanager__page .namespaces ul ul {
  121
+    margin-left: 0;
  122
+    margin-right: 1em;
  123
+}
113 124
 #mediamanager__page .namespaces ul ul li {
114 125
     margin: 0;
115 126
 }
@@ -398,6 +409,10 @@
398 409
     text-align: left;
399 410
     border-color: __background__;
400 411
 }
  412
+[dir=rtl] #mediamanager__diff td,
  413
+[dir=rtl] #mediamanager__diff th {
  414
+    text-align: right;
  415
+}
401 416
 
402 417
 #mediamanager__diff th {
403 418
     font-weight: normal;
@@ -432,10 +447,6 @@
432 447
 #mediamanager__diff .imageDiff {
433 448
     position: relative;
434 449
 }
435  
-#mediamanager__diff .imageDiff .image1,
436  
-#mediamanager__diff .imageDiff .image2 {
437  
-    width: 97%;
438  
-}
439 450
 #mediamanager__diff .imageDiff .image2 {
440 451
     position: absolute;
441 452
     top: 0;
@@ -451,6 +462,10 @@
451 462
     overflow: hidden;
452 463
 }
453 464
 
  465
+#mediamanager__diff .imageDiff.portions img {
  466
+    float: left;
  467
+}
  468
+
454 469
 #mediamanager__diff .imageDiff img {
455 470
     width: 100%;
456 471
     max-width: none;

0 notes on commit ebe6179

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