Permalink
Browse files

input search style

  • Loading branch information...
1 parent acc33fb commit 235b61140e5a73ff7ae93f5adcd87fa4a871d01d @aramirez-es committed Aug 16, 2011
Showing with 14 additions and 6 deletions.
  1. +13 −3 public/css/main.css
  2. +1 −1 public/js/compareModule.js
  3. +0 −2 views/user.twig
View
@@ -45,14 +45,19 @@ body {
background-color: #CCC;
border: 2px solid #898989;
border-radius: 15px;
- width: 140px;
+ width: 160px;
text-align: center;
padding: 10px 0;
float: left;
}
.users_figure em {
font-size: 0.65em;
}
+.users_figure input {
+ width: 85%;
+ border: 1px solid #898989;
+ padding: 2px;
+}
#searcher {
clear: both;
}
@@ -62,16 +67,21 @@ body {
*/
#compare_results {
padding: 10px 20px;
- margin: 20px 0;
}
.onefriend {
float: left;
width: 200px;
height: 75px;
- padding: 10px 0;
+ padding-bottom: 40px;
+}
+.onefriend img {
+ display: block;
+ border: 0;
}
.onefriend a {
display: block;
+ color: #455432;
+ text-decoration: none;
}
footer {
@@ -67,7 +67,7 @@ ManipulateCompare =
$(oCompare).attr("href", "#");
$(oCompare).addClass("comparethis");
$(oCompare).attr("value", nIndex);
- $(oCompare).append("Compare it");
+ $(oCompare).append("Compare!");
return oCompare;
},
View
@@ -3,10 +3,8 @@
{% set picture = '/images/default-user.png' %}
<img src="{{ user.picture|default( app.request.getBasePath ~ picture ) }}"
width="48" heigth="48" alt="{{ user.name|default('user name') }}" />
- <p>
<figcaption>{{ user.name|default('user name') }}</figcaption>
<em>Followers: {{ user.followers|default(0) }} / Followings: {{ user.followings|default(0) }}</em>
- </p>
<form action="{{ app.request.getBasePath }}/search-user" method="post" class="ajax_request">
<input type="hidden" name="action" value="search" />
<input type="hidden" name="search[box]" value="{{ loop.index }}" />

0 comments on commit 235b611

Please sign in to comment.