Bug 30952: Fix header search bar for RTL
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 14 Sep 2022 09:33:23 +0000 (11:33 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:14:33 +0000 (16:14 -0300)
Issue #38

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/right-to-left.css

index 844211c..f809b3f 100644 (file)
@@ -102,11 +102,6 @@ fieldset.rows div.hint
    margin-left:0;
 }
 
-div#header_search
-{
-   margin-right:200px;
-}
-
 ul
 {
    padding-left: 0;
@@ -302,6 +297,39 @@ div.dt-buttons {
     border-right: 1px solid #82b4be;
 }
 
+
+#header_search .form-title {
+    border-radius: 16px 0 0 16px;
+    padding: 0 0 0 16px;
+}
+
+#header_search .form-content {
+    margin-left: 0;
+    margin-right: -16px;
+    padding-left: 0;
+    padding-right: 16px;
+    border-radius: 16px 0 0 16px;
+}
+
+#header_search .form-content input[type="text"]:not(:first-child),
+#header_search .form-content select:not(:first-child) {
+    border-left: 0 none;
+    border-right: 1px solid #e0e0e0;
+}
+
+#header_search input[type="submit"],
+#header_search button[type="submit"] {
+    border-radius: 16px  0 0 16px;
+    margin-left: 0;
+    margin-right: -16px;
+    padding-left: 1em;
+    padding-right: calc(16px + .5em);
+}
+
+.fa-arrow-right::before {
+    content: "\f060";
+}
+
 @media (max-width: 767px) {
     h1#logo {
         float: none;