summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-12-23 09:29:58 (GMT)
committerAlex Pott2014-12-23 09:29:58 (GMT)
commit5eee2e7e8807cb2fcab9c49bb80aae8aa92a2734 (patch)
tree67d54a91204beefef4d93141e6a6b39e69fb8435
parentdbc572c82cd2ddc76b28adb9e0cf07ad10849165 (diff)
Issue #2329649 by herom: Fix node create page RTL CSS
-rw-r--r--core/misc/dropbutton/dropbutton.css5
-rw-r--r--core/misc/throbber-active.gifbin1233 -> 230 bytes
-rw-r--r--core/misc/throbber-inactive.pngbin320 -> 356 bytes
-rw-r--r--core/modules/node/css/node.module.css13
4 files changed, 16 insertions, 2 deletions
diff --git a/core/misc/dropbutton/dropbutton.css b/core/misc/dropbutton/dropbutton.css
index 625dee0..f089874 100644
--- a/core/misc/dropbutton/dropbutton.css
+++ b/core/misc/dropbutton/dropbutton.css
@@ -25,7 +25,10 @@
/* Splitbuttons */
.form-actions .dropbutton-wrapper {
- float: left;
+ float: left; /* LTR */
+}
+[dir="rtl"] .form-actions .dropbutton-wrapper {
+ float: right;
}
.js .form-actions .dropbutton-widget {
position: static;
diff --git a/core/misc/throbber-active.gif b/core/misc/throbber-active.gif
index f88bfde..f66414a 100644
--- a/core/misc/throbber-active.gif
+++ b/core/misc/throbber-active.gif
Binary files differ
diff --git a/core/misc/throbber-inactive.png b/core/misc/throbber-inactive.png
index f914667..befbb9f 100644
--- a/core/misc/throbber-inactive.png
+++ b/core/misc/throbber-inactive.png
Binary files differ
diff --git a/core/modules/node/css/node.module.css b/core/modules/node/css/node.module.css
index 5d6bcd3..cc865b6 100644
--- a/core/modules/node/css/node.module.css
+++ b/core/modules/node/css/node.module.css
@@ -21,7 +21,14 @@
.layout-region-node-footer {
float: left; /* LTR */
width: 65%;
- padding-right: 2em;
+ padding-right: 2em; /* LTR */
+ }
+
+ [dir="rtl"] .layout-region-node-main,
+ [dir="rtl"] .layout-region-node-footer {
+ float: right;
+ padding-left: 2em;
+ padding-right: 0;
}
.layout-region-node-secondary {
@@ -29,6 +36,10 @@
width: 35%;
}
+ [dir="rtl"] .layout-region-node-secondary {
+ float: left;
+ }
+
/* @todo File an issue to add a standard class to all text-like inputs */
.layout-region-node-secondary .form-autocomplete,
.layout-region-node-secondary .form-text,