summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.css
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-09-14 13:01:25 +0200
committerEndi S. Dewata <edewata@redhat.com>2011-09-29 16:57:37 +0000
commitdabc6cd578b20ce4950d1e4052c0a814b8697ca9 (patch)
treec11a309717653e2ea2fc3065b102afaaa65c7380 /install/ui/ipa.css
parentf99ab781ea33f0d7ca6df26090cd99f9315454ac (diff)
downloadfreeipa-dabc6cd578b20ce4950d1e4052c0a814b8697ca9.tar.gz
freeipa-dabc6cd578b20ce4950d1e4052c0a814b8697ca9.tar.xz
freeipa-dabc6cd578b20ce4950d1e4052c0a814b8697ca9.zip
Fixed: Some widgets do not have space for validation error message
https://fedorahosted.org/freeipa/ticket/1454 The following widgets should call create_error_link() to create a space to show validation error messages: IPA.checkbox_widget IPA.checkboxes_widget IPA.radio_widget IPA.select_widget IPA.table_widget IPA.attributes_widget IPA.rights_widget IPA.target_section (it's a widget) Solution: * added call to checkbox, checkboxes, radio, select, table, attributes widget * rights_widget inherits it from checkboxes_widget. * target_section IS NOT a widget as it doesn't inherit from widget. It's still a section, which shows different widgets based on its state. * table_widget displays error_link between pagination and summary. Additional: * added padding and unified font-weight for error message
Diffstat (limited to 'install/ui/ipa.css')
-rw-r--r--install/ui/ipa.css11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 5befe499..a59df0b3 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -193,6 +193,13 @@ body {
padding-right: 0.3em;
}
+.ui-state-error,
+.ui-widget-content .ui-state-error,
+.ui-widget-header .ui-state-error {
+ font-weight: bold;
+ padding: 0.2em;
+}
+
/* ---- Header ---- */
#header {
position: absolute;
@@ -698,12 +705,13 @@ span.main-nav-off > a:visited {
padding: 0.5em 0 0 1em;
border-top: 1px solid #dfdfdf;
height: 25px;
+ line-height: 25px;
margin-top: 1em;
}
.search-table span[name=summary] {
float: left;
- line-height: 25px;
+ margin-right: 4em;
}
.search-table span[name=pagination] {
@@ -846,6 +854,7 @@ hr {
.undo {
cursor:pointer;
+ padding: 0.2em;
}
span.attrhint {