Browse Source

RTL fixes for media manager

master
Anika Henke 12 years ago
parent
commit
80d696a6cc
  1. 23
      css/_media_fullscreen.css
  2. 5
      css/design.css

23
css/_media_fullscreen.css

@ -53,6 +53,9 @@
margin: 0 10px 10px 0; margin: 0 10px 10px 0;
position: relative; position: relative;
} }
[dir=rtl] #mediamanager__page .panelContent {
text-align: right;
}
#mediamanager__page .file .panelHeader, #mediamanager__page .file .panelHeader,
#mediamanager__page .file .panelContent { #mediamanager__page .file .panelContent {
@ -107,9 +110,17 @@
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
[dir=rtl] #mediamanager__page .namespaces ul {
margin-left: 0;
margin-right: .2em;
}
#mediamanager__page .namespaces ul ul { #mediamanager__page .namespaces ul ul {
margin-left: 1em; margin-left: 1em;
} }
[dir=rtl] #mediamanager__page .namespaces ul ul {
margin-left: 0;
margin-right: 1em;
}
#mediamanager__page .namespaces ul ul li { #mediamanager__page .namespaces ul ul li {
margin: 0; margin: 0;
} }
@ -401,6 +412,10 @@
text-align: left; text-align: left;
border-color: __background__; border-color: __background__;
} }
[dir=rtl] #mediamanager__diff td,
[dir=rtl] #mediamanager__diff th {
text-align: right;
}
#mediamanager__diff th { #mediamanager__diff th {
font-weight: normal; font-weight: normal;
@ -435,10 +450,6 @@
#mediamanager__diff .imageDiff { #mediamanager__diff .imageDiff {
position: relative; position: relative;
} }
#mediamanager__diff .imageDiff .image1,
#mediamanager__diff .imageDiff .image2 {
width: 97%;
}
#mediamanager__diff .imageDiff .image2 { #mediamanager__diff .imageDiff .image2 {
position: absolute; position: absolute;
top: 0; top: 0;
@ -456,6 +467,10 @@
overflow: hidden; overflow: hidden;
} }
#mediamanager__diff .imageDiff.portions img {
float: left;
}
#mediamanager__diff .imageDiff img { #mediamanager__diff .imageDiff img {
width: 100%; width: 100%;
max-width: none; max-width: none;

5
css/design.css

@ -166,6 +166,11 @@
top: 0; top: 0;
right: 0; right: 0;
} }
[dir=rtl] #IE6 #dokuwiki__pagetools ul li a.action.top,
[dir=rtl] #IE7 #dokuwiki__pagetools ul li a.action.top {
right: auto;
left: 0;
}
/* sidebar /* sidebar

Loading…
Cancel
Save