pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone
Blob Blame History Raw
From 92cb7c52b3a6241c9a0e5bc4e0c91705723d118f Mon Sep 17 00:00:00 2001
From: Adam Misnyovszki <amisnyov@redhat.com>
Date: Wed, 26 Feb 2014 18:16:45 +0100
Subject: [PATCH 51/51] Too big font in input fields

In Firefox 27, default font size has bigger priority than body css,
text input font size is therefore explicitly set to 1em. Also
checkbox/radiobutton styling fixed.

https://fedorahosted.org/freeipa/ticket/4180

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
---
 install/ui/ipa.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index ad3d1aa1f8f8898ad8dff8f8ecc175238fad1181..29dfe80aacfa1e508f59d3008b2aa57f9477a448 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -1243,6 +1243,18 @@ table.scrollable tbody {
     width: 250px;
 }
 
+input, select, textarea {
+    font-size: 1em;
+    font-family: "Liberation Sans",Arial,Sans;
+}
+
+input[type=radio], input[type=checkbox],
+.ui-widget input[type=radio], .ui-widget input[type=checkbox]{
+     margin-right: 5px;
+     position: relative;
+     top: 3px;
+}
+
 .multivalued-widget [name=value] {
     margin-bottom: 1em;
 }
-- 
1.8.5.3