commit 7a17f0233823fbae7f005b286aec92f9b79947ca
parent 489e17e3e3afdc6aa2464982e39f47fceae87bcb
Author: Jan Dankert <devnull@localhost>
Date: Fri, 21 Sep 2012 01:33:17 +0200
Fix: Anzeige Suchfeld.
Diffstat:
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/themes/default/css/user/default.css b/themes/default/css/user/default.css
@@ -74,18 +74,34 @@ div.inputholder
border-radius:3px;
}
+div.search > div.inputholder
+{
+ padding-top:1px;
+}
input,
textarea,
select
{
border:0px;
+ border-bottom:1px solid white;
+ padding:2px;
+ margin:0px;
+ background-color:white;
+}
+
+input:hover,input:focus,
+textarea:hover,textarea:focus,
+select:hover,select:focus
+{
+ border:0px;
border-bottom:1px solid silver;
padding:2px;
margin:0px;
background-color:white;
}
+
input.error,
textarea.error,
select.error
diff --git a/themes/default/include/html/input.inc.php b/themes/default/include/html/input.inc.php
@@ -6,7 +6,7 @@
?><?php if (!$attr_readonly || $attr_type=='hidden') {
/* Feld editieren */
-?><div class="inputholder"><input<?php if ($attr_readonly) echo ' disabled="true"' ?><?php if ($attr_hint) echo ' data-hint="'.$attr_hint.'"'; ?> id="id_<?php echo $attr_name ?><?php if ($attr_readonly) echo '_disabled' ?>" name="<?php echo $attr_name ?><?php if ($attr_readonly) echo '_disabled' ?>" type="<?php echo $attr_type ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo str_replace(',',' ',$attr_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($attr_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php if ($attr_icon) echo '<img class="icon" src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" width="16" height="16" />'; ?></div><?php
+?><div class="inputholder"><input<?php if ($attr_readonly) echo ' disabled="true"' ?><?php if ($attr_hint) echo ' data-hint="'.$attr_hint.'"'; ?> id="id_<?php echo $attr_name ?><?php if ($attr_readonly) echo '_disabled' ?>" name="<?php echo $attr_name ?><?php if ($attr_readonly) echo '_disabled' ?>" type="<?php echo $attr_type ?>" maxlength="<?php echo $attr_maxlength ?>" class="<?php echo str_replace(',',' ',$attr_class) ?>" value="<?php echo $tmp_value ?>" <?php if (in_array($attr_name,$errors)) echo 'style="border:2px dashed red;"' ?> /><?php if ($attr_icon) echo '<img src="'.$image_dir.'icon_'.$attr_icon.IMG_ICON_EXT.'" width="16" height="16" />'; ?></div><?php
if ($attr_readonly) {
/* Nur anzeigen */
?><input type="hidden" id="id_<?php echo $attr_name ?>" name="<?php echo $attr_name ?>" value="<?php echo $tmp_value ?>" /><?php