summaryrefslogtreecommitdiff
path: root/css/forms-rtl.css
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-31 17:13:33 +0530
committerJayaram R Pai2014-07-31 17:13:33 +0530
commit69f0119c7262602af46fd6a80e4558089835fa01 (patch)
tree783210690cc87ccd6d9139b7d1c184f49d07ec3b /css/forms-rtl.css
downloadscilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.gz
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.tar.bz2
scilab_theme-69f0119c7262602af46fd6a80e4558089835fa01.zip
initial commit
Diffstat (limited to 'css/forms-rtl.css')
-rwxr-xr-xcss/forms-rtl.css46
1 files changed, 46 insertions, 0 deletions
diff --git a/css/forms-rtl.css b/css/forms-rtl.css
new file mode 100755
index 0000000..4e4318e
--- /dev/null
+++ b/css/forms-rtl.css
@@ -0,0 +1,46 @@
+/**
+ * @file
+ * RTL companion for the forms.css file.
+ */
+
+
+/*
+ * Drupal's default login form block
+ */
+#user-login-form {
+ text-align: right;
+}
+
+
+/*
+ * OpenID
+ *
+ * The default styling for the OpenID login link seems to assume Garland's
+ * styling of list items.
+ */
+
+#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
+ margin-left: 0;
+ margin-right: -20px; /* Un-do some of the padding on the ul list. */
+}
+
+#user-login li.openid-link,
+#user-login li.user-link /* The OpenID links on the /user form. */ {
+ margin-left: 0;
+ margin-right: -2em; /* Un-do all of the padding on the ul list. */
+}
+
+
+/*
+ * Drupal admin tables
+ *
+ * We overrode these styles in html-elements.css, but restore them for the admin
+ * section of the site.
+ */
+
+form th,
+form thead th {
+ text-align: right;
+ padding-left: 1em;
+ padding-right: 0;
+}