summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-06-09 18:12:47 +0000
committerfisharebest <fisharebest@gmail.com>2011-06-09 18:12:47 +0000
commit3c8a79b80a1581fddcb297dc098e02085a6798fa (patch)
tree9937994773a4e02088c3a2b85f2ca1409f5df167 /themes
parentf8c06666164d1a05ea1cc533c562f7a6dedb6f9f (diff)
downloadwebtrees-3c8a79b80a1581fddcb297dc098e02085a6798fa.tar.gz
webtrees-3c8a79b80a1581fddcb297dc098e02085a6798fa.tar.bz2
webtrees-3c8a79b80a1581fddcb297dc098e02085a6798fa.zip
CSS Menus - language/theme menus are always LTR, even on RTL pages, as they contain (almost) entirely LTR text.
Diffstat (limited to 'themes')
-rw-r--r--themes/colors/sprite-menu-icons.css3
-rw-r--r--themes/fab/style.css3
-rw-r--r--themes/webtrees/style.css3
3 files changed, 9 insertions, 0 deletions
diff --git a/themes/colors/sprite-menu-icons.css b/themes/colors/sprite-menu-icons.css
index 9e1fdd2b23..3633963adb 100644
--- a/themes/colors/sprite-menu-icons.css
+++ b/themes/colors/sprite-menu-icons.css
@@ -120,3 +120,6 @@
#menu-sour-del { background-position:left -713px; } html[dir=rtl] #menu-sour-del { background-position:right -713px; }
#menu-sour-edit { background-position:left -782px; } html[dir=rtl] #menu-sour-edit { background-position:right -782px; }
#menu-sour-editraw { background-position:left -667px; } html[dir=rtl] #menu-sour-editraw { background-position:right -667px; }
+
+#menu-language li {text-align:left;} /* The language menu is always LTR, even on RTL pages */
+#menu-theme li {text-align:left;} /* The theme menu is always LTR, even on RTL pages */
diff --git a/themes/fab/style.css b/themes/fab/style.css
index 3b8d3eb08a..ae97cd36bf 100644
--- a/themes/fab/style.css
+++ b/themes/fab/style.css
@@ -207,6 +207,9 @@ html[dir='rtl'] .makeMenu li ul li {
color: #000;
}
+#menu-language li {text-align:left;} /* The language menu is always LTR, even on RTL pages */
+#menu-theme li {text-align:left;} /* The theme menu is always LTR, even on RTL pages */
+
/* person boxes are used in various charts */
.person_box {
background-color:#DDF;
diff --git a/themes/webtrees/style.css b/themes/webtrees/style.css
index 0acf7fad95..64bc76aef2 100644
--- a/themes/webtrees/style.css
+++ b/themes/webtrees/style.css
@@ -1590,6 +1590,9 @@ html[dir='rtl'] #main-menu li li a {float:right;padding:1px 5px 1px 10px;}
#menu-sour-editraw {background-position:left -240px;} html[dir=rtl] #menu-sour-editraw {background-position:right -240px;}
#menu-tree li {background-position:left -240px;} html[dir=rtl] #menu-tree li {background-position:right -240px;}
+#menu-language li {text-align:left;} /* The language menu is always LTR, even on RTL pages */
+#menu-theme li {text-align:left;} /* The theme menu is always LTR, even on RTL pages */
+
/* ========= Login|Favorites|Theme|Language menu items ========== */
#extra-menu {float:right;white-space:nowrap; margin:20px 10px 0 0;}
html[dir='rtl'] #extra-menu { float:left; margin:20px 0 0 10px ;}