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

8.0.x
Dries 2013-06-05 13:37:07 -04:00
parent 9600c1e521
commit e2c4d34c31
2 changed files with 51 additions and 10 deletions

View File

@ -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 */

View File

@ -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;