Commit 45b2e47e authored by webchick's avatar webchick

Issue #1979392 by thamas, Gábor Hojtsy: Fixed Bartik broken in RTL.

parent e775437e
/* ---------- Basic Layout RTL Styles ----------- */ /* ---------- Basic Layout RTL Styles ----------- */
#content,
#sidebar-first,
#sidebar-second,
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last,
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
float: right;
}
.region-header { .region-header {
float: left; float: left;
} }
...@@ -20,3 +8,53 @@ ...@@ -20,3 +8,53 @@
left: 0; left: 0;
right: auto; right: auto;
} }
@media all and (min-width: 560px) and (max-width: 850px) {
#sidebar-first,
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last,
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
float: right;
}
#sidebar-second {
margin-right: 50%;
}
.one-sidebar #sidebar-second {
margin-right: 0;
}
}
@media all and (min-width: 851px) {
#content,
#sidebar-first,
#sidebar-second,
.region-triptych-first,
.region-triptych-middle,
.region-triptych-last,
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
float: right;
}
.sidebar-first #content {
margin-left: 0;
margin-right: 25%;
}
.sidebar-second #content {
margin-right: 0;
margin-left: 25%;
}
#sidebar-first {
margin-right: -100%;
}
#sidebar-second {
margin-right: -25%;
}
}
...@@ -85,15 +85,19 @@ body, ...@@ -85,15 +85,19 @@ body,
float: left; /* LTR */ float: left; /* LTR */
position: relative; position: relative;
} }
.one-sidebar #sidebar {
width: 100%;
}
#sidebar-first, #sidebar-first,
#sidebar-second { #sidebar-second {
width: 50%; width: 50%;
} }
#sidebar-second { #sidebar-second {
margin-left: 50%; margin-left: 50%; /* LTR */
}
.one-sidebar #sidebar-first,
.one-sidebar #sidebar-second {
width: 100%;
}
.one-sidebar #sidebar-second {
margin-left: 0; /* LTR */
} }
.region-triptych-first, .region-triptych-first,
.region-triptych-middle, .region-triptych-middle,
...@@ -165,20 +169,20 @@ body, ...@@ -165,20 +169,20 @@ body,
width: 100%; width: 100%;
} }
.sidebar-first #content { .sidebar-first #content {
margin-left: 25%; margin-left: 25%; /* LTR */
margin-right: 0; margin-right: 0; /* LTR */
} }
.sidebar-second #content { .sidebar-second #content {
margin-right: 25%; margin-right: 25%; /* LTR */
margin-left: 0; margin-left: 0; /* LTR */
} }
#sidebar-first { #sidebar-first {
width: 25%; width: 25%;
margin-left: -100%; margin-left: -100%; /* LTR */
} }
#sidebar-second { #sidebar-second {
width: 25%; width: 25%;
margin-left: -25%; margin-left: -25%; /* LTR */
clear: none; clear: none;
} }
.region-triptych-first, .region-triptych-first,
......
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