Commit e2c4d34c authored by Dries's avatar Dries

Issue #1994192 by tsi, mjohnq3: Bartik's menu tabs in RTL.

parent 9600c1e5
......@@ -61,9 +61,11 @@ ul.tips {
/* --------------- Main Menu ------------ */
#main-menu ul.links li,
#main-menu ul.links li a {
float: right;
#main-menu-links {
text-align: right;
}
#main-menu-links a {
padding: 0.9em 10px 0.9em 0;
}
/* --------------- Secondary Menu ------------ */
......@@ -240,6 +242,45 @@ ul.tips {
left: 0;
}
/* ----------- media queries ------------------------------- */
@media all and (min-width: 461px) and (max-width: 900px) {
/* ------------ Header and Menus -------------------------- */
#logo {
padding: 5px 5px 0 0;
}
#main-menu-links li {
float: right;
margin-left: 5px;
margin-right: 0;
}
#main-menu-links li:nth-child(3n) {
margin-left: -5px;
margin-right: 0;
}
}
@media all and (min-width: 901px) {
#logo {
padding: 15px 10px 15px 15px;
}
#name-and-slogan {
margin: 0 15px 30px 0;
}
#main-menu-links li {
float: right;
}
#main-menu-links a {
float: right;
padding: 0.7em 0.8em;
}
}
/* ---------- Views styling ---------- */
/* @group Lists */
......
......@@ -481,7 +481,7 @@ h1#site-name {
font-size: 0.929em;
margin: 0 5px;
padding: 0;
text-align: left;
text-align: left; /* LTR */
}
#main-menu-links li {
float: none;
......@@ -500,7 +500,7 @@ h1#site-name {
text-shadow: 0 1px #eee;
border-radius: 8px;
margin-bottom: 4px;
padding: 0.9em 0 0.9em 10px;
padding: 0.9em 0 0.9em 10px; /* LTR */
}
#main-menu-links a:hover,
#main-menu-links a:focus {
......@@ -1552,14 +1552,14 @@ div.admin-panel .description {
text-align: center;
}
#main-menu-links li {
float: left;
margin-right: 5px;
float: left; /* LTR */
margin-right: 5px; /* LTR */
padding: 0;
display: inline-block;
width: 32.75%;
}
#main-menu-links li:nth-child(3n) {
margin-right: -5px;
margin-right: -5px; /* LTR */
}
#main-menu-links a {
float: none;
......@@ -1606,8 +1606,8 @@ div.admin-panel .description {
}
.featured #main-menu-links li a:active,
.featured #main-menu-links li a.active {
background: #f0f0f0;
background: rgba(240, 240, 240, 1.0);
background: #f0f0f0;
background: rgba(240, 240, 240, 1.0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment