diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 13:52:13 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-02 13:52:13 +0000 |
commit | a929e5747822e787e6f2d134f73b696183679f2c (patch) | |
tree | 73f852e292fb940c5f015e22fe60b63f594b023d | |
parent | b9fcd60b90e083c29734f59016d39459e97c812c (diff) | |
download | elgg-a929e5747822e787e6f2d134f73b696183679f2c.tar.gz elgg-a929e5747822e787e6f2d134f73b696183679f2c.tar.bz2 |
Let's make the classes for input elements consistent
git-svn-id: https://code.elgg.org/elgg/trunk@361 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | views/default/css.php | 15 | ||||
-rw-r--r-- | views/default/input/tags.php | 2 | ||||
-rw-r--r-- | views/default/input/text.php | 2 | ||||
-rw-r--r-- | views/default/input/url.php | 2 |
4 files changed, 18 insertions, 3 deletions
diff --git a/views/default/css.php b/views/default/css.php index 2636c25cf..48dbcd52d 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -262,4 +262,19 @@ div#footer a:link, div#footer a:visited { color:#000;
padding:3px 50px;
margin:20px 20px 10px 20px;
+}
+
+/*
+ Forms
+*/
+
+.input-text,
+.input-tags,
+.input-url,
+.input-textarea {
+ width: 600px;
+}
+
+.input-textarea {
+ height: 200px;
}
\ No newline at end of file diff --git a/views/default/input/tags.php b/views/default/input/tags.php index 316a824be..7cbc169a5 100644 --- a/views/default/input/tags.php +++ b/views/default/input/tags.php @@ -14,4 +14,4 @@ }
?>
-<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $tags; ?>" class="general-textarea"/>
\ No newline at end of file +<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $tags; ?>" class="input-tags"/>
\ No newline at end of file diff --git a/views/default/input/text.php b/views/default/input/text.php index 5df940bfd..2ee2ef03c 100644 --- a/views/default/input/text.php +++ b/views/default/input/text.php @@ -1 +1 @@ -<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="general-textarea"/>
\ No newline at end of file +<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="input-text"/>
\ No newline at end of file diff --git a/views/default/input/url.php b/views/default/input/url.php index 5df940bfd..d7830266e 100644 --- a/views/default/input/url.php +++ b/views/default/input/url.php @@ -1 +1 @@ -<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="general-textarea"/>
\ No newline at end of file +<input type="text" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="input-url"/>
\ No newline at end of file |